/* ============================================================
   NuboBrain Technologies — Design System
   Single source of truth for the whole website.
   ============================================================ */

:root {
  /* Color */
  --nb-ink: #0b1220;
  --nb-ink-2: #101a30;
  --nb-text: #1e293b;
  --nb-muted: #5b6b84;
  --nb-faint: #8fa0b8;
  --nb-bg: #f5f8fd;
  --nb-surface: #ffffff;
  --nb-primary: #4f46e5;
  --nb-primary-2: #2563eb;
  --nb-accent: #06b6d4;
  --nb-success: #10b981;
  --nb-star: #f59e0b;
  --nb-border: #e4eaf3;
  --nb-border-dark: rgba(255, 255, 255, 0.09);
  --nb-serif: "Instrument Serif", Georgia, serif;

  /* Tints — restrained accent washes */
  --nb-accent-soft: #eef0fd;
  --nb-accent-border: #d9defa;

  /* Gradient — reserved for hero, primary buttons, CTA band */
  --nb-grad: linear-gradient(100deg, var(--nb-primary), var(--nb-primary-2));

  /* Shadow */
  --nb-sh-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 4px 14px rgba(11, 18, 32, 0.05);
  --nb-sh-md: 0 6px 24px rgba(11, 18, 32, 0.08), 0 16px 48px rgba(11, 18, 32, 0.06);
  --nb-sh-lg: 0 12px 40px rgba(11, 18, 32, 0.12), 0 32px 80px rgba(11, 18, 32, 0.1);
  --nb-sh-primary: 0 8px 22px rgba(79, 70, 229, 0.28);

  /* Radius */
  --nb-r-sm: 10px;
  --nb-r-md: 16px;
  --nb-r-lg: 22px;
  --nb-r-xl: 30px;

  /* Layout */
  --nb-container: 1180px;
  --nb-header-h: 74px;

  /* Type */
  --nb-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nb-header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--nb-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nb-text);
  background: var(--nb-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--nb-primary); text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--nb-ink); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(79, 70, 229, 0.18); }

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--nb-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: min(var(--nb-container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.h-display { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -0.035em; }
.h-1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; }
.h-2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.h-3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--nb-muted); }
.muted { color: var(--nb-muted); }
.grad-text { color: var(--nb-primary); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--nb-accent-soft);
  border: 1px solid var(--nb-accent-border);
  color: var(--nb-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nb-primary); animation: nb-pulse 2.2s ease-out infinite; }
.eyebrow-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #c7d2fe; }
.eyebrow-light .dot { background: var(--nb-accent); }

@keyframes nb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--nb-grad); color: #fff; box-shadow: var(--nb-sh-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(79, 70, 229, 0.34); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(79, 70, 229, 0.35); color: var(--nb-primary); }
.btn-outline:hover { background: rgba(79, 70, 229, 0.07); border-color: var(--nb-primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--nb-primary); box-shadow: 0 12px 28px rgba(11, 18, 32, 0.18); }
.btn-white:hover { transform: translateY(-2px); color: var(--nb-primary-2); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--nb-primary);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nb-header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--nb-border);
  box-shadow: 0 8px 30px rgba(11, 18, 32, 0.06);
  background: rgba(255, 255, 255, 0.95);
}
.nav-wrap {
  height: var(--nb-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--nb-ink); }
.brand img { width: 42px; height: 42px; }
.brand span { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--nb-text);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav > a:hover { color: var(--nb-primary); background: var(--nb-accent-soft); }
.site-nav > a[aria-current="page"] { color: var(--nb-primary); }
.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--nb-primary);
}
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--nb-border);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4.5px auto;
  border-radius: 999px;
  background: var(--nb-ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(58% 50% at 82% 8%, rgba(99, 102, 241, 0.42), transparent 62%),
    radial-gradient(42% 42% at 8% 88%, rgba(6, 182, 212, 0.2), transparent 60%),
    linear-gradient(160deg, #070d1b 0%, #0c1428 52%, #111638 100%);
  color: #e6ebf7;
  padding: clamp(76px, 9vw, 128px) 0 clamp(72px, 8vw, 116px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: #aebad4; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-copy > * + * { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 6px; }
.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #c2cde6;
}
.hero-point svg { width: 17px; height: 17px; color: var(--nb-accent); flex: none; }

/* Hero visual: dashboard mockup */
.hero-visual { position: relative; }
.mockup {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--nb-r-xl);
  padding: 14px;
  box-shadow: 0 40px 90px rgba(2, 6, 20, 0.55);
  backdrop-filter: blur(10px);
}
.mockup img { border-radius: calc(var(--nb-r-xl) - 10px); width: 100%; }
.mockup-bar { display: flex; gap: 7px; padding: 4px 6px 12px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mockup-bar i:first-child { background: #f87171; }
.mockup-bar i:nth-child(2) { background: #fbbf24; }
.mockup-bar i:nth-child(3) { background: #34d399; }
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(16, 26, 48, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--nb-r-md);
  padding: 12px 16px;
  box-shadow: 0 20px 50px rgba(2, 6, 20, 0.5);
  animation: nb-float 5.5s ease-in-out infinite;
}
.float-chip .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(79, 70, 229, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe;
}
.float-chip .ic svg { width: 19px; height: 19px; }
.float-chip strong { display: block; font-size: 0.9rem; color: #fff; line-height: 1.25; }
.float-chip span { font-size: 0.78rem; color: #93a3c4; }
.float-chip.a { top: -26px; right: 8%; }
.float-chip.b { bottom: -24px; left: -4%; animation-delay: 1.4s; }
@keyframes nb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero compact (inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(99, 102, 241, 0.38), transparent 60%),
    linear-gradient(160deg, #070d1b 0%, #0d1530 100%);
  color: #e6ebf7;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 80% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 20%, #000 30%, transparent 100%);
}
.page-hero h1 { color: #fff; max-width: 880px; margin: 18px auto 0; }
.page-hero .lead { color: #aebad4; max-width: 720px; margin: 20px auto 0; }
.page-hero .hero-actions { justify-content: center; margin-top: 32px; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #8fa0c8; }
.crumbs a { color: #b9c6e4; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section-tint { background: #f1f4fa; }
.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(45% 55% at 90% 10%, rgba(99, 102, 241, 0.28), transparent 60%),
    linear-gradient(160deg, #070d1b, #0d152c);
  color: #dfe6f5;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #9fadd0; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head > * + * { margin-top: 16px; }
.section-head.left { margin-inline: 0; text-align: left; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-lg);
  padding: 30px;
  box-shadow: var(--nb-sh-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nb-sh-md);
  border-color: rgba(79, 70, 229, 0.28);
}
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--nb-muted); line-height: 1.7; font-size: 0.97rem; }
.card-link-wrap { margin-top: 20px; }
.card-product { display: flex; flex-direction: column; }
.card-product p { flex: 1; }

.icon-tile {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--nb-accent-soft);
  border: 1px solid var(--nb-accent-border);
  color: var(--nb-primary);
  box-shadow: none;
  margin-bottom: 20px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.icon-tile svg { width: 25px; height: 25px; }
.card:hover .icon-tile {
  background: var(--nb-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--nb-sh-primary);
}
.icon-tile.soft {
  background: var(--nb-accent-soft);
  border: 1px solid var(--nb-accent-border);
  color: var(--nb-primary);
  box-shadow: none;
}

/* Problem cards (pain points) */
.card-pain { border-left: 4px solid #f87171; }
.card-pain h3 { font-size: 1.06rem; }

/* ---------- Stats ---------- */
.stats-band {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-xl);
  box-shadow: var(--nb-sh-md);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px; top: 15%;
  height: 70%; width: 1px;
  background: var(--nb-border);
}
.stat .num {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nb-ink);
}
.stat .lbl { color: var(--nb-muted); font-weight: 600; font-size: 0.92rem; margin-top: 4px; }
.stats-overlap { margin-top: -56px; position: relative; z-index: 5; }

/* ---------- Checklist / benefits ---------- */
.checklist { display: grid; gap: 14px; list-style: none; }
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-md);
  padding: 18px 20px;
  box-shadow: var(--nb-sh-sm);
}
.checklist .tick {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--nb-success);
  flex: none;
  margin-top: 2px;
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist strong { display: block; color: var(--nb-ink); margin-bottom: 3px; }
.checklist p { color: var(--nb-muted); font-size: 0.95rem; }
.section-dark .checklist li { background: rgba(255, 255, 255, 0.05); border-color: var(--nb-border-dark); box-shadow: none; }
.section-dark .checklist strong { color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--nb-sh-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nb-faint);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--nb-muted); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-xl);
  padding: 34px 30px;
  box-shadow: var(--nb-sh-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--nb-sh-md); }
.plan.featured {
  border: 2px solid var(--nb-primary);
  box-shadow: var(--nb-sh-lg);
}
.plan-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--nb-grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--nb-sh-primary);
  white-space: nowrap;
}
.plan h3 { font-size: 1.22rem; }
.plan .for { color: var(--nb-muted); font-size: 0.92rem; margin-top: 6px; }
.plan .price {
  margin: 20px 0 4px;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nb-ink);
}
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--nb-muted); letter-spacing: 0; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.plan li { display: flex; gap: 11px; align-items: start; color: var(--nb-text); font-size: 0.96rem; }
.plan li svg { width: 18px; height: 18px; color: var(--nb-success); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- Testimonials ---------- */
.t-card {
  display: flex;
  flex-direction: column;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-lg);
  padding: 30px;
  box-shadow: var(--nb-sh-sm);
}
.t-card .stars { color: var(--nb-star); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 16px; }
.t-card blockquote { margin: 0 0 24px; color: var(--nb-text); line-height: 1.8; flex: 1; }
.t-person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--nb-grad);
  color: #fff; font-weight: 700; font-size: 0.92rem;
}
.t-person strong { display: block; color: var(--nb-ink); font-size: 0.98rem; }
.t-person span { color: var(--nb-faint); font-size: 0.88rem; }

/* Dark-section card surfaces stay light-on-dark */
.section-dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section-dark .card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 18px 44px rgba(2, 6, 20, 0.4);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #9fadd0; }
.section-dark .step {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: #9fadd0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-md);
  box-shadow: var(--nb-sh-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--nb-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--nb-primary); }
.faq summary .chev {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--nb-accent-soft);
  border: 1px solid var(--nb-accent-border);
  color: var(--nb-primary);
  transition: transform 0.22s ease;
}
.faq summary .chev svg { width: 15px; height: 15px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details .a { padding: 0 24px 22px; color: var(--nb-muted); line-height: 1.75; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-xl);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--nb-sh-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--nb-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--nb-border);
  border-radius: 13px;
  background: #fbfcff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--nb-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.field input.invalid, .field textarea.invalid, .field select.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}
.field .err { display: none; color: #dc2626; font-size: 0.82rem; font-weight: 600; }
.field .err.show { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; grid-column: 1 / -1; }
.form-note { font-size: 0.86rem; color: var(--nb-muted); }
.form-success {
  display: none;
  grid-column: 1 / -1;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  font-weight: 600;
  border-radius: 13px;
  padding: 14px 18px;
}
.form-success.show { display: block; }

/* Contact info panel */
.info-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-md);
  padding: 20px;
  box-shadow: var(--nb-sh-sm);
}
.info-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.info-item .icon-tile svg { width: 21px; height: 21px; }
.info-item strong { display: block; color: var(--nb-ink); margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--nb-muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--nb-primary); }
.map-embed { border-radius: var(--nb-r-lg); overflow: hidden; border: 1px solid var(--nb-border); box-shadow: var(--nb-sh-sm); }
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(50% 80% at 12% 15%, rgba(255, 255, 255, 0.18), transparent 50%),
    var(--nb-grad);
  border-radius: var(--nb-r-xl);
  padding: clamp(40px, 6vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 30px 70px rgba(79, 70, 229, 0.4);
}
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.2rem); max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin-top: 12px; max-width: 560px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #080e1c;
  color: #93a1bd;
  padding: clamp(56px, 7vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; line-height: 1.75; font-size: 0.95rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b8c4dc;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.footer-social a:hover { background: var(--nb-primary); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #93a1bd; font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #818cf8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #64748f;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 900;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Legal / prose pages ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-xl);
  box-shadow: var(--nb-sh-sm);
  padding: clamp(30px, 5vw, 56px);
}
.prose h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.prose .updated { color: var(--nb-faint); font-size: 0.9rem; margin-bottom: 28px; }
.prose h2 { font-size: 1.28rem; margin: 34px 0 12px; }
.prose p { color: var(--nb-muted); line-height: 1.8; margin-bottom: 14px; }
.prose ul { color: var(--nb-muted); line-height: 1.8; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat + .stat::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { max-width: 560px; }
  .plan.featured { transform: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--nb-container)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: calc(var(--nb-header-h) + 8px);
    left: 16px; right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-r-lg);
    box-shadow: var(--nb-sh-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 13px 14px; }
  .site-nav > a[aria-current="page"]::after { display: none; }
  .site-nav .btn { margin: 8px 0 0; }
  .cols-2, .cols-3, .cols-4, .steps, .pricing, .stats-band, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .float-chip.a { top: -18px; right: 2%; }
  .float-chip.b { bottom: -18px; left: 2%; }
  .wa-float { right: 16px; bottom: 86px; width: 54px; height: 54px; }
  .cta-band { padding: 36px 26px; }
}

/* ============================================================
   Modern homepage layer (2026 editorial style)
   ============================================================ */

/* ---------- Home hero: light, big type ---------- */
.hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(52% 42% at 88% 4%, rgba(79, 70, 229, 0.09), transparent 62%),
    radial-gradient(38% 36% at 4% 92%, rgba(6, 182, 212, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
  padding: clamp(72px, 9vw, 120px) 0 0;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(80% 65% at 50% 0%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 65% at 50% 0%, #000 25%, transparent 100%);
}
.hero-home .container { text-align: center; }
.hero-title-xl {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 980px;
  margin: 24px auto 0;
  text-wrap: balance;
}
.hero-title-xl .accent {
  font-family: var(--nb-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--nb-primary);
}
.hero-home .lead {
  max-width: 640px;
  margin: 26px auto 0;
}
.hero-home .hero-actions { justify-content: center; margin-top: 36px; }
.hero-points-light {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 26px;
  color: var(--nb-muted);
  font-weight: 600;
  font-size: 0.93rem;
}
.hero-points-light .hero-point { color: var(--nb-muted); }
.hero-points-light .hero-point svg { color: var(--nb-success); }

/* 3D product reveal */
.hero-showcase {
  perspective: 1400px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.showcase-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  transform: rotateX(13deg);
  transform-origin: center top;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: var(--nb-ink);
  border-radius: 20px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 24px 48px rgba(11, 18, 32, 0.18),
    0 60px 120px rgba(11, 18, 32, 0.22);
}
.hero-showcase:hover .showcase-frame { transform: rotateX(5deg); }
.showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 30%);
  pointer-events: none;
}
.showcase-frame .mockup-bar { padding: 6px 8px 10px; }
.showcase-frame img { border-radius: 12px; width: 100%; }
@media (hover: none) { .showcase-frame { transform: none; } }
.showcase-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nb-border);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--nb-sh-md);
  animation: nb-float 5.5s ease-in-out infinite;
  text-align: left;
}
.showcase-chip .ic {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--nb-accent-soft);
  border: 1px solid var(--nb-accent-border);
  color: var(--nb-primary);
}
.showcase-chip .ic svg { width: 17px; height: 17px; }
.showcase-chip strong { display: block; font-size: 0.86rem; color: var(--nb-ink); line-height: 1.25; }
.showcase-chip span { font-size: 0.74rem; color: var(--nb-muted); }
.showcase-chip.a { top: 12%; left: -42px; }
.showcase-chip.b { bottom: 20%; right: -46px; animation-delay: 1.4s; }

/* ---------- Marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--nb-border);
  border-bottom: 1px solid var(--nb-border);
  background: var(--nb-surface);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nb-faint);
  margin-bottom: 14px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: nb-marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.marquee-item svg { width: 16px; height: 16px; color: var(--nb-primary); }
@keyframes nb-marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 22px;
}
.bento .card { margin: 0; height: 100%; }
.bento-feature {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(79, 70, 229, 0.14), transparent 55%),
    var(--nb-ink);
  border-color: transparent;
  overflow: hidden;
}
.bento-feature h3, .bento-feature p { color: #fff; }
.bento-feature p { color: #9fadd0; }
.bento-feature .icon-tile {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #c7d2fe;
}
.bento-feature .link-arrow { color: #a5b4fc; }
.bento-feature .link-arrow:hover { color: #c7d2fe; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bento-tags span {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #c2cde6;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Sticky feature showcase ---------- */
.showcase-tabs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.showcase-list { display: grid; gap: 12px; }
.showcase-item {
  border: 1px solid transparent;
  border-left: 3px solid var(--nb-border);
  border-radius: 0 var(--nb-r-md) var(--nb-r-md) 0;
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.showcase-item h3 { font-size: 1.08rem; margin-bottom: 6px; transition: color 0.2s ease; }
.showcase-item p { color: var(--nb-muted); font-size: 0.95rem; line-height: 1.7; }
.showcase-item:hover { background: rgba(79, 70, 229, 0.04); }
.showcase-item.active {
  border-left-color: var(--nb-primary);
  background: var(--nb-surface);
  border-top-color: var(--nb-border);
  border-right-color: var(--nb-border);
  border-bottom-color: var(--nb-border);
  box-shadow: var(--nb-sh-sm);
}
.showcase-item.active h3 { color: var(--nb-primary); }
.showcase-visual { position: sticky; top: calc(var(--nb-header-h) + 24px); }
.showcase-screen {
  background: var(--nb-ink);
  border-radius: var(--nb-r-xl);
  padding: 12px;
  box-shadow: var(--nb-sh-lg);
}
.showcase-screen img { border-radius: calc(var(--nb-r-xl) - 8px); width: 100%; }
.showcase-caption {
  text-align: center;
  color: var(--nb-muted);
  font-size: 0.88rem;
  margin-top: 14px;
}

/* ---------- Quote testimonials ---------- */
.quote-card {
  position: relative;
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-r-lg);
  padding: 34px 30px 28px;
  box-shadow: var(--nb-sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--nb-sh-md); }
.quote-card::before {
  content: "\201C";
  font-family: var(--nb-serif);
  font-size: 4.6rem;
  line-height: 0.8;
  color: var(--nb-primary);
  opacity: 0.22;
  margin-bottom: 10px;
}
.quote-card blockquote { margin: 0 0 24px; color: var(--nb-text); line-height: 1.8; flex: 1; font-size: 1.01rem; }

/* ---------- Dark finale ---------- */
.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(99, 102, 241, 0.32), transparent 62%),
    linear-gradient(180deg, #070d1b 0%, #0b1327 100%);
  color: #e6ebf7;
  text-align: center;
  padding: clamp(84px, 11vw, 140px) 0;
}
.finale::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 80% at 50% 30%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000 25%, transparent 100%);
}
.finale h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 820px;
  margin: 0 auto;
  text-wrap: balance;
}
.finale h2 .accent { font-family: var(--nb-serif); font-style: italic; font-weight: 400; color: #a5b4fc; }
.finale p { color: #9fadd0; max-width: 560px; margin: 22px auto 0; line-height: 1.75; }
.finale .hero-actions { justify-content: center; margin-top: 36px; }

/* ---------- Home responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-column: span 2; }
  .showcase-tabs { grid-template-columns: 1fr; }
  .showcase-visual { position: static; order: -1; }
  .showcase-chip.a { left: -6px; }
  .showcase-chip.b { right: -6px; }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .bento-feature { grid-column: span 1; }
  .showcase-frame { transform: none; }
  .showcase-chip { padding: 9px 12px; }
  .showcase-chip.a { top: -14px; left: 4px; }
  .showcase-chip.b { bottom: -14px; right: 4px; }
  .hero-title-xl { font-size: clamp(2.4rem, 11vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .showcase-frame { transform: none; }
}
