/* ==========================================================================
   Dormu Landing Page - Modern & Stunning Design
   World-class animations and visual effects
   ========================================================================== */

/* Color Variables - Enhanced with gradient support */
:root {
    /* Primary Dark Backgrounds */
    --navy-primary-bg: #0b1b2b;
    --deep-navy-gradient: #112d46;
    --soft-navy-card: #0f2439;

    /* Accent & Interactive Elements */
    --teal-accent: #4cbfa6;
    --teal-glow: rgba(76, 191, 166, 0.5);
    --sky-blue-button: #2e7da3;
    --gold-highlight: #fca311;
    --purple-accent: #8b5cf6;

    /* Text & Icons */
    --light-text: #E0E0E0;
    --dark-text: #1E1E1E;
    --error-red: #CF6679;

    /* Additional utilities */
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-color: rgba(11, 27, 43, 0.95);
    --glass-bg: rgba(15, 36, 57, 0.7);
    --glass-border: rgba(76, 191, 166, 0.2);

    /* Animation timing */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.6s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--navy-primary-bg);
    color: var(--light-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal) var(--ease-out-expo);
}

/* ==========================================================================
   Custom Cursor (Desktop)
   ========================================================================== */

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--teal-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out, background 0.15s ease-out;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(76, 191, 166, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease-out, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(76, 191, 166, 0.2);
}

/* ==========================================================================
   Animated Background
   ========================================================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-primary-bg) 0%, var(--deep-navy-gradient) 50%, var(--soft-navy-card) 100%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--purple-accent), var(--teal-accent));
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-highlight), var(--sky-blue-button));
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--teal-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Glass Morphism Card
   ========================================================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-slow) var(--ease-out-expo);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* iOS Frosted Glass Navbar */
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-slow) var(--ease-out-expo);
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.scrolled {
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform var(--transition-normal) var(--ease-out-back);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon-img {
    height: 32px;
    width: 32px;
    object-fit: cover;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 50%;
    transition: transform var(--transition-normal) var(--ease-out-back);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px var(--teal-glow));
    }
}

.logo:hover .logo-icon-img {
    animation-play-state: paused;
    transform: rotate(360deg) scale(1.2);
}

.logo-text {
    color: var(--teal-accent);
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-accent), var(--sky-blue-button));
    transition: width var(--transition-normal) var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--teal-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--teal-accent);
    border-radius: 3px;
    transition: all var(--transition-normal) var(--ease-out-expo);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow) var(--ease-out-expo);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-slow) var(--ease-out-expo);
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal) var(--ease-out-expo);
}

.mobile-nav-link:hover {
    color: var(--teal-accent);
    padding-left: 1rem;
}

/* ==========================================================================
   Buttons - Modern with Glow Effects
   ========================================================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal) var(--ease-out-expo);
}

.btn-primary {
    /* Glass effect with visible depth */
    background:
        linear-gradient(135deg,
            rgba(76, 191, 166, 0.9) 0%,
            rgba(46, 125, 163, 0.9) 100%
        );
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--dark-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 24px rgba(76, 191, 166, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

/* Glass highlight on top */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        transparent 100%
    );
    border-radius: 13px 13px 50% 50%;
    pointer-events: none;
}

/* Shine sweep */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(135deg,
            rgba(76, 191, 166, 0.95) 0%,
            rgba(46, 125, 163, 0.95) 100%
        );
    box-shadow:
        0 8px 32px rgba(76, 191, 166, 0.5),
        0 0 40px rgba(76, 191, 166, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.btn-secondary {
    /* iOS Deep Frosted Glass Button */
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(76, 191, 166, 0.08) 0%,
            rgba(46, 125, 163, 0.05) 100%
        );
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

/* Glass highlight */
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    border-radius: 13px 13px 50% 50%;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

/* Subtle animated noise texture for depth */
.btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn-secondary:hover {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.15) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(76, 191, 166, 0.12) 0%,
            rgba(46, 125, 163, 0.08) 100%
        );
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover::before {
    opacity: 0.9;
}

.btn-secondary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Magnetic button effect - handled via JS */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==========================================================================
   Hero Section - Stunning Animated
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* Animated mesh gradient */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(76, 191, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 125, 163, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    33% {
        transform: scale(1.1) rotate(2deg);
        opacity: 1;
    }
    66% {
        transform: scale(0.95) rotate(-2deg);
        opacity: 0.9;
    }
}

/* Animated grid lines */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(76, 191, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 191, 166, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    animation: gridMove 30s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    position: relative;
}

/* Text reveal animation */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    opacity: 0;
    animation: heroTitleReveal 1s var(--ease-out-expo) forwards;
    animation-delay: 0.3s;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.highlight {
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button), var(--purple-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite;
    position: relative;
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    opacity: 0;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: heroFadeUp 1s var(--ease-out-expo) forwards;
    animation-delay: 0.5s;
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out-expo) forwards;
    animation-delay: 0.7s;
}

/* Stats with animated counters */
.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out-expo) forwards;
    animation-delay: 0.9s;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal) var(--ease-out-expo);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--teal-accent);
    box-shadow: 0 10px 40px rgba(76, 191, 166, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--light-text);
    opacity: 0.7;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Phone mockup with 3D effect */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    opacity: 0;
    animation: heroImageReveal 1.2s var(--ease-out-expo) forwards;
    animation-delay: 0.6s;
}

@keyframes heroImageReveal {
    0% {
        opacity: 0;
        transform: translateX(100px) rotateY(-30deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

.phone-mockup {
    position: relative;
    transform-style: preserve-3d;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg) rotateX(-2deg);
    }
}

.phone-frame {
    /* Titanium-style frame */
    background: linear-gradient(
        165deg,
        #2a2a2e 0%,
        #1c1c1e 20%,
        #0d0d0f 50%,
        #1c1c1e 80%,
        #2a2a2e 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 55px;
    padding: 12px;
    box-shadow:
        /* Outer shadow for depth */
        0 50px 100px rgba(0, 0, 0, 0.6),
        0 30px 60px rgba(0, 0, 0, 0.4),
        /* Subtle ambient glow */
        0 0 80px rgba(76, 191, 166, 0.08),
        /* Inner highlight for glass effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    width: 320px;
    height: 660px;
    position: relative;
    transform-style: preserve-3d;
}

/* Side buttons */
.phone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 120px;
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, #3a3a3e, #1a1a1e, #3a3a3e);
    border-radius: 0 3px 3px 0;
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.3);
}

.phone-frame::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 180px;
    width: 4px;
    height: 70px;
    background: linear-gradient(180deg, #3a3a3e, #1a1a1e, #3a3a3e);
    border-radius: 0 3px 3px 0;
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.3);
}

/* Power button on left */
.phone-button-left {
    position: absolute;
    left: -3px;
    top: 160px;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, #3a3a3e, #1a1a1e, #3a3a3e);
    border-radius: 3px 0 0 3px;
    box-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* Phone glow effect */
.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(76, 191, 166, 0.15) 0%,
        rgba(46, 125, 163, 0.1) 30%,
        transparent 70%
    );
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 44px;
    position: relative;
    overflow: hidden;
    /* Glass screen effect */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Dynamic Island */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 5px rgba(0, 0, 0, 0.8);
}

/* Glass reflection overlay */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 44px;
    pointer-events: none;
    z-index: 5;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 44px;
}

/* Screen shine animation */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    transform: rotate(0deg);
    animation: screenShine 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 20;
    border-radius: 55px;
}

@keyframes screenShine {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) rotate(45deg);
        opacity: 1;
    }
}

/* Floating elements around phone */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    /* iOS Frosted Glass Background */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* Subtle glass border */
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatIcon 8s ease-in-out infinite;
    box-shadow:
        /* Outer shadow for depth */
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        /* Inner highlight for glass effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Glass reflection overlay on icons */
.floating-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    border-radius: 18px 18px 50% 50%;
    pointer-events: none;
}

/* Subtle shine sweep */
.floating-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    animation: iconShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes iconShine {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.floating-icon svg {
    position: relative;
    z-index: 2;
    stroke: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.floating-icon:hover svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transform: scale(1.1);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 40%;
    right: -25%;
    animation-delay: -2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: -15%;
    animation-delay: -4s;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: -20%;
    animation-delay: -6s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

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

section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.07) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
    border-radius: 50px 50px 50% 50%;
    pointer-events: none;
}

.section-badge svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    stroke: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-text);
    position: relative;
}

.section-title-highlight {
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features Section - 3D Cards
   ========================================================================== */

.features {
    background: transparent;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--soft-navy-card) 20%, var(--soft-navy-card) 80%, transparent 100%);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    /* iOS Frosted Glass Card */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow) var(--ease-out-expo);
    transform-style: preserve-3d;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Glass highlight on top */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%
    );
    border-radius: 24px 24px 50% 50%;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

/* Shine sweep effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(76, 191, 166, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 0.8;
}

.feature-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.07) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all var(--transition-normal) var(--ease-out-back);
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

/* Glass highlight on top */
.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%
    );
    border-radius: 22px 22px 50% 50%;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

/* Shine sweep effect */
.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.feature-icon svg {
    position: relative;
    z-index: 2;
    stroke: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(76, 191, 166, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.8;
}

.feature-card:hover .feature-icon::after {
    transform: rotate(45deg) translateX(100%);
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
    transition: color var(--transition-normal);
}

.feature-card:hover .feature-title {
    color: var(--teal-accent);
}

.feature-description {
    color: var(--light-text);
    opacity: 0.8;
    line-height: 1.8;
}

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

.how-it-works {
    position: relative;
    overflow: hidden;
}

.steps-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Connecting line - hidden on mobile, shown on desktop */
.steps-line {
    display: none;
}

.steps-line-fill {
    display: none;
}

/* Desktop: Show timeline */
@media (min-width: 1025px) {
    .steps-line {
        display: block;
        position: absolute;
        top: 50px;
        left: 50%;
        width: 4px;
        height: calc(100% - 100px);
        background: linear-gradient(180deg, var(--teal-accent), var(--sky-blue-button), var(--purple-accent));
        transform: translateX(-50%);
        border-radius: 4px;
        opacity: 0.3;
    }

    .steps-line-fill {
        display: block;
        position: absolute;
        top: 50px;
        left: 50%;
        width: 4px;
        height: 0;
        background: linear-gradient(180deg, var(--teal-accent), var(--sky-blue-button));
        transform: translateX(-50%);
        border-radius: 4px;
        transition: height 0.5s ease-out;
        box-shadow: 0 0 20px var(--teal-glow);
    }
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/* Desktop layout with alternating sides */
@media (min-width: 1025px) {
    .steps-grid {
        gap: 4rem;
    }

    .step {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 3rem;
        align-items: center;
    }

    .step .step-content {
        text-align: right;
    }

    .step .step-content:last-child {
        text-align: left;
    }

    /* First step: content on left, number center, empty on right */
    .step:nth-child(odd) .step-content {
        order: 1;
        text-align: right;
    }

    .step:nth-child(odd) .step-number {
        order: 2;
    }

    .step:nth-child(odd)::after {
        content: '';
        order: 3;
    }

    /* Second step: empty on left, number center, content on right */
    .step:nth-child(even)::before {
        content: '';
        order: 1;
    }

    .step:nth-child(even) .step-number {
        order: 2;
    }

    .step:nth-child(even) .step-content {
        order: 3;
        text-align: left;
    }
}

.step-number {
    width: 80px;
    height: 80px;
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all var(--transition-slow) var(--ease-out-expo);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Glass highlight on step number */
.step-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 100%
    );
    border-radius: 50% 50% 60% 60%;
    pointer-events: none;
}

@media (min-width: 1025px) {
    .step-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

.step:hover .step-number {
    transform: scale(1.08);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(76, 191, 166, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--light-text);
}

@media (min-width: 1025px) {
    .step-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

.step-description {
    color: var(--light-text);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 1rem;
}

@media (min-width: 1025px) {
    .step-description {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Early Access Section
   ========================================================================== */

.early-access {
    position: relative;
    overflow: hidden;
}

.early-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--deep-navy-gradient), var(--soft-navy-card));
    z-index: -1;
}

.early-access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.early-access-text {
    position: relative;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    color: var(--light-text);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-list li::after {
    content: '✓';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-text);
    font-weight: 800;
    font-size: 0.9rem;
}

.benefits-list li:hover {
    transform: translateX(10px);
    color: var(--teal-accent);
}

.form-card {
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.06) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Glass highlight */
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%
    );
    border-radius: 24px 24px 50% 50%;
    pointer-events: none;
}

/* Accent line at top */
.form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-accent), var(--sky-blue-button), var(--purple-accent));
    border-radius: 24px 24px 0 0;
}

.form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input,
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(11, 27, 43, 0.8);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all var(--transition-normal) var(--ease-out-expo);
}

.form-input:focus,
.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 4px rgba(76, 191, 166, 0.15);
    background: rgba(11, 27, 43, 1);
}

.form-input::placeholder,
.signup-form input::placeholder {
    color: var(--light-text);
    opacity: 0.5;
}

.form-error {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download {
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--soft-navy-card) 20%, var(--soft-navy-card) 80%, transparent 100%);
    z-index: -1;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.07) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition-normal) var(--ease-out-expo);
    min-width: 220px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* Glass highlight */
.store-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
    border-radius: 16px 16px 50% 50%;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

/* Shine sweep */
.store-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.store-button:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: translateY(-5px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.store-button:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.store-button svg {
    color: var(--teal-accent);
    transition: transform var(--transition-normal);
}

.store-button:hover svg {
    transform: scale(1.1);
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-small {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-large {
    font-size: 1.4rem;
    font-weight: 700;
}

.subscription-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.subscription-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.subscription-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* ==========================================================================
   Testimonials Section - Modern Cards
   ========================================================================== */

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all var(--transition-slow) var(--ease-out-expo);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Glass highlight */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%
    );
    border-radius: 24px 24px 50% 50%;
    pointer-events: none;
}

/* Quote mark */
.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.testimonial-rating {
    color: var(--gold-highlight);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-text);
    font-size: 1.2rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    color: var(--teal-accent);
    font-size: 1.1rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
   FAQ Section - Animated Accordion
   ========================================================================== */

.faq {
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--soft-navy-card) 20%, var(--soft-navy-card) 80%, transparent 100%);
    z-index: -1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    /* iOS Frosted Glass */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin-bottom: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-normal) var(--ease-out-expo);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.07) 100%
    );
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: default;
    text-align: left;
    pointer-events: none;
    user-select: none;
}

.faq-question:hover {
    color: var(--light-text);
}

.faq-icon {
    display: none;
}

.faq-answer {
    max-height: 500px;
    overflow: hidden;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--light-text);
    opacity: 0.85;
    line-height: 1.9;
}

/* ==========================================================================
   Final CTA Section - Dramatic
   ========================================================================== */

.final-cta {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(76, 191, 166, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, var(--deep-navy-gradient), var(--navy-primary-bg));
    z-index: -1;
}

.cta-content {
    position: relative;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light-text), var(--teal-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Footer - Modern & Clean
   ========================================================================== */

.footer {
    /* iOS Frosted Glass Footer */
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--teal-accent);
}

.footer-description {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: var(--teal-accent);
    opacity: 1;
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1rem;
    background: rgba(11, 27, 43, 0.8);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 4px rgba(76, 191, 166, 0.15);
}

.newsletter-form button {
    padding: 0.875rem 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Messages - Toast Notifications
   ========================================================================== */

.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border-left: 4px solid;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: messageSlideIn 0.5s var(--ease-out-expo);
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.message-success {
    border-color: var(--teal-accent);
}

.message-error {
    border-color: var(--error-red);
}

.message-info {
    border-color: var(--sky-blue-button);
}

.message-warning {
    border-color: var(--gold-highlight);
}

.message-close {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    opacity: 0.7;
    transition: all var(--transition-normal);
    padding: 0.25rem;
    border-radius: 50%;
}

.message-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--ease-out-expo);
}

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

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

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

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

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

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

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

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-accent), var(--sky-blue-button));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 2px;
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-accent), var(--sky-blue-button), var(--purple-accent));
    z-index: 10001;
    transition: width 0.1s linear;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .step {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }

    .step .step-content {
        text-align: left;
    }

    .early-access-content {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .phone-frame {
        width: 280px;
        height: 570px;
        border-radius: 48px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 38px;
    }

    .phone-screen::before {
        width: 100px;
        height: 30px;
        top: 10px;
    }

    .phone-screen::after {
        border-radius: 38px;
    }

    .app-screenshot {
        border-radius: 38px;
    }

    .phone-button-left {
        top: 130px;
        height: 80px;
    }

    .phone-frame::before {
        top: 100px;
        height: 28px;
    }

    .phone-frame::after {
        top: 145px;
        height: 55px;
    }

    .floating-elements {
        display: none;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .messages-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat {
        width: 100%;
        max-width: 200px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .navbar,
    .mobile-menu,
    .cursor,
    .cursor-follower,
    .animated-bg,
    .particles,
    .scroll-progress,
    .page-loader {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    section {
        padding: 2rem 0;
    }
}
