:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-muted: #f1f5f9;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.main-nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px var(--shadow);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.logo svg {
    color: var(--primary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-form-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow-lg);
}

.hero-form-card h3 {
    margin-bottom: 24px;
    font-size: 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-muted);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
}

.compact-form input,
.compact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.compact-form input:focus,
.compact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.compact-form .btn {
    width: 100%;
}

.form-details {
    margin-bottom: 16px;
}

.form-details summary {
    cursor: pointer;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-bottom: 12px;
}

.form-details[open] summary {
    margin-bottom: 16px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
}

.how-it-works {
    background: var(--bg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

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

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

.feature-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-text ul,
.feature-text ol {
    margin-left: 24px;
}

.feature-text li {
    margin-bottom: 12px;
}

.for-whom {
    background: var(--bg-light);
}

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

.card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow-lg);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary);
}

.what-inside {
    background: var(--bg-muted);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.topic {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: left;
}

.topic h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.faq-teaser {
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 32px;
}

.faq-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
}

.faq-item p {
    margin-top: 12px;
    color: var(--text-light);
}

.faq-more {
    text-align: center;
    font-size: 18px;
}

.disclaimer {
    background: #fef3c7;
    padding: 32px 0;
}

.disclaimer p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #92400e;
}

.main-footer {
    background: var(--text);
    color: #cbd5e1;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: white;
}

.footer-risk {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
}

.footer-risk p {
    font-size: 14px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: white;
    padding: 24px 0;
    box-shadow: 0 -4px 12px var(--shadow-lg);
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    flex: 1;
}

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

.contact-page,
.service-page,
.legal-page,
.thankyou-page {
    padding: 80px 0;
    min-height: 60vh;
}

.contact-page h1,
.service-page h1,
.legal-page h1,
.thankyou-page h1 {
    font-size: 42px;
    margin-bottom: 32px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.contact-image img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.contact-details {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.intro {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.modules {
    display: grid;
    gap: 32px;
    margin-bottom: 64px;
}

.module-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.module-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-bottom: 16px;
}

.module-card h2 {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: left;
}

.module-card p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.module-card ul {
    margin-left: 24px;
}

.module-card li {
    margin-bottom: 8px;
}

.access-info {
    background: var(--bg-muted);
    padding: 48px;
    border-radius: var(--radius);
    margin-bottom: 64px;
}

.access-info h2 {
    margin-bottom: 32px;
}

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

.step {
    text-align: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.form-section {
    background: var(--bg-light);
    padding: 48px;
    border-radius: var(--radius);
}

.form-section h2 {
    margin-bottom: 32px;
}

.inline-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inline-form .form-group {
    margin-bottom: 20px;
}

.inline-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.inline-form input,
.inline-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.inline-form input:focus,
.inline-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.toc {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 48px;
}

.toc h2 {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: left;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 8px;
}

.legal-page section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.legal-page section:last-of-type {
    border-bottom: none;
}

.legal-page h2 {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: left;
}

.legal-page ul,
.legal-page ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-page li {
    margin-bottom: 8px;
}

.update-info {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
}

.terms-table {
    margin-bottom: 48px;
    overflow-x: auto;
}

.terms-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.terms-table th,
.terms-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.terms-table th {
    background: var(--bg-muted);
    font-weight: 600;
}

.accordions {
    margin-bottom: 48px;
}

.accordion {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.accordion summary {
    cursor: pointer;
    font-weight: 600;
}

.accordion summary h2 {
    display: inline;
    font-size: 22px;
    margin: 0;
}

.accordion-content {
    margin-top: 16px;
}

.accordion-content ul,
.accordion-content ol {
    margin-left: 24px;
    margin-top: 12px;
}

.accordion-content li {
    margin-bottom: 8px;
}

.contact-section {
    background: var(--bg-muted);
    padding: 32px;
    border-radius: var(--radius);
}

.contact-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: left;
}

.contact-section ul {
    list-style: none;
}

.contact-section li {
    margin-bottom: 8px;
}

.cookie-types {
    margin: 24px 0;
}

.cookie-type-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.cookie-type-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.cookie-type-card p {
    margin-bottom: 8px;
}

.how-to {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.how-to h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.how-to code {
    background: var(--bg-muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.how-to ol,
.how-to ul {
    margin-left: 24px;
    margin-top: 12px;
}

.how-to li {
    margin-bottom: 8px;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    color: #10b981;
    margin-bottom: 24px;
}

.thankyou-content .lead {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.confirmation-data {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    margin: 32px 0;
    text-align: left;
}

.confirmation-data h2 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: left;
}

.confirmation-data table {
    width: 100%;
}

.confirmation-data th {
    text-align: left;
    padding: 8px 16px 8px 0;
    font-weight: 600;
    color: var(--text-light);
}

.confirmation-data td {
    padding: 8px 0;
}

.next-steps {
    background: var(--bg-muted);
    padding: 32px;
    border-radius: var(--radius);
    margin: 32px 0;
    text-align: left;
}

.next-steps h2 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: left;
}

.next-steps ol {
    margin-left: 24px;
}

.next-steps li {
    margin-bottom: 12px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 12px var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .cookie-content {
        flex-direction: column;
    }

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

    .access-steps {
        grid-template-columns: 1fr;
    }

    .inline-form .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0;
    }

    section {
        padding: 48px 0;
    }

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