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

:root {
    --bg: #fafafa;
    --bg-alt: #f2f2f2;
    --text: #1a1a1a;
    --text-muted: #666;
    --accent: #0a0a0a;
    --accent-light: #e8e8e8;
    --border: #e0e0e0;
    --radius: 12px;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --max-width: 1100px;
    --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .65; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,250,250,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.25rem; font-weight: 600;
    letter-spacing: -.02em;
}
.logo span { font-weight: 300; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: .85rem; font-weight: 400; color: var(--text-muted); letter-spacing: .01em; }
.nav a:hover { color: var(--text); opacity: 1; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text);
    margin: 5px 0; transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero-label {
    display: inline-block;
    font-size: .75rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .15em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 28px;
}

.hero-desc {
    max-width: 580px; margin: 0 auto;
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.8;
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -.01em;
}

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }

.card-icon { margin-bottom: 20px; color: var(--text-muted); }

.card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 500;
    margin-bottom: 12px;
}

.card p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* ===== Timeline ===== */
.timeline { max-width: 640px; margin: 0 auto; position: relative; padding-left: 32px; }
.timeline::before {
    content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
    width: 1px; background: var(--border);
}

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
    position: absolute; left: -32px; top: 8px;
    width: 15px; height: 15px;
    border: 2px solid var(--text);
    border-radius: 50%;
    background: var(--bg-alt);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 500;
    margin-bottom: 8px;
}

.timeline-content p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-list { max-width: 680px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item summary {
    cursor: pointer; font-weight: 500; font-size: 1rem;
    list-style: none; display: flex; align-items: center;
    justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.3rem; font-weight: 300;
    color: var(--text-muted); transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    margin-top: 12px; font-size: .92rem; color: var(--text-muted); line-height: 1.8;
}
.faq-item p a { text-decoration: underline; }

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: rgba(26,26,26,.95);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
}
.cookie-inner p { font-size: .85rem; color: rgba(255,255,255,.8); flex: 1; min-width: 280px; }
.cookie-inner p a { color: #fff; text-decoration: underline; }

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

.btn {
    padding: 10px 22px; border-radius: 8px; border: none;
    font-family: var(--font-body); font-size: .85rem; font-weight: 500;
    cursor: pointer; transition: var(--transition);
}
.btn-primary { background: #fff; color: #1a1a1a; }
.btn-primary:hover { background: #e0e0e0; }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-secondary:hover { border-color: #fff; }

/* ===== Footer ===== */
.footer {
    background: var(--accent);
    color: #fff;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

.footer-links h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; color: rgba(255,255,255,.4); }
.footer-links a, .footer-links p { display: block; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.footer-links a:hover { color: #fff; opacity: 1; }

.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ===== Legal Pages ===== */
.legal-page { padding: 140px 0 80px; }
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400; margin-bottom: 12px;
}
.legal-page .legal-date { font-size: .88rem; color: var(--text-muted); margin-bottom: 48px; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin: 40px 0 16px; }
.legal-page h3 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 12px; }
.legal-page p, .legal-page li { font-size: .94rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }
.legal-page a { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav { display: none; }
    .nav.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(250,250,250,.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px; gap: 16px;
    }
    .nav-toggle { display: block; }

    .hero { padding: 140px 0 70px; }
    .cards { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }

    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; }

    .timeline { padding-left: 28px; }
    .timeline::before { left: 5px; }
    .timeline-marker { left: -28px; width: 12px; height: 12px; }
}
