/* ============================================================
   HENDOI TECHNOLOGIES — Design System
   Theme: "Deep Space Aurora" — dark ink canvas, mint & violet
   Fonts: Space Grotesk (display) / Manrope (body) / JetBrains Mono (labels)
   Pure CSS. No frameworks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #07080f;
  --bg-raise:  #0c0e1a;
  --bg-panel:  #101326;
  --line:      rgba(148, 163, 216, .14);
  --line-soft: rgba(148, 163, 216, .08);

  --ink:       #eef1ff;
  --ink-soft:  #b7bdda;
  --ink-mute:  #7e86ab;

  --mint:      #2ee6a8;
  --violet:    #8b7bff;
  --sky:       #4cc3ff;
  --amber:     #ffc555;

  --grad-brand: linear-gradient(100deg, var(--mint), var(--sky) 55%, var(--violet));
  --grad-panel: linear-gradient(160deg, rgba(46,230,168,.09), rgba(139,123,255,.07) 60%, transparent);

  --font-display: "Space Grotesk", sans-serif;
  --font-body:    "Manrope", sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  --radius:    18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h:  76px;

  --shadow-glow-mint:   0 0 40px rgba(46, 230, 168, .25);
  --shadow-glow-violet: 0 0 60px rgba(139, 123, 255, .22);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: rgba(46, 230, 168, .28); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 600;
}

/* Never let a long word or URL blow out the layout on narrow screens */
h1, h2, h3, h4, p, li, a, span, td, th { overflow-wrap: break-word; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--mint); color: #04120c; padding: 10px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* Ambient page glow */
.page-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(139,123,255,.13), transparent 60%),
    radial-gradient(800px 500px at -5% 30%, rgba(46,230,168,.09), transparent 60%),
    radial-gradient(700px 600px at 60% 110%, rgba(76,195,255,.08), transparent 60%);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.55rem, 5.2vw, 2.9rem);
  margin-bottom: 16px;
  max-width: 720px;
}
.section-title em, .cta-title em, .hero-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub { max-width: 640px; font-size: clamp(.96rem, 2.4vw, 1.06rem); color: var(--ink-mute); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-sub { margin-inline: auto; }
section { padding: clamp(56px, 9vw, 96px) 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--grad-brand);
  color: #061109;
  box-shadow: var(--shadow-glow-mint);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 50px rgba(46,230,168,.4); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 8, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad-brand);
  color: #071109;
  box-shadow: 0 0 24px rgba(46,230,168,.35);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: var(--ink);
}
.brand-dot { color: var(--mint); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 10px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-link.is-active { color: var(--mint); }
.nav-caret { transition: transform .25s var(--ease); }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown.open .nav-caret { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(1080px, calc(100vw - 40px));
  background: rgba(13, 15, 30, .97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  /* The catalog outgrew the viewport, so cap the panel to the space actually
     below the header and scroll inside it rather than off-screen.
     14px matches the top offset above; 26px leaves breathing room at the bottom. */
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain; /* don't chain the scroll to the page behind */
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 230, 168, .35) transparent;
}
.mega::-webkit-scrollbar { width: 10px; }
.mega::-webkit-scrollbar-track { background: transparent; }
.mega::-webkit-scrollbar-thumb {
  background: rgba(46, 230, 168, .3);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
.mega::-webkit-scrollbar-thumb:hover {
  background: rgba(46, 230, 168, .55);
  background-clip: content-box;
}
.nav-item-dropdown.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* Exactly four columns, each already balanced by hendoi_service_group_columns().
   align-items:start is the important part — it stops the grid stretching every
   column to the tallest one, which is what left the panel full of empty space. */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 22px;
  align-items: start;
}
.mega-col { min-width: 0; }
.mega-tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute); margin: 14px 0 8px 10px;
}
.mega-col > .mega-tag:first-child { margin-top: 0; }
.mega-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.mega-link:hover { background: rgba(46,230,168,.08); color: var(--ink); }
.mega-ico { color: var(--mint); display: grid; place-items: center; flex: 0 0 auto; }
.mega-footer {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 8px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--mint);
}
.mega-footer:hover svg { transform: translateX(4px); }
.mega-footer svg { transition: transform .2s var(--ease); }

.btn-nav { margin-left: 12px; padding: 11px 22px; font-size: .92rem; }
.nav-burger { display: none; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(139,123,255,.22), transparent 62%),
    radial-gradient(640px 420px at 16% 72%, rgba(46,230,168,.16), transparent 60%),
    radial-gradient(520px 380px at 55% 95%, rgba(76,195,255,.12), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46,230,168,.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,230,168,.5); }
  70% { box-shadow: 0 0 0 9px rgba(46,230,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,230,168,0); }
}
.hero-title { font-size: clamp(2.05rem, 7.4vw, 4.3rem); font-weight: 700; margin-bottom: 24px; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.14rem); color: var(--ink-mute); max-width: 560px; margin-bottom: clamp(28px, 4vw, 38px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(36px, 6vw, 52px); }

.hero-stats { display: flex; gap: clamp(24px, 5vw, 44px); flex-wrap: wrap; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 4.6vw, 2rem); color: var(--ink); line-height: 1;
}
.stat-num .accent { color: var(--mint); }
.stat-label { font-size: .84rem; color: var(--ink-mute); margin-top: 6px; }

/* Hero terminal card */
.hero-visual { position: relative; }
.terminal {
  background: rgba(10, 12, 24, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.02);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-dot:nth-child(1) { background: #ff5f57; }
.t-dot:nth-child(2) { background: #febc2e; }
.t-dot:nth-child(3) { background: #28c840; }
.terminal-bar span {
  margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-mute);
}
.terminal-body { padding: clamp(16px, 3vw, 22px) clamp(14px, 3vw, 24px); font-family: var(--font-mono); font-size: clamp(.66rem, 2.1vw, .84rem); line-height: 2.05; }
.t-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prompt { color: var(--mint); }
.t-cmd { color: var(--ink); }
.t-out { color: var(--ink-mute); }
.t-ok { color: var(--mint); }
.t-key { color: var(--violet); }
.t-str { color: var(--sky); }
.t-cursor {
  display: inline-block; width: 9px; height: 17px;
  background: var(--mint); vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.chip-float {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink);
  background: rgba(16, 19, 38, .92);
  border: 1px solid var(--line);
  padding: 11px 18px; border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-float svg { color: var(--mint); }
.chip-1 { top: -22px; left: -30px; animation-delay: 0s; }
.chip-2 { bottom: 34px; left: -44px; animation-delay: 1.4s; }
.chip-2 svg { color: var(--violet); }
.chip-3 { bottom: -20px; right: -14px; animation-delay: 2.6s; }
.chip-3 svg { color: var(--sky); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee-band { padding: 26px 0; border-block: 1px solid var(--line-soft); overflow: hidden; background: rgba(255,255,255,.015); }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; align-items: center; gap: 54px; padding-right: 54px; }
.marquee-item {
  font-family: var(--font-mono); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); white-space: nowrap; display: inline-flex; align-items: center; gap: 54px;
}
.marquee-item::after { content: "✦"; color: var(--mint); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(var(--bg-raise), var(--bg-raise)) padding-box,
              linear-gradient(150deg, rgba(148,163,216,.22), rgba(148,163,216,.05) 45%, rgba(148,163,216,.14)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-panel);
  opacity: 0; transition: opacity .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.45), var(--shadow-glow-violet); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ico {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 15px;
  color: var(--mint);
  background: rgba(46,230,168,.09);
  border: 1px solid rgba(46,230,168,.22);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.svc-card:hover .svc-ico { transform: scale(1.08) rotate(-4deg); background: var(--grad-brand); color: #061109; border-color: transparent; }
.svc-num { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute); }
.svc-name { font-size: 1.22rem; }
.svc-name a::after { content: ""; position: absolute; inset: 0; }
.svc-desc { font-size: .93rem; color: var(--ink-mute); flex: 1; }
.svc-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--mint);
}
.svc-more svg { transition: transform .25s var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* ============================================================
   WHY / FEATURE STRIP
   ============================================================ */
.why-section { background: var(--bg-raise); border-block: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: rgba(255,255,255,.015);
  transition: border-color .3s, transform .3s var(--ease);
}
.why-card:hover { border-color: rgba(46,230,168,.4); transform: translateY(-4px); }
.why-ico { color: var(--mint); margin-bottom: 18px; }
.why-title { font-size: 1.08rem; margin-bottom: 10px; }
.why-text { font-size: .9rem; color: var(--ink-mute); }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 22px 0 0; }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: .8rem; color: var(--mint);
  display: block; margin-bottom: 16px;
}
.process-step::after {
  content: "";
  position: absolute; top: 7px; left: 0; right: 14px; height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: .35;
}
.process-title { font-size: 1.05rem; margin-bottom: 10px; }
.process-text { font-size: .88rem; color: var(--ink-mute); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(46,230,168,.35); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-q svg { flex: 0 0 auto; color: var(--mint); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: .95rem; color: var(--ink-mute); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: clamp(64px, 10vw, 110px) 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(600px 300px at 50% 110%, rgba(46,230,168,.14), transparent 65%),
    radial-gradient(500px 300px at 15% -10%, rgba(139,123,255,.12), transparent 60%),
    var(--bg-raise);
}
.cta-title { font-size: clamp(1.7rem, 6vw, 3.3rem); margin-bottom: 18px; }
.cta-sub { color: var(--ink-mute); font-size: clamp(.97rem, 2.5vw, 1.08rem); margin-bottom: clamp(28px, 4vw, 40px); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-soft); background: #05060c; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr) 1.1fr;
  gap: 26px;
  padding: 72px 24px 56px;
}
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
.footer-tag { font-size: .92rem; color: var(--ink-mute); margin: 20px 0 24px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line-soft); color: var(--ink-soft);
  transition: color .25s, border-color .25s, transform .25s var(--ease);
}
.footer-social a:hover { color: var(--mint); border-color: var(--mint); transform: translateY(-3px); }
.footer-head {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { font-size: .9rem; color: var(--ink-mute); transition: color .2s; }
.footer-col ul a:hover { color: var(--mint); }
.f-office { font-size: .88rem; color: var(--ink-mute); margin-bottom: 18px; }
.f-office strong { color: var(--ink); font-family: var(--font-display); }
.f-office a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); margin-top: 4px; transition: color .2s; }
.f-office a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--ink-mute); }

/* ---------- Floating action stack ---------- */
.float-stack {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.float-btn {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  transition: transform .3s var(--ease);
}
/* continuous expanding pulse ring */
.float-btn::before,
.float-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  animation: floatPulse 2.1s cubic-bezier(.25,.6,.35,1) infinite;
}
.float-btn::after { animation-delay: 1.05s; }
.float-btn:hover { transform: scale(1.1); }
.float-call { background: var(--grad-brand); color: #041109; box-shadow: 0 12px 30px rgba(46,230,168,.4); }
.float-call::before, .float-call::after { background: var(--mint); }
.float-wa { background: #22c55e; color: #04120a; box-shadow: 0 12px 34px rgba(34,197,94,.42); }
.float-wa::before, .float-wa::after { background: #22c55e; }
@keyframes floatPulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.8); opacity: 0; }
}
.float-top {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(16, 19, 38, .92); color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.85);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, border-color .25s, color .25s;
}
.float-top.show { opacity: 1; visibility: visible; transform: none; }
.float-top:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); 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; }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg, .page-hero .hero-grid-lines { position: absolute; inset: 0; z-index: -1; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute);
  margin-bottom: 26px;
}
.breadcrumbs a { color: var(--ink-soft); transition: color .2s; }
.breadcrumbs a:hover { color: var(--mint); }
.breadcrumbs .sep { color: var(--mint); }
.page-hero-title { font-size: clamp(1.85rem, 6.4vw, 3.6rem); font-weight: 700; max-width: 860px; margin-bottom: 22px; }
.page-hero-sub { font-size: clamp(1rem, 2.6vw, 1.12rem); color: var(--ink-mute); max-width: 660px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vw, 36px); }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.svc-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(46,230,168,.3);
  background: rgba(46,230,168,.07);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 26px;
}
.svc-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.svc-intro-grid p { margin-bottom: 18px; font-size: 1.02rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--bg-raise);
  transition: border-color .3s, transform .3s var(--ease);
}
.feature-card:hover { border-color: rgba(139,123,255,.45); transform: translateY(-4px); }
.feature-check { color: var(--mint); margin-bottom: 14px; }
.feature-title { font-size: 1.04rem; margin-bottom: 10px; }
.feature-text { font-size: .9rem; color: var(--ink-mute); }

.stack-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stack-chip {
  font-family: var(--font-mono); font-size: .84rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  padding: 9px 18px; border-radius: 999px;
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.stack-chip:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }

/* — Service hero note — */
.svc-hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-size: .88rem; color: var(--ink-mute);
}
.svc-hero-note svg { color: var(--mint); flex: 0 0 auto; }
.svc-para { margin-bottom: 18px; font-size: 1.02rem; }

/* — Pain points — */
.pain-list {
  border: 1px solid rgba(255,107,107,.22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,107,107,.06), transparent 60%), var(--bg-panel);
  padding: 28px 26px;
}
.pain-heading {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); margin-bottom: 18px;
}
.pain-item { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.pain-item:first-of-type { border-top: 0; padding-top: 0; }
.pain-x {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  background: rgba(255,107,107,.12); color: #ff8f8f;
  border: 1px solid rgba(255,107,107,.28);
}
.pain-item strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: .97rem; margin-bottom: 3px; }
.pain-item span { font-size: .9rem; color: var(--ink-mute); }

/* — Cost of inaction band — */
.cost-band {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 34px; padding: 24px 26px;
  border: 1px solid rgba(255,197,85,.3); border-left-width: 3px; border-left-color: var(--amber);
  border-radius: var(--radius-sm);
  background: rgba(255,197,85,.05);
}
.cost-ico { color: var(--amber); flex: 0 0 auto; margin-top: 2px; }
.cost-label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 7px;
}
.cost-text { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* — Inline CTA link — */
.inline-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--mint);
  border-bottom: 1px solid rgba(46,230,168,.35); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.inline-cta:hover { color: var(--sky); border-color: var(--sky); }
.inline-cta svg { transition: transform .25s var(--ease); }
.inline-cta:hover svg { transform: translateX(4px); }

/* — Outcomes / ROI — */
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(46,230,168,.07), transparent 55%), var(--bg-raise);
  padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s;
}
.outcome-card:hover { transform: translateY(-4px); border-color: rgba(46,230,168,.4); }
.outcome-stat {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 2.3rem); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outcome-label {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink); margin: 12px 0 8px;
}
.outcome-text { font-size: .9rem; color: var(--ink-mute); }

/* — Who it's for — */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-raise); padding: 26px 24px;
  transition: border-color .3s, transform .3s var(--ease);
}
.who-card:hover { border-color: rgba(46,230,168,.4); transform: translateY(-4px); }
.who-ico {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(46,230,168,.1); color: var(--mint);
  border: 1px solid rgba(46,230,168,.28);
}
.who-title { font-size: 1.02rem; margin-bottom: 7px; }
.who-text { font-size: .9rem; color: var(--ink-mute); }

/* — Scenarios: challenge → approach → result — */
.scenario-list { display: grid; gap: 20px; }
.scenario {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: stretch;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-raise); padding: 28px 26px;
  transition: border-color .3s;
}
.scenario:hover { border-color: rgba(139,123,255,.4); }
.scenario-step { display: flex; flex-direction: column; gap: 10px; }
.scenario-step p { font-size: .92rem; color: var(--ink-mute); margin: 0; }
.scenario-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.scenario-tag--problem { color: #ff9d9d; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.28); }
.scenario-tag--approach { color: var(--sky); background: rgba(76,195,255,.1); border: 1px solid rgba(76,195,255,.28); }
.scenario-tag--result { color: var(--mint); background: rgba(46,230,168,.1); border: 1px solid rgba(46,230,168,.3); }
.scenario-arrow { display: grid; place-items: center; color: var(--ink-mute); opacity: .55; }

.other-pill--all { border-color: rgba(46,230,168,.4); color: var(--mint); }
.other-services { display: flex; flex-wrap: wrap; gap: 12px; }
.other-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  color: var(--ink-soft);
  border: 1px solid var(--line-soft);
  padding: 11px 20px; border-radius: 999px;
  transition: border-color .25s, color .25s, background .25s;
}
.other-pill:hover { border-color: var(--mint); color: var(--mint); background: rgba(46,230,168,.06); }
.other-pill svg { color: var(--mint); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 36px 34px;
}
.about-panel h3 { font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.about-panel h3 svg { color: var(--mint); }
.about-panel p { font-size: .97rem; color: var(--ink-mute); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.founder-card {
  display: flex; gap: 30px; align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(139,123,255,.08), transparent 55%), var(--bg-raise);
  padding: 40px;
  max-width: 760px; margin: 0 auto;
}
.founder-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(46,230,168,.4); flex: 0 0 auto; }
.founder-name { font-size: 1.3rem; margin-bottom: 4px; }
.founder-role { font-family: var(--font-mono); font-size: .8rem; color: var(--mint); margin-bottom: 14px; }
.founder-bio { font-size: .94rem; color: var(--ink-mute); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-cards--3up { grid-template-columns: repeat(3, 1fr); }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 26px;
  transition: border-color .3s;
}
.contact-card:hover { border-color: rgba(46,230,168,.35); }
.contact-card-ico {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 13px;
  color: var(--mint); background: rgba(46,230,168,.09);
  border: 1px solid rgba(46,230,168,.22);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { font-size: .9rem; color: var(--ink-mute); }
.contact-card a { color: var(--ink-soft); transition: color .2s; }
.contact-card a:hover { color: var(--mint); }

.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(46,230,168,.05), transparent 40%), var(--bg-raise);
  padding: 40px;
}
.form-title { font-size: 1.5rem; margin-bottom: 8px; }
.form-sub { font-size: .92rem; color: var(--ink-mute); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--ink);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--mint); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 13px 16px;
  font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.form-field select { 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='%237e86ab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-field select option { background: var(--bg-panel); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(46,230,168,.14);
}
.form-field.err input, .form-field.err textarea { border-color: #ff6b6b; }
.form-notice { border-radius: var(--radius-sm); padding: 15px 18px; font-size: .92rem; margin-bottom: 22px; font-weight: 600; }
.form-notice.ok { background: rgba(46,230,168,.1); border: 1px solid rgba(46,230,168,.4); color: var(--mint); }
.form-notice.error { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); color: #ff8f8f; }
.hp-field { position: absolute; left: -5000px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   BLOG — listing
   ============================================================ */
.blog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft);
}
.blog-count { font-family: var(--font-mono); font-size: .84rem; color: var(--ink-mute); }
.blog-count strong { color: var(--mint); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-cat-chip {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--ink-soft); border: 1px solid var(--line-soft);
  padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.02);
}
.blog-cat-n { color: var(--mint); margin-left: 4px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  position: relative; display: flex; flex-direction: column; gap: 13px;
  background: var(--bg-raise);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(46,230,168,.38); box-shadow: 0 22px 50px rgba(0,0,0,.4); }
.blog-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; color: var(--ink-mute);
}
.blog-card-cat { color: var(--mint); }
.blog-card-dot { opacity: .5; }
.blog-card-title { font-size: 1.16rem; line-height: 1.32; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card-sum { font-size: .91rem; color: var(--ink-mute); flex: 1; }
.blog-card-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--mint);
}
.blog-card:hover .blog-card-more svg { transform: translateX(5px); }
.blog-card-more svg { transition: transform .25s var(--ease); }
.blog-back { margin-top: 40px; text-align: center; }
.flip-x { transform: scaleX(-1); }

/* ============================================================
   BLOG — article
   ============================================================ */
.article-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 46px; overflow: hidden; }
.article-hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.article-hero-inner { max-width: 820px; }
.article-cat {
  display: inline-block;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint); border: 1px solid rgba(46,230,168,.3); background: rgba(46,230,168,.07);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.article-title { font-size: clamp(1.75rem, 5.4vw, 3rem); font-weight: 700; margin-bottom: 20px; }
.article-lede { font-size: clamp(1rem, 2.6vw, 1.14rem); color: var(--ink-soft); margin-bottom: 22px; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute);
  padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.article-wrap { max-width: 820px; padding-bottom: clamp(48px, 8vw, 80px); }

.article-body { font-size: 1.03rem; line-height: 1.82; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 {
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  margin-top: 48px; padding-top: 4px;
}
.article-body h3 { font-size: clamp(1.1rem, 3vw, 1.28rem); margin-top: 34px; }
.article-body p { color: var(--ink-soft); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a:not(.btn) { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:not(.btn):hover { color: var(--sky); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 10px; color: var(--ink-soft); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body ul li::marker, .article-body ol li::marker { color: var(--mint); }

/* — Article component: TL;DR summary box — */
.tldr {
  border: 1px solid rgba(46,230,168,.28); border-left-width: 3px; border-left-color: var(--mint);
  background: rgba(46,230,168,.05); border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.tldr-label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 10px;
}
.tldr p, .tldr li { font-size: .96rem; }
.tldr ul { margin-top: 10px; }

/* — Article component: callout / warning — */
.callout {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-raise); padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { color: var(--amber); flex: 0 0 auto; margin-top: 2px; }
.callout.is-tip svg { color: var(--mint); }
.callout p { font-size: .95rem; margin: 0; }
.callout strong { display: block; margin-bottom: 4px; }

/* — Article component: data / price table — */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.data-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .93rem; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.data-table thead th {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint); background: rgba(46,230,168,.06); border-bottom-color: rgba(46,230,168,.25);
}
.data-table tbody tr:hover { background: rgba(255,255,255,.02); }
.data-table td:first-child { color: var(--ink); font-weight: 600; }
.data-table .price { font-family: var(--font-mono); color: var(--mint); white-space: nowrap; }

/* — Article component: numbered steps — */
.steps { counter-reset: s; display: grid; gap: 16px; padding-left: 0 !important; }
.steps li { list-style: none !important; position: relative; padding-left: 52px; margin: 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  background: rgba(46,230,168,.1); color: var(--mint); border: 1px solid rgba(46,230,168,.3);
}
.steps li strong { display: block; margin-bottom: 3px; }

/* — Article component: pros & cons — */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proscons-col { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 22px; background: var(--bg-raise); }
.proscons-col h4 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.proscons-col.pro h4 { color: var(--mint); }
.proscons-col.con h4 { color: #ff8f8f; }
.proscons-col ul { padding-left: 20px; margin: 0; }
.proscons-col li { font-size: .92rem; }

/* — Article component: stat band — */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-box {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--bg-raise); padding: 22px; text-align: center;
}
.stat-box .n { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--mint); line-height: 1; }
.stat-box .l { font-size: .84rem; color: var(--ink-mute); margin-top: 8px; }

/* — Article component: checklist — */
.checklist { padding-left: 0 !important; display: grid; gap: 12px; }
.checklist li { list-style: none !important; position: relative; padding-left: 32px; margin: 0; font-size: .96rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 5px;
  background: rgba(46,230,168,.12); border: 1px solid rgba(46,230,168,.4);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: .72em;
  width: 6px; height: 10px; border: solid var(--mint); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -3px);
}

/* — Article component: myth vs reality — */
.myth { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.myth-q { padding: 16px 20px; background: rgba(255,107,107,.07); border-bottom: 1px solid var(--line-soft); }
.myth-q strong { color: #ff9d9d; }
.myth-a { padding: 16px 20px; background: rgba(46,230,168,.05); }
.myth-a strong { color: var(--mint); }
.myth p { font-size: .95rem; margin: 0; }

/* — Article component: quote / pull-out — */
.pullquote {
  border-left: 3px solid var(--violet); padding: 6px 0 6px 22px;
  font-family: var(--font-display); font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  color: var(--ink); line-height: 1.5;
}

/* — Article component: code block — */
.code-block {
  background: #06070d; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.code-block code {
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.75;
  color: var(--ink-soft); white-space: pre; display: block;
}
.article-body :not(pre) > code {
  font-family: var(--font-mono); font-size: .86em;
  background: rgba(139,123,255,.12); color: var(--violet);
  padding: 2px 6px; border-radius: 5px;
}

/* — Article CTA — */
.article-cta {
  margin-top: 56px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(46,230,168,.08), rgba(139,123,255,.06) 60%, transparent), var(--bg-raise);
  padding: clamp(26px, 4vw, 38px);
}
.article-cta h3 { font-size: 1.3rem; margin-bottom: 10px; }
.article-cta p { font-size: .96rem; color: var(--ink-mute); margin-bottom: 22px; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .97rem; color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; }
.legal-body ul li { list-style: disc; }
.legal-body a { color: var(--mint); }
.legal-updated { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-mute); margin-bottom: 36px; }

/* ============================================================
   POLISH & MOTION
   3D tilt, spotlight glow, aurora, micro-interactions.
   All effects are additive: they layer on CSS custom properties
   that default to zero, so layout is untouched if JS never runs.
   ============================================================ */

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
  width: 100%; transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(46, 230, 168, .6);
  pointer-events: none;
  transition: opacity .3s;
}

/* ---------- Film grain for depth ---------- */
.page-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Animated aurora blobs (hero) ---------- */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  will-change: transform;
}
.aurora-1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(139,123,255,.55), transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora-2 {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  bottom: -14%; left: -6%;
  background: radial-gradient(circle, rgba(46,230,168,.42), transparent 70%);
  animation: drift2 26s ease-in-out infinite;
}
.aurora-3 {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  top: 42%; left: 44%;
  background: radial-gradient(circle, rgba(76,195,255,.34), transparent 70%);
  animation: drift3 30s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-6%, 8%, 0) scale(1.12); }
}
@keyframes drift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(9%, -7%, 0) scale(1.15); }
}
@keyframes drift3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%     { transform: translate3d(7%, 6%, 0) scale(.9); }
  66%     { transform: translate3d(-5%, -5%, 0) scale(1.1); }
}

/* ---------- 3D tilt ----------
   The transform itself is written inline by JS (see main.js): depending on a
   stylesheet rule to re-read a JS-set custom property is not reliable across
   engines, whereas an inline transform always is. CSS here only supplies the
   3D context and the timing. With JS off, the normal :hover lift still works. */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.tilt.is-tilting { transition: transform .09s linear, box-shadow .4s var(--ease); }

/* ---------- Cursor spotlight on cards ---------- */
.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0;
  transition: opacity .35s;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(46, 230, 168, .13),
    rgba(139, 123, 255, .08) 40%,
    transparent 65%
  );
}
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- Gradient border sweep on hover ---------- */
.glow-edge { position: relative; }
.glow-edge::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), transparent 0%, var(--mint) 12%, var(--violet) 24%, transparent 36%);
  opacity: 0; transition: opacity .4s;
  animation: spinEdge 4s linear infinite paused;
}
.glow-edge:hover::before { opacity: .55; animation-play-state: running; }
@keyframes spinEdge { to { --angle: 360deg; } }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* ---------- Button shine sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(46,230,168,.18), transparent); }

/* ---------- Animated gradient on accent text ---------- */
.hero-title em, .cta-title em {
  background: linear-gradient(100deg, var(--mint), var(--sky) 30%, var(--violet) 55%, var(--mint) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Service icon 3D flip ---------- */
.svc-ico { transform-style: preserve-3d; }
.svc-card:hover .svc-ico {
  transform: rotateY(180deg) scale(1.06);
  transition: transform .55s var(--ease), background .35s, color .35s;
}
.svc-card:hover .svc-ico svg { transform: rotateY(180deg); }
.svc-ico svg { transition: transform .55s var(--ease); }

/* ---------- Elevated hover shadows ---------- */
.svc-card.tilt:hover, .feature-card.tilt:hover, .outcome-card.tilt:hover,
.who-card.tilt:hover, .blog-card.tilt:hover, .why-card.tilt:hover {
  box-shadow:
    0 26px 60px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(46, 230, 168, .16),
    0 0 46px rgba(139, 123, 255, .16);
}

/* ---------- Richer reveal (blur + lift) — desktop only, blur is costly ---------- */
@media (min-width: 861px) {
  .reveal { filter: blur(5px); transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease); }
  .reveal.in { filter: blur(0); }
}

/* ---------- Floating terminal parallax ---------- */
.hero-visual { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* ---------- Section heading underline draw ---------- */
.eyebrow { position: relative; display: inline-block; padding-bottom: 6px; }
.eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--grad-brand);
  transition: width .8s var(--ease) .2s;
}
.reveal.in .eyebrow::after, .section-head.reveal.in .eyebrow::after { width: 100%; }

/* ---------- Stat / outcome number pop ---------- */
.outcome-card:hover .outcome-stat { transform: scale(1.06); }
.outcome-stat { display: inline-block; transition: transform .35s var(--ease); }

/* ---------- Nicer focus ring (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Pain / scenario subtle entrance stagger ---------- */
.pain-item { transition: transform .3s var(--ease), background .3s; border-radius: 8px; }
.pain-item:hover { transform: translateX(4px); background: rgba(255,255,255,.02); }
.scenario-step { transition: transform .3s var(--ease); }
.scenario:hover .scenario-step { transform: translateY(-2px); }

/* ---------- Mobile & reduced-motion: keep it calm and fast ---------- */
@media (hover: none), (max-width: 860px) {
  .spot::after { display: none; }
  .glow-edge::before { display: none; }
  .aurora-blob { filter: blur(52px); opacity: .4; animation-duration: 34s; }
  .hero-visual { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
  .hero-title em, .cta-title em { animation: none; }
  .reveal { filter: none; }
  .scroll-progress { display: none; }
  .btn::after { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .feature-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .outcome-grid, .who-grid { grid-template-columns: repeat(2, 1fr); }
  /* scenario becomes a vertical flow with arrows rotated */
  .scenario { grid-template-columns: 1fr; gap: 14px; }
  .scenario-arrow { justify-self: start; transform: rotate(90deg); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero { min-height: 0; }
  .hero-visual { max-width: 560px; }
  .chip-1 { left: auto; right: 10px; }
  .chip-2 { left: -10px; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .svc-intro-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; }

  /* mobile nav drawer */
  .nav-burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); color: var(--ink);
    z-index: 130;
  }
  .burger-close { display: none; }
  body.nav-open .burger-open { display: none; }
  body.nav-open .burger-close { display: block; }
  body.nav-open { overflow: hidden; }

  .main-nav {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    background: rgba(7, 8, 15, .98);
    backdrop-filter: blur(18px);
    padding: calc(var(--header-h) + 24px) 24px 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.12rem; padding: 15px 12px; border-radius: 12px; }
  .mega {
    position: static; transform: none; width: 100%;
    background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
    padding: 0 0 6px 12px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
    /* Reset the desktop cap — on mobile the panel sits inside the nav drawer,
       which already scrolls. A second scroll container here would trap the touch. */
    max-height: none; overflow-y: visible;
  }
  .nav-item-dropdown.open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .mega-tag { margin-top: 16px; }
  .btn-nav { margin: 22px 0 0; justify-content: center; padding: 15px; font-size: 1rem; }
}

/* ---- Tablet (portrait iPad ≈768px, landscape phones) ---- */
@media (max-width: 780px) {
  .contact-cards--3up { grid-template-columns: repeat(2, 1fr); }
  .pain-list { padding: 24px 20px; }
  .cost-band { padding: 20px 18px; gap: 14px; }
  .outcome-card { padding: 26px 22px; }
  .who-card { padding: 22px 20px; }
  .scenario { padding: 24px 20px; }
  .about-panel { padding: 28px 24px; }
  .founder-card { padding: 32px 26px; gap: 22px; }
  .contact-form-panel { padding: 32px 26px; }
  .svc-intro-grid { gap: 30px; }
  .feature-card { padding: 24px 22px; }
  .svc-card { padding: 26px 24px; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .services-grid, .feature-grid, .why-grid, .process-list,
  .values-grid, .contact-cards--3up, .blog-grid,
  .proscons, .stat-band, .outcome-grid, .who-grid { grid-template-columns: 1fr; }
  .cost-band { flex-direction: column; gap: 12px; }
  .scenario-step p { font-size: .9rem; }
  .blog-card { padding: 24px 20px; }
  .blog-toolbar { flex-direction: column; align-items: flex-start; }
  .article-body { font-size: .99rem; }
  .tldr, .callout { padding: 18px 16px; }
  .steps li { padding-left: 44px; }
  .steps li::before { width: 30px; height: 30px; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 52px 18px 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  /* Mobile only: drop the CIN onto its own line so "CIN:" never gets
     stranded at the end of a line away from its number. Desktop keeps
     the single inline "… Pvt Ltd · CIN: …" form. */
  .footer-bottom-inner .f-dot { display: none; }
  .footer-bottom-inner .f-cin { display: block; margin-top: 4px; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-actions .btn,
  .cta-actions .btn,
  .page-hero-actions .btn { width: 100%; justify-content: center; }
  .terminal { transform: none; }
  .chip-float { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-panel { padding: 26px 20px; }
  .float-stack { right: 14px; bottom: 14px; gap: 12px; }
  .float-btn { width: 52px; height: 52px; }
  .float-top { width: 44px; height: 44px; }
  .process-step { padding-right: 0; }
  .process-step::after { display: none; }
  .btn { padding: 13px 22px; }
  .btn-lg { padding: 15px 26px; font-size: 1rem; }
  .stack-chip { font-size: .78rem; padding: 8px 14px; }
  .other-pill { font-size: .84rem; padding: 10px 16px; }
  .faq-q { padding: 16px 18px; font-size: .96rem; }
  .faq-a-inner { padding: 0 18px 18px; font-size: .92rem; }
  .about-panel h3 { font-size: 1.2rem; }
  .founder-photo { width: 104px; height: 104px; }
}

/* ---- Small phones (iPhone SE / 360px Android) ---- */
@media (max-width: 400px) {
  body { font-size: 15px; }
  .brand-word { font-size: 1.15rem; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .svc-card, .feature-card, .why-card { padding: 22px 18px; }
  .about-panel, .founder-card { padding: 24px 18px; }
  .contact-form-panel { padding: 22px 16px; }
  .contact-card { padding: 20px 16px; gap: 14px; }
  .terminal-bar { padding: 11px 14px; }
  .hero-badge { font-size: .72rem; padding: 7px 13px; }
  .eyebrow { font-size: .72rem; }
  .float-btn { width: 48px; height: 48px; }
  .float-top { width: 42px; height: 42px; }
  .legal-body h2 { font-size: 1.25rem; }
}

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