:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --accent-color: #2997ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    --section-padding: 120px 20px;
    --border-radius: 20px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    color: var(--text-secondary);
    font-size: 19px;
    max-width: 600px;
    margin-inline: auto;
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

section {
    padding: var(--section-padding);
}

/* Glass UI Elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--text-primary);
    color: var(--bg-color);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.4, 1), opacity 0.2s;
    margin-top: 32px;
}

.cta-button:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 160px;
}

.hero .subheadline {
    font-size: 24px;
    color: var(--text-secondary);
    max-width: 700px;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.app-icon:hover {
    transform: scale(1.05) translateY(-5px);
}

/* App Showcase */
.app-showcase {
    margin-top: 80px;
    max-width: 1000px;
    margin-inline: auto;
}

.showcase-main {
    position: relative;
    border-radius: 12px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 10;
}

.showcase-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.showcase-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Thumbnails */
.showcase-thumbnails {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.showcase-thumb {
    width: 120px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    padding: 0;
    opacity: 0.5;
}

.showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-thumb:hover {
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.showcase-thumb.active {
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.3);
}

/* Dots Navigation */
.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.showcase-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.showcase-dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 4px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
    text-align: left;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    margin: 0;
    font-size: 16px;
    text-align: left;
}

/* Apple Intelligence Section */
.apple-intelligence {
    background: radial-gradient(circle at center, rgba(162, 89, 255, 0.1) 0%, transparent 70%);
}

.ai-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.ai-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-primary);
}

/* Pricing Section */
.pricing-card {
    max-width: 400px;
    margin: 40px auto 0;
    padding: 60px 40px;
}

.pricing-card h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

/* Footer */
footer {
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
}

.footer-logo {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .showcase-thumbnails {
        gap: 10px;
    }

    .showcase-thumb {
        width: 90px;
        height: 56px;
        border-radius: 6px;
    }
}
