/* ═══════════════════════════════════════════
   PIXSTRONOMY — The Cosmos, Made Beautiful
   ═══════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Colors - Deep Space Theme */
    --bg-primary: #020205; /* Deep void */
    --bg-secondary: #050510; /* Dark space */
    --bg-tertiary: #0a0a1f; /* Near space */
    --bg-card: rgba(10, 10, 31, 0.7);
    --bg-glass: rgba(10, 10, 31, 0.4);

    --text-primary: #f8f9fa; /* Starlight */
    --text-secondary: rgba(248, 249, 250, 0.7);
    --text-muted: rgba(248, 249, 250, 0.4);

    --accent-red: #ff3366; /* Nebula red */
    --accent-red-light: #ff6b8b;
    --accent-cyan: #00e5ff; /* Pulsar blue */
    --accent-purple: #9d4edd; /* Deep nebula */
    --accent-gold: #ffaa00; /* Star core */
    --accent-blue: #3a86ff; /* Exoplanet glow */

    --gradient-brand: linear-gradient(135deg, #00e5ff, #9d4edd, #ff3366);
    --gradient-accent: linear-gradient(135deg, #9d4edd, #00e5ff);
    --gradient-gold: linear-gradient(135deg, #ffaa00, #ffea00);

    --glow-red: 0 0 40px rgba(255, 51, 102, 0.3);
    --glow-cyan: 0 0 40px rgba(0, 229, 255, 0.3);
    --glow-purple: 0 0 40px rgba(157, 78, 221, 0.3);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Borders */
    --border-subtle: 1px solid rgba(248, 249, 250, 0.08);
    --border-glow: 1px solid rgba(0, 229, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

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;
}

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

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

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

/* ─── Utility ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.cursor-trail {
    position: fixed;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.4);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
}

body:hover .custom-cursor,
body:hover .cursor-trail {
    opacity: 1;
}

.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(0, 229, 255, 0.5);
}

.cursor-trail.hovering {
    transform: translate(-50%, -50%) scale(1.8);
    border-color: rgba(0, 229, 255, 0.5);
}

@media (hover: none) {
    .custom-cursor, .cursor-trail { display: none !important; }
}

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner { text-align: center; }

.preloader-orbit {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto var(--space-lg);
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.ring-1 { animation: orbit-spin 3s linear infinite; }
.ring-2 {
    inset: 15px;
    animation: orbit-spin 2s linear infinite reverse;
    border-color: rgba(157, 78, 221, 0.2);
}
.ring-3 {
    inset: 30px;
    animation: orbit-spin 1.5s linear infinite;
    border-color: rgba(255, 51, 102, 0.25);
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.dot-1 {
    top: 0; left: 50%; transform: translateX(-50%);
    animation: orbit-spin 3s linear infinite;
    transform-origin: 50% 60px;
}
.dot-2 {
    top: 15px; left: 50%; transform: translateX(-50%);
    animation: orbit-spin 2s linear infinite reverse;
    transform-origin: 50% 45px;
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
    width: 6px; height: 6px;
}
.dot-3 {
    top: 30px; left: 50%; transform: translateX(-50%);
    animation: orbit-spin 1.5s linear infinite;
    transform-origin: 50% 30px;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
    width: 5px; height: 5px;
}

.preloader-logo {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-sm);
}

.preloader-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    animation: pulse-text 1.5s ease infinite;
}

/* ═══════════════════════════════════════════
   STAR FIELD BACKGROUND
   ═══════════════════════════════════════════ */
.starfield {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at bottom, #0a0a1f 0%, #020205 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); box-shadow: 0 0 5px #fff; }
    100% { opacity: 0; transform: scale(0.5); }
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.4s var(--ease-out-expo);
}

.main-nav.scrolled {
    padding: var(--space-xs) 0;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-subtle);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { z-index: 1001; }

.nav-links { display: flex; align-items: center; gap: var(--space-lg); }

.nav-link {
    font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
    transition: color var(--transition-fast); position: relative;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0%; height: 2px; background: var(--gradient-brand);
    transition: width var(--transition-normal); border-radius: 1px;
}

.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-link-cta {
    color: var(--bg-primary) !important;
    background: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(248, 249, 250, 0.4);
    background: var(--gradient-brand);
    color: #fff !important;
}

.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; width: 28px; z-index: 1001;
}

.nav-hamburger span {
    display: block; width: 100%; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        position: fixed; inset: 0; flex-direction: column; justify-content: center;
        background: rgba(2, 2, 5, 0.98); backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px); gap: var(--space-lg);
        opacity: 0; visibility: hidden; transition: all 0.4s var(--ease-out-expo);
    }
    .nav-links.open { opacity: 1; visibility: visible; }
    .nav-link { font-size: 1.5rem; }
    .nav-link-cta { font-size: 1.2rem; padding: 0.75rem 2rem; }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: var(--space-3xl) var(--space-md);
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-gradient-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(2, 2, 5, 1) 0%, transparent 30%),
        linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
    z-index: 1; pointer-events: none;
}

.floating-orb { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; filter: blur(40px); }
.orb-1 { width: 400px; height: 400px; top: 5%; left: -10%; background: rgba(157, 78, 221, 0.15); animation: float-drift 15s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; top: 50%; right: -5%; background: rgba(0, 229, 255, 0.1); animation: float-drift 12s ease-in-out infinite 2s; }
.orb-3 { width: 200px; height: 200px; top: 15%; right: 20%; background: rgba(255, 51, 102, 0.1); animation: float-drift 18s ease-in-out infinite 4s; }

.hero-split {
    position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: var(--space-xl); width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 var(--space-md);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    padding: 0.4rem 1.2rem; border-radius: var(--radius-full);
    background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.2);
    font-size: 0.85rem; font-weight: 500; color: var(--accent-cyan);
    margin-bottom: var(--space-lg); letter-spacing: 0.05em; text-transform: uppercase;
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); animation: pulse-dot 2s ease infinite; box-shadow: 0 0 8px var(--accent-cyan); }

.hero-title {
    font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--space-lg);
}

.hero-title-line { display: block; }
.hero-title-accent {
    background: var(--gradient-brand); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary);
    max-width: 500px; margin: 0 0 var(--space-xl); line-height: 1.7;
}

.hero-actions { display: flex; gap: var(--space-md); justify-content: flex-start; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    padding: 0.9rem 2rem; border-radius: var(--radius-full);
    font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    transition: all var(--transition-normal); position: relative; overflow: hidden;
}

.btn-primary { background: var(--gradient-brand); color: white; box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0, 229, 255, 0.5); }
.btn-ghost { border: 1px solid rgba(248, 249, 250, 0.15); color: var(--text-primary); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(248, 249, 250, 0.3); background: rgba(248, 249, 250, 0.05); transform: translateY(-3px); }

.hero-carousel { display: flex; flex-direction: column; align-items: center; }

.carousel-wrapper { display: flex; align-items: center; justify-content: center; gap: var(--space-lg); position: relative; z-index: 2; }
.carousel-phone { position: relative; animation: float-gentle 6s ease-in-out infinite; }

.phone-frame {
    width: 280px; height: 570px; max-width: 60vw; aspect-ratio: 280 / 570;
    background: #0a0a1f; border-radius: 36px; border: 2px solid rgba(248, 249, 250, 0.15);
    overflow: hidden; position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(248, 249, 250, 0.1);
}

.phone-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 34px; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.phone-glow {
    position: absolute; inset: -40px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 60%); z-index: -1;
}

.carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.6s var(--ease-out-expo); will-change: transform; }
.carousel-slide { min-width: 100%; height: 100%; flex-shrink: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-user-drag: none; user-select: none; }

.carousel-nav {
    display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border-radius: 50%; background: rgba(248, 249, 250, 0.06); border: 1px solid rgba(248, 249, 250, 0.1);
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition-normal);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-shrink: 0; z-index: 3;
}

.carousel-nav:hover {
    background: rgba(0, 229, 255, 0.15); border-color: rgba(0, 229, 255, 0.4);
    color: var(--text-primary); transform: scale(1.1); box-shadow: var(--glow-cyan);
}

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: var(--space-lg); }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(248, 249, 250, 0.15); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.carousel-dot.active { background: var(--accent-cyan); width: 28px; border-radius: 5px; box-shadow: 0 0 12px rgba(0, 229, 255, 0.5); }

.hero-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.scroll-line { width: 1px; height: 60px; background: rgba(248, 249, 250, 0.1); position: relative; overflow: hidden; border-radius: 1px; }
.scroll-dot { width: 3px; height: 12px; background: var(--accent-cyan); border-radius: 3px; position: absolute; left: -1px; animation: scroll-bounce 2s ease-in-out infinite; box-shadow: 0 0 5px var(--accent-cyan); }
.hero-scroll-indicator span { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }

/* ═══════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent-cyan); margin-bottom: var(--space-md);
    padding: 0.3rem 1rem; border-radius: var(--radius-full);
    border: 1px solid rgba(0, 229, 255, 0.2); background: rgba(0, 229, 255, 0.06);
}
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ═══════════════════════════════════════════
   ABOUT / CATEGORIES SECTION
   ═══════════════════════════════════════════ */
.about-section { padding: var(--space-3xl) 0; position: relative; }
.category-pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); }
.pillar-card {
    text-align: center; padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-lg);
    background: var(--bg-card); border: var(--border-subtle); transition: all var(--transition-normal);
    position: relative; overflow: hidden; backdrop-filter: blur(10px);
}
.pillar-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
    opacity: 0; transition: opacity var(--transition-normal);
}
.pillar-card:hover {
    transform: translateY(-8px); border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, 0.6);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-icon { width: 64px; height: 64px; margin: 0 auto var(--space-md); color: var(--accent-cyan); transition: all var(--transition-normal); }
.pillar-card:hover .pillar-icon { transform: scale(1.15); }
.pillar-card:nth-child(1):hover .pillar-icon { color: var(--accent-purple); } /* Black Holes */
.pillar-card:nth-child(2):hover .pillar-icon { color: var(--accent-blue); }   /* Exoplanets */
.pillar-card:nth-child(3):hover .pillar-icon { color: var(--accent-red); }    /* Nebulae */
.pillar-card:nth-child(4):hover .pillar-icon { color: var(--accent-cyan); }   /* Galaxies */
.pillar-card:nth-child(5):hover .pillar-icon { color: var(--accent-gold); }   /* Stars */
.pillar-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-xs); }
.pillar-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 1024px) { .category-pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .category-pillars { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════
   COSMOS GRID SECTION
   ═══════════════════════════════════════════ */
.cosmos-section { padding: var(--space-3xl) 0; }
.cosmos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.cosmos-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1);
    height: 500px; /* Taller height for vertical screenshots */
}
.cosmos-card-img { width: 100%; height: 100%; transition: transform 0.8s ease; background: #0a0a1f; }
.cosmos-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0.8; transition: opacity 0.8s ease; }
.cosmos-card-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,2,5,0.95) 0%, rgba(2,2,5,0.4) 50%, transparent 100%);
    padding: var(--space-lg); display: flex; flex-direction: column; justify-content: flex-end;
}
.cosmos-card:hover .cosmos-card-img { transform: scale(1.05); }
.cosmos-card:hover .cosmos-card-img img { opacity: 1; }
.cosmos-card-tag { font-size: 0.75rem; text-transform: uppercase; color: var(--accent-cyan); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.cosmos-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.cosmos-card-lg h3 { font-size: 2rem; }
.cosmos-card p { font-size: 0.9rem; color: var(--text-secondary); }

@media (max-width: 768px) {
    .cosmos-grid { grid-template-columns: 1fr; }
    .cosmos-card-lg { grid-row: span 1; }
}

/* ═══════════════════════════════════════════
   EXPERIENCE SECTION
   ═══════════════════════════════════════════ */
.experience-section { padding: var(--space-3xl) 0; position: relative; }
.experience-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); position: relative; }
.flow-step { text-align: center; position: relative; }
.flow-number {
    font-family: var(--font-display); font-size: 4rem; font-weight: 900;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.3) 0%, transparent 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: var(--space-sm);
}
.flow-card { padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--bg-card); border: var(--border-subtle); transition: all var(--transition-normal); backdrop-filter: blur(10px); }
.flow-card:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, 0.3); box-shadow: var(--glow-cyan); }
.flow-icon { width: 48px; height: 48px; margin: 0 auto var(--space-md); color: var(--accent-cyan); }
.flow-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: var(--space-xs); }
.flow-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.flow-connector {
    position: absolute; top: 50%; right: -15%; width: 30%; height: 1px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.4), transparent); z-index: 0;
}
.flow-step:last-child .flow-connector { display: none; }
@media (max-width: 900px) { .experience-flow { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl) var(--space-md); } .flow-connector { display: none; } }
@media (max-width: 600px) { .experience-flow { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features-section { padding: var(--space-3xl) 0; position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.feature-card { padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-lg); background: var(--bg-card); border: var(--border-subtle); transition: all var(--transition-normal); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-slow); }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(157, 78, 221, 0.3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow-purple); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon-wrap { width: 52px; height: 52px; color: var(--accent-purple); margin-bottom: var(--space-md); transition: all var(--transition-normal); }
.feature-card:hover .feature-icon-wrap { transform: scale(1.1) translateY(-2px); color: var(--accent-cyan); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: var(--space-xs); }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section { padding: var(--space-3xl) 0; position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 60%); pointer-events: none; }
.cta-bg-particles { position: absolute; inset: 0; z-index: 0; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.cta-desc { font-size: 1.15rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto var(--space-xl); line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.store-btn { display: flex; align-items: center; gap: var(--space-sm); padding: 0.85rem 1.5rem; border-radius: var(--radius-md); background: rgba(248, 249, 250, 0.06); border: 1px solid rgba(248, 249, 250, 0.1); transition: all var(--transition-normal); backdrop-filter: blur(10px); }
.store-btn:hover { background: rgba(248, 249, 250, 0.1); border-color: rgba(0, 229, 255, 0.4); transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.store-text { display: flex; flex-direction: column; text-align: left; }
.store-small { font-size: 0.65rem; color: var(--text-muted); line-height: 1; }
.store-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.cta-social { display: flex; justify-content: center; gap: var(--space-md); }
.social-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(248, 249, 250, 0.04); border: 1px solid rgba(248, 249, 250, 0.06); color: var(--text-secondary); transition: all var(--transition-normal); }
.social-link:hover { background: rgba(0, 229, 255, 0.1); border-color: rgba(0, 229, 255, 0.3); color: var(--accent-cyan); transform: translateY(-3px); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer { padding: var(--space-xl) 0; border-top: var(--border-subtle); background: #020205; }
.footer-content { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-md); letter-spacing: 0.05em; }
.footer-links { display: flex; justify-content: center; gap: var(--space-lg); margin-bottom: var(--space-md); }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.anim-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint); }
.anim-reveal.revealed { opacity: 1; transform: translateY(0); }

@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
@keyframes pulse-text { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes float-drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -30px); }
    50% { transform: translate(-15px, -10px); }
    75% { transform: translate(10px, 20px); }
}
@keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes scroll-bounce { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 48px; opacity: 0; } }

@media (max-width: 480px) {
    :root { --space-3xl: 6rem; }
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; flex-direction: column; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
    .phone-frame { width: 220px; height: auto; max-width: 55vw; }
}
