:root {
    --color-navy: #0F172A;
    --color-blue: #1D4ED8;
    --color-emerald: #10B981;
    --color-amber: #F59E0B;
    --color-white: #F8FAFC;
    --color-slate: #334155;
    --color-light: #E2E8F0;
    --color-dark: #111827;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
    --max-width: 1200px;
    --transition: 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-navy);
    line-height: 1.6;
}

body.dark-mode {
    background-color: var(--color-dark);
    color: var(--color-white);
}

a {
    color: var(--color-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
}

.footer-logo {
    color: var(--color-white);
}

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

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid var(--color-light);
    border-radius: var(--radius-sm);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-slate);
    font-weight: 500;
    padding: 8px 0;
}

.nav-menu a.active {
    color: var(--color-blue);
    border-bottom: 2px solid var(--color-blue);
}

.dark-mode-toggle {
    background-color: transparent;
    border: 1px solid var(--color-light);
    color: var(--color-slate);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.dark-mode .dark-mode-toggle {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero {
    padding: 80px 0;
}

.hero-subpage {
    padding: 80px 0 40px 0;
}

.hero h1,
.hero-subpage h1 {
    font-size: 2.6rem;
    margin-bottom: 24px;
}

.hero p,
.hero-subpage p {
    font-size: 1.1rem;
    color: var(--color-slate);
}

.hero-cta {
    margin: 32px 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-highlights li {
    background-color: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 180px;
    box-shadow: var(--shadow-sm);
}

.metric {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-blue);
}

.metric-label {
    display: block;
    font-size: 0.95rem;
    color: var(--color-slate);
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: #EEF2FF;
}

.section-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li {
    color: var(--color-white);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-slate);
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-light);
}

.section-dark .card {
    background-color: rgba(15, 23, 42, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.card-compact {
    padding: 24px;
    border-radius: var(--radius-md);
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-slate);
}

.bullet-list li::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    left: 0;
    top: 8px;
}

.section-dark .bullet-list li {
    color: rgba(255, 255, 255, 0.85);
}

.stats-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.stats-row > div {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-light);
    min-width: 180px;
}

.section-dark .stats-row > div {
    background-color: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline {
    list-style: none;
    margin: 32px 0 0 0;
    padding: 0;
}

.timeline li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 32px;
}

.timeline-step {
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--color-amber);
    color: var(--color-navy);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stat-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.section-dark .stat-card {
    background-color: rgba(15, 23, 42, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.contact-info li {
    margin-bottom: 12px;
    color: var(--color-slate);
}

.section-dark .contact-info li {
    color: rgba(255, 255, 255, 0.85);
}

.contact-form {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-light);
}

.contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
    background-color: var(--color-blue);
    color: #fff;
    border: 1px solid var(--color-blue);
}

.btn-primary:hover {
    background-color: #153BAA;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
}

.btn-secondary:hover {
    background-color: rgba(29, 78, 216, 0.1);
}

.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(248, 250, 252, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.75);
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: 24px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 999;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner.show {
    display: block;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

.faq-item button {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-blue);
    margin-left: 20px;
}

.answer {
    padding: 0 20px 20px 20px;
    display: none;
    color: var(--color-slate);
}

.faq-item.open .answer {
    display: block;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.legal-text h2 {
    margin-top: 36px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--color-light);
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: var(--color-light);
    color: var(--color-navy);
}

.confirmation-details {
    margin-top: 32px;
    background-color: #EEF2FF;
    padding: 24px;
    border-radius: var(--radius-md);
}

.confirmation-details ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.confirmation-details li {
    margin-bottom: 10px;
}

body.dark-mode {
    background-color: var(--color-dark);
    color: var(--color-white);
}

body.dark-mode .site-header {
    background-color: var(--color-dark);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .logo,
body.dark-mode .nav-menu a,
body.dark-mode .hero p,
body.dark-mode .section-header p,
body.dark-mode .bullet-list li,
body.dark-mode .contact-info li,
body.dark-mode .faq-item button {
    color: var(--color-white);
}

body.dark-mode .card,
body.dark-mode .contact-form,
body.dark-mode .faq-item {
    background-color: rgba(51, 65, 85, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .section-light {
    background-color: rgba(51, 65, 85, 0.4);
}

body.dark-mode .faq-item button {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .answer {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .cookie-banner {
    background-color: rgba(15, 23, 42, 0.95);
}

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

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

    .hero {
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 12px;
    }

    .nav-toggle-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        background-color: var(--color-navy);
        color: var(--color-white);
        width: 100%;
        height: 100%;
        transform: translateY(-100%);
        transition: transform var(--transition);
        padding: 80px 24px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu a {
        color: var(--color-white);
        font-size: 1.4rem;
    }

    .nav-menu a.active {
        border-bottom: none;
    }

    .nav-mobile-header {
        position: absolute;
        top: 20px;
        right: 24px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.1rem;
    }

    .nav-close {
        font-size: 2.5rem;
        color: var(--color-white);
        cursor: pointer;
        line-height: 1;
    }

    #nav-toggle:checked ~ .nav-menu {
        transform: translateY(0);
    }

    .dark-mode-toggle {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .grid-2,
    .grid-3,
    .stat-cards {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
    }

    .hero,
    .hero-subpage {
        padding-top: 60px;
    }

    .hero h1,
    .hero-subpage h1 {
        font-size: 2.2rem;
    }

    .cookie-banner {
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .hero-subpage h1 {
        font-size: 1.9rem;
    }

    .hero p,
    .hero-subpage p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-highlights {
        flex-direction: column;
    }

    .nav-toggle-label {
        padding: 8px 12px;
    }

    .cookie-banner {
        bottom: 16px;
    }
}