/* ============================================
   CrewMate Landing Page — Futuristic Design
   Glassmorphism, Gradients, Animations
   ============================================ */

/* CSS Variables — Futuristic Palette */
:root {
    /* Primary Palette — Deep Ocean to Cyan */
    --primary: #00D4FF;
    --primary-rgb: 0, 212, 255;
    --primary-dark: #0099CC;
    --primary-light: rgba(0, 212, 255, 0.15);

    /* Accent — Electric Purple */
    --accent: #7C3AED;
    --accent-rgb: 124, 58, 237;
    --accent-light: rgba(124, 58, 237, 0.15);

    /* Secondary — Warm Coral */
    --secondary: #FF6B6B;
    --secondary-rgb: 255, 107, 107;

    /* Background — Deep Space */
    --bg-primary: #030712;
    --bg-secondary: #0F172A;
    --bg-tertiary: #1E293B;
    --bg-card: rgba(15, 23, 42, 0.6);

    /* Text */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);

    /* Semantic */
    --success: #10B981;
    --success-rgb: 16, 185, 129;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    --gradient-glow: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    --gradient-mesh:
        radial-gradient(at 40% 20%, rgba(0, 212, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(255, 107, 107, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(0, 212, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(124, 58, 237, 0.1) 0px, transparent 50%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(var(--primary-rgb), 0.3);
    --shadow-glow-accent: 0 0 60px rgba(var(--accent-rgb), 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Buttons — Futuristic Style
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.5),
                0 10px 40px rgba(var(--primary-rgb), 0.3),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-highlight);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-nav {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

/* ============================================
   Section Elements
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    margin-bottom: var(--space-lg);
}

.section-tag.light {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-header p {
    margin-top: var(--space-lg);
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   Navigation — Glass Morphism
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.logo-icon-svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.lang-switcher-btn svg {
    transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-switcher-btn svg {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a,
.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    text-decoration: none;
}

.lang-menu a:hover,
.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   Hero Section — Futuristic
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 var(--space-xl);
    background: var(--bg-primary);
    overflow: hidden;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.08) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(var(--primary-rgb), 0.05) 0%, transparent 25%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Grid Pattern */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 20%, transparent 70%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.8);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.8);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 1);
    }
}

.hero h1 {
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 8s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* Feature Pills */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.feature-pill:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.pill-icon {
    font-size: 1rem;
}

.pill-text {
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.hero-store-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-store-buttons .btn-store {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Hero Benefits */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.benefit-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

/* Phone Mockup — 3D Effect */
.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    position: relative;
    min-height: 700px;
}

/* Wrapper to center phone with dots offset */
.phone-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 30px; /* Offset to visually center phone+dots combo */
}

/* Floating Cards around phone */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    animation: float-card 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card .fc-icon {
    font-size: 1.25rem;
}

.floating-card .fc-content {
    display: flex;
    flex-direction: column;
}

.floating-card .fc-title {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.floating-card .fc-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-expense {
    top: 10%;
    left: -10px;
    animation-delay: 0s;
}

.card-crew {
    top: 45%;
    right: -20px;
    animation-delay: 1.3s;
}

.card-route {
    bottom: 15%;
    left: 0;
    animation-delay: 2.6s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.phone-mockup {
    position: relative;
    width: 380px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a14 100%);
    border-radius: 52px;
    padding: 16px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1),
        0 40px 80px -20px rgba(0, 0, 0, 0.9),
        0 0 150px rgba(var(--primary-rgb), 0.25),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transform: rotateY(-5deg) rotateX(3deg) translateY(-40px);
    transition: transform var(--transition-slow);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(-40px); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-50px); }
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0) translateY(-50px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15),
        0 50px 100px -25px rgba(0, 0, 0, 0.9),
        0 0 180px rgba(var(--primary-rgb), 0.35),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0a0a14;
    border-radius: 16px;
    z-index: 10;
}

/* Phone Slider — Vertical Scroll Animation */
.phone-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 40px;
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-radius: 40px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.phone-screen.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Slider dots — Vertical */
.slider-dots {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    z-index: 20;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.slider-dots .dot:hover {
    background: var(--text-secondary);
    transform: scale(1.3);
}

.slider-dots .dot.active {
    background: var(--primary);
    height: 28px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.7);
}

/* Screen label */
.screen-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    animation: label-pulse 3s ease-in-out infinite;
}

@keyframes label-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
    50% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2); }
}

.label-icon {
    font-size: 1.125rem;
    animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.label-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
    text-align: center;
}

/* Scroll hint */
.scroll-hint {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    font-size: 0.6875rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.scroll-hint-icon {
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Phone slider improvements */
.phone-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.phone-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-lg);
    padding-top: var(--space-3xl);
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.15) 0%, transparent 100%);
    border-bottom: 1px solid var(--glass-border);
}

.app-title {
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--text-primary);
}

.app-progress {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.app-checklist {
    padding: var(--space-lg);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-sm);
    font-size: 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    transition: all var(--transition-fast);
}

.checklist-item.done {
    color: var(--text-muted);
}

.checklist-item.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--text-primary);
}

.check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.check-empty {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    flex-shrink: 0;
}

.photo-btn {
    margin-left: auto;
    background: rgba(var(--primary-rgb), 0.2);
    border: none;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    cursor: pointer;
}

.app-footer {
    display: flex;
    justify-content: center;
    padding: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
}

/* Mini app screens styles */
.app-expenses, .app-route, .app-games, .app-provisions, .app-crew, .app-docs {
    padding: var(--space-lg);
}

.expense-row, .prov-item, .crew-row, .doc-row, .mini-game {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-sm);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--glass-border);
}

.expense-row:last-child, .prov-item:last-child, .crew-row:last-child, .doc-row:last-child, .mini-game:last-child {
    border-bottom: none;
}

.exp-icon, .mg-icon, .dr-icon { font-size: 1.375rem; }
.exp-name, .mg-name, .dr-name, .prov-name, .cr-name { flex: 1; color: var(--text-secondary); }
.exp-amount { color: var(--text-primary); font-weight: 600; font-size: 1rem; }
.mg-time { color: var(--primary); font-size: 0.8125rem; }

.mini-game.active {
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-sm);
}

/* Route stops */
.route-stop {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.stop-dot {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 50%;
}

.route-stop.current .stop-dot {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

.stop-info { display: flex; flex-direction: column; }
.stop-time { font-size: 0.75rem; color: var(--text-muted); }
.stop-name { font-size: 0.9375rem; color: var(--text-primary); font-weight: 500; }

.route-line-v {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), transparent);
    margin-left: 4px;
}

/* Provisions */
.prov-check {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 700;
}

.prov-check.empty {
    background: transparent;
    border: 1.5px solid var(--text-muted);
}

.prov-item.done { opacity: 0.6; }
.prov-who { font-size: 0.5625rem; color: var(--success); }

/* Crew */
.cr-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50%;
}

.cr-badge { font-size: 1rem; }

/* Docs */
.doc-row.signed .dr-status { color: var(--success); }
.doc-row.pending .dr-status { color: var(--warning); }
.dr-status { font-size: 0.5625rem; font-weight: 600; }

/* Mini screens for new features */
.app-todos, .app-announcements, .app-polls, .app-reminders {
    padding: var(--space-lg);
}

/* Mini To-Do */
.mini-todo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-xs);
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.mini-todo.done { opacity: 0.6; }
.mini-todo.done .mt-text { text-decoration: line-through; }
.mini-todo.active { background: rgba(var(--primary-rgb), 0.1); }

.mt-check {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 700;
}

.mt-check.empty {
    background: transparent;
    border: 2px solid var(--text-muted);
}

.mt-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Mini Announcements */
.mini-ann {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--primary);
}

.ma-icon { font-size: 1rem; }
.ma-text { flex: 1; font-size: 0.75rem; color: var(--text-secondary); }
.ma-react {
    font-size: 0.625rem;
    padding: 2px 6px;
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
}

/* Mini Polls */
.mini-poll-q {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.mini-poll-opt {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs);
    margin-bottom: var(--space-xs);
    position: relative;
}

.mini-poll-opt.winner { color: var(--primary); }
.mpo-text { font-size: 0.75rem; flex: 1; color: var(--text-secondary); z-index: 1; }
.mini-poll-opt.winner .mpo-text { color: var(--text-primary); font-weight: 500; }

.mpo-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-sm);
}

.mpo-count {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    z-index: 1;
}

/* Mini Reminders */
.mini-reminder {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-xs);
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.mini-reminder.morning { border-left: 2px solid var(--warning); }
.mini-reminder.evening { border-left: 2px solid var(--accent); }

.mr-icon { font-size: 1rem; }
.mr-text { flex: 1; font-size: 0.75rem; color: var(--text-secondary); }
.mr-time {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 2px 6px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

/* Wave Divider — Removed, using gradient fade instead */
.wave-divider {
    display: none;
}

/* ============================================
   Teambuilding Highlight Section
   ============================================ */
.teambuilding-highlight {
    padding: var(--space-4xl) 0;
    position: relative;
}

.tb-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl);
    background:
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(var(--accent-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 100% 0%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.tb-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.tb-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.tb-badge-icon {
    font-size: 1rem;
}

.tb-content h2 {
    margin-bottom: var(--space-sm);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.tb-subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.tb-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.tb-description strong {
    color: var(--text-primary);
}

.tb-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.tb-feature {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.tb-feature:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(4px);
}

.tbf-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tbf-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tbf-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tbf-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Teambuilding visual */
.tb-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tb-games-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.tbg-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: default;
}

.tbg-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tbg-emoji {
    font-size: 2rem;
}

.tbg-name {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 1024px) {
    .tb-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tb-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: var(--space-md);
    }

    .tb-features {
        align-items: center;
    }

    .tb-feature {
        max-width: 400px;
        text-align: left;
    }

    .tb-games-preview {
        grid-template-columns: repeat(3, 1fr);
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .tb-card {
        padding: var(--space-xl);
    }

    .tb-games-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Problem Section — Glass Cards
   ============================================ */
.problem {
    padding: var(--space-5xl) 0;
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.problem-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--glass-highlight) 50%, transparent 100%);
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(var(--primary-rgb), 0.1);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    filter: grayscale(0.3);
    transition: filter var(--transition-base);
}

.problem-card:hover .problem-icon {
    filter: grayscale(0);
}

.problem-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.problem-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Features Section — Bento Grid
   ============================================ */
.features {
    padding: var(--space-5xl) 0;
    position: relative;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-bottom: var(--space-5xl);
    scroll-margin-top: 100px;
}

.feature-block:nth-child(odd) .feature-visual {
    order: 2;
}

.feature-block:nth-child(odd) .feature-content {
    order: 1;
}

.feature-block:nth-child(even) .feature-visual {
    order: 1;
}

.feature-block:nth-child(even) .feature-content {
    order: 2;
}

.feature-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--accent-rgb), 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-content > p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Feature Cards — Glass Effect */
.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-card {
    position: relative;
    width: 340px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
}

.card-icon {
    font-size: 1.25rem;
}

.card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.card-body {
    padding: var(--space-lg);
}

/* Handover Card */
.damage-photo {
    margin-bottom: var(--space-md);
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px dashed rgba(var(--primary-rgb), 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
}

.photo-placeholder span {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.photo-placeholder small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.signature-line {
    border-top: 1px dashed var(--glass-border);
    padding-top: var(--space-md);
    text-align: center;
}

.signature-scribble {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    opacity: 0.7;
}

.signature-line > span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* Expenses Card */
.expense-list {
    margin-bottom: var(--space-md);
}

.expense-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--glass-border);
}

.expense-icon {
    font-size: 1.125rem;
}

.expense-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.expense-amount {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.expense-summary {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}

.debt {
    color: var(--primary);
    font-weight: 600;
}

/* Route Card */
.route-timeline {
    position: relative;
}

.route-day {
    margin-bottom: var(--space-md);
}

.day-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.route-point {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
}

.route-point::before {
    content: '';
    position: absolute;
    left: 6px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.route-point.start::before {
    background: var(--success);
    box-shadow: 0 0 10px rgba(var(--success-rgb), 0.5);
}

.route-line {
    position: absolute;
    left: 10px;
    top: 28px;
    width: 2px;
    height: calc(100% - 56px);
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}

.point-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 45px;
}

.point-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Provisioning Card */
.provisioning-card .card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-badge {
    margin-left: auto;
    padding: 4px 10px;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.provision-list {
    margin-bottom: var(--space-md);
}

.provision-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--glass-border);
}

.provision-item:last-child {
    border-bottom: none;
}

.provision-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
}

.provision-check.empty {
    background: transparent;
    border: 2px solid var(--text-muted);
}

.provision-item.bought {
    opacity: 0.7;
}

.provision-item.bought .provision-name {
    text-decoration: line-through;
    color: var(--text-muted);
}

.provision-info {
    flex: 1;
    min-width: 0;
}

.provision-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.provision-qty {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.provision-buyer {
    font-size: 0.6875rem;
    padding: 3px 8px;
    background: rgba(var(--success-rgb), 0.15);
    color: var(--success);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.provision-warning {
    font-size: 0.6875rem;
    padding: 3px 8px;
    background: rgba(var(--secondary-rgb), 0.15);
    color: var(--secondary);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.provision-progress {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.provision-progress .progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.provision-progress .progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.provision-progress .progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* Crew Card */
.crew-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.crew-member {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.crew-member:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 50%;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.member-role {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.member-badge {
    font-size: 0.6875rem;
    padding: 4px 8px;
    background: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Documents Card */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.doc-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.doc-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.doc-item.signed {
    border-color: rgba(var(--success-rgb), 0.2);
}

.doc-item.pending {
    border-color: rgba(var(--warning), 0.3);
}

.doc-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.doc-status {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.doc-badge {
    font-size: 0.6875rem;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    white-space: nowrap;
}

.doc-badge.success {
    background: rgba(var(--success-rgb), 0.15);
    color: var(--success);
}

.doc-badge.warning {
    background: rgba(var(--warning), 0.15);
    color: var(--warning);
}

.doc-signature {
    padding: var(--space-md);
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
}

.signature-preview {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sig-icon {
    font-size: 1.5rem;
}

.sig-info {
    display: flex;
    flex-direction: column;
}

.sig-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sig-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* Games Card */
.games-categories {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.game-category {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.game-category:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
}

.game-category.active {
    border-color: rgba(var(--primary-rgb), 0.5);
    background: rgba(var(--primary-rgb), 0.1);
}

.category-icon {
    font-size: 1.25rem;
}

.category-name {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-count {
    font-size: 0.5625rem;
    color: var(--text-muted);
}

.game-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.game-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.game-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(4px);
}

.game-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.game-desc {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.game-time {
    font-size: 0.6875rem;
    padding: 3px 8px;
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* ============================================
   To-Do Card Styles
   ============================================ */
.todo-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.todo-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.todo-item.done {
    opacity: 0.6;
}

.todo-item.done .todo-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

.todo-item.active {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
}

.todo-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
}

.todo-check.empty {
    background: transparent;
    border: 2px solid var(--text-muted);
}

.todo-info {
    flex: 1;
    min-width: 0;
}

.todo-text {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.todo-meta {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.todo-progress {
    padding: var(--space-md);
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
}

/* ============================================
   Announcements Card Styles
   ============================================ */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.announcement-item {
    padding: var(--space-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.announcement-item.weather {
    border-left-color: var(--primary);
}

.announcement-item.safety {
    border-left-color: var(--warning);
}

.ann-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.ann-icon {
    font-size: 1rem;
}

.ann-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.announcement-item.safety .ann-category {
    color: var(--warning);
}

.ann-time {
    margin-left: auto;
    font-size: 0.625rem;
    color: var(--text-muted);
}

.ann-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.ann-reactions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.reaction {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
}

.read-status {
    font-size: 0.6875rem;
    color: var(--success);
}

.read-status.pending {
    color: var(--warning);
}

/* ============================================
   Polls Card Styles
   ============================================ */
.card-badge.live {
    background: rgba(var(--error), 0.15);
    color: var(--error);
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.poll-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.poll-option {
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.poll-option.winning {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
}

.option-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.option-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.option-votes {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.option-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.option-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.poll-option.winning .option-fill {
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--glass-border);
}

.poll-voters, .poll-deadline {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* ============================================
   Reminders Card Styles
   ============================================ */
.reminder-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.reminder-item.morning {
    border-left: 3px solid var(--warning);
}

.reminder-item.evening {
    border-left: 3px solid var(--accent);
}

.reminder-item.active {
    background: rgba(var(--warning), 0.05);
    border-color: rgba(var(--warning), 0.3);
}

.reminder-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.reminder-info {
    flex: 1;
    min-width: 0;
}

.reminder-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.reminder-desc {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.reminder-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 4px 8px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

.reminder-toggle {
    width: 36px;
    height: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
}

.reminder-toggle.on {
    background: var(--primary);
}

.reminder-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.reminder-toggle.on::after {
    transform: translateX(16px);
}

.reminder-templates {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.template-tag {
    font-size: 0.625rem;
    padding: 4px 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

/* ============================================
   Referral Section — Gradient Card
   ============================================ */
.referral {
    padding: var(--space-5xl) 0;
}

.referral-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: var(--space-4xl);
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(var(--accent-rgb), 0.15) 0%, transparent 50%),
        var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.referral-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
}

.referral-content h2 {
    margin-bottom: var(--space-md);
}

.referral-content p {
    margin-bottom: var(--space-xl);
}

.referral-tiers {
    display: flex;
    gap: var(--space-md);
}

.tier {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.tier:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-4px);
}

.tier-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.tier-reward {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Invite Mockup */
.invite-mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
}

.invite-header {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.invite-code {
    padding: var(--space-md);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.invite-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.share-btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.share-btn.copy {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.share-btn.copy:hover {
    background: var(--glass-highlight);
}

.invite-progress {
    text-align: center;
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.invite-progress > span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Pricing Section — Glass Cards
   ============================================ */
.pricing {
    padding: var(--space-5xl) 0;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        var(--glass-bg);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
    background: var(--gradient-primary);
    height: 2px;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
}

.pricing-header {
    margin-bottom: var(--space-xl);
}

.pricing-header h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-xl);
    flex: 1;
}

.pricing-features li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300D4FF'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ============================================
   Waitlist Section — CTA
   ============================================ */
.waitlist {
    padding: var(--space-5xl) 0;
}

.waitlist-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: var(--space-4xl);
    background:
        radial-gradient(ellipse 60% 60% at 0% 50%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 100% 50%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
}

.waitlist-content h2 {
    margin-bottom: var(--space-md);
}

.waitlist-content > p {
    margin-bottom: var(--space-xl);
}

.waitlist-content strong {
    color: var(--primary);
}

.waitlist-form {
    margin-bottom: 0;
}

.form-row {
    display: flex;
    gap: var(--space-sm);
}

.form-row input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.form-row input::placeholder {
    color: var(--text-muted);
}

.form-row input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-note svg {
    opacity: 0.5;
}

.waitlist-success {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-glow);
}

.waitlist-success h3 {
    margin-bottom: var(--space-sm);
}

.waitlist-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.stat-item {
    padding: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   Footer — Dark Glass
   ============================================ */
.footer {
    padding: var(--space-5xl) 0 var(--space-xl);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Footer decorative elements */
.footer-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    transform: translateY(-100%);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

/* Footer main layout */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 1;
}

/* Footer brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.footer-logo-img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.4));
    transition: all var(--transition-base);
}

.footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6));
    transform: scale(1.05);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 280px;
    line-height: 1.6;
}

/* Footer social buttons */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.social-btn:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.2);
}

/* Footer navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    font-size: 0.9375rem;
    position: relative;
    transition: color var(--transition-fast);
}

.footer-column a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-column a:hover::before {
    width: 100%;
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Footer badges */
.footer-badges {
    display: flex;
    gap: var(--space-lg);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: var(--space-xs) var(--space-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
}

.badge-item svg {
    color: var(--success);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-benefits {
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: 2;
    }

    .floating-card {
        display: none;
    }

    .phone-mockup {
        transform: none;
        animation: none;
    }

    .phone-mockup:hover {
        transform: translateY(-10px);
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }

    .feature-block:nth-child(odd) .feature-visual,
    .feature-block:nth-child(even) .feature-visual {
        order: 2;
    }

    .feature-block:nth-child(odd) .feature-content,
    .feature-block:nth-child(even) .feature-content {
        order: 1;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .referral-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }

    .referral-tiers {
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .waitlist-card {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 64px;
        --space-5xl: 80px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--space-lg);
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        gap: var(--space-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .referral-tiers {
        flex-direction: column;
        align-items: center;
    }

    .tier {
        width: 100%;
        max-width: 200px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .btn {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .phone-mockup {
        width: 260px;
    }

    .feature-card {
        width: 100%;
        max-width: 320px;
    }

    .referral-card,
    .waitlist-card {
        padding: var(--space-xl);
    }

    .pricing-card {
        padding: var(--space-xl);
    }

    .invite-mockup {
        padding: var(--space-lg);
    }
}

/* ============================================
   Animations & Effects
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .hero-subtitle,
    .hero-badge,
    .hero-cta,
    .hero-stats {
        animation: fadeInUp 0.8s ease-out backwards;
    }

    .hero-badge { animation-delay: 0.1s; }
    .hero h1 { animation-delay: 0.2s; }
    .hero-subtitle { animation-delay: 0.3s; }
    .hero-cta { animation-delay: 0.4s; }
    .hero-stats { animation-delay: 0.5s; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Glow effects for interactive elements */
.btn-primary:focus-visible,
.form-row input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

/* Smooth appearance for cards on scroll */
.problem-card,
.feature-card,
.pricing-card,
.tier {
    will-change: transform;
}
