:root {
    --bg: #000000;
    --surface: #0d1117;
    --surface-elevated: #161b22;
    --border: #2a3b4c;
    --text: #e8edf2;
    --muted: #7b8ca0;
    --accent: #5b7a9d;
    --accent-bright: #8fa8c4;
    --accent-glow: rgba(91, 122, 157, 0.25);
    --max-width: 1120px;
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-bright);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 59, 76, 0.5);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.85rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 60px;
    height: auto;
    max-width: none;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.logo:hover .logo-text {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a:not(.btn) {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.nav-links a.btn-primary {
    color: #fff;
}

.nav-links a.btn-primary:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-bright);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
}

/* Hero */
.hero {
    padding: 9.5rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-logo-mark {
    width: 88px;
    height: auto;
    max-width: none;
    display: block;
}

.hero-logo-text {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--accent-bright);
}

.hero-lead {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-bright);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-lead {
    margin-inline: auto;
}

/* Problem */
.problem {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    padding: 1.75rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.problem-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.problem-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.benefit-card .icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Features */
.features {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-item .icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
}

.feature-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.feature-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.audience-card {
    padding: 1.5rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.audience-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.audience-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.audience-card p {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Quote */
.quote-section {
    text-align: center;
    padding: 4rem 0;
}

.quote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    font-style: italic;
    color: var(--accent-bright);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-author {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-inline: auto;
}

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-brand .logo {
    gap: 0.65rem;
}

.footer-brand .logo-mark {
    width: 36px;
}

.footer-brand .logo-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Mobile nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Legal pages */
.legal-page {
    padding: 8.5rem 0 4rem;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.legal-intro {
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin: 2.5rem 0 1rem;
    color: var(--accent-bright);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.75rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-back:hover {
    color: var(--text);
}

.address-block p {
    margin-bottom: 0.25rem;
}

/* Cookie banner */
body.cookie-banner-visible {
    padding-bottom: 8rem;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(13, 17, 23, 0.97);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
}

.cookie-banner-inner {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cookie-banner-text {
    flex: 1 1 320px;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.cookie-banner-text p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding-top: 8.5rem;
    }

    .logo-mark {
        width: 44px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-actions .btn {
        width: 100%;
    }
}
