/* =========================================================
   Nala Code — Design System
   Trust & Authority · Deep navy ink + signature teal
   Type: Lexend (display/headings) + Source Sans 3 (body)
   Fonts: self-hosted woff2 (eliminates Google Fonts DNS lookups)
   ========================================================= */

/* ---------- Self-hosted fonts ---------- */

/* Lexend — variable font (wght 300–700) */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/lexend-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/lexend-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Source Sans 3 — variable font (wght 400–700) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --ink:        #0A1628;   /* near-black navy, headings + dark sections */
  --ink-2:      #0E2236;   /* slightly lighter dark surface */
  --navy:       #112A43;
  --teal:       #0FB5A6;   /* signature accent / CTA */
  --teal-600:   #0C9A8D;
  --teal-700:   #0A7F75;
  --teal-soft:  #E6FBF8;   /* teal tint background */
  --amber:      #F2A33C;   /* warm highlight, used sparingly */

  /* Neutrals (light) */
  --bg:         #F6F9FB;
  --surface:    #FFFFFF;
  --line:       #E4EAF0;
  --line-2:     #D4DEE8;
  --text:       #0A1628;
  --muted:      #51647A;
  --muted-2:    #6B7C90;

  /* Effects */
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  26px;
  --shadow-sm:  0 1px 2px rgba(10,22,40,.06), 0 1px 3px rgba(10,22,40,.04);
  --shadow:     0 10px 30px -12px rgba(10,22,40,.18);
  --shadow-lg:  0 30px 60px -20px rgba(10,22,40,.30);
  --ring:       0 0 0 4px rgba(15,181,166,.28);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Lexend', system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.08;
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--teal); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 104px; }
.section-sm { padding-block: 72px; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding-block: 68px; }
  .container { padding-inline: 20px; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #5FE3D4; }
.eyebrow.on-dark::before { background: #5FE3D4; }

.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
.h-lg { font-size: clamp(2rem, 3.8vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.65;
}
.muted { color: var(--muted); }
.text-teal { color: var(--teal-700); }
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .measure { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--teal-600); box-shadow: 0 12px 24px -10px rgba(15,181,166,.6); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }

.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn-light:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); box-shadow:none; }

.btn-lg { padding: 17px 30px; font-size: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--teal-700); cursor: pointer;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav-wrap {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px;
  transition: padding .3s var(--ease);
}
.nav {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
}
/* Backdrop blur is rendered on a pseudo-element rather than directly on .nav:
   Chromium computes backdrop-filter's effect region as the element's full
   rectangular border-box and ignores border-radius/clip-path on the element
   itself, producing a square "halo" outside the rounded pill. Painting the
   blur on an absolutely-positioned ::before that is clipped by the parent's
   `overflow: hidden` + `border-radius` keeps the blur confined to the
   rounded shape. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .3s var(--ease);
}
.nav-wrap.scrolled .nav { box-shadow: var(--shadow); }
.nav-wrap.scrolled .nav::before { background: rgba(255,255,255,.9); }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand-name b { color: var(--teal-700); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-family: 'Lexend', sans-serif; font-weight: 500; font-size: 14.5px;
  color: var(--muted); padding: 9px 13px; border-radius: 9px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
  cursor: pointer;
}
.nav-links a:hover { color: var(--ink); background: rgba(10,22,40,.05); }
.nav-links a.active { color: var(--ink); background: #51647a17; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden;
  background: #fff;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 12.5px;
  color: var(--muted-2); padding: 8px 11px; transition: all .18s var(--ease);
}
.lang-toggle button.active { background: var(--ink); color: #fff; }
.lang-toggle button:focus-visible { outline: none; box-shadow: var(--ring); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  border-radius: 10px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 940px) {
  .nav-links, .nav .desktop-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 22px;
  transform: translateY(-12px);
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .brand-name, .mobile-menu .nav-links a { color: #fff; }
.mobile-menu .brand-name b { color: #5FE3D4; }
.mm-links { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.mm-links a {
  font-family: 'Lexend', sans-serif; font-weight: 500; font-size: 22px; color: #fff;
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); cursor: pointer;
}
.mm-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mm-close svg { width: 24px; height: 24px; }
.mm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero: Smooth-scroll clip-path reveal (ported from smooth-scroll-hero) ---------- */
/* Scroll-driven: a centered rectangle of video expands to full-screen as you scroll,
   while the media zooms from 170% -> 100%. JS sets --clip-start/--clip-end/--media-scale
   from window.scrollY across SSH_SCROLL_HEIGHT (1500px). */
.ssh {
  position: relative;
  width: 100%;
  height: calc(1000px + 100vh);   /* SSH_SCROLL_HEIGHT(1000) + one viewport — snappier reveal */
  background: #05060A;
}
.ssh-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  width: 100%;
  overflow: hidden;
  background: #05060A;
}
/* the clipped media layer (clip-path animated via CSS vars) */
.ssh-clip {
  position: absolute; inset: 0;
  background: #000;
  clip-path: polygon(
    var(--clip-start, 30%) var(--clip-start, 30%),
    var(--clip-end, 70%)   var(--clip-start, 30%),
    var(--clip-end, 70%)   var(--clip-end, 70%),
    var(--clip-start, 30%) var(--clip-end, 70%)
  );
  will-change: clip-path;
}
.ssh-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(var(--media-scale, 1.7));
  transform-origin: center;
  will-change: transform;
}
.ssh-clip::after {     /* legibility scrim for overlay text */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,6,10,.6) 0%, rgba(5,6,10,.2) 38%, rgba(5,6,10,.78) 100%);
}
/* dark -> light handoff into the next (light) section; sits above the clipped media,
   below the overlay text (z-index 5), spans full width even while the clip is small */
.ssh-fade {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  height: 13vh; pointer-events: none;
  /* soft haze, not a bright wall: stays clear through the content zone and only eases to a
     low-opacity light at the very bottom edge (dark footage still shows through) */
  background: linear-gradient(to bottom,
    rgba(246,249,251,0)    0%,
    rgba(246,249,251,0)    58%,
    rgba(246,249,251,0.10) 82%,
    rgba(246,249,251,0.26) 100%);
}


/* overlay content — unclipped, always centered over the reveal */
.ssh-content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 104px;   /* balanced: clears navbar at top, trust stats clear the fade at bottom */
  pointer-events: none;                 /* let scroll pass through; re-enable on interactive children */
}
.ssh-inner { max-width: 760px; }
.ssh-content .pill, .ssh-content .hero-cta a { pointer-events: auto; }

.geo-fade { opacity: 0; animation: geoFadeUp 1s cubic-bezier(.25,.4,.25,1) var(--d, .5s) forwards; }
@keyframes geoFadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: none; } }

.geo-title {
  font-family: 'Lexend', sans-serif; font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.geo-title .l1 {
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,.8));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.geo-title .l2 {
  background: linear-gradient(to right, #5FE3D4, rgba(255,255,255,.92) 50%, #F2A33C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.geo-sub {
  font-size: clamp(1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78);
  line-height: 1.7; font-weight: 300; letter-spacing: .01em;
  max-width: 38rem; margin: 0 auto; text-shadow: 0 1px 20px rgba(0,0,0,.5);
}

/* badge pill on the reveal */
.ssh .pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85); box-shadow: none; margin-bottom: 24px;
  font-family: 'Source Sans 3', sans-serif; font-size: 13.5px; font-weight: 500;
  letter-spacing: .01em;
}
.ssh .pill .tag {
  background: rgba(95,227,212,.18); color: #8FF0E4;
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em;
}
.geo-circle { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(15,181,166,.3); }

/* CTA + trust over the reveal */
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }   /* reused by .cta-band */
.ssh-content .hero-cta { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; }
.hero-trust .stat { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .stat b { font-family: 'Lexend', sans-serif; font-size: 26px; color: #fff; font-weight: 600; }
.hero-trust .stat span { font-size: 13.5px; color: rgba(255,255,255,.6); }
.hero-trust .divider { width: 1px; height: 38px; background: rgba(255,255,255,.2); }

/* scroll hint */
.ssh-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65); font-family: 'Lexend', sans-serif; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  animation: sshHint 2s ease-in-out infinite;
}
.ssh-hint svg { width: 22px; height: 22px; }
@keyframes sshHint { 0%,100% { transform: translate(-50%, 0); opacity: .55; } 50% { transform: translate(-50%, 6px); opacity: 1; } }

@media (max-width: 640px) {
  /* keep the whole overlay within one viewport on phones */
  .ssh-content { padding: 92px 20px 84px; }
  .geo-title { font-size: clamp(2.1rem, 8.5vw, 3rem); margin-bottom: 18px; }
  .geo-sub { font-size: 1rem; line-height: 1.55; }
  .ssh .pill { margin-bottom: 20px; }
  .hero-cta { margin-top: 24px; }
  .hero-trust { gap: 16px; margin-top: 28px; }
  .hero-trust .stat b { font-size: 22px; }
  .ssh-hint { display: none; }   /* avoids collision with trust stats */
}
@media (prefers-reduced-motion: reduce) {
  .geo-fade { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ssh { height: 100svh; }                       /* no long scroll track */
  .ssh-clip { clip-path: none !important; }
  .ssh-media { transform: none !important; }
  .ssh-hint { animation: none; }
}

/* ---------- Marquee / trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: #fff; }
.trustbar .lab { text-align: center; font-size: 13px; color: var(--muted-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-family:'Lexend',sans-serif; }
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 40px; margin-top: 26px;
}
.logos .logo-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted-2); font-family:'Lexend',sans-serif; font-weight: 600; font-size: 17px;
  opacity: .72; transition: opacity .2s var(--ease), color .2s var(--ease);
}
.logos .logo-item:hover { opacity: 1; color: var(--ink); }
.logos .logo-item svg { width: 24px; height: 24px; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-top: 16px; }
.sec-head p { margin-top: 18px; }

/* ---------- Pain points → Feature six (ported from feature-modern / feature-six) ---------- */
.feature-modern { background: #fff; border-bottom: 1px solid var(--line); }
.fm-head { display: flex; flex-direction: column; gap: 18px; max-width: 60rem; }
.fm-title {
  font-family: 'Lexend', sans-serif; font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em;
  color: var(--ink); text-wrap: balance;     /* replaces react-wrap-balancer */
}
.fm-subtitle {
  font-family: 'Lexend', sans-serif; font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.4; letter-spacing: -.01em;
  color: var(--muted); max-width: 46rem; text-wrap: balance;
}

/* feature-six: 2 cards in a row + 1 full-width card below */
.f6-stack { display: flex; flex-direction: column; gap: 24px; margin-top: 52px; }
.f6-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .f6-grid { grid-template-columns: 1fr; } }
.f6-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.f6-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.f6-card:focus-visible { outline: none; box-shadow: var(--ring); }
.f6-wide { background: #fff; }   /* same as the top two cards */
.f6-body { display: flex; flex-direction: column; gap: 14px; }
.f6-ic { width: 28px; height: 28px; color: var(--teal); }
.f6-card-title { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.f6-card p { font-size: 1rem; line-height: 1.65; color: var(--muted); }
.f6-card .link-arrow svg { transition: transform .2s var(--ease); }
.f6-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.svc-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-700)); opacity: 0; transition: opacity .25s var(--ease);
}
.svc-card:hover::after { opacity: 1; }
.svc-ic {
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(150deg, var(--ink), var(--ink-2));
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.svc-ic svg { width: 28px; height: 28px; color: #5FE3D4; }
.svc-card h3 { font-size: 22px; }
.svc-card > p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.svc-feat { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.svc-feat li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.svc-feat li svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.svc-card .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; }


/* ---------- Feature section (ported from feature-section-1) — DARK ---------- */
.feature-sec {
  background:
    radial-gradient(820px 420px at 50% -6%, rgba(15,181,166,.10), transparent 60%),
    var(--ink);
  border-block: 1px solid rgba(255,255,255,.06);
}
.feature-sec h2, .feature-sec h3 { color: #fff; }   /* override default dark-ink headings */
.fs-head { max-width: 720px; margin-inline: auto; text-align: center; }
.fs-main-icon {
  width: 64px; height: 64px; margin: 0 auto 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(95,227,212,.12); color: #5FE3D4;
  border: 1px solid rgba(95,227,212,.22);
}
.fs-main-icon svg { width: 30px; height: 30px; }
.fs-head h2 { margin-top: 6px; }
.fs-head p { margin-top: 16px; margin-inline: auto; color: rgba(255,255,255,.66); }

.fs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px;
  max-width: 920px; margin: 60px auto 0; text-align: left;
}
@media (max-width: 760px) { .fs-grid { grid-template-columns: 1fr; gap: 26px; max-width: 520px; } }
.fs-item { display: flex; gap: 20px; }
.fs-item .ic {
  flex: none; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(95,227,212,.12); color: #5FE3D4;
  border: 1px solid rgba(95,227,212,.18);
}
.fs-item .ic svg { width: 22px; height: 22px; }
.fs-item h3 { font-size: 17px; font-weight: 600; }
.fs-item p { margin-top: 7px; font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.6; }

.fs-cta {
  max-width: 760px; margin: 60px auto 0;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  padding: 40px; text-align: center;
}
.fs-cta h3 { font-size: 22px; }
.fs-cta p { margin-top: 10px; color: rgba(255,255,255,.7); max-width: 48ch; margin-inline: auto; }
.fs-cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 520px) {
  .fs-cta { padding: 30px 22px; }
  .fs-cta-actions { flex-direction: column; }
  .fs-cta-actions .btn { width: 100%; }
}

/* ---------- Values / why ---------- */
.why-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 940px) { .why-layout { grid-template-columns: 1fr; gap: 44px; } }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.value-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.value-card .vic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft); display:flex; align-items:center; justify-content:center; margin-bottom: 14px; }
.value-card .vic svg { width: 22px; height: 22px; color: var(--teal-700); }
.value-card h3 { font-size: 17px; }
.value-card .id-word { font-size: 12.5px; color: var(--teal-700); font-weight: 600; font-family:'Lexend',sans-serif; letter-spacing: .04em; }
.value-card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }

.partner-card {
  background: linear-gradient(155deg, var(--ink), var(--navy));
  border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden;
}
.partner-card .quote-mark { font-family: Georgia, serif; font-size: 90px; line-height: .6; color: rgba(95,227,212,.3); }
.partner-card blockquote { font-family:'Lexend',sans-serif; font-size: 22px; line-height: 1.45; font-weight: 500; margin: 14px 0 0; color:#fff; }
.partner-card .vs { display: flex; gap: 14px; margin-top: 28px; }
.partner-card .vs .col { flex: 1; padding: 16px; border-radius: 14px; }
.partner-card .vs .vendor { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.partner-card .vs .partner { background: rgba(15,181,166,.14); border: 1px solid rgba(95,227,212,.3); }
.partner-card .vs h4 { font-size: 13px; letter-spacing:.08em; text-transform: uppercase; color: rgba(255,255,255,.55); font-family:'Lexend',sans-serif; }
.partner-card .vs .partner h4 { color: #5FE3D4; }
.partner-card .vs ul { list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:8px; font-size:14px; color: rgba(255,255,255,.8); }
.partner-card .vs li { display:flex; gap:8px; }
.partner-card .vs li svg { width:16px; height:16px; flex-shrink:0; margin-top:3px; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { background: linear-gradient(160deg, var(--ink), var(--ink-2)); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price-from { color: #fff; }
.price-card.featured .price-desc, .price-card.featured .pf li { color: rgba(255,255,255,.78); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-family:'Lexend',sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .04em; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 21px; }
.price-desc { margin-top: 8px; font-size: 14.5px; color: var(--muted); min-height: 44px; }
.price-from { margin-top: 22px; font-family:'Lexend',sans-serif; }
.price-from .pf-lab { font-size: 13px; color: var(--muted-2); display:block; }
.price-card.featured .price-from .pf-lab { color: rgba(255,255,255,.55); }
.price-from .pf-val { font-size: 24px; font-weight: 600; color: var(--ink); }
.price-card.featured .price-from .pf-val { color: #5FE3D4; }
.pf { list-style: none; padding: 22px 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.price-card.featured .pf { border-color: rgba(255,255,255,.12); }
.pf li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.pf li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.price-card.featured .pf li svg { color: #5FE3D4; }
.price-card .btn { width: 100%; margin-top: 8px; }
.price-note { text-align: center; margin-top: 30px; font-size: 14px; color: var(--muted); }

/* ---------- Website pricing teaser ---------- */
.website-price-teaser { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.wpt-items { display: flex; flex-direction: column; gap: 18px; flex: 1; min-width: 260px; }
.wpt-item { display: flex; align-items: flex-start; gap: 14px; }
.wpt-item svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.wpt-item b { display: block; font-size: 14px; color: var(--muted-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.wpt-item span { font-size: 16px; color: var(--ink); line-height: 1.5; }
.wpt-item strong { color: var(--teal-700); }
.website-price-teaser .btn { flex-shrink: 0; align-self: center; white-space: nowrap; }
@media (max-width: 680px) { .website-price-teaser { padding: 28px 24px; } .website-price-teaser .btn { width: 100%; justify-content: center; } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--teal-soft); border-block: 1px solid #CDEEEA; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
.stat-big b { font-family:'Lexend',sans-serif; font-size: clamp(2.2rem,4vw,3rem); color: var(--ink); font-weight: 600; display: block; }
.stat-big span { font-size: 14.5px; color: var(--teal-700); font-weight: 600; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
@media (max-width: 980px) { .tst-grid { grid-template-columns: 1fr; } }
.tst-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tst-stars { display: flex; gap: 3px; color: var(--amber); }
.tst-stars svg { width: 18px; height: 18px; }
.tst-card blockquote { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); flex: 1; }
.tst-who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.tst-av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--teal), var(--ink)); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Lexend',sans-serif; font-weight:600; font-size:17px; flex-shrink:0; }
.tst-who b { font-family:'Lexend',sans-serif; font-size: 15px; color: var(--ink); display:block; }
.tst-who span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  font-family:'Lexend',sans-serif; font-weight: 500; font-size: 16.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { flex: 1; }
.faq-item summary .chev { width: 22px; height: 22px; color: var(--teal-700); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .ans { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.faq-item .ans-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s cubic-bezier(.22,.61,.36,1), opacity .22s ease; }
.faq-item .ans-wrap > .ans { overflow: hidden; min-height: 0; }
.faq-item .ans-wrap.open { grid-template-rows: 1fr; opacity: 1; }
.faq-item summary .chev { transition: transform .28s cubic-bezier(.22,.61,.36,1); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0; padding-bottom: 60px; }
.cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ink) 0%, var(--navy) 60%, var(--teal-700) 160%);
  border-radius: 30px; padding: 64px 56px; color: #fff; text-align: center;
}
.cta-inner .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,181,166,.5), transparent 65%); filter: blur(20px);
  top: -160px; right: -80px; pointer-events: none; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); position: relative; }
.cta-inner p { color: rgba(255,255,255,.78); margin: 18px auto 0; max-width: 56ch; position: relative; }
.cta-inner .hero-cta { justify-content: center; position: relative; }
@media (max-width: 560px) { .cta-inner { padding: 44px 26px; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.contact-info { display: grid; gap: 20px; margin-top: 36px; }
.ci-item { display: flex; gap: 15px; align-items: flex-start; }
.ci-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ci-item .ic svg { width: 22px; height: 22px; color: var(--teal-700); }
.ci-item b { font-family:'Lexend',sans-serif; font-size: 15px; color: var(--ink); display:block; }
.ci-item span, .ci-item a { font-size: 15px; color: var(--muted); }
.ci-item a:hover { color: var(--teal-700); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family:'Lexend',sans-serif; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-success { display: none; padding: 14px 16px; background: var(--teal-soft); border: 1px solid #BFEAE4; border-radius: 11px; color: var(--teal-700); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }
.form-success.show { display: block; }
.form-success.error { border-color: #FCA5A5; background: #FEF2F2; color: #B91C1C; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer .brand-name { color: #fff; }
.footer .brand-name b { color: #5FE3D4; }
.footer-about { margin-top: 18px; font-size: 14.5px; max-width: 34ch; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; transition: background-color .2s var(--ease); }
.footer-social a:hover { background: var(--teal); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing:.06em; text-transform: uppercase; font-family:'Lexend',sans-serif; }
.footer-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color .18s var(--ease); cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mock-bars span, .pill .dot { animation: none !important; }
}

/* float anim for hero card */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.mock-float { animation: floaty 5s ease-in-out infinite; }

/* lang visibility handled in JS via textContent swap; hide [hidden] */
[hidden] { display: none !important; }

/* =====================================================================
   DEMO SHOWCASE PAGE  (/demo.html)
   ===================================================================== */

/* ---- Page intro / header band ---- */
.demo-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%);
  color: #fff;
  padding-block: 120px 88px;
}
/* soft brand-colored haze behind the shapes, echoes the reference aesthetic
   without diverging from the teal/amber NalaCode palette */
.demo-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 24%, rgba(15,181,166,.10), transparent 70%),
    radial-gradient(55% 45% at 85% 78%, rgba(242,163,60,.08), transparent 70%);
  pointer-events: none;
}
.demo-hero .container { position: relative; z-index: 2; }
.demo-hero .eyebrow.on-dark { margin-bottom: 18px; }
.demo-hero h1 { font-family:'Lexend',sans-serif; font-weight:600; font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing:-.02em; line-height:1.12; max-width: 18ch; color: #fff; }
.demo-hero p.lead { color: rgba(255,255,255,.74); margin-top: 18px; max-width: 56ch; }
.demo-hero-meta { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 34px; }
.demo-hero-meta .stat-chip {
  display:flex; align-items:center; gap:10px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.86);
}
.demo-hero-meta .stat-chip b { color:#5FE3D4; font-family:'Lexend',sans-serif; }

/* ---- Hero floating shapes (vanilla CSS recreation of an "elegant shapes"
   geometric hero — no React/Tailwind/Framer Motion runtime required) ----
   Each shape: a soft translucent gradient capsule that drifts in on load
   (fade + rise + rotate-settle) then drifts gently up and down forever.
   Colors are drawn from the existing brand palette (teal / amber / ink-tints)
   so the effect stays consistent with the rest of the site rather than
   introducing an off-brand indigo/rose/violet/cyan mix. */
.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
/* Outer element: one-time entrance (fade + drop-in + rotate-settle).
   Mirrors the reference component's structure of an outer "settle" wrapper
   around an inner element that floats continuously — split across two
   elements so the two transform animations don't fight on one node. */
.hero-shape {
  position: absolute;
  display: block;
  width: var(--shape-w, 300px);
  height: var(--shape-h, 80px);
  opacity: 0;
  transform: translateY(-80px) rotate(var(--rot-from, -15deg));
  animation: heroShapeIn 1.8s var(--ease) forwards var(--enter-delay, 0s);
}
@keyframes heroShapeIn {
  0%   { opacity: 0; transform: translateY(-80px) rotate(var(--rot-from, -15deg)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--rot-to, 0deg)); }
}
/* Inner element: continuous gentle vertical drift, runs forever once visible */
.hero-shape-inner {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  animation: heroShapeFloat 12s ease-in-out infinite var(--float-delay, 0s);
}
@keyframes heroShapeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(15px); }
}
/* The actual visual capsule — translucent gradient "glass" pill */
.hero-shape-inner::before {
  content: "";
  position: absolute; inset: 0; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(100deg, var(--shape-tint, rgba(255,255,255,.08)), transparent 70%);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(255,255,255,.06);
}
.hero-shape-inner::after {
  content: "";
  position: absolute; inset: 0; border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.16), transparent 70%);
}

.hs-1 {
  --shape-tint: rgba(15,181,166,.16);   /* teal */
  --rot-from: -3deg; --rot-to: 12deg; --enter-delay: .3s; --float-delay: .3s;
  --shape-w: 620px; --shape-h: 140px;
  left: -12%; top: 16%;
}
.hs-2 {
  --shape-tint: rgba(242,163,60,.15);   /* amber */
  --rot-from: -30deg; --rot-to: -15deg; --enter-delay: .5s; --float-delay: .5s;
  --shape-w: 480px; --shape-h: 120px;
  right: -6%; top: 68%;
}
.hs-3 {
  --shape-tint: rgba(255,255,255,.10);  /* neutral */
  --rot-from: -23deg; --rot-to: -8deg; --enter-delay: .4s; --float-delay: .4s;
  --shape-w: 300px; --shape-h: 80px;
  left: 6%; bottom: 6%;
}
.hs-4 {
  --shape-tint: rgba(95,227,212,.14);   /* light teal */
  --rot-from: 5deg; --rot-to: 20deg; --enter-delay: .6s; --float-delay: .6s;
  --shape-w: 200px; --shape-h: 60px;
  right: 16%; top: 12%;
}
.hs-5 {
  --shape-tint: rgba(255,255,255,.08);
  --rot-from: -40deg; --rot-to: -25deg; --enter-delay: .7s; --float-delay: .7s;
  --shape-w: 150px; --shape-h: 40px;
  left: 24%; top: 6%;
  display: none;
}
@media (min-width: 768px) {
  .hs-1   { left: -5%; top: 20%; }
  .hs-2   { right: 0%; top: 74%; }
  .hs-3   { left: 11%; bottom: 10%; }
  .hs-4   { right: 21%; top: 16%; }
  .hs-5   { display: block; left: 25%; top: 9%; }
}
@media (max-width: 640px) {
  .hs-2, .hs-3 { display: none; }    /* keep mobile hero calm and uncluttered */
}
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none !important; opacity: 1; transform: none !important; }
}

/* ---- Filter bar ---- */
.demo-filters { background: var(--bg); border-bottom: 1px solid var(--line); }
.demo-filters-inner { display:flex; flex-wrap:wrap; align-items:center; gap: 10px 12px; padding-block: 22px; }
.demo-filters-label { font-family:'Lexend',sans-serif; font-weight:600; font-size: 13px; letter-spacing:.06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.filter-pill {
  appearance:none; cursor:pointer; font-family:'Source Sans 3',sans-serif; font-weight: 600; font-size: 14.5px;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  min-height: 44px; display:inline-flex; align-items:center; gap:8px;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.filter-pill:focus-visible { outline: none; box-shadow: var(--ring); }
.filter-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-pill .count { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(10,22,40,.08); color: var(--muted); }
.filter-pill[aria-pressed="true"] .count { background: rgba(255,255,255,.18); color: #fff; }

/* ---- Card grid ---- */
.demo-grid-wrap { padding-block: 72px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 880px) { .demo-grid { grid-template-columns: 1fr; gap: 22px; } }

.demo-card {
  display:flex; flex-direction: column; background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.demo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.demo-card[hidden] { display:none; }

/* mockup preview "screenshot" — stylised browser frame with niche art (no external hotlinking) */
.demo-shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display:flex; flex-direction:column;
}
.demo-shot .shot-bar {
  display:flex; align-items:center; gap:6px; padding: 10px 14px; background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); position:relative; z-index:2;
}
.demo-shot .shot-bar span { width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,.55); }
.demo-shot .shot-url {
  margin-left: 8px; font-size: 11.5px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.14);
  border-radius: 999px; padding: 3px 12px; font-family:'Source Sans 3',sans-serif; letter-spacing: .01em;
  overflow:hidden; text-overflow: ellipsis; white-space:nowrap; flex:1;
}
/* live screenshot thumbnail, framed like a browser window */
.demo-shot { background: var(--ink); }
.demo-shot .shot-thumb {
  position:absolute; inset: 0; width:100%; height:100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.demo-card:hover .shot-thumb { transform: scale(1.035); }
.demo-shot .shot-overlay {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(180deg, rgba(10,22,40,0) 38%, rgba(10,22,40,.62) 100%);
}
.demo-shot .shot-label {
  position:absolute; left:18px; bottom:16px; z-index:2; color:#fff; font-family:'Lexend',sans-serif;
  font-weight:600; font-size: 1.05rem; letter-spacing:-.01em; text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.demo-body { padding: 26px 26px 28px; display:flex; flex-direction:column; gap: 16px; flex:1; }
.demo-tags { display:flex; flex-wrap:wrap; gap:8px; }
.demo-tag {
  font-size: 12.5px; font-weight: 600; letter-spacing:.02em; padding: 5px 12px; border-radius: 999px;
  background: var(--teal-soft); color: #0C8478; border: 1px solid rgba(15,181,166,.18);
}
.demo-tag.is-type { background: #F1F4F8; color: var(--muted); border-color: var(--line); }
.demo-card h3 { font-family:'Lexend',sans-serif; font-weight:600; font-size: 1.32rem; color: var(--ink); letter-spacing:-.01em; }
.demo-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.demo-card-foot { margin-top: auto; display:flex; align-items:center; justify-content: space-between; gap: 14px; padding-top: 6px; }
.demo-visit {
  display:inline-flex; align-items:center; gap:8px; font-family:'Lexend',sans-serif; font-weight:600; font-size: 14.5px; color: var(--ink);
}
.demo-visit svg { width:18px; height:18px; transition: transform .2s var(--ease); color: var(--teal); }
.demo-card:hover .demo-visit svg { transform: translate(3px,-3px); }

/* ---- Empty state when filter yields nothing ---- */
.demo-empty { text-align:center; padding: 64px 20px; color: var(--muted); display:none; }
.demo-empty.show { display:block; }
.demo-empty svg { width:46px; height:46px; color: var(--line-2); margin-bottom: 14px; }

/* =========================================================
   Roadmap / Workflow Timeline (demo.html) — PRD-NC-2026-001
   ========================================================= */
.demo-roadmap { background: #fff; border-block: 1px solid var(--line); padding-block: 64px; }

.roadmap-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 44px;
}

.roadmap-phase {
  flex: 1 1 0;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
  outline: none;
}
.roadmap-phase:hover,
.roadmap-phase:focus-within,
.roadmap-phase.active {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15,181,166,.35);
}
.roadmap-phase:focus-visible { box-shadow: var(--ring), var(--shadow); }

.phase-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-700);
  margin-bottom: 4px;
}
.phase-icon svg { width: 22px; height: 22px; }

.phase-number {
  position: absolute;
  top: 18px; right: 20px;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .06em; color: var(--line-2);
}
.roadmap-phase { position: relative; }

.phase-title { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.phase-desc { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Detail panel — max-height technique keeps CLS = 0 (no display:none toggle) */
.phase-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease), opacity .25s var(--ease), margin-top .3s var(--ease);
  opacity: 0;
  margin-top: 0;
}
.roadmap-phase:hover .phase-detail,
.roadmap-phase:focus-within .phase-detail,
.roadmap-phase.active .phase-detail {
  max-height: 220px;
  opacity: 1;
  margin-top: 4px;
}
.phase-detail ul { display: flex; flex-direction: column; gap: 7px; padding-left: 18px; }
.phase-detail li {
  font-size: 13px; line-height: 1.5; color: var(--muted-2);
  list-style: disc; list-style-position: outside;
}
.phase-detail li::marker { color: var(--teal); }

/* Connector — plain element + transform fill, not SVG stroke-dashoffset
   (avoids animating width/height; keeps the zero-dependency footing) */
.roadmap-connector {
  flex: 0 0 auto;
  width: 56px;
  align-self: center;
  position: relative;
  height: 2px;
  background: var(--line);
  margin-inline: -1px;
  z-index: 1;
}
.roadmap-connector::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-700));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.roadmap-dot {
  position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
  transform: translate(-50%, -50%);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.roadmap-phase.active ~ .roadmap-connector .roadmap-dot,
.roadmap-phase:hover ~ .roadmap-connector .roadmap-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,181,166,.18);
}
.roadmap-phase.active ~ .roadmap-connector::before,
.roadmap-phase:hover ~ .roadmap-connector::before { transform: scaleX(1); }

.roadmap-cta { margin-top: 48px; display: flex; justify-content: center; }

@media (max-width: 980px) {
  .roadmap-connector { width: 32px; }
}

/* Mobile: vertical stacked timeline with left-side connector line + dots */
@media (max-width: 767px) {
  .roadmap-timeline { flex-direction: column; gap: 0; }
  .roadmap-phase {
    border-radius: var(--radius-sm);
    padding-left: 28px;
  }
  .roadmap-phase::before {
    content: "";
    position: absolute; left: -1px; top: 0; bottom: 0;
    width: 2px; background: var(--line);
  }
  .roadmap-phase:first-child::before { top: 50%; }
  .roadmap-phase:last-child::before { bottom: 50%; }
  .roadmap-phase::after {
    content: "";
    position: absolute; left: -5px; top: 32px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--line-2);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
  }
  .roadmap-phase.active::after {
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(15,181,166,.18);
  }
  .phase-number { display: none; }
  .roadmap-connector { display: none; }
  .roadmap-cta { margin-top: 32px; }
  .roadmap-cta .btn { width: 100%; text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-phase, .roadmap-phase .phase-detail, .roadmap-connector::before, .roadmap-dot, .roadmap-phase::after {
    transition: none !important;
  }
  .phase-detail {
    max-height: none; opacity: 1; margin-top: 4px;
  }
  .roadmap-phase:hover, .roadmap-phase.active { transform: none; }
}

/* ---- Bottom CTA band ---- */
.demo-cta { background: linear-gradient(160deg, var(--ink), var(--navy)); color:#fff; padding-block: 88px; text-align:center; }
.demo-cta h2 { font-family:'Lexend',sans-serif; font-weight:600; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing:-.02em; color: #fff; }
.demo-cta p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 52ch; margin-inline:auto; }
.demo-cta .btn-row { margin-top: 30px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Harga page ---------- */
.harga-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; align-items: start; }
@media (max-width: 860px) { .harga-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; } }
.harga-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 28px; }
.harga-main { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg); }
.harga-card-head p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.harga-price { margin-top: 20px; }
.harga-amount { font-family:'Lexend',sans-serif; font-size: clamp(2rem,4vw,2.8rem); font-weight: 700; color: var(--ink); line-height: 1; }
.harga-billing { display: block; font-size: 14px; color: var(--muted-2); margin-top: 4px; }
.harga-features h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); font-weight: 700; margin-bottom: 14px; }
.harga-card .pf { margin: 0; padding: 0; border: none; }
.harga-card .pf li svg { color: var(--teal); }
.harga-card .btn { margin-top: auto; }
.harga-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
@media (max-width: 700px) { .harga-notes { grid-template-columns: 1fr; } }
.harga-note-item { display: flex; gap: 16px; align-items: flex-start; }
.harga-note-item svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.harga-note-item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.harga-note-item p { font-size: 14.5px; color: var(--muted); margin: 0; }
.harga-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 52px; }
@media (max-width: 860px) { .harga-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .harga-process { grid-template-columns: 1fr; } }
.harga-step { display: flex; flex-direction: column; gap: 12px; }
.harga-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); border: 1px solid var(--teal); display: flex; align-items: center; justify-content: center; font-family:'Lexend',sans-serif; font-weight: 700; font-size: 16px; color: var(--teal-700); flex-shrink: 0; }
.harga-step h3 { font-size: 16px; color: var(--ink); font-weight: 600; margin: 0; }
.harga-step p { font-size: 14.5px; color: var(--muted); margin: 0; }
