/* ============================================
   AI Great Cleaner - Redesigned CSS
   Apple Style + Glassmorphism + Plus Jakarta Sans
   ============================================ */

:root {
    /* Primary Colors */
    --color-primary: #171717;
    --color-on-primary: #FFFFFF;
    --color-secondary: #404040;
    --color-accent: #A16207;
    --color-accent-hover: #854d0e;
    --color-background: #FFFFFF;
    --color-foreground: #171717;
    --color-muted: #E8ECF0;
    --color-border: #E5E5E5;
    --color-destructive: #DC2626;
    --color-ring: #171717;

    /* Apple Semantic Colors */
    --apple-blue: #2997ff;
    --apple-blue-hover: #0077ed;
    --apple-blue-bg: rgba(41, 151, 255, 0.12);
    --apple-indigo: #5856d6;
    --apple-pink: #ff375f;
    --apple-purple: #bf5af2;
    --apple-teal: #64d2ff;
    --apple-green: #30d158;
    --apple-orange: #ff9f0a;
    --apple-yellow: #ffd60a;

    /* Text Colors */
    --text-primary: #171717;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #f5f5f7;
    --text-link: var(--apple-blue);

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-dark: #0a0a0a;
    --bg-dark-secondary: #171717;
    --bg-dark-tertiary: #1f1f1f;

    /* Gradients */
    --gradient-blue-purple: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-indigo) 50%, var(--apple-purple) 100%);
    --gradient-dark: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    --gradient-hero: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    --gradient-shine: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(29, 29, 31, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

    /* Typography - Apple System Fonts (SF Pro) */
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

    /* Spacing - 8pt Grid */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 0.15s;
    --duration-normal: 0.25s;
    --duration-slow: 0.4s;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Focus States - Accessibility */
:focus-visible {
    outline: 2px solid var(--color-ring);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Navigation - Glassmorphism
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    max-width: 1120px;
    width: 100%;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: opacity var(--duration-fast);
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
    background: var(--color-primary) !important;
    color: white !important;
    padding: var(--space-2) var(--space-5) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--color-secondary) !important;
}

/* Mobile Menu Button */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    cursor: pointer;
}

.nav-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-fast);
}

.nav-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Links */
.nav-links-mobile {
    display: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px var(--space-6) var(--space-16);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Subtle Background Effects */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(191, 90, 242, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(100, 210, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Floating Glow */
.hero::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--apple-blue-bg);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--apple-blue);
    margin-bottom: var(--space-6);
    position: relative;
    animation: fadeInUp 0.6s var(--ease-out);
}

.hero-label svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    max-width: 800px;
    position: relative;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title .gradient-text {
    background: var(--gradient-blue-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: var(--space-6);
    line-height: 1.6;
    position: relative;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-10);
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* iPhone Display */
.hero-device {
    margin-top: var(--space-12);
    position: relative;
    animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
}

.iphone-showcase {
    position: relative;
    perspective: 1200px;
}

.iphone-frame {
    width: 240px;
    height: 500px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 40px 80px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: rotateX(8deg) rotateY(-5deg);
    transition: transform var(--duration-slow) var(--ease-out);
}

.iphone-frame:hover {
    transform: rotateX(0deg) rotateY(0deg);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.iphone-dynamic-island {
    width: 100px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    margin: 12px auto 0;
    z-index: 10;
}

.iphone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    color: white;
}

.iphone-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-4);
}

.iphone-icon svg {
    width: 100%;
    height: 100%;
}

.iphone-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.iphone-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.iphone-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.iphone-stat {
    text-align: center;
}

.iphone-stat-value {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-blue-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iphone-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-1);
}

/* Floating Glass Elements */
.floating-element {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element svg {
    width: 28px;
    height: 28px;
}

.floating-element.el-1 {
    top: -30px;
    right: -40px;
    background: rgba(41, 151, 255, 0.25);
    box-shadow: 0 20px 40px rgba(41, 151, 255, 0.25);
    animation-delay: 0s;
}

.floating-element.el-2 {
    bottom: 80px;
    left: -50px;
    background: rgba(191, 90, 242, 0.25);
    box-shadow: 0 20px 40px rgba(191, 90, 242, 0.25);
    animation-delay: -2s;
}

.floating-element.el-3 {
    top: 100px;
    left: -60px;
    background: rgba(48, 209, 88, 0.25);
    box-shadow: 0 20px 40px rgba(48, 209, 88, 0.25);
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   Intro Section
   ============================================ */

.intro-section {
    padding: var(--space-16) var(--space-6);
    background: var(--bg-secondary);
}

.intro-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.intro-highlight {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.intro-highlight svg {
    width: 24px;
    height: 24px;
    color: var(--apple-green);
    flex-shrink: 0;
}

/* ============================================
   Section Common Styles
   ============================================ */

.section {
    padding: var(--space-24) var(--space-6);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.section-light {
    background: var(--bg-primary);
}

.section-gray {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.section-dark .section-eyebrow {
    color: var(--apple-teal);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: var(--space-4);
    line-height: 1.7;
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Features Grid
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: var(--space-12) auto 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.section:not(.section-dark) .feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon.blue { background: linear-gradient(135deg, rgba(41, 151, 255, 0.2), rgba(88, 86, 214, 0.2)); }
.feature-icon.blue svg { color: var(--apple-blue); }
.feature-icon.pink { background: linear-gradient(135deg, rgba(255, 55, 95, 0.2), rgba(191, 90, 242, 0.2)); }
.feature-icon.pink svg { color: var(--apple-pink); }
.feature-icon.green { background: linear-gradient(135deg, rgba(48, 209, 88, 0.2), rgba(100, 210, 255, 0.2)); }
.feature-icon.green svg { color: var(--apple-green); }
.feature-icon.purple { background: linear-gradient(135deg, rgba(191, 90, 242, 0.2), rgba(41, 151, 255, 0.2)); }
.feature-icon.purple svg { color: var(--apple-purple); }
.feature-icon.teal { background: linear-gradient(135deg, rgba(100, 210, 255, 0.2), rgba(48, 209, 88, 0.2)); }
.feature-icon.teal svg { color: var(--apple-teal); }
.feature-icon.orange { background: linear-gradient(135deg, rgba(255, 159, 10, 0.2), rgba(255, 55, 95, 0.2)); }
.feature-icon.orange svg { color: var(--apple-orange); }
.feature-icon.indigo { background: linear-gradient(135deg, rgba(88, 86, 214, 0.2), rgba(191, 90, 242, 0.2)); }
.feature-icon.indigo svg { color: var(--apple-indigo); }
.feature-icon.yellow { background: linear-gradient(135deg, rgba(255, 214, 10, 0.2), rgba(255, 159, 10, 0.2)); }
.feature-icon.yellow svg { color: var(--apple-yellow); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.section-dark .feature-card h3 {
    color: white;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-dark .feature-card p {
    color: rgba(255, 255, 255, 0.6);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-5);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.section:not(.section-dark) .feature-tag {
    background: var(--apple-blue-bg);
    color: var(--apple-blue);
}

.feature-tag svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   How It Works - Timeline
   ============================================ */

.steps-section {
    padding: var(--space-24) var(--space-6);
    background: var(--bg-primary);
}

.steps-container {
    max-width: 900px;
    margin: var(--space-12) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-purple), var(--apple-pink));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-blue-purple);
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    box-shadow:
        0 8px 24px rgba(41, 151, 255, 0.3),
        0 0 0 8px rgba(41, 151, 255, 0.1);
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Benefits Section - Redesigned
   ============================================ */

.benefits-section {
    padding: var(--space-20) var(--space-6);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center top, rgba(41, 151, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Glassmorphism Cards with Float Effect */
.benefit-card {
    position: relative;
    text-align: center;
    padding: var(--space-8) var(--space-5);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Gradient Icon Containers */
.benefit-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.benefit-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.benefit-icon svg {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

/* Individual Gradient Colors */
.benefit-card:nth-child(1) .benefit-icon::before {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}
.benefit-card:nth-child(1):hover .benefit-icon {
    box-shadow: 0 12px 32px rgba(0, 114, 255, 0.35);
}

.benefit-card:nth-child(2) .benefit-icon::before {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}
.benefit-card:nth-child(2):hover .benefit-icon {
    box-shadow: 0 12px 32px rgba(248, 87, 166, 0.35);
}

.benefit-card:nth-child(3) .benefit-icon::before {
    background: linear-gradient(135deg, #30cf8a 0%, #2bb673 100%);
}
.benefit-card:nth-child(3):hover .benefit-icon {
    box-shadow: 0 12px 32px rgba(48, 207, 138, 0.35);
}

.benefit-card:nth-child(4) .benefit-icon::before {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
}
.benefit-card:nth-child(4):hover .benefit-icon {
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.35);
}

/* Typography */
.benefit-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.benefit-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: var(--space-24) var(--space-6);
    background: var(--bg-primary);
}

.cta-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg-dark);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(41, 151, 255, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(191, 90, 242, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-align: center;
    position: relative;
}

.cta-card h2 .line-secondary {
    display: block;
    background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card > p {
    font-size: 17px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-4);
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
    flex-wrap: wrap;
    position: relative;
}

/* App Store Button */
.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: 14px 28px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn-store:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-store:active {
    transform: translateY(0);
}

.btn-store .store-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-store .store-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.btn-store .store-text {
    text-align: left;
    line-height: 1.3;
}

.btn-store .store-text .small {
    font-size: 10px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.btn-store .store-text .large {
    font-size: 17px;
    font-weight: 600;
    display: block;
    letter-spacing: -0.02em;
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 20px;
    background: transparent;
    color: var(--apple-blue);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--apple-blue-bg);
    color: var(--apple-blue-hover);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast);
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

.cta-note {
    margin-top: var(--space-6);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-dark);
    padding: var(--space-10) var(--space-6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-6);
}

.footer-logo img {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-xs);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--duration-fast);
    cursor: pointer;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-8);
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-out);
        z-index: 999;
    }

    .nav-links-mobile.open {
        transform: translateX(0);
    }

    .nav-links-mobile a {
        display: block;
        font-size: 18px;
        font-weight: 500;
        color: var(--text-primary);
        padding: var(--space-4) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        cursor: pointer;
    }

    .nav-menu-btn {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 80px;
    }

    .hero-device {
        margin-top: var(--space-10);
    }

    .iphone-frame {
        width: 200px;
        height: 420px;
    }

    .floating-element {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: var(--space-4);
    }

    .feature-card {
        padding: var(--space-6);
    }

    .cta-card {
        padding: var(--space-10) var(--space-6);
        border-radius: var(--radius-xl);
    }

    .btn-store {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Mobile Optimizations - iPhone & iPad
   ============================================ */

/* iPhone SE (2022) / Small phones */
@media screen and (max-width: 375px) {
    .hero {
        padding: 70px var(--space-4) var(--space-10);
        min-height: auto;
    }

    .hero-label {
        font-size: 11px;
        padding: var(--space-1) var(--space-3);
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0;
        margin-top: var(--space-4);
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
        margin-top: var(--space-6);
        width: 100%;
    }

    .btn-store {
        flex: 1;
        min-width: 140px;
        max-width: 160px;
        padding: 10px 14px;
    }

    .btn-secondary {
        flex: 1;
        min-width: 140px;
        max-width: 160px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .btn-store .store-text .small {
        font-size: 9px;
    }

    .btn-store .store-text .large {
        font-size: 14px;
    }

    .btn-secondary svg {
        width: 14px;
        height: 14px;
    }

    .hero-device {
        margin-top: var(--space-8);
    }

    .iphone-frame {
        width: 160px;
        height: 340px;
        border-radius: 36px;
        padding: 10px;
    }

    .iphone-screen {
        border-radius: 28px;
    }

    .iphone-dynamic-island {
        width: 70px;
        height: 24px;
        margin: 8px auto 0;
    }

    .iphone-icon {
        width: 44px;
        height: 44px;
        margin-bottom: var(--space-3);
    }

    .iphone-title {
        font-size: 15px;
    }

    .iphone-subtitle {
        font-size: 11px;
    }

    .iphone-stats {
        gap: var(--space-5);
        margin-top: var(--space-4);
    }

    .iphone-stat-value {
        font-size: 20px;
    }

    .iphone-stat-label {
        font-size: 9px;
    }

    /* Compact sections */
    .section {
        padding: var(--space-12) var(--space-4);
    }

    .section-header {
        margin-bottom: var(--space-6);
    }

    .section-eyebrow {
        font-size: 11px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
        margin-top: var(--space-2);
    }

    /* 2-column features grid on small phones */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        margin-top: var(--space-6);
    }

    .feature-card {
        padding: var(--space-4);
    }

    .feature-card h3 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: var(--space-2);
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 11px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-3);
    }

    .feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .feature-tag {
        font-size: 10px;
        padding: 2px var(--space-2);
        margin-top: var(--space-3);
    }

    .feature-tag svg {
        width: 10px;
        height: 10px;
    }

    /* 2-column benefits */
    .benefits-section {
        padding: var(--space-10) var(--space-4);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .benefit-card {
        padding: var(--space-4) var(--space-3);
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-md);
        margin-bottom: var(--space-3);
    }

    .benefit-icon svg {
        width: 22px;
        height: 22px;
    }

    .benefit-card h4 {
        font-size: 14px;
    }

    .benefit-card p {
        font-size: 11px;
    }

    /* Compact steps */
    .steps-section {
        padding: var(--space-10) var(--space-4);
    }

    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
        margin-top: var(--space-6);
    }

    .steps-container::before {
        top: 20px;
        left: calc(100% / 6);
        right: calc(100% / 6);
        height: 1px;
    }

    .step {
        padding: 0 var(--space-1);
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: var(--space-3);
        box-shadow:
            0 6px 16px rgba(41, 151, 255, 0.25),
            0 0 0 6px rgba(41, 151, 255, 0.08);
    }

    .step h4 {
        font-size: 13px;
    }

    .step p {
        font-size: 11px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Compact intro */
    .intro-section {
        padding: var(--space-8) var(--space-4);
    }

    .intro-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .intro-highlight {
        font-size: 13px;
        padding: var(--space-3) var(--space-4);
        margin-top: var(--space-5);
    }

    .intro-highlight svg {
        width: 18px;
        height: 18px;
    }

    /* CTA */
    .cta-section {
        padding: var(--space-10) var(--space-4);
    }

    .cta-card {
        padding: var(--space-6) var(--space-4);
        border-radius: var(--radius-xl);
    }

    .cta-card h2 {
        font-size: 24px;
    }

    .cta-card > p {
        font-size: 14px;
    }

    .cta-buttons {
        margin-top: var(--space-5);
    }

    .cta-note {
        font-size: 11px;
        margin-top: var(--space-4);
    }

    /* Footer */
    .footer {
        padding: var(--space-6) var(--space-4);
    }

    .footer-logo {
        font-size: 14px;
        margin-bottom: var(--space-4);
    }

    .footer-links {
        gap: var(--space-4);
        margin-bottom: var(--space-4);
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 10px;
    }

    /* Nav */
    .nav-content {
        padding: 0 var(--space-4);
    }

    .nav-logo span {
        font-size: 15px;
    }

    .nav-logo img {
        width: 28px;
        height: 28px;
    }
}

/* iPhone Standard / Android phones */
@media screen and (min-width: 376px) and (max-width: 414px) {
    .hero {
        padding: 80px var(--space-5) var(--space-12);
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
        margin-top: var(--space-6);
    }

    .btn-store {
        flex: 1;
        min-width: 150px;
        max-width: 180px;
        padding: 12px 16px;
    }

    .btn-secondary {
        flex: 1;
        min-width: 150px;
        max-width: 180px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .btn-store .store-text .small {
        font-size: 10px;
    }

    .btn-store .store-text .large {
        font-size: 15px;
    }

    .hero-device {
        margin-top: var(--space-8);
    }

    .iphone-frame {
        width: 180px;
        height: 380px;
    }

    .section {
        padding: var(--space-12) var(--space-5);
    }

    .section-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 14px;
    }

    /* 2-column features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        margin-top: var(--space-6);
    }

    .feature-card {
        padding: var(--space-4);
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    /* 2-column benefits */
    .benefits-section {
        padding: var(--space-10) var(--space-5);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .benefit-card {
        padding: var(--space-5) var(--space-4);
    }

    /* 3-column steps */
    .steps-section {
        padding: var(--space-10) var(--space-5);
    }

    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }

    .step p {
        font-size: 11px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Compact intro */
    .intro-section {
        padding: var(--space-8) var(--space-5);
    }

    .intro-text {
        font-size: 15px;
    }

    /* CTA */
    .cta-section {
        padding: var(--space-12) var(--space-5);
    }

    .cta-card {
        padding: var(--space-8) var(--space-5);
    }

    .cta-card h2 {
        font-size: 26px;
    }
}

/* iPhone Pro Max / Large phones */
@media screen and (min-width: 415px) and (max-width: 430px) {
    .hero {
        padding: 80px var(--space-5) var(--space-12);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
        margin-top: var(--space-6);
    }

    .btn-store {
        flex: 1;
        min-width: 160px;
        max-width: 200px;
        padding: 12px 18px;
    }

    .btn-secondary {
        flex: 1;
        min-width: 160px;
        max-width: 200px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .btn-store .store-text .small {
        font-size: 10px;
    }

    .btn-store .store-text .large {
        font-size: 15px;
    }

    .hero-device {
        margin-top: var(--space-8);
    }

    .iphone-frame {
        width: 190px;
        height: 400px;
    }

    .section {
        padding: var(--space-12) var(--space-5);
    }

    .section-title {
        font-size: 28px;
    }

    /* 2-column features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        margin-top: var(--space-6);
    }

    .feature-card {
        padding: var(--space-5);
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    /* 2-column benefits */
    .benefits-section {
        padding: var(--space-10) var(--space-5);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .benefit-card {
        padding: var(--space-5) var(--space-4);
    }

    /* 3-column steps */
    .steps-section {
        padding: var(--space-10) var(--space-5);
    }

    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }

    .step p {
        font-size: 11px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* CTA */
    .cta-section {
        padding: var(--space-12) var(--space-5);
    }

    .cta-card {
        padding: var(--space-8) var(--space-5);
    }

    .cta-card h2 {
        font-size: 28px;
    }
}

/* iPad Mini (768px) and iPad (1024px) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .hero {
        padding: 100px var(--space-8) var(--space-16);
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 600px;
    }

    .hero-buttons {
        gap: var(--space-5);
    }

    .iphone-frame {
        width: 220px;
        height: 460px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .steps-container {
        gap: var(--space-8);
    }

    .section-title {
        font-size: 36px;
    }

    .intro-text {
        font-size: 17px;
    }
}

/* iPad Pro landscape */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .hero {
        padding: 100px var(--space-10) var(--space-20);
    }

    .features-grid {
        max-width: 900px;
        gap: var(--space-5);
    }

    .benefits-grid {
        max-width: 1000px;
    }
}

/* Touch-specific optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .benefit-card:hover {
        transform: none;
    }

    .btn-store:hover,
    .btn-secondary:hover {
        transform: none;
    }

    /* Active states for touch */
    .feature-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    .benefit-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    .btn-store:active,
    .btn-secondary:active {
        transform: scale(0.97);
        transition: transform 0.1s;
    }

    /* Increase touch targets */
    .nav-links a {
        padding: var(--space-3) var(--space-5);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .feature-card {
        min-height: 44px;
    }

    /* Disable 3D tilt on touch */
    .iphone-frame:hover {
        transform: rotateX(8deg) rotateY(-5deg);
    }

    .iphone-frame:active {
        transform: rotateX(0deg) rotateY(0deg);
    }
}

/* Safe area insets for iPhone with notch */
@supports (padding: env(safe-area-inset-top)) {
    .hero {
        padding-top: calc(100px + env(safe-area-inset-top));
        padding-bottom: calc(var(--space-16) + env(safe-area-inset-bottom));
    }

    .nav {
        padding-top: env(safe-area-inset-top);
    }

    .nav-links-mobile {
        padding-top: calc(var(--space-8) + env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: calc(var(--space-8) + env(safe-area-inset-left));
        padding-right: calc(var(--space-8) + env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: calc(var(--space-10) + env(safe-area-inset-bottom));
    }
}

/* Landscape mode adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px var(--space-6) var(--space-8);
    }

    .hero-device {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-top: var(--space-3);
    }

    .hero-buttons {
        margin-top: var(--space-6);
    }

    .floating-element {
        display: none;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .floating-element {
        animation: none;
    }

    .hero::after {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border-width: 2px;
    }

    .benefit-card {
        border-width: 2px;
    }

    .nav {
        border-bottom-width: 2px;
    }
}

/* Dark mode support for OLED iPhones */
@media screen and (prefers-color-scheme: dark) {
    .hero {
        background: linear-gradient(180deg, #0a0a0a 0%, #171717 100%);
    }

    .hero::before {
        background:
            radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(191, 90, 242, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 20% 80%, rgba(100, 210, 255, 0.1) 0%, transparent 40%);
    }

    .intro-section {
        background: #0a0a0a;
    }

    .nav {
        background: rgba(26, 26, 26, 0.9);
    }

    .nav.scrolled {
        background: rgba(26, 26, 26, 0.98);
    }

    .nav-links-mobile {
        background: rgba(26, 26, 26, 0.98);
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-4); }
.mt-md { margin-top: var(--space-6); }
.mt-lg { margin-top: var(--space-10); }
.mt-xl { margin-top: var(--space-12); }

.mb-sm { margin-bottom: var(--space-4); }
.mb-md { margin-bottom: var(--space-6); }
.mb-lg { margin-bottom: var(--space-10); }
.mb-xl { margin-bottom: var(--space-12); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Glass Effect Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
}
