/* ===== Tokens ===== */
:root {
    --void: #07030f;
    --panel: #100823;
    --panel-2: #170c31;
    --line: rgba(168, 133, 255, 0.16);
    --line-strong: rgba(168, 133, 255, 0.34);
    --violet: #8b5cf6;
    --magenta: #d946ef;
    --plasma: #2fd4f2;
    --text: #efecfa;
    --muted: #9a92b8;
    --whats: #22c55e;

    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --radius: 16px;
    --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--void);
    overflow-x: hidden;
}

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

a { color: var(--plasma); }

::selection { background: rgba(139, 92, 246, 0.45); }

:focus-visible {
    outline: 2px solid var(--plasma);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

/* ===== Background ===== */
.bg-aura {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(42rem 30rem at 82% -8%, rgba(124, 58, 237, 0.28), transparent 65%),
        radial-gradient(36rem 26rem at -10% 28%, rgba(14, 116, 144, 0.20), transparent 65%),
        radial-gradient(40rem 30rem at 55% 115%, rgba(217, 70, 239, 0.12), transparent 65%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 78%);
}

/* ===== Typography ===== */
h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.005em;
}

h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 18px;
    max-width: 22ch;
}

.section-lead {
    color: var(--muted);
    max-width: 58ch;
    margin-bottom: 40px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-solid {
    background: linear-gradient(120deg, var(--violet), var(--magenta));
    color: #fff;
    box-shadow: 0 8px 26px rgba(139, 92, 246, 0.36);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(217, 70, 239, 0.42);
}

.btn-line {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
}

.btn-line:hover {
    border-color: var(--plasma);
    background: rgba(47, 212, 242, 0.06);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Header ===== */
header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    background: rgba(7, 3, 15, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

header.scrolled { border-bottom-color: var(--line); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45));
}

.logo-words {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.logo-text {
    font-family: 'Sora', var(--font-body);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text);
}

.logo-tag {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

header nav ul {
    display: flex;
    gap: 34px;
    list-style: none;
}

header nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s;
}

header nav a:hover { color: var(--text); }

.nav-cta-item { display: none; }

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 168px 0 96px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.18;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--plasma), var(--violet) 55%, var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 52ch;
    margin-bottom: 34px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.hero-proof {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* Hero flow diagram */
.hero-flow {
    position: relative;
    background: linear-gradient(160deg, rgba(23, 12, 49, 0.65), rgba(10, 5, 24, 0.85));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 12px 14px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-flow svg { width: 100%; height: auto; }

.flow-status {
    position: absolute;
    top: 16px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(7, 3, 15, 0.65);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--whats);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.35; }
}

.flow-caption {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    padding-bottom: 6px;
}

.wire {
    fill: none;
    stroke: rgba(168, 133, 255, 0.18);
    stroke-width: 2;
}

.flow {
    fill: none;
    stroke: url(#wire);
    stroke-width: 2;
    stroke-dasharray: 5 9;
    stroke-linecap: round;
    animation: flowmove 1.1s linear infinite;
}

@keyframes flowmove {
    to { stroke-dashoffset: -14; }
}

.node rect {
    fill: rgba(16, 8, 35, 0.92);
    stroke: var(--line-strong);
    stroke-width: 1;
}

.node-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    fill: var(--text);
}

.node-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    fill: var(--muted);
}

.node-dot.in { fill: var(--plasma); }
.node-dot.out { fill: var(--magenta); }

.agent-halo {
    fill: rgba(139, 92, 246, 0.14);
    animation: halo 3.4s ease-in-out infinite;
}

@keyframes halo {
    50% { r: 84; fill: rgba(139, 92, 246, 0.24); }
}

.agent-ring {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 1.5;
}

.orbit-dash {
    fill: none;
    stroke: rgba(139, 92, 246, 0.4);
    stroke-width: 1.4;
    stroke-dasharray: 3 11;
    stroke-linecap: round;
    transform-origin: 260px 220px;
    animation: orbit-spin 46s linear infinite;
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }

/* ===== Bento (soluções) ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.card {
    background: linear-gradient(165deg, rgba(23, 12, 49, 0.55), rgba(12, 6, 26, 0.75));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    border-color: var(--line-strong);
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(76, 29, 149, 0.28);
}

.card-wide { grid-column: span 2; grid-row: span 2; }

.card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(47, 212, 242, 0.08);
    border: 1px solid rgba(47, 212, 242, 0.25);
    color: var(--plasma);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card p { color: var(--muted); font-size: 0.98rem; }

/* chat mock inside wide card */
.chat-demo {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(7, 3, 15, 0.5);
}

.msg {
    max-width: 78%;
    padding: 10px 15px;
    border-radius: 13px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.msg-in {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    color: var(--text);
}

.msg-out {
    align-self: flex-end;
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.32), rgba(217, 70, 239, 0.28));
    border: 1px solid rgba(168, 133, 255, 0.4);
    border-bottom-right-radius: 4px;
    color: var(--text);
}

.msg-meta {
    align-self: flex-end;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ===== Steps (método) ===== */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 26px 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 8, 35, 0.45);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -21px;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step:last-child::after { display: none; }

.step-n {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--magenta);
    letter-spacing: 0.1em;
}

.step p { color: var(--muted); font-size: 0.94rem; }

/* ===== Split (resultados) ===== */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.split .section-lead { margin-bottom: 28px; }

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist li {
    position: relative;
    padding-left: 34px;
    color: var(--muted);
}

.checklist strong { color: var(--text); }

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--plasma);
    background:
        no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fd4f2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E");
}

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

.metric {
    border: 1px solid var(--line);
    border-left: 2px solid var(--magenta);
    border-radius: 12px;
    background: rgba(16, 8, 35, 0.45);
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-v {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(100deg, var(--plasma), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.metric-v small {
    font-size: 1.05rem;
    font-weight: 600;
}

.metric-l { color: var(--muted); font-size: 0.92rem; }

.metric-l a { color: var(--plasma); text-decoration: none; }
.metric-l a:hover { text-decoration: underline; }

/* ===== Contato ===== */
.cta-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(30rem 20rem at 100% 0%, rgba(139, 92, 246, 0.16), transparent 65%),
        linear-gradient(160deg, rgba(23, 12, 49, 0.6), rgba(10, 5, 22, 0.85));
}

.cta-panel .section-lead { margin-bottom: 30px; }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list div {
    display: flex;
    gap: 14px;
    align-items: baseline;
}

.contact-list dt {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    min-width: 100px;
    text-transform: uppercase;
}

.contact-list dd { color: var(--text); }

.contact-list a {
    color: var(--plasma);
    text-decoration: none;
}

.contact-list a:hover { text-decoration: underline; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(7, 3, 15, 0.55);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #625a80; }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn { margin-top: 6px; }

.form-note {
    font-size: 0.83rem;
    color: var(--muted);
    text-align: center;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--line);
    background: rgba(5, 2, 11, 0.7);
    padding: 52px 0 26px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-top: 12px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-contact a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--plasma); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-legal a:hover { color: var(--plasma); }

/* ===== Legal pages ===== */
.legal-main {
    max-width: 820px;
    margin-inline: auto;
    padding: 150px 0 90px;
}

.legal-head { margin-bottom: 48px; }

.legal-head .back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--plasma);
    text-decoration: none;
    margin-bottom: 24px;
}

.legal-head .back:hover { text-decoration: underline; }

.legal-head h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.legal-head .updated {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted);
}

.legal-body h2 {
    text-align: left;
    font-size: 1.3rem;
    margin: 40px 0 14px;
    max-width: none;
    scroll-margin-top: 100px;
}

.legal-body h2 .num {
    color: var(--plasma);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-right: 10px;
}

.legal-body p,
.legal-body li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-body p { margin-bottom: 16px; }

.legal-body strong { color: var(--text); }

.legal-body ul {
    list-style: none;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-body ul li {
    padding-left: 26px;
    position: relative;
}

.legal-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--plasma), var(--violet));
}

.legal-body a { color: var(--plasma); }

.legal-toc {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(16, 8, 35, 0.45);
    padding: 22px 26px;
    margin-bottom: 44px;
}

.legal-toc p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    gap: 24px;
}

.legal-toc li { margin-bottom: 7px; }

.legal-toc a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.94rem;
}

.legal-toc a:hover { color: var(--plasma); }

@media (max-width: 640px) {
    .legal-toc ol { columns: 1; }
}

/* ===== WhatsApp float ===== */
.whats-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}

.whats-float:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 32px rgba(18, 140, 126, 0.6);
}

/* ===== Stack strip ===== */
.stack {
    padding: 40px 0 8px;
}

.stack-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 22px;
}

.stack-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 14px;
}

.stack-row li {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.25s, color 0.25s;
}

.stack-row li:hover {
    border-color: var(--line-strong);
    color: var(--plasma);
}

/* ===== Casos de uso ===== */
.usecases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.usecase {
    background: linear-gradient(165deg, rgba(23, 12, 49, 0.5), rgba(12, 6, 26, 0.72));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.3s, transform 0.3s;
}

.usecase:hover {
    border-color: var(--line-strong);
    transform: translateY(-5px);
}

.usecase-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plasma);
    padding: 4px 10px;
    border: 1px solid rgba(47, 212, 242, 0.28);
    border-radius: 999px;
}

.usecase h3 { font-size: 1.1rem; }

.usecase p { color: var(--muted); font-size: 0.94rem; }

/* ===== FAQ ===== */
.faq-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.faq-head { position: sticky; top: 100px; }
.faq-head h2 { text-align: left; margin-bottom: 14px; }
.faq-head .section-lead { margin-bottom: 0; text-align: left; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(16, 8, 35, 0.45);
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq-item[open] { border-color: var(--line-strong); }

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--plasma);
    transition: transform 0.25s;
    line-height: 1;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body {
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 0.97rem;
}

/* ===== Reveal animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.7s ease forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }

@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* keep hover transforms after reveal */
.card.scroll-reveal.visible:hover { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .scroll-reveal {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
    .flow, .agent-halo, .pulse-dot, .orbit-dash { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: 148px; }
    .hero-flow { max-width: 560px; margin-inline: auto; }
    .bento { grid-template-columns: 1fr 1fr; }
    .card-wide { grid-column: span 2; grid-row: auto; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step::after { display: none; }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .cta-panel { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
    .usecases { grid-template-columns: 1fr 1fr; }
    .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .faq-head { position: static; }
}

/* Mobile navigation (hamburger) */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .header-cta { display: none; }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 3, 15, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    header.nav-open nav {
        max-height: 82vh;
        overflow-y: auto;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 6px 22px 22px;
    }

    header nav li { width: 100%; }

    header nav a {
        display: block;
        padding: 15px 4px;
        font-size: 1.06rem;
        color: var(--text);
        border-bottom: 1px solid var(--line);
    }

    .nav-cta-item {
        display: block;
        margin-top: 16px;
    }

    .nav-cta-item a {
        border: none;
        text-align: center;
        padding: 15px;
        color: #fff;
    }
}

@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .card-wide { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .usecases { grid-template-columns: 1fr; }
    .cta-panel { padding: 32px 22px; }
    .footer-contact { text-align: left; }
    .msg { max-width: 92%; }
}
