/* ============================================================
   DIGITALCRAFT — LP1 Styles (Premium Redesign)
   Dark hero + light/gray section rhythm · RTL · Mobile-first
   Inspiration (principles only): Stripe, Linear, Vercel, Framer, Notion
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Dark surfaces */
  --bg-900: #050A14;
  --bg-800: #091321;
  --surface-700: #0E1B2D;
  --surface-600: #16273E;
  --border-soft: #1E3149;

  /* Text (dark context) */
  --text-hi: #F2F7FD;
  --text-mid: #C6D3E5;
  --text-low: #9FB0C6;

  /* Brand cyan/blue */
  --brand-500: #18B4FF;
  --brand-400: #54C8FF;
  --brand-600: #0E8FE6;

  /* CTA signal */
  --cta: #11D6F5;
  --cta-hover: #36E0FB;
  --cta-ink: #02121A;
  --cta-glow: rgba(17,214,245,.30);

  /* Ink (light-context primary button) */
  --ink: #0B1422;

  /* WhatsApp */
  --wa: #25D366;

  --danger: #F87171;
  --success: #16A34A;

  --grad-hero: radial-gradient(130% 120% at 78% -10%, #0E2C4E 0%, #071021 52%, #050A14 100%);

  /* Spacing (8px base) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:72px; --s9:104px; --s10:140px;

  --radius-btn: 13px;
  --radius-card: 20px;
  --radius-sm: 12px;

  /* Fluid type */
  --fs-display: clamp(2.5rem, 6.2vw, 4.6rem);
  --fs-h1: clamp(2.0rem, 4.6vw, 3.1rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.5rem);
  --fs-h3: clamp(1.18rem, 2.4vw, 1.4rem);
  --fs-lead: clamp(1.08rem, 1.9vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  --container: 1180px;
  --gutter: 22px;
  --header-h: 72px;
  --ease: cubic-bezier(.22,.8,.2,1);

  /* Eyebrow color (overridden in light) */
  --eyebrow: var(--brand-400);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  font-family: 'Heebo', system-ui, 'Segoe UI', Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-mid);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,h2,h3 { color: var(--text-hi); line-height: 1.12; margin: 0 0 var(--s3); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 var(--s3); }
a { color: var(--brand-500); text-decoration: none; transition: color .2s var(--ease); }
img,svg { max-width: 100%; display: block; }
ul,ol { margin: 0; padding: 0; list-style: none; }
code { font-family: 'JetBrains Mono', monospace; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 5px; }
main:focus { outline: none; }

/* Skip link (keyboard) */
.skip-link {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 200;
  background: var(--cta); color: var(--cta-ink); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--cta-ink); }

/* Field hint + consent text */
.hint { display: block; font-size: var(--fs-micro); color: var(--text-low); margin-top: var(--s1); }
.form-consent { font-size: var(--fs-micro); color: var(--text-low); text-align: center; margin-top: var(--s3); line-height: 1.5; }
.form-consent a { color: var(--brand-400); text-decoration: underline; }

/* Footer legal links */
.footer-legal { display: inline-flex; gap: var(--s4); margin-inline-start: var(--s4); }
.footer-legal a { color: var(--text-low); font-size: var(--fs-micro); }
.footer-legal a:hover { color: var(--text-mid); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 780px; }

.section { padding-block: var(--s8); position: relative; }

/* Light section theming — overrides cascade to descendants */
.on-light, .on-gray {
  --text-hi: #0A1322;
  --text-mid: #45556B;
  --text-low: #5E6C7E;
  --border-soft: #E5EAF2;
  --surface-700: #FFFFFF;
  --surface-600: #F3F7FC;
  --eyebrow: var(--brand-600);
  color: var(--text-mid);
}
.on-light { background: #FFFFFF; }
.on-gray  { background: #F4F7FC; }

.section-head { max-width: 720px; margin: 0 auto var(--s7); text-align: center; }
.section-head.start { text-align: start; margin-inline: 0; max-width: none; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: var(--s3); }
.section-lead { font-size: var(--fs-lead); color: var(--text-mid); margin: 0; line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--eyebrow); margin-bottom: var(--s4);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 10px var(--cta); }
.on-light .eyebrow .dot, .on-gray .eyebrow .dot { background: var(--brand-500); box-shadow: none; }

.grad-text { background: linear-gradient(100deg, var(--brand-400), var(--cta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 14px 28px; border-radius: var(--radius-btn);
  font-size: var(--fs-body); font-weight: 700; font-family: inherit; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap; text-align: center;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: var(--fs-small); }
.btn-lg { min-height: 58px; padding: 18px 36px; font-size: 1.12rem; }
.btn-block { width: 100%; }

/* Primary — bright cyan on dark contexts */
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px var(--cta-glow); }
.btn-primary:hover { background: var(--cta-hover); color: var(--cta-ink); transform: translateY(-2px); box-shadow: 0 16px 40px var(--cta-glow); }
.btn-primary:active { transform: translateY(0) scale(.98); }

/* Primary on light sections — premium ink button */
.on-light .btn-primary, .on-gray .btn-primary {
  background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(11,20,34,.18);
}
.on-light .btn-primary:hover, .on-gray .btn-primary:hover { background: #16243a; color: #fff; box-shadow: 0 14px 32px rgba(11,20,34,.24); }

/* Line / outline */
.btn-line { background: transparent; color: var(--text-hi); border-color: rgba(255,255,255,.22); }
.btn-line:hover { border-color: var(--brand-400); color: var(--text-hi); background: rgba(24,180,255,.08); }
.on-light .btn-line, .on-gray .btn-line { border-color: var(--border-soft); color: var(--ink); }
.on-light .btn-line:hover, .on-gray .btn-line:hover { border-color: var(--brand-500); background: #fff; }

/* WhatsApp */
.btn-wa { background: rgba(37,211,102,.14); color: #1FB257; border-color: rgba(37,211,102,.42); }
.btn-wa:hover { background: rgba(37,211,102,.2); color: #199b4c; }
.lead-section .btn-wa, .final-cta .btn-wa { color: #6FE6A0; }
.lead-section .btn-wa:hover, .final-cta .btn-wa:hover { color: #8BEFB5; }

.btn-back { background: none; border: none; color: var(--text-low); font-family: inherit; font-size: var(--fs-small); cursor: pointer; margin-top: var(--s3); padding: var(--s2); width: 100%; }
.btn-back:hover { color: var(--text-mid); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled { background: rgba(8,16,28,.82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo img { height: 26px; width: auto; }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); padding-block: calc(var(--header-h) + var(--s7)) var(--s8); position: relative; overflow: hidden; }
.hero-glow { position: absolute; inset-block-start: -20%; inset-inline-end: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(17,214,245,.14) 0%, transparent 62%); pointer-events: none; }
/* Premium motion layers — both sit behind the content (z-index 0 < .hero-grid z-index 1) */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
.hero-spotlight { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 28%), rgba(17,214,245,.10), transparent 68%); }
.hero-spotlight.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-net, .hero-spotlight { display: none; } }
.hero-grid { display: grid; gap: var(--s8); align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: var(--fs-display); font-weight: 900; margin-bottom: var(--s4); letter-spacing: -.03em; }
.hero-sub { font-size: var(--fs-lead); color: var(--text-mid); max-width: 52ch; margin-bottom: var(--s6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.trust-strip { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: var(--fs-small); color: var(--text-low); }
.trust-strip li { display: flex; align-items: center; gap: var(--s2); }
.trust-strip li::before { content: "✓"; color: var(--cta); font-weight: 800; }

/* Hero product showcase — real desktop + mobile */
.hero-showcase { position: relative; padding-block-end: 26px; }
.device-desktop {
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 4px 14px rgba(0,0,0,.42);
}
.dd-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: #0A1626; }
.dd-bar span { width: 9px; height: 9px; border-radius: 50%; background: #27384F; }
.dd-url { margin-inline-start: auto; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #7C8DA6; background: #0E1B2D; padding: 4px 12px; border-radius: 6px; direction: ltr; }
.dd-screen { background: #fff; }

.device-phone {
  display: none; /* shown only on desktop (≥1024) where there's room — keeps mobile/tablet clean */
  position: absolute; inset-block-end: -14px; inset-inline-end: -18px; width: 150px; z-index: 5;
  border-radius: 26px; background: #0A1626; border: 6px solid #1A2A41; overflow: hidden;
  box-shadow: 0 28px 56px rgba(0,0,0,.62);
}
.dp-notch { position: absolute; inset-block-start: 7px; inset-inline-start: 50%; transform: translateX(50%); width: 40px; height: 5px; border-radius: 5px; background: #27384F; z-index: 3; }
.dp-screen { background: #fff; border-radius: 20px; overflow: hidden; }

/* ---------- Hero preview: believable SaaS product dashboard ---------- */
.dash { display: grid; grid-template-columns: 118px 1fr; background: #F4F7FB; color: #0E1B2D; font-family: 'Heebo', sans-serif; text-align: start; line-height: 1.4; }
.dash-side { background: #0C1A2E; padding: 14px 11px; display: flex; flex-direction: column; gap: 14px; }
.dash-brand { display: flex; align-items: center; gap: 8px; color: #fff; padding: 0 2px; }
.dash-logo { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #02121A; background: linear-gradient(135deg,#18B4FF,#11D6F5); }
.dash-brand b { font-size: 13px; font-weight: 800; }
.dash-nav { display: grid; gap: 3px; }
.dash-nav a { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: #8DA1BC; padding: 7px 9px; border-radius: 8px; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease); }
.dash-nav a svg { width: 14px; height: 14px; flex-shrink: 0; }
.dash-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.dash-nav a.is-active { color: #02121A; background: linear-gradient(135deg,#18B4FF,#11D6F5); }
.dash-up { margin-top: auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 11px; padding: 11px; }
.dash-up b { display: block; color: #fff; font-size: 11px; }
.dash-up small { display: block; color: #8DA1BC; font-size: 9.5px; margin: 3px 0 9px; line-height: 1.4; }
.dash-up span { display: block; text-align: center; font-size: 10px; font-weight: 800; color: #02121A; background: linear-gradient(135deg,#18B4FF,#11D6F5); border-radius: 7px; padding: 6px; cursor: pointer; transition: filter .18s var(--ease); }
.dash-up span:hover { filter: brightness(1.05); }

.dash-main { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-top b { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.dash-top small { display: block; font-size: 10px; color: #5B6B82; margin-top: 1px; }
.dash-top-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dash-search { font-size: 10px; color: #7C8DA6; background: #fff; border: 1px solid #E2E8F1; border-radius: 20px; padding: 6px 14px; }
.dash-ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg,#0E2C4E,#11D6F5); }

.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.dash-kpi { background: #fff; border: 1px solid #E8EEF6; border-radius: 11px; padding: 11px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.dash-kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13,30,60,.1); }
.dash-kpi small { font-size: 9.5px; color: #5B6B82; display: block; }
.dash-kpi b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; display: block; margin: 3px 0 5px; }
.dash-up-chip, .dash-dn-chip { font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.dash-up-chip { color: #0B8A4F; background: #E3F7EC; }
.dash-dn-chip { color: #C0392B; background: #FBE7E4; }

.dash-card { background: #fff; border: 1px solid #E8EEF6; border-radius: 12px; padding: 12px; }
.dash-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dash-card-h b { font-size: 12px; font-weight: 800; }
.dash-card-h a { font-size: 10px; color: #11A9E8; font-weight: 700; cursor: pointer; }
.dash-seg { display: inline-flex; background: #F1F5FA; border-radius: 7px; padding: 2px; }
.dash-seg i { font-style: normal; font-size: 9.5px; font-weight: 700; color: #5B6B82; padding: 3px 9px; border-radius: 5px; cursor: pointer; }
.dash-seg i.on { background: #fff; color: #0E1B2D; box-shadow: 0 1px 3px rgba(13,30,60,.12); }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; padding-top: 6px; }
.dash-bars span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg,#18B4FF,#11D6F5); height: var(--h); opacity: .9;
  transform-origin: bottom; animation: dashGrow .7s var(--ease) both; transition: opacity .18s var(--ease); }
.dash-bars span:hover { opacity: 1; }
.dash-bars span:nth-child(2) { animation-delay: .06s; }
.dash-bars span:nth-child(3) { animation-delay: .12s; }
.dash-bars span:nth-child(4) { animation-delay: .18s; }
.dash-bars span:nth-child(5) { animation-delay: .24s; }
.dash-bars span:nth-child(6) { animation-delay: .30s; }
.dash-bars span:nth-child(7) { animation-delay: .36s; }
@keyframes dashGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.dash-list .dash-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-top: 1px solid #EEF3F9; border-radius: 7px; transition: background .18s var(--ease); }
.dash-list .dash-row:first-of-type { border-top: 0; }
.dash-list .dash-row:hover { background: #F6F9FD; }
.dash-row .dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #11D6F5; flex-shrink: 0; }
.dash-row > div { flex: 1; min-width: 0; }
.dash-row b { font-size: 11px; font-weight: 700; display: block; }
.dash-row small { font-size: 9.5px; color: #5B6B82; }
.dash-amt { font-size: 11px; font-weight: 800; color: #0B8A4F; flex-shrink: 0; }

/* compact on phones: collapse the sidebar so the product app reads cleanly */
@media (max-width: 600px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-list { display: none; }
}

/* ---------- Cards ---------- */
.cards-3, .cards-2x2 { display: grid; gap: var(--s5); }
.card {
  background: var(--surface-700); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); padding: var(--s6);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.card p { color: var(--text-mid); margin: 0; }
.card .tag { display: inline-block; margin-top: var(--s4); font-size: var(--fs-micro); font-weight: 600; color: var(--text-low);
  background: var(--surface-600); border: 1px solid var(--border-soft); padding: 5px 13px; border-radius: 20px; }

/* light-section card depth */
.on-light .card, .on-gray .card { box-shadow: 0 1px 2px rgba(13,30,60,.04), 0 8px 28px rgba(13,30,60,.06); }
.on-light .card:hover, .on-gray .card:hover { transform: translateY(-6px); border-color: rgba(14,143,230,.45); box-shadow: 0 1px 2px rgba(13,30,60,.05), 0 26px 54px rgba(13,30,60,.13); }
.card.cred:hover { transform: translateY(-4px); }

/* Icon chip */
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 15px; margin-bottom: var(--s4);
  background: var(--surface-600); border: 1px solid var(--border-soft); color: var(--brand-400); }
.on-light .icon-chip, .on-gray .icon-chip { background: linear-gradient(140deg, rgba(24,180,255,.1), rgba(17,214,245,.06)); border-color: rgba(14,143,230,.18); color: var(--brand-600); }
.icon-chip .ic { width: 25px; height: 25px; }

/* Tech strip */
.tech-strip { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s7); color: var(--text-low); font-size: var(--fs-small); }
.tech-label { flex-shrink: 0; font-weight: 700; }
.tech-strip code { background: var(--surface-700); border: 1px solid var(--border-soft); color: var(--text-mid); padding: 7px 15px; border-radius: 9px; font-weight: 500; white-space: nowrap; }
.on-light .tech-strip code, .on-gray .tech-strip code { box-shadow: 0 2px 8px rgba(13,30,60,.05); }
/* infinite, seamless, pause-on-hover marquee with soft edge fade */
.tech-marquee { position: relative; overflow: hidden; flex: 1 1 auto; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); }
.tech-track { display: flex; width: max-content; padding-block: 2px; animation: techScroll 36s linear infinite; }
.tech-track code { margin-inline-start: var(--s3); }   /* even spacing across the loop seam */
.tech-marquee:hover .tech-track, .tech-marquee:focus-within .tech-track { animation-play-state: paused; }
/* track holds 3 identical sets → shift exactly one set width (−1/3), so 2 sets always fill the row */
@keyframes techScroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) {
  .tech-track { animation: none; flex-wrap: wrap; gap: var(--s3); }
  .tech-track code { margin-inline-start: 0; }
  .tech-track code[aria-hidden] { display: none; }   /* show only one set when motion is reduced */
}

.mid-cta { text-align: center; margin-top: var(--s7); display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.mid-cta span { color: var(--text-mid); }

/* ---------- Interactive showcase (tabs) ---------- */
.showcase { max-width: 1000px; margin-inline: auto; }
.sw-tabs { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s5); }
.sw-tab {
  font-family: inherit; font-size: var(--fs-small); font-weight: 700; cursor: pointer;
  color: var(--text-mid); background: #fff; border: 1.5px solid var(--border-soft);
  padding: 11px 22px; border-radius: 30px; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.sw-tab:hover { border-color: var(--brand-500); color: var(--ink); transform: translateY(-1px); }
.sw-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 26px rgba(11,20,34,.2); }

.sw-frame {
  border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #E2E8F1;
  box-shadow: 0 4px 12px rgba(13,30,60,.06), 0 36px 80px rgba(13,30,60,.18);
}
.sw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #0A1626; }
.sw-bar span { width: 9px; height: 9px; border-radius: 50%; background: #27384F; }
.sw-url { margin-inline-start: auto; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #7C8DA6; background: #0E1B2D; padding: 4px 13px; border-radius: 6px; direction: ltr; }
.sw-screens { position: relative; }
.sw-screen { display: none; }
.sw-screen.is-active { display: block; animation: swIn .45s var(--ease); }
/* mobile-only demo affordances — hidden on desktop (enabled in the ≤767px query) */
.sw-demo-label, .sw-cta { display: none; }
@keyframes swIn { from { opacity: 0; transform: translateY(12px) scale(.992); } to { opacity: 1; transform: none; } }

/* ---------- Mini-site design system (shared: showcase + hero) ---------- */
.site { --c: #18B4FF; --ink: #0B1422; --muted: #5B6B82; --bg: #fff; --soft: #F3F7FC;
  background: var(--bg); color: var(--ink); font-family: 'Heebo', sans-serif; text-align: start; line-height: 1.5; }
.site .s-nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px; border-bottom: 1px solid rgba(10,20,34,.07); }
.site .s-logo { font-weight: 800; font-size: 16px; letter-spacing: .01em; color: var(--ink); }
.site .s-links { display: flex; gap: 18px; }
.site .s-links a { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.site .s-navcta { font-size: 12px; font-weight: 700; color: #fff; background: var(--c); padding: 8px 15px; border-radius: 9px; }
.site .s-burger { width: 22px; height: 2px; background: var(--ink); position: relative; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

.site .s-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; padding: 34px 24px; }
.site .s-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.site .s-hero h3 { font-size: 27px; line-height: 1.08; margin: 10px 0; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.site .s-hero p { font-size: 13px; color: var(--muted); margin-bottom: 18px; line-height: 1.55; }
.site .s-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.site .s-btn { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--c); padding: 10px 18px; border-radius: 10px; white-space: nowrap; }
.site .s-btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(10,20,34,.16); }
.site .s-hero-art { height: 156px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); position: relative; overflow: hidden; }
.site .s-hero-art svg { width: 56px; height: 56px; color: #fff; opacity: .95; }

.site .s-block { padding: 0 24px 26px; }
.site .s-block-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.site .s-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.site .s-card { background: var(--soft); border: 1px solid rgba(10,20,34,.05); border-radius: 13px; padding: 15px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.site .s-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13,30,60,.12); }
.site .s-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(10,20,34,.08); color: var(--c); margin-bottom: 10px; }
.site .s-ic svg { width: 19px; height: 19px; }
.site .s-card b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.site .s-card small { font-size: 11px; color: var(--muted); line-height: 1.45; }

.site .s-contact { background: var(--ink); color: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site .s-contact b { font-size: 15px; color: #fff; font-weight: 700; }
.site .s-contact small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; opacity: .72; }

/* themes */
.site--law { --c: #B6904A; --ink: #16243F; --muted: #5A6580; --soft: #F7F2E8; }
.site--law .s-hero h3, .site--law .s-block-title, .site--law .s-logo { font-family: Georgia, 'Times New Roman', serif; }
.site--law .s-hero-art { background: linear-gradient(155deg, #16243F 0%, #2A3C5E 100%); }
.site--law .s-hero-art svg { color: #D6B25E; }

.site--med { --c: #12B0A2; --ink: #0E2E32; --muted: #4E6A6C; --soft: #EAF7F5; }
.site--med .s-hero h3 { letter-spacing: -.01em; }
.site--med .s-hero-art { background: linear-gradient(155deg, #12B0A2 0%, #6FDACC 100%); }

.site--tech { --c: #7C6CF5; --ink: #12112B; --muted: #5A5B82; --soft: #F2F1FD; }
.site--tech .s-hero { background: radial-gradient(120% 130% at 82% -10%, #211F4A 0%, #0E0E22 70%); }
.site--tech .s-hero h3 { color: #fff; }
.site--tech .s-hero .s-eyebrow { color: #A99DFF; }
.site--tech .s-hero p { color: #AEB0D6; }
.site--tech .s-hero .s-btn.ghost { color: #fff; border-color: rgba(255,255,255,.26); }
.site--tech .s-hero-art { background: radial-gradient(circle at 34% 30%, #8B7BFF 0%, #3A2EA0 72%); }

/* hero device theme */
.site--hero { --c: #11D6F5; --ink: #0B1422; --muted: #5B6B82; --soft: #EEF6FC; }
.site--hero .s-navcta { color: #02121A; }
.site--hero .s-btn { color: #02121A; background: linear-gradient(90deg, #18B4FF, #11D6F5); }
.site--hero .s-hero-art { background: linear-gradient(150deg, #0E2C4E 0%, #11D6F5 130%); }
.site--hero .s-contact { background: #0B1422; }

/* hero phone (mobile site) */
.site.mobile .s-nav { padding: 11px 13px; }
.site.mobile .s-hero { grid-template-columns: 1fr; padding: 14px 13px 16px; gap: 8px; }
.site.mobile .s-eyebrow { font-size: 9px; letter-spacing: .12em; }
.site.mobile .s-hero h3 { font-size: 16px; line-height: 1.1; margin: 3px 0; }
.site.mobile .s-hero p { font-size: 10.5px; line-height: 1.4; margin-bottom: 10px; }
.site.mobile .s-hero-art { display: none; }   /* keep the phone compact, not long */
.site.mobile .s-btn { padding: 8px 14px; font-size: 11px; }

/* in-site rich sections (highlight + faq) */
.site .s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 4px 24px 26px; }
.site .s-split h4 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.site--law .s-split h4 { font-family: Georgia, 'Times New Roman', serif; }
.site .s-split p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.site .s-checks { display: grid; gap: 9px; margin-top: 13px; }
.site .s-checks li { font-size: 12.5px; color: var(--ink); display: flex; gap: 9px; align-items: flex-start; }
.site .s-checks li::before { content: "✓"; color: var(--c); font-weight: 800; }
.site .s-split-art { height: 154px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; }
.site .s-split-art svg { width: 48px; height: 48px; color: var(--c); opacity: .9; }
.site--law .s-split-art { background: linear-gradient(155deg, #16243F, #2A3C5E); }
.site--law .s-split-art svg { color: #D6B25E; opacity: .95; }
.site--med .s-split-art { background: linear-gradient(155deg, #12B0A2, #6FDACC); }
.site--med .s-split-art svg { color: #fff; }
.site--tech .s-split-art { background: radial-gradient(circle at 35% 30%, #8B7BFF, #3A2EA0); }
.site--tech .s-split-art svg { color: #fff; }

.site .s-faq { padding: 0 24px 26px; }
.site .s-faq .s-block-title { margin-bottom: 6px; }
.site .s-acc { border-bottom: 1px solid rgba(10,20,34,.09); }
.site .s-acc summary { list-style: none; cursor: pointer; padding: 13px 0; min-height: 46px; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: color .2s var(--ease); }
.site .s-acc summary::-webkit-details-marker { display: none; }
.site .s-acc summary:hover { color: var(--c); }
.site .s-acc summary::after { content: "+"; color: var(--c); font-size: 19px; font-weight: 300; transition: transform .25s var(--ease); }
.site .s-acc[open] summary::after { transform: rotate(45deg); }

/* ============================================================
   Rich showcase sections — make each demo feel like a real company
   ============================================================ */
/* shared section heading */
.site .s-sec { padding: 28px 24px; }
.site .s-sec + .s-sec { padding-top: 4px; }
.site .s-sec-head { margin-bottom: 18px; }
.site .s-sec-head .s-eyebrow { display: block; margin-bottom: 6px; }
.site .s-sec-head h4 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -.02em; }
.site .s-sec-head p { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; max-width: 52ch; }
.site--law .s-sec-head h4 { font-family: Georgia, 'Times New Roman', serif; }

/* hero: richer composition (trust microline + decorative art overlay) */
.site .s-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.site .s-hero-meta span { font-size: 11px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.site .s-hero-meta span::before { content: "✓"; color: var(--c); font-weight: 800; }
.site .s-hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size: 16px 16px; opacity: .5; }
.site .s-hero-art svg { position: relative; z-index: 1; }

/* trust / values band */
.site .s-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center;
  padding: 15px 24px; background: var(--soft); border-block: 1px solid rgba(10,20,34,.06); }
.site .s-trust span { font-size: 11.5px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; letter-spacing: .01em; }
.site .s-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex-shrink: 0; }

/* testimonials */
.site .s-quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.site .s-quote { background: var(--soft); border: 1px solid rgba(10,20,34,.06); border-radius: 15px; padding: 18px; position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.site .s-quote:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(13,30,60,.10); border-color: rgba(10,20,34,.1); }
.site .s-quote .s-qmark { font-family: Georgia, serif; font-size: 40px; line-height: .6; color: var(--c); opacity: .3; }
.site .s-quote p { font-size: 12.5px; color: var(--ink); line-height: 1.62; margin: 6px 0 14px; }
.site .s-who { display: flex; align-items: center; gap: 10px; }
.site .s-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--c), var(--ink)); }
.site .s-ava svg { width: 17px; height: 17px; }
.site .s-who b { font-size: 12px; color: var(--ink); display: block; line-height: 1.3; }
.site .s-who small { font-size: 10.5px; color: var(--muted); }

/* team / about */
.site .s-team { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.site .s-mem { text-align: center; background: var(--soft); border: 1px solid rgba(10,20,34,.05); border-radius: 14px; padding: 18px 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.site .s-mem:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13,30,60,.1); }
.site .s-face { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 11px; display: grid; place-items: center;
  background: linear-gradient(150deg, #fff, var(--soft)); border: 1px solid rgba(10,20,34,.08); color: var(--c); }
.site .s-face svg { width: 28px; height: 28px; }
.site .s-mem b { font-size: 12.5px; color: var(--ink); display: block; }
.site .s-mem small { font-size: 11px; color: var(--muted); }

/* pricing / packages */
.site .s-pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: stretch; }
.site .s-plan { border: 1px solid rgba(10,20,34,.1); border-radius: 16px; padding: 18px; background: #fff; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.site .s-plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,30,60,.12); }
.site .s-plan.s-featured { border-color: var(--c); box-shadow: 0 14px 34px rgba(13,30,60,.13); position: relative; }
.site .s-plan.s-featured::before { content: "מומלץ"; position: absolute; top: -9px; inset-inline-start: 18px;
  background: var(--c); color: #fff; font-size: 9px; font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .05em; }
.site .s-plan h5 { font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.site .s-price { font-size: 23px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.site .s-price span { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.site .s-plan ul { list-style: none; margin: 13px 0 16px; padding: 0; display: grid; gap: 9px; }
.site .s-plan li { font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.site .s-plan li::before { content: "✓"; color: var(--c); font-weight: 800; flex-shrink: 0; }
.site .s-plan .s-btn { margin-top: auto; text-align: center; }
.site .s-plan.s-featured .s-btn.ghost { background: var(--c); color: #fff; border-color: var(--c); }

/* contact info + stylized map */
.site .s-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 28px 24px; align-items: stretch; }
.site .s-info-list { display: grid; gap: 14px; align-content: start; }
.site .s-info-row { display: flex; gap: 12px; align-items: flex-start; }
.site .s-info-ic { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--soft); color: var(--c); }
.site .s-info-ic svg { width: 17px; height: 17px; }
.site .s-info-row b { font-size: 12.5px; color: var(--ink); display: block; margin-bottom: 2px; }
.site .s-info-row small { font-size: 11.5px; color: var(--muted); }
.site .s-map { border-radius: 14px; min-height: 170px; position: relative; overflow: hidden; background: var(--soft); border: 1px solid rgba(10,20,34,.06); }
.site .s-map::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(10,20,34,.05) 1px, transparent 1px), linear-gradient(rgba(10,20,34,.05) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px; }
.site .s-map::after { content: ""; position: absolute; inset: -20% -10%; transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent 47%, rgba(10,20,34,.08) 47%, rgba(10,20,34,.08) 52%, transparent 52%); }
.site .s-pin { position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(-50%,-60%); width: 26px; height: 26px; color: var(--c); z-index: 1; filter: drop-shadow(0 6px 8px rgba(13,30,60,.25)); }

/* micro-interactions */
.site .s-links a { position: relative; transition: color .2s var(--ease); }
.site .s-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px; background: var(--c); transform: scaleX(0); transform-origin: inline-end; transition: transform .22s var(--ease); }
.site .s-links a:hover { color: var(--ink); }
.site .s-links a:hover::after, .site .s-links a.is-active::after { transform: scaleX(1); transform-origin: inline-start; }
.site .s-btn { transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease); }
.site .s-btn:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(13,30,60,.16); filter: brightness(1.04); }
.site .s-navcta { transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.site .s-navcta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(13,30,60,.2); }

/* per-theme finishing touches */
.site--law .s-ava, .site--law .s-plan.s-featured::before { letter-spacing: .04em; }
.site--tech .s-sec { background: #0E0E22; }
.site--tech .s-sec-head h4 { color: #fff; }
.site--tech .s-sec-head p, .site--tech .s-mem small, .site--tech .s-who small, .site--tech .s-plan li, .site--tech .s-info-row small { color: #AEB0D6; }
.site--tech .s-quote, .site--tech .s-mem { background: #1A1938; border-color: rgba(255,255,255,.08); }
.site--tech .s-quote p, .site--tech .s-mem b, .site--tech .s-who b, .site--tech .s-plan h5, .site--tech .s-price, .site--tech .s-info-row b { color: #fff; }
.site--tech .s-plan { background: #1A1938; border-color: rgba(255,255,255,.1); }
.site--tech .s-face { background: linear-gradient(150deg, #211F4A, #14132E); border-color: rgba(255,255,255,.1); }
.site--tech .s-trust { background: #0E0E22; border-color: rgba(255,255,255,.08); }
.site--tech .s-trust span { color: #AEB0D6; }
.site--tech .s-info-ic, .site--tech .s-map { background: #1A1938; border-color: rgba(255,255,255,.1); }
.site .s-acc .s-acc-body { font-size: 12px; color: var(--muted); padding: 0 0 14px; line-height: 1.55; animation: swFade .3s var(--ease); }
@keyframes swFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: var(--s5); }
.timeline li { position: relative; background: var(--surface-700); border: 1px solid var(--border-soft); border-radius: var(--radius-card); padding: var(--s6); }
.on-light .timeline li, .on-gray .timeline li { box-shadow: 0 8px 28px rgba(13,30,60,.06); }
.timeline .step-num { display: inline-block; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1rem; color: var(--brand-600); background: linear-gradient(140deg, rgba(24,180,255,.12), rgba(17,214,245,.06)); border: 1px solid rgba(14,143,230,.2); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s4); }
.timeline h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.timeline p { color: var(--text-mid); margin: 0; }

/* ---------- Lead section (dark anchor) ---------- */
.lead-section { background: var(--grad-hero); }
.lead-grid { display: grid; gap: var(--s6); }
.lead-form-wrap { background: rgba(14,27,45,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--border-soft); border-radius: var(--radius-card); padding: var(--s6); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.lead-form { margin-top: var(--s5); }
.step-label { font-size: var(--fs-small); color: var(--brand-400); font-weight: 700; margin-bottom: var(--s4); }
.form-step.is-hidden { display: none; }
.form-step.step-anim { animation: stepIn .42s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

.chips { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.chip { display: flex; align-items: center; gap: var(--s3); background: var(--surface-700); border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm); padding: 15px 16px; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); color: var(--text-mid); user-select: none; }
.chip:hover { border-color: var(--brand-400); }
.chip input { width: 20px; height: 20px; accent-color: var(--cta); cursor: pointer; flex-shrink: 0; }
.chip:has(input:checked) { border-color: var(--cta); background: rgba(17,214,245,.09); color: var(--text-hi); }

.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--text-hi); margin-bottom: var(--s2); }
.field label .opt { color: var(--text-low); font-weight: 400; }
.field input, .field select { width: 100%; background: var(--surface-700); border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text-hi); font-family: inherit; font-size: var(--fs-body); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input::placeholder { color: var(--text-low); }
.field input:focus, .field select:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(17,214,245,.16); }
.field input.invalid { border-color: var(--danger); }
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236D8099' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 42px;
}
.err { display: block; color: #FCA5A5; font-size: var(--fs-micro); margin-top: var(--s1); min-height: 1em; }
.form-reassure { text-align: center; font-size: var(--fs-small); color: var(--text-low); margin-top: var(--s3); }

/* consent checkbox (above submit) */
.consent-row { margin-bottom: var(--s4); }
.consent-check { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; font-size: var(--fs-small); color: var(--text-mid); line-height: 1.5; }
.consent-check input { width: 20px; height: 20px; min-width: 20px; margin-top: 2px; accent-color: var(--cta); cursor: pointer; }
.consent-check input.invalid { outline: 2px solid var(--danger); outline-offset: 2px; border-radius: 4px; }
.consent-check a { color: var(--brand-400); text-decoration: underline; }
.consent-row .err { margin-top: var(--s2); }

.form-success { text-align: center; padding-block: var(--s5); }
.form-success h3 { font-size: var(--fs-h2); }
.success-check { width: 64px; height: 64px; margin: 0 auto var(--s4); border-radius: 50%; display: grid; place-items: center; background: rgba(22,163,74,.16); color: #4ADE80; }
.success-check svg { width: 30px; height: 30px; }
.form-success .btn { margin: var(--s3) auto 0; max-width: 320px; width: 100%; }
.fail-mark { width: 64px; height: 64px; margin: 0 auto var(--s4); border-radius: 50%; display: grid; place-items: center; background: rgba(245,158,11,.16); color: #FBBF24; }
.fail-mark svg { width: 30px; height: 30px; }

.lead-trust { background: var(--surface-700); border: 1px solid var(--border-soft); border-radius: var(--radius-card); padding: var(--s6); align-self: start; }
.lead-trust h3 { font-size: var(--fs-h3); }
.trust-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.trust-chips li { font-size: var(--fs-small); color: var(--text-hi); background: var(--bg-800); border: 1px solid var(--border-soft); padding: 7px 14px; border-radius: 20px; }
.trust-chips li::before { content: "✓ "; color: var(--cta); }
.trust-statement { color: var(--text-mid); font-size: var(--fs-small); margin-bottom: var(--s5); }
.trust-contact { display: flex; flex-direction: column; gap: var(--s3); align-items: center; }
.trust-phone { color: var(--text-mid); font-weight: 700; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }
.trust-phone:hover { color: var(--text-hi); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--s3); }
.faq-item { background: var(--surface-700); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.on-light .faq-item, .on-gray .faq-item { box-shadow: 0 4px 16px rgba(13,30,60,.05); }
.faq-item[open] { border-color: rgba(14,143,230,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: var(--s5); font-weight: 700; color: var(--text-hi); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: var(--fs-body); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand-600); font-size: 1.5rem; font-weight: 300; transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 var(--s5) var(--s5); }
.faq-body p { color: var(--text-mid); margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--grad-hero); padding-block: var(--s9); text-align: center; position: relative; overflow: hidden; }
.final-glow { position: absolute; inset-block-end: -40%; inset-inline-start: 50%; transform: translateX(50%) translate3d(0, var(--prlx, 0px), 0); width: 80vw; max-width: 760px; height: 400px; background: radial-gradient(circle, rgba(17,214,245,.16) 0%, transparent 62%); pointer-events: none; }
.final-inner { max-width: 700px; margin-inline: auto; position: relative; z-index: 1; }
.final-cta h2 { font-size: var(--fs-h1); }
.final-cta p { font-size: var(--fs-lead); color: var(--text-mid); }
.final-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-800); border-top: 1px solid var(--border-soft); padding-block: var(--s7) var(--s5); }
.footer-inner { display: grid; gap: var(--s6); margin-bottom: var(--s6); }
.footer-logo { display: inline-block; margin-bottom: var(--s2); transition: filter .25s ease, transform .25s ease; }
.footer-logo img { height: 24px; display: block; }
.footer-logo:hover { filter: drop-shadow(0 0 10px rgba(17,214,245,.45)); transform: translateY(-1px); }
.footer-logo:focus-visible { outline: 2px solid var(--cta); outline-offset: 4px; border-radius: 4px; }
.footer-tagline { color: var(--text-low); font-size: var(--fs-small); max-width: 44ch; margin: 0; }
.footer-wordmark { position: relative; color: var(--cta); font-weight: 800; letter-spacing: .02em; text-decoration: none; transition: text-shadow .25s ease; }
.footer-wordmark::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1.5px; background: var(--cta); transform: scaleX(0); transform-origin: inline-end; transition: transform .3s ease; }
.footer-wordmark:hover { text-shadow: 0 0 12px rgba(17,214,245,.5); }
.footer-wordmark:hover::after { transform: scaleX(1); transform-origin: inline-start; }
.footer-wordmark:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 3px; }
.footer-contact { display: flex; flex-direction: column; gap: var(--s2); }
.footer-label { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .12em; color: var(--text-low); margin-bottom: var(--s1); }
.footer-contact a { color: var(--text-hi); font-weight: 700; }
.footer-contact a:hover { color: var(--brand-400); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: var(--s4); color: var(--text-low); font-size: var(--fs-micro); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }

/* ---------- Mobile sticky bar ---------- */
.sticky-bar { position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 90; display: flex; gap: var(--s2); padding: var(--s3) var(--gutter); padding-block-end: calc(var(--s3) + env(safe-area-inset-bottom)); background: rgba(14,27,45,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--border-soft); transform: translateY(120%); transition: transform .3s var(--ease); }
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .btn-primary { flex: 1; }
.sticky-bar .wa-icon { flex: 0 0 auto; padding: 14px 18px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; inset-block-end: 16px; inset-inline-start: 16px; inset-inline-end: 16px; z-index: 120;
  max-width: 560px; margin-inline: auto;
  display: none; align-items: center; justify-content: space-between; gap: var(--s4);
  background: rgba(14,27,45,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft); border-radius: var(--radius-card);
  padding: var(--s4) var(--s5); box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.cookie-banner.show { display: flex; animation: stepIn .4s var(--ease); }
.cookie-banner p { margin: 0; font-size: var(--fs-small); color: var(--text-mid); }
.cookie-banner a { color: var(--brand-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--s2); flex-shrink: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.42); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Reveal (scroll, fade + subtle rise, staggered) ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.in { will-change: auto; }
/* background parallax layers (offset via --prlx; final-glow keeps its centering) */
.hero-glow, .final-glow { will-change: transform; }
.hero-glow { transform: translate3d(0, var(--prlx, 0px), 0); }
@keyframes dc-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }
.chip.shake { animation: dc-shake .35s var(--ease); border-color: var(--brand-400); }

/* ============================================================
   PREMIUM POLISH — depth · variation · micro-interactions
   ============================================================ */

/* Refined layered shadows + crisp top highlight on light cards */
.card { position: relative; }
.on-light .card, .on-gray .card {
  box-shadow: 0 1px 1px rgba(13,30,60,.04), 0 6px 16px rgba(13,30,60,.05), 0 22px 44px rgba(13,30,60,.07);
}
.on-light .card::after, .on-gray .card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  pointer-events: none;
}
.on-light .card:hover, .on-gray .card:hover {
  box-shadow: 0 1px 1px rgba(13,30,60,.05), 0 10px 24px rgba(13,30,60,.07), 0 32px 60px rgba(13,30,60,.14);
}

/* Icon chip lifts gently with its card */
.icon-chip { transition: transform .28s var(--ease), color .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease); }
.card:hover .icon-chip { transform: translateY(-3px); }

/* VARIATION — Service cards become "feature" cards (accent top reveal + filled icon on hover) */
.card.service { overflow: hidden; }
.card.service::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.card.service:hover::before { transform: scaleX(1); }
.card.service:hover .icon-chip { color: #fff; background: var(--grad-brand); border-color: transparent; transform: translateY(-3px) scale(1.05); }

/* VARIATION — Credibility becomes editorial: no card chrome, centered, larger icon */
.on-light .card.cred, .on-gray .card.cred {
  background: transparent; border: none; box-shadow: none; text-align: center; padding: var(--s4) var(--s5);
}
.card.cred::after { display: none; }
.card.cred .icon-chip { margin-inline: auto; width: 62px; height: 62px; border-radius: 18px; }
.card.cred:hover { transform: none; box-shadow: none; }
.card.cred:hover .icon-chip { transform: translateY(-3px) scale(1.05); }

/* VARIATION — Why-us becomes a horizontal icon + text row */
.card.why { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s4); align-items: start; }
.card.why .icon-chip { grid-row: 1 / span 2; margin-bottom: 0; }
.card.why h3 { grid-column: 2; align-self: center; margin-bottom: var(--s1); }
.card.why p { grid-column: 2; }

/* Button feedback + restrained sheen sweep on primary */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .65s var(--ease); pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }

/* Mini-site interactivity feel (nav links + buttons respond) */
.site .s-links a { position: relative; transition: color .2s var(--ease); cursor: pointer; }
.site .s-links a:hover { color: var(--c); }
.site .s-links a.is-active { color: var(--ink); font-weight: 700; }
.site .s-links a.is-active::after { content: ""; position: absolute; inset-block-end: -6px; inset-inline: 0; height: 2px; border-radius: 2px; background: var(--c); }
.site--tech .s-links a.is-active { color: var(--c); }
.site .s-btn, .site .s-navcta { transition: transform .15s var(--ease), filter .2s var(--ease); cursor: pointer; }
.site .s-btn:hover, .site .s-navcta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.site .s-btn:active, .site .s-navcta:active { transform: translateY(0) scale(.97); }

/* Layered-surface top highlight on dark feature panels */
.lead-form-wrap, .lead-trust { position: relative; }
.lead-form-wrap::before, .lead-trust::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); pointer-events: none;
}

/* Icon-based contact buttons */
.footer-contact .contact-actions { display: flex; gap: var(--s2); }
.footer-contact .contact-btn {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px;
  padding: 11px 18px; border-radius: 11px; font-weight: 700; font-size: var(--fs-small);
  border: 1.5px solid var(--border-soft); color: var(--text-hi); background: var(--surface-700);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.footer-contact .contact-btn svg { width: 18px; height: 18px; }
.footer-contact .contact-btn:hover { transform: translateY(-2px); border-color: var(--brand-400); }
.footer-contact .contact-btn.wa { color: #6FE6A0; border-color: rgba(37,211,102,.4); background: rgba(37,211,102,.12); }
.footer-contact .contact-btn.wa:hover { background: rgba(37,211,102,.2); }
.call-line { gap: var(--s2); }
.call-line svg { width: 18px; height: 18px; }

/* More breathing room */
.section-head { margin-bottom: var(--s8); }

/* ============================================================
   Legal pages (privacy / terms) — same branding
   ============================================================ */
.legal-page .site-header { background: rgba(8,16,28,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.legal-hero { background: var(--grad-hero); padding-block: calc(var(--header-h) + var(--s6)) var(--s5); }
.legal-back {
  display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--text-hi); font-weight: 700; font-size: var(--fs-small);
  background: var(--surface-700); border: 1.5px solid var(--border-soft);
  padding: 11px 20px; border-radius: var(--radius-btn); min-height: 44px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.legal-back:hover { color: var(--text-hi); border-color: var(--brand-400); background: var(--surface-600); transform: translateY(-1px); }
.legal-back svg { width: 17px; height: 17px; color: var(--brand-400); }
.legal-body { padding-block: var(--s7) var(--s8); }
.legal-prose { max-width: 800px; margin-inline: auto; }
.legal-prose h1 { font-size: var(--fs-h1); margin-bottom: var(--s2); }
.legal-prose .updated { color: var(--text-low); font-size: var(--fs-small); margin-bottom: var(--s6); }
.legal-prose h2 { font-size: var(--fs-h3); color: var(--text-hi); margin: var(--s7) 0 var(--s3); }
.legal-prose p { color: var(--text-mid); margin-bottom: var(--s3); }
.legal-prose ul { display: grid; gap: var(--s2); margin: 0 0 var(--s4); }
.legal-prose li { position: relative; padding-inline-start: 20px; color: var(--text-mid); }
.legal-prose li::before { content: "•"; color: var(--brand-400); position: absolute; inset-inline-start: 0; }
.legal-prose a { color: var(--brand-400); text-decoration: underline; }
.legal-prose strong { color: var(--text-hi); }

/* ============================================================
   Tablet (≥768px)
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 34px; }
  .section { padding-block: var(--s9); }
  .cards-3 { grid-template-columns: repeat(3,1fr); }
  .cards-2x2 { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-contact { align-items: flex-end; }
  .sticky-bar { display: none; }
  .wa-float { display: flex; }
  .lead-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }

  /* Showcase becomes a scrollable "browser" with a sticky site nav */
  .sw-screen.is-active { height: 560px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(10,20,34,.28) transparent; }
  .sw-screen.is-active::-webkit-scrollbar { width: 9px; }
  .sw-screen.is-active::-webkit-scrollbar-track { background: transparent; }
  .sw-screen.is-active::-webkit-scrollbar-thumb { background: rgba(10,20,34,.22); border-radius: 9px; border: 2px solid transparent; background-clip: padding-box; }
  .sw-screen.is-active::-webkit-scrollbar-thumb:hover { background: rgba(10,20,34,.34); background-clip: padding-box; }
  .sw-screen .site .s-nav { position: sticky; inset-block-start: 0; z-index: 6; background: var(--bg); }
}

/* ============================================================
   Desktop (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .hero { min-height: 92vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + var(--s8)) var(--s9); }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: var(--s9); }
  .timeline { grid-template-columns: repeat(4,1fr); }
  .section { padding-block: 118px; }
  .final-cta { padding-block: 134px; }
  .section-head { margin-bottom: var(--s9); }
  .cards-3, .cards-2x2 { gap: var(--s6); }
}

/* ============================================================
   Small phones — declutter showcase
   ============================================================ */
/* Mini-site responsiveness inside showcase frame (phones) */
@media (max-width: 767px) {
  /* footer clearance so the sticky CTA bar never covers content */
  .site-footer { padding-block-end: calc(var(--s6) + 76px); }

  /* ----- Footer: clean centered layout on mobile ----- */
  .footer-inner { justify-items: center; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { max-width: none; }
  .footer-contact { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: var(--s3); }
  .footer-legal { margin-inline-start: 0; justify-content: center; flex-wrap: wrap; gap: var(--s3) var(--s4); }
  .sw-tab { padding: 10px 16px; font-size: .875rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; inset-block-end: 12px; }
  .cookie-actions { justify-content: center; }
  .cookie-actions .btn { flex: 1; }

  /* ----- Mobile showcase: a clearly-framed, shorter site DEMO inside DIGITALCRAFT ----- */
  /* 1+5. Demo frame: brand-colored border + subtle shadow, slightly tighter radius */
  .sw-frame { border: 2px solid rgba(13,30,60,.28); border-radius: 16px;
    box-shadow: 0 2px 8px rgba(13,30,60,.08), 0 18px 40px rgba(13,30,60,.18); }
  /* keep the demo bar on one clean row: show the "demo" label, drop the URL pill so they never collide */
  .sw-bar { flex-wrap: nowrap; }
  .sw-url { display: none; }
  .sw-demo-label { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 4px; white-space: nowrap;
    font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--brand-400); }

  /* 2. No inner scroll on mobile — the trimmed demo flows with the page (no scroll trap) */
  .sw-screen.is-active { max-height: none; overflow: visible; }
  .sw-screen .site .s-nav { position: static; }

  /* 4. Show only the most impressive parts: hero + 2 service cards + the demo's CTA */
  .site .s-block ~ .s-block { display: none; }                        /* keep the first service block only */
  .site .s-cards { grid-template-columns: 1fr; }                      /* stack cards (no empty column) */
  .site .s-block .s-cards .s-card:nth-child(n+3) { display: none; }   /* keep just 2 cards */
  .site .s-split, .site .s-faq, .site .s-sec, .site .s-trust { display: none; }  /* hide long content */

  /* 5. Tone down the demo's accent so it stays within the DIGITALCRAFT world */
  .sw-screens { filter: saturate(.82); }

  /* 6. Clear CTA below the demo → contact form — brand cyan + subtle sheen sweep */
  .sw-cta { display: flex; width: 100%; max-width: 360px; margin: var(--s6) auto var(--s2); position: relative; overflow: hidden; }
  .on-light .sw-cta, .on-gray .sw-cta { background: linear-gradient(120deg, #0B1422, #16314F); color: #fff; border-color: transparent; box-shadow: 0 12px 30px rgba(11,20,34,.28); }
  .on-light .sw-cta:hover, .on-gray .sw-cta:hover { background: linear-gradient(120deg, #122742, #1C4A78); color: #fff; box-shadow: 0 16px 40px rgba(11,20,34,.34); transform: translateY(-2px); }
  .sw-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
    transform: translateX(-180%) skewX(-18deg); animation: ctaSheen 1.7s ease-in-out infinite; }
  @keyframes ctaSheen { 0% { transform: translateX(-180%) skewX(-18deg); } 50%, 100% { transform: translateX(420%) skewX(-18deg); } }
}
@media (max-width: 600px) {
  .site .s-nav { padding: 13px 18px; }
  .site .s-links { display: none; }
  .site .s-hero { grid-template-columns: 1fr; padding: 24px 18px; gap: 16px; }
  .site .s-hero h3 { font-size: 22px; }
  .site .s-hero-art { height: 118px; }
  .site .s-block { padding: 0 18px 22px; }
  .site .s-cards { grid-template-columns: 1fr; }
  .site .s-split { grid-template-columns: 1fr; padding: 4px 18px 22px; gap: 16px; }
  .site .s-split-art { height: 120px; }
  .site .s-faq { padding: 0 18px 22px; }
  .site .s-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
}

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