/* =====================================================================
   AllThings — Design System
   I.A TECNOLOGIA LTDA · Software · IoT · Pagamentos
   Brand: gradient #6366F1 → #A855F7 · ink #1E293B · base #0F172A
   ===================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --indigo: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-light: #818CF8;
  --purple: #A855F7;
  --purple-light: #C084FC;
  --violet-100: #E0E7FF;
  --violet-200: #C7D2FE;

  /* neutrals */
  --ink: #1E293B;
  --navy: #0B1120;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #FFFFFF;

  /* semantic */
  --bg: #FFFFFF;
  --bg-alt: var(--slate-50);
  --text: var(--ink);
  --text-soft: var(--slate-500);
  --border: var(--slate-200);

  /* gradient */
  --grad: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  --grad-soft: linear-gradient(135deg, #818CF8 0%, #C084FC 100%);
  --grad-text: linear-gradient(120deg, #6366F1 0%, #A855F7 60%, #C084FC 100%);

  /* type */
  --font-display: 'Sora', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* spacing / radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 12px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -20px rgba(79,70,229,.28);
  --shadow-glow: 0 0 0 1px rgba(99,102,241,.12), 0 20px 50px -20px rgba(168,85,247,.35);

  /* nav */
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(168,85,247,.22); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { color: var(--slate-600); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate-500); line-height: 1.6; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--navy-800); color: var(--slate-300); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo-600);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.16);
}
.bg-dark .eyebrow { color: var(--violet-200); background: rgba(129,140,248,.12); border-color: rgba(129,140,248,.22); }
.eyebrow::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 18px 0 14px; }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .2s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -10px rgba(99,102,241,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(168,85,247,.65); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--indigo); color: var(--indigo-600); }
.bg-dark .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.bg-dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--purple-light); color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; color: var(--indigo-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(15,23,42,.4);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-menu { display: flex; align-items: center; gap: 10px; }
.nav-menu > .btn { display: none; } /* the in-menu CTA shows only inside the mobile dropdown */
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem; color: var(--slate-600);
  padding: 9px 15px; border-radius: 10px; transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--ink); background: rgba(99,102,241,.07); }
.nav-links a.active { color: var(--indigo-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .2s; position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 8%, rgba(168,85,247,.30), transparent 60%),
    radial-gradient(800px 600px at 12% 92%, rgba(99,102,241,.28), transparent 55%),
    linear-gradient(180deg, #0B1120 0%, #0F172A 55%, #131c33 100%);
  color: #fff;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin: 22px 0; max-width: 12ch; }
.hero .lead { color: #C7D2FE; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--violet-200); background: rgba(129,140,248,.12); border-color: rgba(129,140,248,.25); }
.hero-trust { margin-top: 44px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-trust .t span { font-size: .82rem; color: var(--slate-400); margin-top: 6px; }

/* hero visual card cluster */
.hero-visual { position: relative; height: 460px; }
.float-card {
  position: absolute; border-radius: var(--r-lg);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 18px 20px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.float-card .fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.float-card .fc-ico svg { width: 19px; height: 19px; }
.float-card .fc-title { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: #fff; }
.float-card .fc-sub { font-size: .78rem; color: var(--slate-400); }
.float-card .fc-row { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--slate-300); padding: 6px 0; border-top: 1px solid rgba(255,255,255,.07); }
.float-card .fc-row b { color: #fff; font-family: var(--font-display); }
.fc-pill { font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: rgba(34,197,94,.18); color: #86efac; font-weight: 600; }
.fc1 { top: 0; left: 0; width: 270px; }
.fc2 { top: 150px; right: 0; width: 250px; animation-delay: -2.5s; }
.fc3 { bottom: 0; left: 40px; width: 260px; animation-delay: -4.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: var(--slate-400); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%,10px); } 100% { opacity: 0; transform: translate(-50%,12px); } }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .m-item { display: flex; align-items: center; gap: 10px; color: var(--slate-500); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.marquee-track .m-item svg { width: 22px; height: 22px; color: var(--indigo); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,.35); }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.12));
  color: var(--indigo-600); margin-bottom: 22px;
}
.card .ico svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card .card-link { margin-top: 18px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-size: .76rem; font-weight: 600; font-family: var(--font-display); color: var(--slate-600); background: var(--slate-100); border: 1px solid var(--border); padding: 5px 11px; border-radius: 8px; }

/* solution feature card with top gradient accent */
.card--accent::before { content:""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .35s; }
.card--accent:hover::before { opacity: 1; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.bento .card { padding: 30px; }
.bento .b-wide { grid-column: span 4; }
.bento .b-tall { grid-column: span 2; grid-row: span 2; }
.bento .b-sm { grid-column: span 2; }
.bento .b-half { grid-column: span 3; }

/* dark card variant */
.card-dark {
  background: linear-gradient(160deg, #131c33, #0f1729);
  border: 1px solid rgba(129,140,248,.16); color: var(--slate-300);
}
.card-dark h3 { color: #fff; }
.card-dark .ico { background: rgba(129,140,248,.14); color: var(--violet-200); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats.stats-3 { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin-inline: auto; }
.stat { text-align: center; padding: 8px; }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--slate-500); font-size: .95rem; }
.bg-dark .stat span { color: var(--slate-400); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: 2; }
.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-top: 2px; }
.feature-list .fi svg { width: 16px; height: 16px; }
.feature-list .ft b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.bg-dark .feature-list .ft b { color: #fff; }
.feature-list .ft p { font-size: .94rem; margin: 0; }

/* media mock panel */
.mock {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(160deg, #0f1729, #131c33); box-shadow: var(--shadow-lg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #475569; }
.mock-bar i:nth-child(1){ background:#ef4444; } .mock-bar i:nth-child(2){ background:#f59e0b; } .mock-bar i:nth-child(3){ background:#22c55e; }
.mock-bar .mb-title { margin-left: 10px; font-size: .8rem; color: var(--slate-400); font-family: var(--font-display); }
.mock-body { padding: 22px; font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .84rem; line-height: 1.85; color: #cbd5e1; }
.mock-body .ln { display: block; white-space: pre; }
.mock-body .c-key { color: #c084fc; }
.mock-body .c-str { color: #86efac; }
.mock-body .c-num { color: #fbbf24; }
.mock-body .c-com { color: #64748b; }
.mock-body .c-fn { color: #818cf8; }

/* flow diagram for payments */
.flow { display: grid; gap: 14px; }
.flow-node {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.flow-node .fn-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color:#fff; }
.flow-node .fn-ico svg { width: 22px; height: 22px; }
.flow-node b { color: #fff; font-family: var(--font-display); display:block; }
.flow-node span { font-size: .85rem; color: var(--slate-400); }
.flow-arrow { display:flex; justify-content:center; color: var(--indigo-light); }
.flow-arrow svg { width: 22px; height: 22px; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 22px; align-items: flex-start; }
.step .num { counter-increment: step; flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color:#fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(99,102,241,.6); }
.step .num::before { content: counter(step,decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(48px,6vw,84px); background: linear-gradient(135deg, #4F46E5, #7C3AED 50%, #A855F7); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content:""; position: absolute; border-radius: 50%; filter: blur(10px); }
.cta-band::before { width: 380px; height: 380px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); top: -160px; right: -120px; }
.cta-band::after { width: 320px; height: 320px; background: radial-gradient(circle, rgba(192,132,252,.45), transparent 70%); bottom: -160px; left: -100px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--indigo-600); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #fff; transform: translateY(-2px); }
.cta-band .btn-ghost { color:#fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color:#fff; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 80px) 0 70px; overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(168,85,247,.28), transparent 60%),
    radial-gradient(600px 420px at 0% 110%, rgba(99,102,241,.22), transparent 60%),
    linear-gradient(180deg, #0B1120, #0F172A);
  color:#fff;
}
.page-hero h1 { color:#fff; margin: 18px 0 16px; max-width: 18ch; }
.page-hero .lead { color: var(--violet-200); max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items:center; font-size: .85rem; color: var(--slate-400); margin-bottom: 6px; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { color: var(--slate-600); }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline:auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background:#fff; overflow:hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(99,102,241,.4); box-shadow: var(--shadow-md); }
.faq-q { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:16px; padding: 22px 24px; font-family: var(--font-display); font-weight:600; font-size:1.05rem; color: var(--ink); }
.faq-q .pm { flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background: var(--slate-100); transition: background .3s, transform .3s; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--indigo-600); border-radius:2px; }
.faq-q .pm::before { width:12px; height:2px; }
.faq-q .pm::after { width:2px; height:12px; transition: transform .3s; }
.faq-item.open .pm { background: var(--grad); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background:#fff; }
.faq-item.open .pm::after { transform: rotate(90deg) scaleX(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 24px; font-size: .98rem; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background:#fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.12); }
.form-note { font-size: .85rem; color: var(--slate-500); }
.form-ok { display:none; align-items:center; gap:12px; padding:16px 18px; border-radius: var(--r-md); background: rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.3); color:#15803d; font-weight:600; font-family: var(--font-display); }
.form-ok.show { display:flex; }
.form-ok svg { width:22px; height:22px; flex:none; }

/* contact info cards */
.info-card { display:flex; gap:16px; align-items:flex-start; padding: 22px; border:1px solid var(--border); border-radius: var(--r-md); background:#fff; transition: border-color .3s, transform .3s; }
.info-card:hover { border-color: rgba(99,102,241,.35); transform: translateY(-3px); }
.info-card .ico { width:46px; height:46px; flex:none; border-radius:12px; display:grid; place-items:center; background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.12)); color: var(--indigo-600); }
.info-card .ico svg { width:22px; height:22px; }
.info-card b { font-family: var(--font-display); display:block; color: var(--ink); margin-bottom: 3px; }
.info-card a, .info-card span { color: var(--slate-600); font-size: .96rem; }
.info-card a:hover { color: var(--indigo-600); }

/* values list */
.value { padding: 26px; border-radius: var(--r-lg); border:1px solid var(--border); background:#fff; transition: transform .3s, box-shadow .3s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value .ico { width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background: var(--grad); color:#fff; margin-bottom:18px; }
.value .ico svg { width:24px; height:24px; }
.value h3 { font-size: 1.15rem; margin-bottom:8px; }
.value p { font-size: .94rem; margin:0; }

/* timeline */
.timeline { position: relative; display:grid; gap: 36px; padding-left: 34px; }
.timeline::before { content:""; position:absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--indigo), var(--purple)); }
.tl-item { position: relative; }
.tl-item::before { content:""; position:absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius:50%; background:#fff; border: 4px solid var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.12); }
.tl-item .yr { font-family: var(--font-display); font-weight:700; color: var(--indigo-600); font-size: .9rem; letter-spacing:.04em; }
.tl-item h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.tl-item p { font-size: .96rem; margin:0; }

/* spec table */
.spec { width:100%; border-collapse: collapse; border:1px solid var(--border); border-radius: var(--r-md); overflow:hidden; }
.spec th, .spec td { text-align:left; padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.spec th { font-family: var(--font-display); background: var(--slate-50); color: var(--ink); font-weight:600; width: 38%; }
.spec td { color: var(--slate-600); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }

/* pill list */
.pills { display:flex; flex-wrap:wrap; gap:10px; }
.pill { font-family: var(--font-display); font-weight:600; font-size:.86rem; color: var(--slate-700); background:#fff; border:1px solid var(--border); padding: 9px 15px; border-radius:999px; display:inline-flex; align-items:center; gap:8px; transition: border-color .25s, color .25s, transform .25s; }
.pill:hover { border-color: var(--indigo); color: var(--indigo-600); transform: translateY(-2px); }
.pill .dot { width:7px; height:7px; border-radius:50%; background: var(--grad); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--slate-400); padding: 76px 0 36px; position: relative; overflow:hidden; }
.footer::before { content:""; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, rgba(129,140,248,.5), rgba(192,132,252,.5), transparent); }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color:#fff; margin-bottom: 18px; }
.footer .f-about { font-size: .95rem; color: var(--slate-400); max-width: 34ch; }
.footer h4 { color:#fff; font-size: .95rem; letter-spacing:.04em; margin-bottom: 18px; font-family: var(--font-display); }
.footer ul { display:grid; gap: 11px; }
.footer ul a { color: var(--slate-400); font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color:#fff; }
.f-contact li { display:flex; gap:11px; align-items:flex-start; font-size:.92rem; color: var(--slate-400); }
.f-contact svg { width:17px; height:17px; flex:none; margin-top:3px; color: var(--indigo-light); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top: 28px; flex-wrap:wrap; font-size:.86rem; color: var(--slate-500); }
.footer-bottom .legal { display:flex; gap:18px; flex-wrap:wrap; }
.f-socials { display:flex; gap:10px; }
.f-socials a { width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); color: var(--slate-300); transition: background .25s, transform .25s, color .25s; }
.f-socials a:hover { background: var(--grad); color:#fff; transform: translateY(-3px); border-color: transparent; }
.f-socials svg { width:18px; height:18px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b-wide { grid-column: span 4; } .bento .b-tall { grid-column: span 2; grid-row: span 1; } .bento .b-half { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    display: flex; flex-direction: column; padding: 18px 24px 26px; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
    box-shadow: 0 30px 50px -25px rgba(15,23,42,.3);
  }
  body.nav-open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-menu .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-menu .btn { display: inline-flex; width: 100%; margin-top: 12px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .stats, .form-row { grid-template-columns: 1fr; }
  .stats, .stats.stats-3 { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide, .bento .b-tall, .bento .b-half, .bento .b-sm { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .cta-band { padding: 40px 26px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
