/* ==========================================================================
   Seen — SMS Panel Landing Page
   Brand: #EAE400 (yellow 20%) / #FFFFFF (white 40%) / #595959 (ink 40%)
   Font: Peyda (self-hosted)
   ========================================================================== */

@import url("../fonts/peyda.css"); /* self-hosted — no external CDN dependency */

:root {
  --yellow-100: #F0EC54;
  --yellow-200: #EAE400;
  --yellow-300: #DDD700;
  --yellow-400: #CECA00;
  --yellow-500: #C1BC00;
  --yellow-600: #B3AF1B;
  --yellow-700: #787603;
  --yellow-glow: rgba(234, 228, 0, 0.35);

  /* Brand ink = #595959 (replaces former near-blacks) */
  --ink-900: #595959;
  --ink-800: #595959;
  --ink-700: #6B6B6B;
  --ink-600: #7A7A7A;
  --ink-500: #8A8A8A;
  --ink-400: #9A9A9A;
  --ink-300: #8F8F8F;
  --ink-200: #787878;

  --white: #FFFFFF;
  --off-white: #F7F7F5;

  --font: "Peyda", "Segoe UI", Tahoma, sans-serif;

  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(.16,.84,.44,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink-800);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; border: none; cursor: pointer; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

::selection { background: var(--yellow-200); color: var(--ink-900); }

/* Custom cursor glow */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s ease;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--yellow-200); border-radius: 10px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink-900);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.preloader-brand {
  display: flex; align-items: center; gap: 16px;
}
.preloader .logo-icon { width: 56px; height: 56px; display: block; flex-shrink: 0; }
.preloader svg,
.preloader .logo-mark { height: 30px; width: auto; max-width: 108px; display: block; }
.preloader .bar {
  width: 160px; height: 3px;
  background: var(--ink-600);
  border-radius: 10px;
  overflow: hidden;
}
.preloader .bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--yellow-500), var(--yellow-100));
}

/* ---------- Header ---------- */
header.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
header.site-header.scrolled {
  background: rgba(16,16,16,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
}
.brand .logo-icon { width: 34px; height: 34px; display: block; flex-shrink: 0; }
/* Wordmark is ~3.3:1 — keep height lower than the icon so width stays balanced */
.brand .logo-mark { height: 18px; width: auto; max-width: 64px; display: block; }
nav.main-nav ul { display: flex; gap: 34px; }
nav.main-nav a {
  color: var(--ink-300);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color .3s;
}
nav.main-nav a::after {
  content: "";
  position: absolute; right: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--yellow-200);
  transition: width .35s var(--ease-out);
}
nav.main-nav a:hover { color: var(--white); }
nav.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Author display rules (e.g. .btn) otherwise override the UA [hidden] stylesheet */
[hidden] { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow-200);
  color: var(--ink-900);
  box-shadow: 0 8px 24px var(--yellow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--yellow-glow); }
.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { border-color: var(--yellow-200); color: var(--yellow-200); }
.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-3px); }
.btn-outline-dark {
  border: 1.5px solid var(--ink-600);
  color: var(--ink-800);
}
.btn-outline-dark:hover { border-color: var(--yellow-500); background: var(--off-white); }

.btn-shine::before {
  content: "";
  position: absolute; top: 0; right: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: right .7s ease;
}
.btn-shine:hover::before { right: 130%; }

/* ---------- Mobile nav ---------- */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.18);
  flex-shrink: 0;
  cursor: pointer;
}
.menu-toggle .bar {
  position: relative;
  width: 18px; height: 14px;
}
.menu-toggle .bar span {
  position: absolute; right: 0; left: 0;
  height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform .3s var(--ease-out), opacity .2s, top .3s var(--ease-out);
}
.menu-toggle .bar span:nth-child(1) { top: 0; }
.menu-toggle .bar span:nth-child(2) { top: 6px; }
.menu-toggle .bar span:nth-child(3) { top: 12px; }
.menu-toggle.active .bar span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle.active .bar span:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto;
  width: min(320px, 84vw);
  height: 100dvh;
  background: var(--ink-900);
  border-left: 1px solid rgba(255,255,255,.08);
  z-index: 900;
  padding: 100px 30px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 34px; }
.mobile-nav nav a {
  display: block; color: var(--white); font-size: 17px; font-weight: 600;
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav nav a:hover { color: var(--yellow-200); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-actions .btn { width: 100%; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(16,16,16,.55);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

body.no-scroll { overflow: hidden; }

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 500px at 85% 12%, rgba(234,228,0,.16), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(234,228,0,.08), transparent 60%);
  z-index: -2;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: -1;
  mask-image: radial-gradient(circle at 60% 30%, black, transparent 75%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 100px;
  background: rgba(234,228,0,.08);
  border: 1px solid rgba(234,228,0,.35);
  font-size: 13px; font-weight: 700;
  color: var(--yellow-100);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow-200);
  display: flex; align-items: center; justify-content: center;
}
.eyebrow .dot svg { width: 12px; height: 12px; }

.hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -.5px;
}
.hero h1 .hl {
  color: var(--yellow-200);
  position: relative;
  display: inline-block;
}
.hero h1 .hl svg {
  position: absolute;
  bottom: -6px; right: 0;
  width: 100%;
  height: 14px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-300);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; align-items: center; gap: 18px; margin-bottom: 56px; flex-wrap: wrap; }
.play-inline { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 600; font-size: 15px; }
.play-inline .circle {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s;
}
.play-inline:hover .circle { background: var(--yellow-200); border-color: var(--yellow-200); }
.play-inline:hover .circle svg path { fill: var(--ink-900); }

.hero-stats { display: flex; gap: 40px; }
.hero-stats .stat b {
  display: block; font-size: 30px; font-weight: 800; color: var(--white);
  /* Numbers mix Persian digits with Latin suffixes (M+, +); without LTR
     isolation the bidi algorithm splits the "+" away from its suffix. */
  direction: ltr; unicode-bidi: isolate;
}
.hero-stats .stat > span { font-size: 13px; color: var(--ink-300); }
.hero-stats .stat b .plus { color: var(--yellow-200); font-size: inherit; }

/* Hero phone / chat mock */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.phone-mock {
  width: 300px;
  height: 600px;
  background: linear-gradient(160deg, #6B6B6B, #595959);
  border-radius: 44px;
  border: 8px solid #6B6B6B;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
  padding: 26px 16px;
  z-index: 3;
}
.phone-mock .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 20px; background: #595959; border-radius: 20px;
}
.phone-header { display: flex; align-items: center; gap: 10px; padding: 16px 4px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.phone-header .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow-200); display:flex;align-items:center;justify-content:center; }
.phone-header .avatar svg { width: 18px; height: 18px; }
.phone-header .who b { display: block; color: var(--white); font-size: 14px; }
.phone-header .who span { color: var(--ink-300); font-size: 11px; }

.chat-bubble {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 12.5px;
  margin: 12px 0;
  opacity: 0;
  transform: translateY(16px);
}
.chat-bubble.out {
  margin-right: auto;
  background: var(--yellow-200);
  color: var(--ink-900);
  border-bottom-left-radius: 4px;
  font-weight: 600;
}
.chat-bubble.in {
  margin-left: auto;
  background: #6B6B6B;
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-bubble .ticks { display: flex; justify-content: flex-end; margin-top: 6px; gap: 2px; }
.chat-bubble .ticks svg { width: 16px; height: 10px; }

.float-card {
  position: absolute;
  background: rgba(26,26,26,.9);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  z-index: 4;
}
.float-card.card-1 { top: 10%; right: -8%; }
.float-card.card-2 { bottom: 12%; left: -12%; }
.float-card .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--yellow-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; color: var(--white); font-size: 14px; }
.float-card span { color: var(--ink-300); font-size: 11px; }

/* ---------- SMS envelope → heart hero animation ----------
   .sms-unit position (top/left) and --heart-color are randomized at
   runtime by js/main.js (smsMorphLoop) on every loop cycle. */
.sms-morph {
  position: absolute; inset: 0;
  z-index: 1; /* behind .hero-inner (z-index:2), above the background grid */
  pointer-events: none;
  overflow: hidden;
}
.sms-unit {
  position: absolute;
  top: 30%; left: 50%;
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px; /* centers the unit box on its top/left point */
}
.sms-morph-glow {
  position: absolute; inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  filter: blur(2px);
}
.sms-morph-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.sms-icon { position: relative; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.sms-envelope { width: 46px; height: 32px; }
.sms-check-badge {
  position: absolute; bottom: -4px; left: -7px;
  width: 20px; height: 20px;
}
.check-path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.sms-heart {
  position: absolute; inset: 0; margin: auto;
  width: 42px; height: 38px;
  opacity: 0;
}
.sms-heart path { fill: var(--heart-color, var(--yellow-200)); }
.sms-particles { position: absolute; inset: 0; }
.sms-particle {
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 2px;
  background: var(--heart-color, var(--yellow-200));
  opacity: 0;
  transform: rotate(45deg);
}

.scroll-hint {
  position: absolute; bottom: 36px; right: 50%; transform: translateX(50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-300); font-size: 12px;
  z-index: 3;
}
.scroll-hint .line { width: 1px; height: 40px; background: linear-gradient(var(--yellow-200), transparent); position: relative; overflow: hidden; }

/* ---------- Marquee / Trust ---------- */
.trust {
  background: var(--ink-900);
  padding: 40px 0 70px;
  color: var(--ink-300);
}
.trust .container p { text-align: center; font-size: 13px; margin-bottom: 26px; letter-spacing: .5px; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; }
.marquee-track span { font-size: 22px; font-weight: 800; color: var(--ink-500); white-space: nowrap; }
.marquee-track .cust { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; }
.marquee-track .cust-ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--off-white); color: var(--ink-300);
  font-size: 13px; font-weight: 800; overflow: hidden; border: 1px solid #ececec;
}
.marquee-track .cust-ic.has-logo { background: var(--white); }
.marquee-track .cust-ic img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Section shared ---------- */
section { position: relative; padding: 120px 0; scroll-margin-top: 90px; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.tag {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(234,228,0,.12); color: var(--yellow-500);
  font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.3; margin-bottom: 18px;
}
.section-head p { color: var(--ink-200); font-size: 16.5px; }
.on-dark .section-head p { color: var(--ink-300); }
.on-dark .section-head h2 { color: var(--white); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--off-white);
  border: 1px solid #ececec;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .4s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,.08);
  background: var(--white);
}
.feature-card .ic-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .4s, transform .4s var(--ease-out);
}
.feature-card:hover .ic-wrap { background: var(--yellow-200); transform: rotate(-8deg) scale(1.05); }
.feature-card .ic-wrap svg path,
.feature-card .ic-wrap svg circle,
.feature-card .ic-wrap svg rect { stroke: var(--yellow-200); }
.feature-card:hover .ic-wrap svg path,
.feature-card:hover .ic-wrap svg circle,
.feature-card:hover .ic-wrap svg rect { stroke: var(--ink-900); }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--ink-200); font-size: 14.5px; }
.feature-card .num {
  position: absolute; top: 18px; left: 24px;
  font-size: 46px; font-weight: 800; color: rgba(0,0,0,.045);
}

/* ---------- How it works ---------- */
.how {
  background: var(--ink-900);
  color: var(--white);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.steps::before {
  content: "";
  position: absolute; top: 34px; right: 16%; left: 16%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px);
}
.step {
  text-align: center;
  padding: 0 14px;
}
.step .step-num {
  width: 68px; height: 68px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--yellow-200);
  position: relative; z-index: 2;
  transition: background .35s, transform .35s var(--ease-out);
}
.step:hover .step-num { background: var(--yellow-200); color: var(--ink-900); transform: scale(1.08); }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-300); max-width: 260px; margin: 0 auto; }

/* ---------- Stats ---------- */
.stats-strip {
  background: var(--yellow-200);
  color: var(--ink-900);
  padding: 70px 0;
}
.stats-strip .grid4 {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center;
}
.stats-strip .grid4 b {
  display: block; font-size: clamp(40px,5.6vw,68px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 10px;
  /* Same bidi isolation as .hero-stats: keep number + suffix one LTR unit */
  direction: ltr; unicode-bidi: isolate;
}
.stats-strip .grid4 > div > span { font-size: 15px; font-weight: 700; opacity: .82; letter-spacing: .2px; }

/* ---------- Panel preview ---------- */
.panel-preview { background: var(--white); }
.preview-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center;
}
.preview-list .p-item {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eee;
  cursor: pointer;
}
.preview-list .p-item .n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--off-white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--ink-300);
  flex-shrink: 0; transition: background .3s, color .3s;
}
.preview-list .p-item.active .n { background: var(--yellow-200); color: var(--ink-900); }
.preview-list .p-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.preview-list .p-item p { font-size: 13.5px; color: var(--ink-200); }

.dashboard-mock {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
  position: relative;
}
.dashboard-mock .dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dashboard-mock .dash-dots { display: flex; gap: 6px; }
.dashboard-mock .dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-600); }
.dash-chart {
  height: 190px; background: var(--ink-700); border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: flex-end; gap: 8px; padding: 16px;
}
.dash-chart .bar { flex: 1; background: linear-gradient(180deg, var(--yellow-100), var(--yellow-300)); border-radius: 6px 6px 0 0; transform-origin: bottom; transform: scaleY(0); }
.dash-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.dash-cards div { background: var(--ink-700); border-radius: 12px; padding: 14px; }
.dash-cards b { display: block; color: var(--white); font-size: 20px; }
.dash-cards span { color: var(--ink-300); font-size: 11px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
}
.price-card {
  border: 1px solid #ececec; border-radius: var(--radius-lg);
  padding: 38px 30px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,.1); }
.price-card.featured {
  background: var(--ink-900); color: var(--white); border-color: var(--ink-900);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-10px); }
.price-card .badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--yellow-200); color: var(--ink-900);
  font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 100px;
}
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-card .desc { font-size: 13px; color: var(--ink-300); margin-bottom: 22px; }
.price-card.featured .desc { color: var(--ink-300); }
.price-card:not(.featured) .desc { color: var(--ink-200); }
.price-card .price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.price-card .price span { font-size: 14px; font-weight: 500; opacity: .6; }
.price-card ul { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.price-card ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.price-card ul li svg { width: 18px; height: 18px; flex-shrink: 0; }
.price-card .btn { width: 100%; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--ink-900), #595959);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin: 0 28px;
}
.cta-banner::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--yellow-glow), transparent 70%);
  top: -200px; right: -150px;
}
.cta-banner h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; margin-bottom: 18px; position: relative; }
.cta-banner p { color: var(--ink-300); margin-bottom: 34px; position: relative; }
.cta-banner .cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink-900); color: var(--ink-300);
  padding: 90px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid .brand { margin-bottom: 16px; }
.footer-grid > div:first-child p { font-size: 14px; max-width: 280px; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink-700);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.social-row a:hover { background: var(--yellow-200); transform: translateY(-3px); }
.social-row a:hover svg path { stroke: var(--ink-900); }
.footer-grid h5 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 12px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--yellow-200); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* ---------- Homepage PDF sections ---------- */
.home-intro { padding: 56px 0 10px; background: var(--white); }
.home-intro-lead {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-size: clamp(16px, 2.1vw, 19px); line-height: 1.9; color: var(--ink-200); font-weight: 500;
}

.why-section { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.why-card {
  padding: 28px 24px;
  border-top: 3px solid var(--yellow-200);
  background: var(--off-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.why-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--ink-200); line-height: 1.8; }

.industries-section { background: var(--off-white); }
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.industry-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius-md);
}
.industry-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.industry-card p { font-size: 13.5px; color: var(--ink-200); line-height: 1.8; }
.industry-card:last-child:nth-child(5) { grid-column: 2; }

.home-mid-banner { padding: 20px 0 10px; }
.home-mid-banner-inner {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  text-align: center;
}
.home-mid-banner-inner h2 {
  font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-bottom: 16px;
}
.home-mid-banner-inner p {
  max-width: 720px; margin: 0 auto; color: var(--ink-300); font-size: 15.5px; line-height: 1.85;
}

.api-section { background: var(--white); }
.api-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.api-layout h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 14px 0 16px; }
.api-layout > div > p { color: var(--ink-200); font-size: 15.5px; line-height: 1.85; }
.api-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.api-list li {
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: 12px;
  font-weight: 700; font-size: 14.5px;
  position: relative;
  padding-right: 42px;
}
.api-list li::before {
  content: "";
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--yellow-200);
}

.onboarding-section { background: var(--ink-900); color: var(--white); }
.onboarding-section .section-head h2,
.onboarding-section .section-head p { color: var(--white); }
.onboarding-section .section-head p { color: var(--ink-300); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4::before { right: 10%; left: 10%; }

/* ---------- Reveal utility ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; transform: scale(.85); }
  .features-grid, .pricing-grid, .stats-strip .grid4,
  .why-grid, .industry-grid { grid-template-columns: repeat(2,1fr); }
  .industry-card:last-child:nth-child(5) { grid-column: auto; }
  .preview-wrap, .api-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .steps, .steps-4 { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  nav.main-nav, .header-actions .btn-ghost { display: none; }
  .features-grid, .pricing-grid, .stats-strip .grid4, .footer-grid,
  .why-grid, .industry-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 60px 28px; margin: 0 16px; }
  .price-card.featured { transform: none; }
}
