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

:root {
    --bg:        #0a0f1e;
    --bg2:       #0f172a;
    --surface:   #1e293b;
    --border:    #1e3a5f;
    --accent:    #38bdf8;
    --accent2:   #0284c7;
    --accent-glow: rgba(56,189,248,.15);
    --text:      #e2e8f0;
    --muted:     #94a3b8;
    --green:     #22c55e;
    --yellow:    #fbbf24;
    --radius:    8px;
    --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono:      'Cascadia Code', 'Fira Code', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilitaires ─────────────────────────────────── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ── Nav ─────────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(30,58,95,.6);
    background: rgba(10,15,30,.92);
    backdrop-filter: blur(12px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    max-width: 1040px;
    margin: 0 auto;
}
.nav-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
    background: var(--accent2);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem !important;
    transition: background .2s !important;
}
.nav-cta:hover { background: #0369a1 !important; text-decoration: none !important; }

/* ── Hero ────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 28px 80px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56,189,248,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 80% 60%, rgba(2,132,199,.07) 0%, transparent 60%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: .5px;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #f8fafc;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.7;
}
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: -.2px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent2); color: #fff; box-shadow: 0 4px 20px rgba(2,132,199,.35); }
.btn-primary:hover { background: #0369a1; box-shadow: 0 6px 24px rgba(2,132,199,.45); }
.btn-outline { background: rgba(56,189,248,.07); color: var(--accent); border: 1px solid rgba(56,189,248,.35); }
.btn-outline:hover { background: rgba(56,189,248,.12); }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: #f1f5f9; letter-spacing: -1px; }
.stat-label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* ── Logos / Trust bar ───────────────────────────── */
.trust-bar {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(15,23,42,.5);
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 28px;
}
.trust-label { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── Section base ────────────────────────────────── */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
}
.section-sub.wide { max-width: 720px; }

/* ── Problem section ─────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.problem-card {
    background: rgba(239,68,68,.05);
    border: 1px solid rgba(239,68,68,.2);
    border-radius: var(--radius);
    padding: 28px;
}
.problem-card .problem-icon { font-size: 1.6rem; margin-bottom: 14px; }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: #fca5a5; margin-bottom: 8px; }
.problem-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Features ────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .25s, transform .25s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    opacity: 0;
    transition: opacity .25s;
}
.feature-card:hover { border-color: rgba(56,189,248,.35); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 1.8rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ── How it works ────────────────────────────────── */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    margin-top: 48px;
    position: relative;
}
.how-step {
    padding: 32px 28px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}
.how-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.how-step:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.how-step + .how-step { border-left: none; }
.step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(2,132,199,.4);
}
.how-step h3 { font-size: 1rem; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; }
.how-step p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Use cases ───────────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
.usecase-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: border-color .2s;
}
.usecase-card:hover { border-color: var(--accent2); }
.usecase-icon { font-size: 2rem; margin-bottom: 12px; }
.usecase-card h3 { font-size: 0.95rem; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.usecase-card p { font-size: 0.85rem; color: var(--muted); }

/* ── Security promises ───────────────────────────── */
.promises-bg { background: var(--bg2); }
.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.promise-card {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.promise-card .promise-icon { font-size: 2rem; margin-bottom: 14px; }
.promise-card h3 { font-size: 0.95rem; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.promise-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.promise-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(34,197,94,.1);
    color: #86efac;
    border: 1px solid rgba(34,197,94,.25);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Integration snippet ──────────────────────────── */
.integration-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 48px;
}
.integration-text h3 { font-size: 1.3rem; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.integration-text p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }
.integration-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.integration-checks li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.integration-checks li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.code-block {
    background: #070d1a;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    font-family: var(--mono);
    font-size: 0.8rem;
    line-height: 1.75;
    overflow-x: auto;
    color: #e2e8f0;
    white-space: pre;
}
.code-block .comment { color: #475569; }
.code-block .key     { color: #7dd3fc; }
.code-block .val     { color: #86efac; }
.code-block .str     { color: #fde68a; }
.code-block .cmd     { color: #c084fc; }
code { font-family: var(--mono); font-size: 0.83rem; background: rgba(56,189,248,.08); color: var(--accent); padding: 1px 5px; border-radius: 3px; }

/* ── Testimonials ────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.testimonial-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.92rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; color: #f1f5f9; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ── CTA final ───────────────────────────────────── */
.cta-section {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(56,189,248,.08) 0%, transparent 70%),
        var(--bg2);
    text-align: center;
    padding: 100px 28px;
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #f8fafc; letter-spacing: -1px; margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; color: var(--muted); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.contact-info { margin-top: 32px; font-size: 0.9rem; color: var(--muted); }
.contact-info a { color: var(--accent); }

/* ── Footer ───────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 40px 28px;
}
.footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 64px 20px 56px; }
    section { padding: 56px 0; }
    .integration-wrap { grid-template-columns: 1fr; }
    .how-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
    .how-step:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
    .how-step + .how-step { border-left: 1px solid var(--border); border-top: none; }
    .hero-stats { gap: 28px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
