/* Marketing site — section styles. */

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 148px 0 96px; background:
  radial-gradient(60% 50% at 75% 30%, rgba(52, 211, 153, .18), transparent 70%),
  radial-gradient(50% 40% at 10% 10%, rgba(14, 159, 110, .22), transparent 70%), var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; color: #fff; margin: 18px 0 20px; }
/* Gradient must sit on each animated word: a transformed child does not inherit the parent's clipped background */
.hero h1 .hl, .hero h1 .hl .word { background: linear-gradient(90deg, var(--accent), #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .hl:has(.word) { background: none; }
.hero .lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--on-night-2); max-width: 540px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .assure { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; color: var(--on-night-2); }
.hero .assure i { color: var(--accent); margin-right: 6px; }
.word { display: inline-block; }

/* 3D product mockup */
.stage { perspective: 1400px; position: relative; min-height: 460px; }
.mock { position: relative; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-18deg) rotateZ(2deg); border-radius: 18px; background: #0f2a1f; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); overflow: hidden; will-change: transform; }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--night-line); font-size: 11px; color: var(--on-night-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 38% 62%; min-height: 360px; background: #f6f8f5; color: var(--ink); }
.mock-list { border-right: 1px solid var(--line); background: #fff; }
.mock-row { display: flex; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mock-row.on { background: var(--brand-soft); }
.mock-row .av { width: 28px; height: 28px; border-radius: 50%; background: #d1fae5; color: var(--brand-2); display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.mock-row b { display: block; font-size: 12px; } .mock-row small { color: var(--ink-3); font-size: 11px; }
.mock-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; justify-content: flex-end; }
.bub { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 12px; background: #fff; border: 1px solid var(--line); }
.bub.me { align-self: flex-end; background: #d9f6e8; border-color: transparent; }
.bub small { display: block; text-align: right; color: var(--ink-3); font-size: 10px; margin-top: 2px; }
.mock-input { margin-top: 6px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 12.5px; font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); will-change: transform; }
.chip i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 13px; }
.chip small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; }
.chip i.tg { background: #e3f3fb; color: #229ed9; }
.chip.c1 { top: -18px; right: -10px; } .chip.c2 { bottom: 64px; left: -38px; } .chip.c3 { bottom: -22px; right: 40px; }

/* ── Trust strip ──────────────────────────────────── */
.strip { background: var(--night-2); color: var(--on-night-2); border-top: 1px solid var(--night-line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 26px; padding-bottom: 26px; font-size: 14px; }
.strip i { color: var(--accent); margin-right: 8px; }

/* ── Steps (pinned 3D) ────────────────────────────── */
.steps-stage { perspective: 1600px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { transform-style: preserve-3d; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); min-height: 240px; display: flex; flex-direction: column; gap: 12px; }
.step .n { font-size: 13px; font-weight: 800; color: var(--brand); }
.step .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 20px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.progress { height: 4px; border-radius: 2px; background: var(--line); margin-top: 32px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* ── Features ─────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transform-style: preserve-3d; transition: box-shadow .2s; }
.feature:hover { box-shadow: 0 24px 60px rgba(11, 26, 19, .12); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-soft), #fff); color: var(--brand); font-size: 20px; margin-bottom: 18px; transform: translateZ(40px); }
.feature h3 { transform: translateZ(28px); } .feature p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; transform: translateZ(18px); }

/* ── Security ─────────────────────────────────────── */
.security .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.guards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.guards li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-night-2); }
.guards i { color: var(--accent); margin-top: 4px; width: 18px; text-align: center; }
.guards b { color: var(--on-night); display: block; }
.demo { background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: 24px; }
.demo textarea { width: 100%; min-height: 120px; resize: vertical; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .25); color: var(--on-night); padding: 12px 14px; font: 14px var(--font); }
.meter { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 18px 0 10px; }
.meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--accent); transition: width .35s, background .35s; }
.demo .verdict { display: flex; justify-content: space-between; font-weight: 700; }
.demo ul { margin: 12px 0 0; padding-left: 18px; color: var(--on-night-2); font-size: 13.5px; }

/* ── Pricing ──────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.pop { border-color: var(--brand); box-shadow: 0 24px 60px rgba(14, 159, 110, .18); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan .code { font-weight: 800; letter-spacing: .04em; font-size: 13px; color: var(--brand-2); }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .was { color: var(--ink-3); text-decoration: line-through; font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); }
.plan li i { margin-top: 4px; width: 14px; } .plan li.yes i { color: var(--brand); } .plan li.no { color: var(--ink-3); text-decoration: line-through; } .plan li.no i { color: #c3cdc7; }
.price-note { text-align: center; color: var(--ink-3); font-size: 13.5px; margin-top: 22px; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* ── CTA band ─────────────────────────────────────── */
.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: radial-gradient(60% 80% at 80% 20%, rgba(52, 211, 153, .25), transparent 70%), var(--night-2); color: var(--on-night); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; overflow: hidden; }
.cta-band p { color: var(--on-night-2); margin-top: 10px; }

@media (max-width: 1024px) {
  .hero .wrap, .security .wrap { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 16px; }
  .steps-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .stage { min-height: 0; }
  .chip.c2 { display: none; } .chip.c1 { right: 0; }
  .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-list { display: none; }
  .steps-stage, .features { grid-template-columns: minmax(0, 1fr); }
  .strip .wrap { grid-template-columns: minmax(0, 1fr); }
}
