
/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    --bg:         #07070f;
    --bg-2:       #0c0c18;
    --bg-3:       #111120;
    --bg-4:       #16162a;
    --border:     rgba(255,255,255,0.06);
    --border-mid: rgba(255,255,255,0.10);
    --gold:       #c8a96e;
    --gold-dim:   rgba(200,169,110,0.35);
    --blue:       #7dd3fc;
    --blue-dim:   rgba(125,211,252,0.20);
    --green:      #9eff00;
    --text:       #dcdcec;
    --text-dim:   rgba(220,220,236,0.55);
    --text-muted: rgba(220,220,236,0.22);
    --mono:       'JetBrains Mono', monospace;
    --sans:       'Inter', system-ui, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    overflow-x: hidden;
}

/* ── Nav ────────────────────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav.scrolled {
    background: rgba(7,7,15,0.92);
    border-color: var(--border);
    backdrop-filter: blur(12px);
}
.nav-logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}
.nav-logo .logo-ai {
    color: var(--green);
    letter-spacing: 3px;
    margin-right: 1px;
}
.nav-logo .logo-g {
    color: var(--green);
    text-shadow: 0 0 6px #9eff00, 0 0 18px #9eff0099, 0 0 38px #9eff0044;
}
.nav-logo .tag {
    font-size: 9px;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 10px;
    opacity: 0.7;
}
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 9px 20px;
    border-radius: 5px;
    border: 1px solid rgba(125,211,252,0.35);
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-cta:hover {
    background: rgba(125,211,252,0.07);
    border-color: rgba(125,211,252,0.6);
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 80px 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(125,211,252,0.04) 0%, transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: 50px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(200,169,110,0.04) 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner { max-width: 780px; position: relative; z-index: 1; }
.hero-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 28px;
    opacity: 0.75;
}
.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 300;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero h1 strong {
    font-weight: 600;
    color: var(--gold);
}
.hero-sub {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 580px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 48px;
}
.hero-sub em {
    color: var(--text);
    font-style: normal;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 15px 32px;
    border-radius: 6px;
    background: var(--gold);
    color: #07070f;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 0 28px rgba(200,169,110,0.18);
}
.btn-primary:hover {
    background: #d4b87e;
    box-shadow: 0 0 44px rgba(200,169,110,0.38);
    transform: translateY(-1px);
}
.btn-ghost {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── Section base ───────────────────────────────────────────────────────────── */
.section {
    padding: 100px 80px;
    border-top: 1px solid var(--border);
}
.section-inner { max-width: 1040px; margin: 0 auto; }
.section-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-tag::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--border-mid);
}
.section h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 300;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 14px;
}
.section h2 strong { color: var(--gold); font-weight: 600; }
.section .lead {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 620px;
    font-weight: 300;
    margin-bottom: 56px;
    line-height: 1.85;
}

/* ── Dark section ───────────────────────────────────────────────────────────── */
.section-dark { background: var(--bg-2); }

/* ── Grid 2 cols ────────────────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Feature cards ──────────────────────────────────────────────────────────── */
.feat-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
    border-color: var(--border-mid);
    transform: translateY(-2px);
}
.feat-card.gold-accent  { border-top: 2px solid var(--gold); }
.feat-card.blue-accent  { border-top: 2px solid var(--blue); }
.feat-card.green-accent { border-top: 2px solid var(--green); }

.feat-icon {
    font-size: 22px;
    margin-bottom: 18px;
    display: block;
}
.feat-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.35;
}
.feat-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ── DSP Chain visual ───────────────────────────────────────────────────────── */
.dsp-chain {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 40px;
    margin-top: 40px;
    overflow-x: auto;
}
.chain-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 28px;
}
.chain-row {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    min-width: max-content;
}
.chain-node {
    background: var(--bg-4);
    border: 1px solid var(--border-mid);
    border-radius: 7px;
    padding: 10px 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
    position: relative;
}
.chain-node:hover { border-color: var(--gold-dim); color: var(--text); }
.chain-node.unlocked { border-color: rgba(200,169,110,0.30); color: var(--gold); }
.chain-node.unlocked::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 7px;
    background: rgba(200,169,110,0.04);
    pointer-events: none;
}
.chain-arrow {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--text-muted);
    padding: 0 8px;
    flex-shrink: 0;
}
.chain-legend {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.legend-item {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.legend-dot {
    width: 8px; height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
.legend-dot.gold  { background: var(--gold); opacity: 0.6; }
.legend-dot.dim   { background: var(--border-mid); }

/* ── Comparison table ───────────────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.compare-table th {
    padding: 14px 20px;
    text-align: left;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-mid);
}
.compare-table th:first-child { color: var(--text-muted); }
.compare-table th.col-creator { color: var(--gold); }
.compare-table th.col-studio  { color: var(--blue); }
.compare-table td {
    padding: 13px 20px;
    font-size: 13px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.compare-table td:first-child {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text);
}
.compare-table tr:hover td { background: rgba(255,255,255,0.015); }
.check-yes { color: #9eff00; font-size: 15px; }
.check-no  { color: rgba(255,255,255,0.18); font-size: 15px; }
.check-partial { color: var(--gold); font-size: 13px; font-family: var(--mono); }

/* ── Process steps ──────────────────────────────────────────────────────────── */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin-top: 48px;
}
.process-step {
    display: flex;
    gap: 28px;
    padding-bottom: 40px;
    position: relative;
}
.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 1px;
    background: var(--border-mid);
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-mid);
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--gold);
    flex-shrink: 0;
}
.step-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
    padding-top: 8px;
}
.step-content p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ── Contact section ────────────────────────────────────────────────────────── */
.contact-section {
    padding: 100px 80px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.contact-inner { max-width: 580px; margin: 0 auto; }
.contact-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}
.contact-section h2 strong { color: var(--gold); font-weight: 600; }
.contact-section p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
}
.contact-email {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(125,211,252,0.25);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--blue); }
.contact-note {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 20px;
}

/* ── Panel ──────────────────────────────────────────────────────────────────── */
.panel {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 32px;
    margin-top: 32px;
}
.panel.gold-border { border-left: 3px solid var(--gold); }
.panel.blue-border { border-left: 3px solid var(--blue); }
.panel p { font-size: 14px; color: var(--text-dim); line-height: 1.8; }
.panel strong { color: var(--text); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
    padding: 32px 80px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-brand {
    font-family: monospace;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: rgba(245, 246, 249, 0.28);
}
.footer-back {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.footer-back:hover { color: var(--text); }

/* ── Reveal animation ───────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    nav { padding: 0 24px; }
    .hero { padding: 100px 28px 80px; }
    .section { padding: 72px 28px; }
    .contact-section { padding: 72px 28px; }
    footer { padding: 24px 28px; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .chain-row { gap: 0; }
}

/* ── Sélecteur de langue ────────────────────────────────────────────────────── */
.lp-lang-wrapper { position: relative; display: flex; align-items: center; }
.lp-lang-select {
    background: rgba(7,7,15,0.8);
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 5px 22px 5px 10px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--mono);
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}
.lp-lang-select:hover,
.lp-lang-select:focus {
    border-color: var(--green);
    color: var(--text);
}
.lp-lang-wrapper::after {
    content: '▼';
    font-size: 7px;
    color: var(--green);
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
