/* ============================================
   GEOMETRY DASH SUBZERO - FROST DESIGN SYSTEM
   Scandinavian Ice Crystal Aesthetic
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Core Palette */
    --color-primary: #1a365d;
    --color-primary-dark: #0f2240;
    --color-primary-deeper: #091728;
    --color-secondary: #f0f5ff;
    --color-secondary-warm: #e8eef8;
    --color-accent: #5fb5d4;
    --color-accent-light: #8ed0e8;
    --color-accent-pale: #b8e2f0;
    --color-accent-glow: rgba(95, 181, 212, 0.25);

    /* Frost & Ice */
    --frost-white: #f8faff;
    --frost-blue: #e0ecf7;
    --frost-silver: #c5d3e3;
    --glacier-pale: #dce7f3;
    --ice-border: rgba(95, 181, 212, 0.2);
    --ice-border-strong: rgba(95, 181, 212, 0.4);

    /* Text */
    --text-dark: #0d1b2e;
    --text-body: #2d3f56;
    --text-muted: #6b7f99;
    --text-light: #94a8c2;
    --text-on-dark: #e0ecf7;
    --text-on-dark-muted: #94a8c2;

    /* Surfaces */
    --surface-card: rgba(240, 245, 255, 0.65);
    --surface-card-hover: rgba(240, 245, 255, 0.85);
    --surface-dark: #0f2240;
    --surface-dark-card: rgba(26, 54, 93, 0.5);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 34, 64, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 34, 64, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 34, 64, 0.1);
    --shadow-xl: 0 16px 48px rgba(15, 34, 64, 0.12);
    --shadow-frost: 0 8px 32px rgba(95, 181, 212, 0.12);
    --shadow-glow: 0 0 40px rgba(95, 181, 212, 0.15);

    /* 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;

    /* Typography */
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --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: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background-color: var(--frost-white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-accent-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

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

/* --- Container --- */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 var(--space-lg);
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 34, 64, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--ice-border);
    padding: var(--space-lg) var(--space-xl);
    animation: slideUpCookie 0.5s var(--ease-out) forwards;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

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

.cookie-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-on-dark-muted);
}

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

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

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

.cookie-settings {
    max-width: var(--container-max);
    margin: var(--space-md) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(95, 181, 212, 0.15);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-setting-row label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-on-dark-muted);
    font-size: 0.875rem;
    cursor: pointer;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn-frost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.625rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn-frost-primary {
    background: linear-gradient(135deg, var(--color-accent), #4a9dbd);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(95, 181, 212, 0.3);
}

.btn-frost-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    box-shadow: 0 4px 20px rgba(95, 181, 212, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.btn-frost-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(95, 181, 212, 0.3);
}

.btn-frost-secondary {
    background: rgba(95, 181, 212, 0.1);
    color: var(--color-accent);
    border-color: var(--ice-border-strong);
}

.btn-frost-secondary:hover {
    background: rgba(95, 181, 212, 0.18);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-frost-ghost {
    background: transparent;
    color: var(--text-on-dark-muted);
    border-color: rgba(148, 168, 194, 0.3);
}

.btn-frost-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-on-dark);
    border-color: rgba(148, 168, 194, 0.5);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

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

.nav-header.scrolled {
    background: rgba(248, 250, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

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

.logo-crystal {
    position: relative;
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(95, 181, 212, 0.08);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--color-accent), #4a9dbd);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-left: var(--space-sm);
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent)) !important;
    box-shadow: 0 2px 12px rgba(95, 181, 212, 0.3);
    color: #fff !important;
}

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

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}

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

.nav-toggle.open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(248, 250, 255, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-xs);
        border-bottom: 1px solid var(--ice-border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--duration-normal) var(--ease-out);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .nav-link-cta {
        margin-left: 0;
        margin-top: var(--space-sm);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    overflow: hidden;
}

.hero-frost-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(95, 181, 212, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 80% 60%, rgba(26, 54, 93, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(224, 236, 247, 0.5) 0%, transparent 50%),
        var(--frost-white);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(95, 181, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 181, 212, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Crystal Particles */
.crystal-particle {
    position: absolute;
    border: 1px solid rgba(95, 181, 212, 0.15);
    background: rgba(95, 181, 212, 0.03);
    pointer-events: none;
}

.crystal-1 {
    width: 120px; height: 120px;
    top: 15%; left: 5%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: floatCrystal 12s ease-in-out infinite;
}

.crystal-2 {
    width: 80px; height: 80px;
    top: 60%; left: 10%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatCrystal 10s ease-in-out infinite 2s;
}

.crystal-3 {
    width: 60px; height: 60px;
    top: 25%; right: 15%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: floatCrystal 14s ease-in-out infinite 1s;
}

.crystal-4 {
    width: 100px; height: 100px;
    bottom: 20%; right: 8%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: floatCrystal 11s ease-in-out infinite 3s;
}

.crystal-5 {
    width: 50px; height: 50px;
    top: 40%; left: 30%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatCrystal 9s ease-in-out infinite 4s;
}

.crystal-6 {
    width: 70px; height: 70px;
    bottom: 30%; left: 45%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: floatCrystal 13s ease-in-out infinite 2.5s;
}

.crystal-7 {
    width: 40px; height: 40px;
    top: 70%; right: 30%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatCrystal 8s ease-in-out infinite 1.5s;
}

.crystal-8 {
    width: 90px; height: 90px;
    top: 10%; right: 40%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: floatCrystal 15s ease-in-out infinite 5s;
}

@keyframes floatCrystal {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-20px) rotate(15deg); opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text-block {
    animation: heroTextIn 0.8s var(--ease-out) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroTextIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.375rem 1rem;
    background: rgba(95, 181, 212, 0.08);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--color-accent), #3a8aad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--frost-white);
    margin-left: -8px;
}

.proof-avatar:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.proof-text strong {
    color: var(--color-accent);
    font-weight: 700;
}

/* Hero Image */
.hero-image-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroImageIn 1s var(--ease-out) 0.2s forwards;
    opacity: 0;
    transform: translateY(40px);
}

@keyframes heroImageIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-image-frame {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frost-border {
    position: absolute;
    inset: -12px;
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-xl);
    background: rgba(240, 245, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-game-icon {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 280px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.hero-image-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(95, 181, 212, 0.15) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
}

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

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.625rem 1rem;
    background: rgba(248, 250, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero-float-1 {
    top: 10%;
    right: -10%;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 10%;
    left: -10%;
    animation: floatCard 7s ease-in-out infinite 1s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.875rem;
    background: rgba(95, 181, 212, 0.08);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.section-tag-light {
    background: rgba(95, 181, 212, 0.12);
    border-color: rgba(95, 181, 212, 0.25);
    color: var(--color-accent-light);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.section-title-light {
    color: var(--text-on-dark);
}

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

.text-accent-light {
    color: var(--color-accent-light);
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--space-5xl) 0;
    position: relative;
    background:
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(95, 181, 212, 0.04) 0%, transparent 70%),
        var(--frost-white);
}

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

.feature-card {
    position: relative;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    cursor: default;
}

.feature-card-frost {
    position: absolute;
    inset: 0;
    background: var(--surface-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 0;
}

.feature-card:hover .feature-card-frost {
    background: var(--surface-card-hover);
    border-color: var(--ice-border-strong);
    box-shadow: var(--shadow-frost);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

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

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 181, 212, 0.06);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(95, 181, 212, 0.12);
    border-color: var(--ice-border-strong);
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: var(--space-5xl) 0;
    background:
        radial-gradient(ellipse 60% 40% at 30% 80%, rgba(95, 181, 212, 0.05) 0%, transparent 70%),
        var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-item-wide {
    grid-column: span 1;
}

.gallery-grid > .gallery-item:nth-child(1) {
    grid-row: span 1;
}

.gallery-grid > .gallery-item:nth-child(4) {
    grid-column: 1 / -1;
}

.gallery-frost-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ice-border);
    background: rgba(240, 245, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--duration-normal) var(--ease-out);
    aspect-ratio: 16/9;
}

.gallery-frost-frame:hover {
    border-color: var(--ice-border-strong);
    box-shadow: var(--shadow-frost);
    transform: scale(1.01);
}

.gallery-frost-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-frost-frame:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(15, 34, 64, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.gallery-frost-frame:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .gallery-grid > .gallery-item:nth-child(4) {
        grid-column: span 1;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-primary-deeper);
    overflow: hidden;
}

.stats-frost-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(95, 181, 212, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(95, 181, 212, 0.05) 0%, transparent 70%);
}

.stats-crystal {
    position: absolute;
    border: 1px solid rgba(95, 181, 212, 0.1);
    pointer-events: none;
}

.stats-crystal-1 {
    width: 200px; height: 200px;
    top: -50px; right: 10%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: floatCrystal 16s ease-in-out infinite;
}

.stats-crystal-2 {
    width: 120px; height: 120px;
    bottom: 10%; left: 5%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatCrystal 12s ease-in-out infinite 3s;
}

.stats-crystal-3 {
    width: 80px; height: 80px;
    top: 30%; left: 50%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: floatCrystal 10s ease-in-out infinite 5s;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.stat-card {
    position: relative;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
}

.stat-card-frost {
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 93, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(95, 181, 212, 0.15);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 0;
}

.stat-card:hover .stat-card-frost {
    background: rgba(26, 54, 93, 0.55);
    border-color: rgba(95, 181, 212, 0.3);
    box-shadow: 0 0 30px rgba(95, 181, 212, 0.1);
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-accent-light);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-md);
}

.stat-bar {
    height: 3px;
    background: rgba(95, 181, 212, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s var(--ease-out);
}

.stat-bar-fill.animated {
    transform: scaleX(1);
}

/* Live Activity */
.live-activity {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: rgba(26, 54, 93, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(95, 181, 212, 0.15);
    border-radius: var(--radius-lg);
    max-width: 480px;
    margin: 0 auto;
}

.live-dot-wrap {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.live-dot {
    position: absolute;
    inset: 2px;
    background: #4ade80;
    border-radius: 50%;
}

.live-dot-ping {
    position: absolute;
    inset: 0;
    background: #4ade80;
    border-radius: 50%;
    animation: livePing 2s ease-out infinite;
}

@keyframes livePing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.live-text {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}

.live-text strong {
    color: #4ade80;
    font-family: var(--font-mono);
    font-weight: 600;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-5xl) 0;
    background:
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(95, 181, 212, 0.04) 0%, transparent 70%),
        var(--frost-white);
}

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

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--ice-border);
    background: var(--surface-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
    border-color: var(--ice-border-strong);
}

.faq-item.active {
    border-color: var(--ice-border-strong);
    box-shadow: var(--shadow-frost);
}

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

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

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform var(--duration-normal) var(--ease-out), color var(--duration-fast) ease;
}

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

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

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--space-5xl) 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(95, 181, 212, 0.05) 0%, transparent 70%),
        var(--frost-blue);
}

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

.contact-info .section-tag {
    margin-bottom: var(--space-md);
}

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

.contact-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-item strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-detail-item span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.contact-form-frost {
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

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

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.form-optional {
    font-weight: 400;
    color: var(--text-light);
}

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

.input-icon {
    position: absolute;
    left: 14px;
    z-index: 1;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.75rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: rgba(248, 250, 255, 0.8);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) ease;
    outline: none;
}

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

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

.input-wrap input.input-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 1em;
}

/* Checkbox */
.form-consent-group {
    margin-bottom: var(--space-md);
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.form-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--ice-border-strong);
    border-radius: 4px;
    background: rgba(248, 250, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) ease;
    margin-top: 1px;
}

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

.form-checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

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

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: var(--space-md);
    text-align: center;
}

/* Success Message */
.form-success-message {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon-wrap {
    margin-bottom: var(--space-lg);
    animation: successPop 0.5s var(--ease-spring);
}

@keyframes successPop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.form-success-message h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.form-success-message p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--space-4xl) 0 var(--space-5xl);
    background: var(--frost-white);
}

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

.trust-card {
    position: relative;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
}

.trust-card-frost {
    position: absolute;
    inset: 0;
    background: var(--surface-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.trust-card > * {
    position: relative;
    z-index: 1;
}

.trust-card svg {
    margin: 0 auto var(--space-lg);
}

.trust-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.trust-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: var(--color-primary-deeper);
    overflow: hidden;
}

.footer-frost-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 40% at 10% 90%, rgba(95, 181, 212, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 30% 50% at 90% 10%, rgba(95, 181, 212, 0.04) 0%, transparent 70%);
}

.footer-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
    color: var(--text-on-dark);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-on-dark-muted);
    max-width: 320px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-on-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-lg);
}

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

.footer-links a,
.footer-links span {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    transition: color var(--duration-fast) ease;
    text-decoration: none;
}

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

.footer-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    background: rgba(95, 181, 212, 0.12);
    margin-bottom: var(--space-xl);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}

.footer-legal-note {
    font-size: 0.75rem;
    color: var(--text-light);
    max-width: 500px;
    text-align: center;
}

.footer-age-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-mono);
}

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

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .footer-legal-note {
        max-width: none;
    }
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }

    .hero-description {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-social-proof {
        justify-content: center;
    }

    .hero-image-block {
        order: -1;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

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

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-animate][data-delay="50"] { transition-delay: 50ms; }
[data-animate][data-delay="100"] { transition-delay: 100ms; }
[data-animate][data-delay="150"] { transition-delay: 150ms; }
[data-animate][data-delay="200"] { transition-delay: 200ms; }
[data-animate][data-delay="250"] { transition-delay: 250ms; }
[data-animate][data-delay="300"] { transition-delay: 300ms; }
[data-animate][data-delay="400"] { transition-delay: 400ms; }
[data-animate][data-delay="500"] { transition-delay: 500ms; }

/* ============================================
   LEGAL PAGES CONTENT
   ============================================ */
.legal-hero {
    padding-top: calc(var(--nav-height) + var(--space-4xl));
    padding-bottom: var(--space-3xl);
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(95, 181, 212, 0.06) 0%, transparent 70%),
        var(--frost-white);
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.legal-hero p {
    font-size: 1rem;
    color: var(--text-muted);
}

.legal-content {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.legal-content .section-container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--ice-border);
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: var(--space-md);
}

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

.legal-content li {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

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

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-content .legal-address {
    padding: var(--space-lg);
    background: rgba(95, 181, 212, 0.05);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.legal-content .legal-address p {
    margin-bottom: var(--space-xs);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .nav-header,
    .cookie-banner,
    .hero-frost-bg,
    .hero-scroll-indicator {
        display: none !important;
    }

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

```javascript