/* ============================================
   FROST DESIGN SYSTEM - PixelCryptDen
   Scandinavian Ice Crystal Aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Primary Palette */
    --primary: #1a365d;
    --primary-dark: #0f2340;
    --primary-deeper: #091729;
    --secondary: #f0f5ff;
    --accent: #5fb5d4;
    --accent-light: #8fcde3;
    --accent-glow: rgba(95, 181, 212, 0.3);

    /* Frost Palette */
    --ice-white: #f8faff;
    --frost-blue: #e1eeff;
    --glacier: #cddff5;
    --silver: #b8c9de;
    --deep-blue: #2a4a7f;
    --midnight: #0d1b33;

    /* Neutral */
    --text-primary: #0f2340;
    --text-secondary: #4a6485;
    --text-muted: #7a95b3;
    --text-light: #a8bdd4;

    /* Borders */
    --border-frost: rgba(95, 181, 212, 0.2);
    --border-light: rgba(26, 54, 93, 0.08);
    --border-silver: rgba(184, 201, 222, 0.4);

    /* Shadows */
    --shadow-frost: 0 4px 24px rgba(26, 54, 93, 0.08);
    --shadow-frost-lg: 0 12px 48px rgba(26, 54, 93, 0.12);
    --shadow-frost-xl: 0 24px 80px rgba(26, 54, 93, 0.16);
    --shadow-glow: 0 0 40px rgba(95, 181, 212, 0.15);
    --shadow-inner: inset 0 1px 2px rgba(26, 54, 93, 0.06);

    /* Glass */
    --glass-bg: rgba(240, 245, 255, 0.72);
    --glass-bg-strong: rgba(240, 245, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

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

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
}

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

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

body {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--ice-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection */
::selection {
    background: rgba(95, 181, 212, 0.25);
    color: var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--frost-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--silver);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

a:hover {
    color: var(--primary);
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hidden {
    display: none !important;
}

.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-4xl);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(95, 181, 212, 0.1);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-frost);
    margin-bottom: var(--space-lg);
}

.section-tag i {
    font-size: 0.75rem;
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Frost Glass Card --- */
.frost-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-frost);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.frost-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-frost-lg);
}

/* --- Buttons --- */
.btn-frost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep-blue) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-frost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 181, 212, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.btn-frost:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.25);
}

.btn-frost:hover::before {
    opacity: 1;
}

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

.btn-frost-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    background: transparent;
    border: 1.5px solid var(--border-frost);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
}

.btn-frost-outline:hover {
    color: var(--primary);
    background: var(--frost-blue);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-frost-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    text-decoration: none;
}

.btn-frost-ghost:hover {
    color: var(--primary);
    background: rgba(95, 181, 212, 0.08);
}

.btn-frost-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-frost-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn-frost-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.btn-frost-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(248, 250, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-header.scrolled {
    background: rgba(248, 250, 255, 0.95);
    box-shadow: 0 2px 20px rgba(26, 54, 93, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-crystal {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transform: rotate(-8deg);
    transition: transform var(--duration-normal) var(--ease-spring);
}

.nav-logo:hover .logo-crystal {
    transform: rotate(0deg) scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--accent);
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

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

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

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: var(--space-lg) var(--space-xl) var(--space-2xl);
    background: var(--ice-white);
    border-top: 1px solid var(--border-light);
}

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

.mobile-link {
    padding: var(--space-md) 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color var(--duration-fast) ease;
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(95, 181, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(26, 54, 93, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(95, 181, 212, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, var(--ice-white) 0%, var(--frost-blue) 100%);
}

/* Crystal Grid Background */
.crystal-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.crystal {
    position: absolute;
    border: 1px solid rgba(95, 181, 212, 0.12);
    border-radius: 2px;
    transform: rotate(45deg);
    animation: crystalFloat 20s ease-in-out infinite;
}

.crystal-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    border-color: rgba(95, 181, 212, 0.08);
}

.crystal-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 5%;
    animation-delay: -3s;
    border-color: rgba(95, 181, 212, 0.06);
}

.crystal-3 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: -6s;
    border-color: rgba(95, 181, 212, 0.05);
}

.crystal-4 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 15%;
    animation-delay: -9s;
    border-color: rgba(95, 181, 212, 0.1);
}

.crystal-5 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: -12s;
    border-color: rgba(95, 181, 212, 0.04);
}

.crystal-6 {
    width: 40px;
    height: 40px;
    top: 35%;
    left: 35%;
    animation-delay: -2s;
    border-color: rgba(95, 181, 212, 0.15);
}

.crystal-7 {
    width: 90px;
    height: 90px;
    bottom: 25%;
    right: 30%;
    animation-delay: -7s;
    border-color: rgba(95, 181, 212, 0.07);
}

.crystal-8 {
    width: 70px;
    height: 70px;
    top: 45%;
    right: 5%;
    animation-delay: -4s;
    border-color: rgba(95, 181, 212, 0.09);
}

@keyframes crystalFloat {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
    25% { transform: rotate(48deg) translate(10px, -15px); opacity: 0.8; }
    50% { transform: rotate(42deg) translate(-5px, 10px); opacity: 0.5; }
    75% { transform: rotate(47deg) translate(8px, -5px); opacity: 0.7; }
}

/* Frost Particles */
.frost-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.frost-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleDrift 8s linear infinite;
}

@keyframes particleDrift {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: translateY(80vh) scale(1);
    }
    90% {
        opacity: 0.3;
        transform: translateY(-10vh) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(0);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    padding: var(--space-4xl) var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(95, 181, 212, 0.1);
    border: 1px solid var(--border-frost);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-2xl);
    animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.hero-badge i {
    font-size: 0.7rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
    animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.title-line-1 {
    animation-delay: 0.15s;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep-blue) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    animation-delay: 0.3s;
    font-weight: 300;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
    animation: fadeSlideUp 0.8s var(--ease-out) 0.45s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeSlideUp 0.8s var(--ease-out) 0.6s both;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeSlideUp 0.8s var(--ease-out) 0.75s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-frost);
}

/* Hero Visual / Device Mockup */
.hero-visual {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    animation: fadeSlideUp 1s var(--ease-out) 0.4s both;
}

.device-mockup {
    position: relative;
}

.device-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(180deg, #0d1b33 0%, #1a365d 100%);
    border-radius: 36px;
    padding: 8px;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(184, 201, 222, 0.3),
        0 20px 60px rgba(26, 54, 93, 0.3),
        0 0 120px rgba(95, 181, 212, 0.1);
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #091729 0%, #0f2340 50%, #1a365d 100%);
}

.device-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0d1b33;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.device-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(95, 181, 212, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: deviceGlow 4s ease-in-out infinite;
}

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

/* Game Scene Inside Device */
.screen-content {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.game-scene {
    position: absolute;
    inset: 0;
}

.mountain {
    position: absolute;
    bottom: 0;
}

.mountain-1 {
    left: -10%;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid rgba(26, 54, 93, 0.6);
}

.mountain-2 {
    left: 30%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 280px solid rgba(26, 54, 93, 0.4);
}

.mountain-3 {
    right: -10%;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-bottom: 220px solid rgba(26, 54, 93, 0.5);
}

.aurora {
    position: absolute;
    top: 15%;
    border-radius: 50%;
    filter: blur(30px);
    animation: auroraShift 6s ease-in-out infinite;
}

.aurora-1 {
    left: 10%;
    width: 150px;
    height: 40px;
    background: rgba(95, 181, 212, 0.3);
    animation-delay: 0s;
}

.aurora-2 {
    left: 30%;
    top: 10%;
    width: 120px;
    height: 30px;
    background: rgba(95, 181, 212, 0.2);
    animation-delay: -2s;
}

.aurora-3 {
    right: 10%;
    top: 20%;
    width: 100px;
    height: 35px;
    background: rgba(143, 205, 227, 0.25);
    animation-delay: -4s;
}

@keyframes auroraShift {
    0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.6; }
    33% { transform: translateX(20px) scaleX(1.2); opacity: 0.8; }
    66% { transform: translateX(-10px) scaleX(0.9); opacity: 0.5; }
}

.game-character {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.character-body {
    width: 24px;
    height: 36px;
    background: linear-gradient(180deg, var(--accent) 0%, #3a8fa8 100%);
    border-radius: 6px 6px 4px 4px;
    position: relative;
}

.character-body::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-light);
    border-radius: 50%;
}

.character-glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: rgba(95, 181, 212, 0.4);
    border-radius: 50%;
    filter: blur(4px);
    animation: characterGlow 2s ease-in-out infinite;
}

@keyframes characterGlow {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scaleX(1.3); }
}

/* Snowflake Particles in Device */
.snowflake-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: snowfall 5s linear infinite;
}

.sf-1 { left: 15%; animation-delay: 0s; animation-duration: 4s; }
.sf-2 { left: 35%; animation-delay: -1s; animation-duration: 5s; }
.sf-3 { left: 55%; animation-delay: -2.5s; animation-duration: 4.5s; }
.sf-4 { left: 75%; animation-delay: -0.5s; animation-duration: 5.5s; }
.sf-5 { left: 90%; animation-delay: -3s; animation-duration: 4.2s; }

@keyframes snowfall {
    0% { transform: translateY(-20px); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.3; }
    100% { transform: translateY(560px); opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
    animation: fadeSlideUp 0.8s var(--ease-out) 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */
.ticker-section {
    background: var(--primary);
    overflow: hidden;
    padding: var(--space-md) 0;
    position: relative;
}

.ticker-section::before,
.ticker-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.ticker-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.ticker-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--primary), transparent);
}

.ticker-track {
    display: flex;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: var(--space-3xl);
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--accent);
    font-size: 0.75rem;
}

.ticker-item strong {
    color: white;
}

.ticker-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-left: var(--space-xs);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about {
    background: var(--ice-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.about-card {
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.about-card-large {
    grid-column: span 1;
    grid-row: span 2;
}

.about-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(95, 181, 212, 0.1);
    border: 1px solid var(--border-frost);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.about-card:hover .about-card-icon {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: rotate(-5deg) scale(1.05);
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Mini Map Visual */
.about-card-visual {
    margin-top: var(--space-xl);
}

.mini-map {
    position: relative;
    width: 100%;
    height: 120px;
    background: rgba(95, 181, 212, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-frost);
    overflow: hidden;
}

.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: mapPulse 2s ease-in-out infinite;
}

.map-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: mapRing 2s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes mapRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(2); opacity: 0; }
}

.map-dot-1 { top: 25%; left: 20%; animation-delay: 0s; }
.map-dot-2 { top: 50%; left: 55%; animation-delay: -0.7s; }
.map-dot-3 { top: 70%; left: 35%; animation-delay: -1.4s; }

.map-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.3;
}

.map-line-1 {
    top: 29%;
    left: 24%;
    width: 80px;
    transform: rotate(20deg);
}

.map-line-2 {
    top: 55%;
    left: 40%;
    width: 60px;
    transform: rotate(-30deg);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.section-features {
    background: linear-gradient(180deg, var(--frost-blue) 0%, var(--ice-white) 100%);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-5xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-content {
    position: relative;
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(95, 181, 212, 0.1);
    line-height: 1;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.feature-content p {
    font-size: 1rem;
    margin-bottom: var(--space-xl);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.75rem;
}

/* Feature Visual Demos */
.feature-demo {
    padding: var(--space-3xl);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Crystal Hex Pattern */
.demo-crystal-pattern {
    position: relative;
    width: 200px;
    height: 200px;
}

.hex {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(95, 181, 212, 0.08);
    border: 1px solid rgba(95, 181, 212, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all var(--duration-slow) var(--ease-out);
    animation: hexPulse 3s ease-in-out infinite;
}

.hex-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hex-2 { top: 22%; left: 15%; animation-delay: -0.4s; }
.hex-3 { top: 22%; right: 15%; animation-delay: -0.8s; }
.hex-4 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -1.2s; background: rgba(95, 181, 212, 0.15); }
.hex-5 { bottom: 22%; left: 15%; animation-delay: -1.6s; }
.hex-6 { bottom: 22%; right: 15%; animation-delay: -2s; }
.hex-7 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -2.4s; }

@keyframes hexPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; background: rgba(95, 181, 212, 0.15); }
}

/* Building Demo */
.demo-building {
    position: relative;
    width: 180px;
    height: 200px;
}

.building-block {
    position: absolute;
    background: linear-gradient(135deg, rgba(95, 181, 212, 0.15), rgba(95, 181, 212, 0.05));
    border: 1px solid rgba(95, 181, 212, 0.25);
    border-radius: 4px;
    animation: buildUp 2s var(--ease-out) both;
}

.b-1 { bottom: 0; left: 10%; width: 80%; height: 40px; animation-delay: 0.2s; }
.b-2 { bottom: 44px; left: 20%; width: 60%; height: 35px; animation-delay: 0.4s; }
.b-3 { bottom: 83px; left: 25%; width: 50%; height: 30px; animation-delay: 0.6s; }
.b-4 { bottom: 117px; left: 30%; width: 40%; height: 28px; animation-delay: 0.8s; }
.b-5 { bottom: 149px; left: 35%; width: 30%; height: 24px; animation-delay: 1s; border-radius: 4px 4px 0 0; }

.building-glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: rgba(95, 181, 212, 0.2);
    border-radius: 50%;
    filter: blur(8px);
}

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

/* Story Path Demo */
.demo-story {
    position: relative;
    width: 200px;
    height: 200px;
}

.story-path {
    position: relative;
    width: 100%;
    height: 100%;
}

.path-node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(95, 181, 212, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    transition: all var(--duration-normal) ease;
}

.path-node.active {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(95, 181, 212, 0.5);
}

.node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.node-2 { top: 40%; left: 50%; transform: translateX(-50%); }
.node-3a { top: 65%; left: 25%; }
.node-3b { top: 65%; right: 25%; }
.node-4 { top: 88%; left: 50%; transform: translateX(-50%); }

.path-line {
    position: absolute;
    width: 2px;
    background: rgba(95, 181, 212, 0.3);
}

.line-1 {
    top: 17%;
    left: 50%;
    height: 23%;
    transform: translateX(-50%);
}

.path-branch {
    position: absolute;
    top: 47%;
    left: 30%;
    width: 40%;
    height: 2px;
    background: rgba(95, 181, 212, 0.2);
}

.line-2a {
    top: 47%;
    left: 31%;
    height: 18%;
    transform: rotate(-20deg);
}

.line-2b {
    top: 47%;
    right: 31%;
    height: 18%;
    transform: rotate(20deg);
}

/* ============================================
   TESTIMONIALS / COMMUNITY
   ============================================ */
.section-community {
    background: var(--ice-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.testimonial-card {
    padding: var(--space-2xl);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    font-size: 4rem;
    line-height: 1;
    color: rgba(95, 181, 212, 0.08);
    font-family: Georgia, serif;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
    color: #f0b429;
    font-size: 0.85rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Live Counters */
.live-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.counter-card {
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
}

.counter-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: rgba(95, 181, 212, 0.1);
    border: 1px solid var(--border-frost);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.counter-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.counter-live {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #22c55e;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.section-register {
    background: linear-gradient(180deg, var(--frost-blue) 0%, var(--ice-white) 100%);
    position: relative;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.register-info .section-tag {
    margin-bottom: var(--space-lg);
}

.register-info .section-title {
    margin-bottom: var(--space-lg);
}

.register-info > p {
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
}

.register-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.benefit-item i {
    color: var(--accent);
    font-size: 1rem;
}

.register-urgency {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(95, 181, 212, 0.06);
    border-color: var(--border-frost);
}

.urgency-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(95, 181, 212, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.register-urgency strong {
    font-size: 0.95rem;
    color: var(--primary);
}

.register-urgency p {
    font-size: 0.82rem;
    margin-top: 2px;
}

#spots-left {
    color: var(--accent);
    font-family: var(--font-mono);
}

/* Registration Form */
.register-form-wrapper {
    padding: var(--space-2xl);
    position: sticky;
    top: 100px;
}

.register-form h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color var(--duration-fast) ease;
}

.input-wrapper input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--ice-white);
    border: 1.5px solid var(--border-silver);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--duration-fast) ease;
}

.input-wrapper input::placeholder {
    color: var(--text-light);
}

.input-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(95, 181, 212, 0.12);
}

.input-wrapper input:focus + i,
.input-wrapper:focus-within i {
    color: var(--accent);
}

.form-error {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 4px;
    display: block;
    min-height: 1.2em;
}

/* Checkbox */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400;
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid var(--border-silver);
    border-radius: 4px;
    background: var(--ice-white);
    cursor: pointer;
    position: relative;
    margin-top: 1px;
    transition: all var(--duration-fast) ease;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
}

.form-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
}

.form-success i {
    font-size: 1.5rem;
    color: #22c55e;
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.form-error-msg i {
    font-size: 1.5rem;
    color: #ef4444;
}

.form-message strong {
    font-size: 1rem;
}

.form-message p {
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.8;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
    background: var(--ice-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: color var(--duration-fast) ease;
}

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

.faq-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out),
                padding var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    background: linear-gradient(180deg, var(--ice-white) 0%, var(--frost-blue) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.contact-card {
    padding: var(--space-2xl);
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(95, 181, 212, 0.15), rgba(95, 181, 212, 0.05));
    border: 1px solid var(--border-frost);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    transition: all var(--duration-normal) var(--ease-out);
}

.contact-card:hover .contact-icon {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.1) rotate(-5deg);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.contact-card p {
    font-size: 0.88rem;
    margin-bottom: var(--space-md);
}

.contact-link {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
}

/* ============================================
   TRUST & SECURITY SECTION
   ============================================ */
.section-trust {
    background: var(--frost-blue);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.trust-item {
    padding: var(--space-xl);
    text-align: center;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    display: block;
}

.trust-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.trust-item p {
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--space-4xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links-group a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--duration-fast) ease;
}

.footer-links-group a:hover {
    color: var(--accent);
}

.footer-responsible {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.responsible-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.responsible-badge i {
    color: var(--accent);
}

.footer-responsible > p {
    flex: 1;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.footer-responsible a {
    color: var(--accent);
}

.age-badge {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.age-badge span {
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-address {
    margin-top: var(--space-xs);
    font-size: 0.78rem;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-toast);
    background: rgba(248, 250, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-frost);
    box-shadow: 0 -8px 40px rgba(26, 54, 93, 0.12);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.cookie-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-settings {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl) var(--space-xl);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
}

.cookie-setting-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.cookie-setting-item input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.cookie-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-left: 24px;
}

/* ============================================
   AGE GATE MODAL
   ============================================ */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(9, 23, 41, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) ease;
}

.age-gate-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.age-gate-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-frost-xl);
    overflow: hidden;
}

.age-gate-crystal {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(95, 181, 212, 0.1);
    border-radius: 4px;
    transform: rotate(45deg);
    top: -80px;
    right: -80px;
}

.age-gate-crystal-2 {
    top: auto;
    right: auto;
    bottom: -60px;
    left: -60px;
    width: 150px;
    height: 150px;
}

.age-gate-content {
    position: relative;
    padding: var(--space-3xl);
    text-align: center;
}

.age-gate-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: iceRotate 6s linear infinite;
}

@keyframes iceRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.age-gate-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.age-gate-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.age-gate-actions .btn-frost,
.age-gate-actions .btn-frost-outline {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
}

.age-gate-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.age-gate-note a {
    color: var(--accent);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
    padding-top: 72px;
}

.legal-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: var(--space-4xl) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(95, 181, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(95, 181, 212, 0.08) 0%, transparent 50%);
}

.legal-hero h1 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    position: relative;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
}

.legal-content {
    max-width: 880px;
    margin: calc(-1 * var(--space-2xl)) auto var(--space-4xl);
    padding: var(--space-3xl) var(--space-3xl);
    background: white;
    position: relative;
    z-index: 1;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    color: var(--deep-blue);
}

.legal-content p {
    margin-bottom: var(--space-md);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-content li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-footer-note {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--border-frost);
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-4xl);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: var(--space-2xl) var(--space-xl);
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        padding: var(--space-xl);
    }

    .device-frame {
        width: 220px;
        height: 440px;
    }

    .scroll-indicator {
        display: none;
    }

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

    .about-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .feature-row-reverse {
        direction: ltr;
    }

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

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

    .register-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .register-form-wrapper {
        position: static;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .btn-frost-nav {
        display: none;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .about-card-large {
        grid-column: span 1;
    }

    .live-counters {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-responsible {
        flex-direction: column;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: center;
    }

    .legal-content {
        padding: var(--space-xl);
        margin-left: var(--space-md);
        margin-right: var(--space-md);
    }

    .age-gate-content {
        padding: var(--space-2xl) var(--space-xl);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-frost,
    .hero-actions .btn-frost-outline {
        width: 100%;
        justify-content: center;
    }

    .live-counters {
        grid-template-columns: 1fr;
    }

    .counter-card {
        padding: var(--space-lg);
    }

    .counter-value {
        font-size: 1.5rem;
    }

    .device-frame {
        width: 180px;
        height: 360px;
        border-radius: 28px;
    }

    .device-screen {
        border-radius: 22px;
    }
}

/* --- Focus Visible for Accessibility --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* --- Print Styles --- */
@media print {
    .nav-header,
    .cookie-banner,
    .age-gate-overlay,
    .ticker-section,
    .scroll-indicator {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .frost-card {
        backdrop-filter: none;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
