/* ============================================
   IDLE EGG FACTORY - MONOCHROME DESIGN SYSTEM
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Core Palette */
    --color-primary: #374151;
    --color-secondary: #f3f4f6;
    --color-accent: #6b7280;

    /* Extended Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* Functional Colors */
    --color-bg: #ffffff;
    --color-bg-alt: var(--gray-50);
    --color-bg-dark: var(--gray-900);
    --color-bg-darker: var(--gray-950);
    --color-text: var(--gray-800);
    --color-text-muted: var(--gray-500);
    --color-text-light: var(--gray-100);
    --color-text-light-muted: var(--gray-400);
    --color-border: var(--gray-200);
    --color-border-dark: var(--gray-700);

    /* Success/Error */
    --color-success: #374151;
    --color-error: #7f1d1d;
    --color-success-bg: #f0f1f3;
    --color-error-bg: #fef2f2;

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 900px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-cookie: 600;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gray-600);
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

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

button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    color: var(--gray-900);
}

::selection {
    background: var(--gray-800);
    color: white;
}

/* --- Noise / Grain Texture Overlay --- */
.hero-grain,
.features-grain,
.registration-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    z-index: 1;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--color-text-light);
    z-index: var(--z-cookie);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    border-top: 1px solid var(--gray-700);
}

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

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
    max-width: 700px;
}

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

.cookie-text a:hover {
    color: white;
}

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

.btn-cookie-accept {
    padding: 0.625rem 1.25rem;
    background: white;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: 1px solid white;
}

.btn-cookie-accept:hover {
    background: var(--gray-200);
    border-color: var(--gray-200);
}

.btn-cookie-necessary {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-600);
    transition: all var(--transition-fast);
}

.btn-cookie-necessary:hover {
    background: var(--gray-800);
    border-color: var(--gray-500);
    color: white;
}

.btn-cookie-settings {
    padding: 0.625rem 1.25rem;
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    text-decoration: underline;
    text-decoration-color: var(--gray-700);
    text-underline-offset: 2px;
}

.btn-cookie-settings:hover {
    color: white;
}

.cookie-settings-panel {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-700);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--gray-300);
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: white;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:disabled {
    opacity: 0.5;
}

.cookie-settings-panel .btn-cookie-accept {
    margin-top: var(--space-md);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.main-nav {
    display: none;
}

@media (min-width: 900px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gray-900);
    transition: width var(--transition-base);
}

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

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

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

.btn-header-cta {
    display: none;
    padding: 0.5rem 1.25rem;
    background: var(--gray-900);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

@media (min-width: 900px) {
    .btn-header-cta {
        display: inline-flex;
    }
}

.btn-header-cta:hover {
    background: var(--gray-700);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: var(--z-header);
}

@media (min-width: 900px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 1px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg) var(--space-xl);
}

.mobile-nav.open {
    display: block;
    animation: slideDown 300ms ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--gray-900);
}

.mobile-nav-link.mobile-cta {
    margin-top: var(--space-sm);
    padding: var(--space-md);
    background: var(--gray-900);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    border-bottom: none;
}

.mobile-nav-link.mobile-cta:hover {
    background: var(--gray-700);
    color: white;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: var(--space-4xl);
    background: linear-gradient(180deg, var(--gray-50) 0%, white 40%, var(--gray-50) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gray-200) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gray-200) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

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

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.375rem 1rem;
    background: var(--gray-900);
    color: var(--gray-300);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) {
    animation-delay: 350ms;
}

.title-line:nth-child(2) {
    animation-delay: 500ms;
}

.title-accent {
    font-style: italic;
    color: var(--gray-600);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 650ms forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 800ms forwards;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    background: var(--gray-900);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-900);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--gray-700);
    border-color: var(--gray-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms forwards;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1000ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards;
}

.hero-image-frame {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

@media (min-width: 600px) {
    .hero-image-frame {
        width: 360px;
        height: 360px;
    }
}

.hero-game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.05);
    transition: filter var(--transition-slow);
}

.hero-image-frame:hover .hero-game-icon {
    filter: grayscale(0%) contrast(1.1);
}

.frame-decoration {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--gray-400);
    border-style: solid;
    z-index: 3;
}

.frame-top-left {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: var(--radius-2xl) 0 0 0;
}

.frame-top-right {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 var(--radius-2xl) 0 0;
}

.frame-bottom-left {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 var(--radius-2xl);
}

.frame-bottom-right {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 var(--radius-2xl) 0;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
}

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

.card-2 {
    bottom: 15%;
    left: -5%;
    animation: float 6s ease-in-out 3s infinite;
}

@media (max-width: 899px) {
    .hero-floating-card {
        display: none;
    }
}

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

/* Hero 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);
    opacity: 0;
    animation: fadeIn 700ms ease 1500ms forwards;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 55px; }
}

.hero-scroll-indicator span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reveal Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Social Proof Ticker --- */
.social-proof {
    background: var(--gray-900);
    padding: var(--space-md) 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.ticker-container {
    position: relative;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: var(--space-3xl);
    animation: ticker 40s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    background: var(--gray-600);
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

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

.section-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 100px;
}

.section-tag-light {
    color: var(--gray-400);
    border-color: var(--gray-600);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title-light {
    color: white;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- About Section --- */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-bg);
}

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

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

.about-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gray-900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.about-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.about-card-title {
    font-size: 1.375rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.about-card-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* --- Features Section --- */
.features {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--gray-900);
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
    z-index: 2;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, var(--color-bg) 0%, transparent 100%);
    z-index: 2;
}

.features-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

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

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

.feature-item {
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gray-600);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gray-500);
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.65;
}

/* --- Gallery Section --- */
.gallery {
    padding: var(--space-5xl) 0;
    background: var(--color-bg);
}

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

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

    .gallery-item-large {
        grid-column: 1 / -1;
    }

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

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    aspect-ratio: 16 / 10;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.02);
    transition: all 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-image-wrapper:hover img {
    filter: grayscale(0%) contrast(1.08);
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

/* --- Live Counter Section --- */
.live-counter {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

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

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

.counter-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.counter-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Registration Section --- */
.registration {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--gray-900);
    overflow: hidden;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, var(--gray-800) 0%, transparent 70%);
    pointer-events: none;
}

.registration-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 900px) {
    .registration-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.registration-info {
    padding-top: var(--space-xl);
}

.registration-description {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.registration-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.registration-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--gray-300);
}

/* Registration Form */
.registration-form-wrapper {
    position: relative;
}

.registration-form {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-heavy);
}

@media (min-width: 600px) {
    .registration-form {
        padding: var(--space-3xl);
    }
}

.form-title {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--space-xl);
    text-align: center;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus {
    border-color: var(--gray-900);
    background: white;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.form-input.error {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: var(--space-xs);
    min-height: 0;
}

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

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

.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(--gray-400);
    border-radius: var(--radius-sm);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 1px;
}

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

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

/* Submit Button */
.btn-primary.btn-full {
    font-size: 1rem;
    margin-top: var(--space-sm);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message strong {
    display: block;
    margin-bottom: 2px;
}

.form-message-success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--gray-300);
}

.form-message-error {
    background: var(--color-error-bg);
    color: var(--color-error);
    border: 1px solid #fecaca;
}

/* --- FAQ Section --- */
.faq {
    padding: var(--space-5xl) 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gray-800);
    text-align: left;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
}

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

.faq-icon {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition-base), color var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--gray-900);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1), padding 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer p {
    padding-bottom: var(--space-xl);
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 700px;
}

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

/* --- Trust Section --- */
.trust {
    padding: var(--space-5xl) 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

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

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

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

.trust-card {
    padding: var(--space-2xl);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.trust-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.trust-icon {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
}

.trust-card h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

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

.trust-card a {
    text-decoration: underline;
    text-decoration-color: var(--gray-400);
    text-underline-offset: 2px;
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: var(--container-narrow);
    margin: 0 auto;
}

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

.contact-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-icon {
    display: flex;
    justify-content: center;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.contact-link {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: underline;
    text-decoration-color: var(--gray-300);
    text-underline-offset: 3px;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--gray-900);
    text-decoration-color: var(--gray-900);
}

/* --- Footer --- */
.site-footer {
    background: var(--gray-950);
    color: var(--gray-400);
    padding-top: var(--space-4xl);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--gray-800);
}

@media (min-width: 600px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--gray-300);
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-logo:hover {
    color: white;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: var(--space-md);
}

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

.footer-links-group a {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.footer-bottom-left p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-address {
    font-size: 0.75rem !important;
    color: var(--gray-600) !important;
    margin-top: var(--space-xs);
}

.footer-bottom-right p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* --- Legal Content Pages --- */
.legal-content {
    padding-top: 120px;
    padding-bottom: var(--space-5xl);
    background: white;
    min-height: 100vh;
}

.legal-content .section-container {
    max-width: var(--container-narrow);
}

.legal-content .legal-header {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--gray-200);
}

.legal-content .legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.legal-content .legal-header .legal-updated {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-100);
}

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

.legal-content h3 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

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

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

.legal-content li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

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

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

.legal-content .legal-contact {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.legal-content .legal-contact h3 {
    margin-top: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 599px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .hero-visual {
        order: -1;
    }

    .hero-container {
        gap: var(--space-2xl);
    }

    .hero-image-frame {
        width: 220px;
        height: 220px;
    }

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

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

    .cookie-inner {
        padding: var(--space-md);
    }
}

/* --- Print Styles --- */
@media print {
    .site-header,
    .cookie-banner,
    .social-proof,
    .hero-scroll-indicator,
    .hero-floating-card {
        display: none !important;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }
}

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

    .ticker-track {
        animation: none;
    }
}