/* ============================================================
   النور اون لاين — Marketing site
   ============================================================ */

:root {
  /* El Noor brand palette — anchored to logo (royal blue + cyan) */
  --primary: #1976D2;
  --primary-600: #1565C0;
  --primary-700: #0D47A1;
  --primary-100: #DBEAFE;
  --primary-50: #EFF6FF;
  --cyan: #29B6F6;
  --cyan-light: #4FC3F7;
  --cyan-glow: #81D4FA;
  --ink-900: #0A2855;        /* deep electric brand blue (replaces navy) */
  --ink-850: #103670;
  --ink-800: #144787;
  --ink-700: #2C5BA0;
  --ink-500: #5C7BB0;
  --ink-400: #8FA5CE;
  --ink-300: #B7C5E0;
  --ink-200: #DDE5F2;
  --ink-100: #EEF2FA;
  --ink-50: #F7F9FD;
  --paper: #FFFFFF;
  --soft: #F4F8FE;
  --line: rgba(10, 40, 85, 0.08);
  --line-2: rgba(10, 40, 85, 0.14);
  --accent: #29B6F6;          /* brand cyan (replaces teal) */
  --accent-2: #4FC3F7;
  --warn: #FFB547;
  --pink: #FF5A8A;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 85, .04), 0 1px 1px rgba(10, 40, 85, .03);
  --shadow: 0 8px 30px rgba(10, 40, 85, .07);
  --shadow-lg: 0 30px 60px rgba(10, 40, 85, .12);
  --maxw: 1240px;
}

  /* SSR content must never disappear while custom elements are upgraded. */
  page-hero:not([data-ready]), split-hero:not([data-ready]) { opacity: 1; visibility: visible; }

  /* Match the final hero geometry before the web components upgrade. This
     prevents the content from briefly appearing as unstyled stacked HTML. */
  page-hero:not([data-ready]) {
    display: block;
    padding: 64px max(24px, calc((100% - var(--maxw)) / 2)) 56px;
    text-align: center;
    background: linear-gradient(135deg, var(--soft) 0%, rgba(41,182,246,.05) 100%);
  }
  page-hero:not([data-ready]) > h1 {
    max-width: 880px;
    margin: 0 auto 18px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
  }
  page-hero:not([data-ready]) > .lead {
    max-width: 760px;
    margin: 0 auto;
    color: var(--ink-600);
    font-size: 18px;
    line-height: 1.75;
  }
  split-hero:not([data-ready]) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: 48px;
    align-items: center;
    padding: 64px max(24px, calc((100% - var(--maxw)) / 2)) 80px;
    background: linear-gradient(135deg, var(--soft) 0%, rgba(41,182,246,.05) 100%);
  }
  split-hero:not([data-ready]) > :not([slot="visual"]) { grid-column: 1; }
  split-hero:not([data-ready]) > [slot="title"] { margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
  split-hero:not([data-ready]) > [slot="lead"] { margin: 0 0 32px; max-width: 540px; color: var(--ink-600); font-size: 18px; line-height: 1.7; }
  split-hero:not([data-ready]) > [slot="visual"] { grid-column: 2; grid-row: 1 / span 8; width: 100%; }
  @media (max-width: 1024px) {
    split-hero:not([data-ready]) { grid-template-columns: 1fr; row-gap: 40px; }
    split-hero:not([data-ready]) > [slot="visual"] { grid-column: 1; grid-row: auto; }
  }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
html, body { margin: 0; padding: 0; overflow-x: hidden; }

/* Inertia navigation only: a discreet top bar keeps slow visits legible
   without covering the page or making the interface feel paused. */
#inertia-navigation-veil {
  position: fixed;
  z-index: 10060;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right center;
  opacity: 0;
  background: linear-gradient(90deg, #22c7b8, #1885dc, #22c7b8);
  box-shadow: 0 1px 8px rgba(24, 133, 220, .35);
  transition: transform 260ms ease-out, opacity 160ms ease-out;
}
#inertia-navigation-veil.is-visible {
  opacity: 1;
  transform: scaleX(.72);
}
@media (prefers-reduced-motion: reduce) {
  #inertia-navigation-veil { transition-duration: 1ms; }
}
body {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" on, "cv01" on;
  background: var(--paper);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 16px;
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; display: block; image-rendering: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--maxw)); margin: 0 auto; }

/* =======================================
   SITE LOADER
   ======================================= */
.site-loader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
  pointer-events: none; display: flex; align-items: center; justify-content: center;
}
.loader-door {
  position: absolute; left: 0; width: 100%; height: calc(50% + 1px);
  background: #020815; transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1;
}
.door-top { top: 0; }
.door-bottom { bottom: 0; }
.site-loader.loaded .door-top { transform: translateY(-100%); }
.site-loader.loaded .door-bottom { transform: translateY(100%); }

.words-container {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; height: 150px;
}
.loader-word {
  position: absolute; font-size: clamp(32px, 5vw, 64px); font-weight: 700; text-align: center; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15); opacity: 0; transform: translateY(40px) scale(0.9);
  filter: blur(10px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.loader-word span {
  color: var(--cyan); -webkit-text-stroke: 0px transparent; text-shadow: 0 0 40px rgba(41, 182, 246, 0.8);
}
.loader-word.active {
  opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); color: #fff;
  -webkit-text-stroke: 0px transparent; text-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
}
.loader-word.done {
  opacity: 0; transform: translateY(-40px) scale(1.1); filter: blur(10px); color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
}

.shockwave {
  position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; background: transparent;
  border: 2px solid var(--cyan); border-radius: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; z-index: 3;
}
.shockwave.explode { animation: shockwave-anim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes shockwave-anim {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; border-width: 30px; }
  100% { transform: translate(-50%, -50%) scale(150); opacity: 0; border-width: 0px; }
}

.final-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; z-index: 4;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 220px;
}
.final-logo.show {
  transform: translate(-50%, -50%) scale(1); opacity: 1; filter: drop-shadow(0 0 50px rgba(41, 182, 246, 0.8));
}
.final-logo.hide {
  transform: translate(-50%, -50%) scale(1.6); opacity: 0; transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-progress {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: rgba(255,255,255,0.05); z-index: 5; transition: opacity 0.4s ease;
}
.loader-progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--primary)); box-shadow: 0 0 25px var(--cyan); transition: width 0.2s linear;
}
.loader-progress.hide { opacity: 0; }

/* ---------- NAV ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; flex-shrink: 0; color: var(--primary); }
.nav-logo .logo-img { height: 58px; width: auto; display: block; transition: height .25s ease; }
.nav-logo .logo-img.compact { height: 48px; }
/* Legacy logo mark (kept for footer fallback) */
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  display: grid; place-items: center; color: white; font-weight: 800;
  box-shadow: 0 6px 18px rgba(25,118,210,.35);
  position: relative; overflow: hidden;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-700);
  font-weight: 500; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--ink-50); color: var(--ink-900); }
.nav-links .nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-links .dropdown-toggle::after { display: none !important; }
.nav-links .nav-dropdown > a.dropdown-toggle { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-700); font-weight: 500; transition: background .15s, color .15s; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-links .nav-dropdown:hover > a.dropdown-toggle { background: var(--ink-50); color: var(--ink-900); }
.nav-links .dropdown-menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 230px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(10,40,85,0.1); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s ease; z-index: 100; display: flex; flex-direction: column; }
.nav-links .nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .dropdown-menu a { padding: 10px 16px; color: var(--ink-700); font-size: 14.5px; font-weight: 500; transition: background 0.2s, color 0.2s; border-radius: 0; width: 100%; text-align: right; display: block; }
.nav-links .dropdown-menu a:hover { background: var(--ink-50); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 500; color: var(--ink-700); background: white;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink-900); color: white;
  box-shadow: 0 4px 12px rgba(6, 18, 46, .18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6, 18, 46, .25); }
.btn-outline-primary {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: white; transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink-700); background: white; border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-700); }
.btn-blue { background: var(--primary); color: white; box-shadow: 0 8px 20px rgba(30,91,255,.28); }
.btn-blue:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-icon { width: 18px; height: 18px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 40px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(25,118,210,.10), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, rgba(41,182,246,.10), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-700); font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(24,224,200,.25);
  animation: pulse 1.8s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(24,224,200,.25); }
  50% { box-shadow: 0 0 0 7px rgba(24,224,200,.10); }
}
.hero h1 {
  font-size: clamp(38px, 4.4vw, 60px); font-weight: 700;
  line-height: 1.12; letter-spacing: -.02em; margin: 20px 0 18px;
  color: var(--ink-900);
}
.hero h1 .accent {
  background: linear-gradient(110deg, var(--primary) 0%, #2196F3 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Two-line balanced heading */
.hero h1 { text-wrap: balance; }
.hero h1 .line { display: block; }
.hero p.lead {
  font-size: 18px; color: var(--ink-500); max-width: 540px; margin: 0 0 28px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; color: var(--ink-500); font-size: 13.5px;
}
.hero-avatars { display: flex; }
.hero-avatars > div {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid white;
  margin-left: -8px; background-size: cover; background-position: center;
  display: grid; place-items: center; color: white; font-weight: 700; font-size: 12px;
}

/* HERO PREVIEW (variation A: code+preview) */
.hero-preview {
  position: relative; border-radius: 22px;
  background: white; padding: 14px;
  box-shadow: 0 30px 80px rgba(11, 26, 61, .14), 0 1px 0 rgba(255,255,255,.6) inset;
  border: 1px solid var(--line);
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
}
.hero-preview-tabs {
  display: flex; align-items: center; gap: 6px; padding: 0 6px 12px;
}
.hero-preview-tabs .tab {
  font-size: 12px; padding: 6px 10px; border-radius: 8px; color: var(--ink-500);
  font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
}
.hero-preview-tabs .tab.active { color: var(--ink-900); background: var(--ink-50); }
.hero-preview-tabs .traffic { display: flex; gap: 5px; margin-left: auto; }
.hero-preview-tabs .traffic span {
  width: 11px; height: 11px; border-radius: 50%; background: var(--ink-200);
}
.hero-preview-tabs .traffic span:nth-child(1) { background: #FF5F57; }
.hero-preview-tabs .traffic span:nth-child(2) { background: #FEBC2E; }
.hero-preview-tabs .traffic span:nth-child(3) { background: #28C840; }
.split {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px;
  background: var(--ink-50); border-radius: 16px; padding: 12px;
  flex: 1; min-height: 0;
}

/* END OF FILE */

/* ===== Portfolio Additions (Filters & Section) ===== */
.portfolio-section { padding: 4rem 0 6rem; background: #fff; }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-600);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  background: var(--soft);
  border-radius: 24px;
  border: 1px dashed var(--line-2);
}

.empty-state i {
  font-size: 3rem;
  color: var(--ink-400);
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.15rem;
  color: var(--ink-600);
  font-weight: 500;
  margin: 0;
}

.empty-state.hidden {
  display: none;
}

/* Code pane */
.code-pane {
  background: #0B1426; border-radius: 12px; padding: 18px 18px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13.5px; line-height: 1.75; color: #C9D1E2;
  direction: ltr; text-align: left;
  overflow: hidden; position: relative;
}
.code-line { display: flex; gap: 14px; white-space: pre; }
.code-line .ln { color: #4A5374; min-width: 18px; user-select: none; }
.tk-key { color: #FF7AC8; }
.tk-tag { color: #6CC0FF; }
.tk-str { color: #B9F2A0; }
.tk-com { color: #5A6685; font-style: italic; }
.tk-fn { color: #FFD580; }
.tk-num { color: #FFB07A; }
.tk-attr { color: #BFA1FF; }
.cursor {
  display: inline-block; width: 7px; height: 14px; background: var(--accent);
  vertical-align: middle; margin-bottom: 2px;
  animation: blink 1s infinite step-end;
}
@keyframes blink { 50% { opacity: 0; } }

/* Preview pane */
.preview-pane {
  background: white; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.04);
  position: relative;
}
.preview-bar {
  height: 28px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px; background: #F4F6FB; border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--ink-400); direction: ltr;
}
.preview-bar .url {
  flex: 1; background: white; border-radius: 6px; padding: 3px 8px;
  font-family: ui-monospace, monospace; color: var(--ink-500);
}
.preview-content {
  flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  position: relative; min-height: 0;
}

/* Phone-stage: properly proportional phone mock */
.preview-content.phone-stage {
  background: linear-gradient(135deg, #EFF6FF 0%, #F4F8FE 100%);
  padding: 16px 8px 8px;
  align-items: center; justify-content: flex-end;
}
.phone-frame {
  width: 70%; max-width: 230px;
  aspect-ratio: 9/19;
  background: #0A2855;
  border-radius: 30px;
  padding: 7px;
  box-shadow:
    0 22px 48px rgba(10,40,85,.25),
    0 0 0 1px rgba(10,40,85,.06),
    inset 0 0 0 2px rgba(255,255,255,.08);
  position: relative;
}
.phone-frame::before {
  content: ""; position: absolute; top: 50%; right: -3px; width: 3px; height: 56px;
  background: #0A2855; border-radius: 2px 0 0 2px; transform: translateY(-50%);
}
.phone-frame::after {
  content: ""; position: absolute; top: 25%; left: -3px; width: 3px; height: 28px;
  background: #0A2855; border-radius: 0 2px 2px 0; transform: translateY(-50%);
  box-shadow: 0 44px 0 #0A2855;
}
.phone-screen {
  height: 100%; background: white;
  border-radius: 24px; overflow: hidden;
  padding: 14px 12px 12px;
  direction: rtl;
  display: flex; flex-direction: column; gap: 9px;
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9.5px; font-weight: 700; color: #0A2855;
  padding: 0 2px;
}
.phone-status .notch {
  width: 50px; height: 14px; background: #0A2855;
  border-radius: 99px;
}
.phone-header {
  background: linear-gradient(135deg, #1976D2 0%, #29B6F6 100%);
  border-radius: 10px; padding: 8px 10px;
  display: flex; flex-direction: column; justify-content: center;
  transition: height .45s cubic-bezier(.16,1,.3,1);
  color: white;
}
.ph-title { font-size: 10.5px; font-weight: 700; }
.ph-sub { font-size: 8.5px; opacity: .85; }
.phone-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  animation: fadeIn .45s;
}
.phone-tile {
  border-radius: 9px;
  aspect-ratio: 1;
  padding: 8px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.phone-tile.filled {
  background: linear-gradient(135deg, #29B6F6, #1976D2);
  color: white;
}
.phone-tile.outline {
  background: #F4F8FE;
  color: #0A2855;
  border: 1px solid #E0E8F5;
}
.pt-icon { font-size: 14px; line-height: 1; }
.pt-label { font-size: 8.5px; font-weight: 700; }
.phone-cta {
  margin-top: auto;
  background: #0A2855; color: white;
  border-radius: 10px; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
  animation: fadeIn .45s;
}
.phone-cta-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: #29B6F6; color: white;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.pc-title { font-size: 9.5px; font-weight: 700; }
.pc-sub { font-size: 8px; opacity: .65; }
.skeleton {
  background: linear-gradient(90deg, var(--ink-100), var(--ink-50), var(--ink-100));
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Floating UI cards */
.float-card {
  position: absolute; background: white; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  animation: float 5s ease-in-out infinite;
}
.float-card.fc-1 { top: 8%; left: 8px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 12%; right: 8px; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- SECTION HEADERS ---------- */
.section { padding: 48px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.section-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--primary);
}
.section h2 {
  font-size: clamp(30px, 3.2vw, 44px); font-weight: 700;
  line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px;
}
.section .section-sub { font-size: 17px; color: var(--ink-500); max-width: 620px; line-height: 1.65; margin: 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px;
  flex-wrap: wrap;
}

/* ---------- SERVICES ---------- */
.services-section {
  background: linear-gradient(165deg, #1565C0 0%, #1976D2 50%, #1E88E5 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
}
.services-section::after {
  content: ""; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,182,246,.18), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.services-section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.services-section h2 { color: white; }
.services-section .section-sub { color: rgba(255,255,255,.65); }
.services-section .section-eyebrow { color: var(--accent); }
.services-section .section-eyebrow::before { background: var(--accent); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden;
}
.service-card {
  background: rgba(255,255,255,.04); padding: 32px 28px; position: relative;
  transition: background .25s; cursor: pointer;
}
.service-card:hover { background: rgba(255,255,255,.10); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(41,182,246,.18), rgba(25,118,210,.18));
  color: var(--cyan-light);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s, color .3s, box-shadow .3s;
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: white;
  box-shadow: 0 10px 24px rgba(41,182,246,.4);
}
.service-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.service-card p { font-size: 14px; color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }
.service-arrow {
  position: absolute; top: 28px; left: 28px;
  opacity: 0; transition: opacity .2s, transform .2s; color: var(--accent);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(-4px); }

/* ---------- PROJECTS ---------- */
.projects-section { background: var(--soft); padding: 48px 0 72px; }
.proj-tabs { display: inline-flex; background: white; border-radius: 999px; padding: 4px; border: 1px solid var(--line); gap: 4px; }
.proj-tab {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px;
}
.proj-tab.active { background: var(--ink-900); color: white; }
.proj-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.proj-card {
  background: white; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj-thumb {
  aspect-ratio: 16/10;
  position: relative; overflow: hidden; border-radius: 16px;
  display: block; width: 100%; padding: 0; margin: 0; background: var(--soft);
}
.proj-thumb .device-frame,
.proj-thumb .portfolio-mock {
  width: 100% !important; height: 100% !important; aspect-ratio: 16/10; border-radius: 16px; background: white;
  box-shadow: none !important; border: none !important; padding: 0 !important;
  transform: none !important; margin: 0 !important; overflow: hidden; position: relative;
}
.proj-thumb .device-frame img,
.proj-thumb .portfolio-mock img,
.portfolio-mock-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.proj-body { padding: 24px 28px 28px; }
.proj-meta {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  color: var(--ink-500); margin-bottom: 8px;
}
.proj-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.proj-flag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink-50); padding: 3px 10px; border-radius: 999px;
  font-weight: 500;
}
.proj-meta-label,
.proj-meta > span:not(.proj-flag):not(.dot) {
  display: inline-flex; align-items: center; min-height: 22px;
  padding: 4px 8px; border: 1px solid transparent; border-radius: 7px;
  background: #f8fafc; color: var(--ink-700); font-size: 11px; font-weight: 700;
  line-height: 1; white-space: nowrap;
}
.proj-meta-year {
  color: #1769aa !important; background: #edf6ff !important;
  border-color: #cfe5fb !important;
  border-radius: 7px !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
}
.proj-meta-category {
  color: #9a5b00 !important; background: #fff8e8 !important;
  border-color: #f3d59a !important; border-radius: 7px !important;
}
.pw-proj-meta-label,
.pw-proj-meta > span:not(.pw-proj-flag):not(.sep) {
  display: inline-flex; align-items: center; min-height: 22px;
  padding: 4px 8px; border: 1px solid transparent; border-radius: 7px;
  background: #f8fafc; color: var(--ink-700); font-size: 11px;
  font-weight: 700; line-height: 1; white-space: nowrap;
}
.pw-proj-meta-year {
  color: #1769aa !important; background: #edf6ff !important;
  border-color: #cfe5fb !important; border-radius: 7px !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
}
.pw-proj-meta-category {
  color: #9a5b00 !important; background: #fff8e8 !important;
  border-color: #f3d59a !important; border-radius: 7px !important;
}
.pw-proj-meta > .sep { display: none !important; }
.proj-meta > .dot {
  display: none;
}
.proj-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.proj-card p { color: var(--ink-500); font-size: 14px; margin: 0 0 18px; }
.proj-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; background: var(--primary-50);
  transition: background .15s, gap .15s;
}
.proj-card:hover .proj-cta { background: var(--primary-100); gap: 10px; }

/* projects list display */
.proj-list { display: flex; flex-direction: column; gap: 12px; }
.proj-row {
  display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 24px; align-items: center;
  padding: 22px 28px; background: white; border-radius: 18px; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.proj-row:hover { border-color: var(--primary); transform: translateX(-6px); box-shadow: var(--shadow); }
.proj-row .pnum { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--ink-300); font-size: 22px; font-weight: 600; }
.proj-row h3 { margin: 0; font-size: 20px; font-weight: 700; }
.proj-row .meta-row { color: var(--ink-500); font-size: 13px; margin-top: 4px; }
.proj-row .pyear { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--ink-700); font-weight: 600; font-size: 14px; }

/* projects carousel */
.proj-carousel { display: flex; gap: 24px; overflow-x: auto; padding: 4px 0 20px; scroll-snap-type: x mandatory; }
.proj-carousel .proj-card { 
  min-width: calc(33.33333% - 16px);
  width: calc(33.33333% - 16px);
  max-width: 420px;
  flex: 0 0 calc(33.33333% - 16px);
  scroll-snap-align: start; 
}
.proj-carousel::-webkit-scrollbar { height: 8px; }
.proj-carousel::-webkit-scrollbar-track { background: var(--ink-100); border-radius: 4px; }
.proj-carousel::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 4px; }

/* ---------- CLIENTS ---------- */
.clients-section { padding: 48px 0; background: white; }
.clients-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  margin-top: 48px;
}
.client-logo {
  background: white; aspect-ratio: 2.2 / 1; display: grid; place-items: center;
  padding: 20px; transition: background .2s;
  position: relative;
}
.client-logo:hover { background: var(--ink-50); }
.client-logo svg, .client-logo .pseudo-logo {
  filter: grayscale(1); opacity: .55; transition: filter .2s, opacity .2s;
}
.client-logo:hover svg, .client-logo:hover .pseudo-logo { filter: none; opacity: 1; }
.pseudo-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-700); font-size: 13px; text-align: center; line-height: 1.3; }
.pseudo-logo-mark { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }

/* ---------- TECH STACK ---------- */
.tech-section { background: var(--soft); padding: 100px 0; }
.tech-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px;
}
.tech-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .2s, border-color .2s;
}
.tech-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.tech-card .ticon { width: 40px; height: 40px; display: grid; place-items: center; }
.tech-card .tname { font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.tech-card .tcat { font-size: 11px; color: var(--ink-400); }

/* ---------- ARTICLES ---------- */
.articles-section { background: white; padding: 32px 0; }
.articles-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.article-card {
  display: flex; flex-direction: column; gap: 0;
  border-radius: 20px; overflow: hidden;
  background: white; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.article-thumb.featured { aspect-ratio: 16/10; }
.article-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card.featured .article-body { padding: 18px 22px 20px; }
.article-tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 600;
  align-self: flex-start;
}
.article-card h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.4; }
.article-card.featured h3 { font-size: 22px; line-height: 1.3; }
.article-card p { color: var(--ink-500); font-size: 14px; margin: 0; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-400); margin-top: auto; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: linear-gradient(180deg, var(--soft) 0%, white 100%);
  padding: 32px 0;
}
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test-card {
  min-height: 290px; overflow: hidden; isolation: isolate;
  background: linear-gradient(145deg, #ffffff 0%, #f9fcff 100%); border-radius: 26px; padding: 30px 30px 26px;
  border: 1px solid #e3edf8; display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 16px 38px rgba(16, 67, 113, .08); transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.test-card:before { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #1f82de, #56c7f5); content: ""; opacity: .9; }
.test-card:after { position: absolute; width: 160px; height: 160px; bottom: -104px; left: -76px; z-index: -1; border-radius: 50%; background: #e6f4ff; content: ""; }
.test-card:hover { transform: translateY(-7px); box-shadow: 0 23px 48px rgba(16, 67, 113, .14); }
.test-card .quote-mark {
  position: absolute; bottom: 17px; left: 25px; z-index: 0;
  font-size: 112px; color: #cfe8ff; font-family: Georgia, serif;
  line-height: .68; font-weight: 700; pointer-events: none;
}
.test-card .quote { font-size: 16px; line-height: 1.9; color: #124b89; margin: 0; position: relative; font-weight: 500; }
.test-card .person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-left: 62px; position: relative; z-index: 1; }
.test-card .avatar {
  width: 48px; height: 48px; border: 3px solid white; border-radius: 50%;
  box-shadow: 0 8px 17px rgba(25, 118, 210, .19); display: grid; place-items: center; color: white; font-weight: 700; font-size: 16px;
}
.test-card .name { color: #0b376c; font-weight: 800; font-size: 15px; }
.test-card .role { font-size: 12px; color: #6281a6; margin-top: 2px; }

/* ---------- STATS + PROCESS ---------- */
.stats-section {
  background: var(--ink-900); color: white;
  padding: 40px 0; position: relative; overflow: hidden;
}
.stats-section::before, .stats-section::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
}
.stats-section::before { width: 500px; height: 500px; background: rgba(41,182,246,.28); top: -100px; right: -100px; }
.stats-section::after { width: 500px; height: 500px; background: rgba(79,195,247,.22); bottom: -100px; left: -100px; }
.stats-section h2 { color: white; }
.stats-section .section-sub { color: rgba(255,255,255,.65); }
.stats-section .section-eyebrow { color: var(--accent); }
.stats-section .section-eyebrow::before { background: var(--accent); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden;
  position: relative; z-index: 1;
}
.stat-cell {
  padding: 36px 28px; border-left: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.stat-cell:last-child { border-left: 0; }
.stat-num {
  font-size: clamp(38px, 4vw, 56px); font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 14.5px; color: rgba(255,255,255,.7); }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 64px; position: relative; z-index: 1;
}
.process-step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 28px; position: relative;
}
.process-step .pnum {
  font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--accent);
  margin-bottom: 16px; font-weight: 600;
}
.process-step h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.process-step p { font-size: 14px; color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }

/* ---------- CALCULATOR ---------- */
.calc-section { background: white; padding: 48px 0; }
.calc-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--soft); border-radius: 28px; padding: 48px;
  border: 1px solid var(--line);
}
.calc-left h2 { margin-top: 0; }
.calc-form { display: flex; flex-direction: column; gap: 22px; }
.calc-field label { font-size: 14px; font-weight: 600; color: var(--ink-700); margin-bottom: 10px; display: block; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-row button {
  padding: 10px 16px; border-radius: 999px; background: white;
  border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500;
  color: var(--ink-700); transition: all .15s;
}
.opt-row button:hover { border-color: var(--primary); }
.opt-row button.active { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.calc-slider input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 6px;
  background: var(--ink-100); border-radius: 999px; accent-color: var(--primary);
}
.calc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%; border: 3px solid white;
  box-shadow: 0 2px 8px rgba(30,91,255,.4);
}
.calc-result {
  background: white; border-radius: 20px; padding: 32px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.calc-result .estimate {
  font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em;
  color: var(--ink-900); line-height: 1;
}
.calc-result .estimate small { font-size: 16px; color: var(--ink-500); font-weight: 500; }
.calc-result .duration { color: var(--ink-500); font-size: 14px; }
.calc-breakdown { display: flex; flex-direction: column; gap: 8px; }
.calc-breakdown .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-500); }
.calc-breakdown .row .val { color: var(--ink-900); font-weight: 600; }

/* ---------- CERTS ---------- */
.certs-section { background: var(--soft); padding: 48px 0; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.cert-card {
  background: white; border-radius: 18px; padding: 24px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  color: var(--primary); background: var(--primary-50);
}
.cert-card h4 { font-size: 16px; margin: 0; font-weight: 600; }
.cert-card p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* ---------- FAQ ---------- */
.faq-section { background: white; padding: 60px 0; }
.faq-wrap { max-width: 800px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 600; color: var(--ink-900); padding: 0;
  text-align: right; gap: 16px;
}
.faq-q .plus {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: transform .25s, background .15s, color .15s; flex-shrink: 0;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg); background: var(--ink-900); color: white; border-color: var(--ink-900);
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s, padding .25s;
  font-size: 15px; color: var(--ink-500); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 14px; }

/* ——— FAQ — One question per row (all services, mild & clear) ——— */
.faq-wrap,
.faq-box,
.faq-grid {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.faq-wrap .faq-item,
.faq-grid .faq-item,
.faq-box details {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.faq-wrap .faq-item summary,
.faq-box details summary,
.faq-grid .faq-item summary {
  text-align: right !important;
  gap: 12px !important;
  line-height: 1.45 !important;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #4A82FF 60%, var(--accent) 130%);
  color: white; padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12), transparent 35%);
}
.cta-band h2 { color: white; font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 16px; }
.cta-band p { font-size: 18px; opacity: .9; margin: 0 0 32px; }
.cta-band .btn { font-size: 16px; padding: 14px 28px; }
.cta-band .btn-primary { background: white; color: var(--primary); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding: 48px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(140px, .85fr)) minmax(190px, 1fr); gap: 34px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: white; font-size: 20px; margin-bottom: 16px; }
.footer-logo {
  display: inline-flex !important;
  align-self: flex-start;
}
.footer-logo .logo-img { height: 64px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 0 0 20px; max-width: 320px; }
.footer h5 { color: white; font-size: 14px; font-weight: 600; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer ul a:hover { color: white; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.8); transition: background .15s, color .15s, transform .15s;
}
.socials a:hover { background: var(--primary); color: white; transform: translateY(-2px); border-color: var(--primary); }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-love-heart { display: inline-block; color: #ff6b87; font-size: 1.15em; line-height: 1; margin: 0 .22em; animation: footer-heartbeat 1.2s ease-in-out infinite; transform-origin: center; }
@keyframes footer-heartbeat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.28); } 34% { transform: scale(.96); } 52% { transform: scale(1.18); } 68% { transform: scale(1); } }

/* WhatsApp floating */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid, .stats-grid, .process-grid, .test-grid, .articles-grid, .certs-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-wrap, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services-grid, .stats-grid, .process-grid, .test-grid, .articles-grid, .certs-grid, .tech-grid, .clients-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* Smooth fade-in for sections */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   v2 ADDITIONS — new variants, interactive sections, polish
   ============================================================ */

/* Scroll-reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .32s; }

/* Magnetic button hover */
.btn-magnetic { transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; will-change: transform; }

/* Tilt on cards */
.tilt { transition: transform .4s cubic-bezier(.16,1,.3,1); transform-style: preserve-3d; }

/* ---------- HERO 4: Constellation ---------- */
.hero-constellation {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(ellipse at top, #1B2A6B 0%, #0E1846 70%);
  height: 520px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(14, 24, 70, .25);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-constellation .star-field {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 15% 60%, rgba(25,227,211,.5), transparent),
    radial-gradient(2px 2px at 75% 35%, rgba(167,139,250,.5), transparent);
  animation: starDrift 20s linear infinite;
}
@keyframes starDrift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-10px, 5px); }
}
.hero-constellation .planet {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  box-shadow: 0 0 60px currentColor;
}
.hero-constellation .planet-1 { width: 16px; height: 16px; background: #19E3D3; color: rgba(25,227,211,.45); top: 25%; right: 18%; animation: floatY 6s ease-in-out infinite; }
.hero-constellation .planet-2 { width: 10px; height: 10px; background: #A78BFA; color: rgba(167,139,250,.45); top: 65%; right: 38%; animation: floatY 4.5s ease-in-out infinite reverse; }
.hero-constellation .planet-3 { width: 14px; height: 14px; background: #FFB547; color: rgba(255,181,71,.45); top: 35%; right: 65%; animation: floatY 5.5s ease-in-out infinite; }
@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{transform: translateY(-12px);} }

.constellation-cards { position: absolute; inset: 0; pointer-events: none; }
.cnst-card {
  position: absolute; padding: 10px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 14px; color: white; font-size: 12.5px;
  display: flex; align-items: center; gap: 10px; pointer-events: auto;
  transition: transform .4s cubic-bezier(.16,1,.3,1), background .25s, border-color .25s;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.cnst-card:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: scale(1.06); }
.cnst-card .dot {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color: white; font-weight: 700;
}
.cnst-card .lbl { line-height: 1.3; }
.cnst-card .lbl b { display: block; font-weight: 600; font-size: 13px; }
.cnst-card .lbl span { font-size: 11px; color: rgba(255,255,255,.6); }
.cnst-c1 { top: 12%; right: 8%; --p1:#19E3D3; --p2:#1E5BFF; animation: floatCard 8s ease-in-out infinite; }
.cnst-c2 { top: 30%; left: 8%; --p1:#A78BFA; --p2:#FF5A8A; animation: floatCard 7s ease-in-out infinite reverse; }
.cnst-c3 { top: 55%; right: 14%; --p1:#FFB547; --p2:#FF5A8A; animation: floatCard 9s ease-in-out infinite; }
.cnst-c4 { bottom: 12%; left: 14%; --p1:#1E5BFF; --p2:#19E3D3; animation: floatCard 8.5s ease-in-out infinite reverse; }
.cnst-c5 { top: 45%; left: 38%; --p1:#19E3D3; --p2:#A78BFA; animation: floatCard 7.5s ease-in-out infinite; }
@keyframes floatCard {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

.cnst-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(14,24,70,.5);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; width: 130px; height: 130px;
  display: grid; place-items: center; text-align: center;
  backdrop-filter: blur(20px); color: white;
  box-shadow: 0 0 60px rgba(25,227,211,.3), inset 0 0 30px rgba(167,139,250,.15);
  z-index: 2;
}
.cnst-center .ring {
  position: absolute; inset: -8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  animation: rotateRing 20s linear infinite;
}
.cnst-center .ring::before {
  content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px;
  background: #19E3D3; border-radius: 50%; box-shadow: 0 0 12px #19E3D3;
}
.cnst-center .ring2 { inset: -20px; animation-duration: 30s; animation-direction: reverse; }
.cnst-center .ring2::before { background: #A78BFA; box-shadow: 0 0 12px #A78BFA; }
@keyframes rotateRing { to { transform: rotate(360deg); } }

.cnst-svg-lines {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .25;
}

.hero-constellation .live-pill {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: white; font-size: 11.5px; font-weight: 500;
}

/* ---------- BENTO PROJECT DISPLAY ---------- */
.proj-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento-card {
  position: relative; overflow: hidden;
  background: white; border-radius: 22px;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento-card .bento-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1, var(--primary)) 0%, var(--c2, var(--primary-600)) 100%);
  opacity: .92;
}
.bento-card .bento-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.15) 0%, transparent 50%);
}
.bento-card .bento-content {
  position: absolute; inset: 0;
  padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: white;
}
.bento-card .bento-content.dark { color: var(--ink-900); }
.bento-card h3 { 
  font-size: 22px; font-weight: 700; margin: 0; line-height: 1.2; margin-top: auto; 
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.35); padding: 8px 18px; border-radius: 12px; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background .3s, transform .3s;
}
.bento-card:hover h3 { background: rgba(0, 0, 0, 0.6); transform: translateY(-2px); }
.bento-card .bento-meta { 
  font-size: 12.5px; opacity: 1; display: inline-flex; align-items: center; gap: 8px; 
  background: rgba(0, 0, 0, 0.25); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1);
}
.bento-card .bento-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: white; opacity: .7; }
.bento-card .bento-arrow {
  position: absolute; top: 20px; left: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: transform .25s, background .25s;
}
.bento-card:hover .bento-arrow { transform: translateX(-4px); background: rgba(255,255,255,.3); }
.bento-card .mini-mock {
  position: absolute; bottom: -10%; right: -10%;
  width: 60%; aspect-ratio: 9/16;
  border-radius: 18px; background: rgba(255,255,255,.95);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transform: rotate(-8deg);
  padding: 10px; overflow: hidden;
}
.bento-card .mini-mock .mock-bar {
  height: 4px; background: var(--ink-900); border-radius: 2px; margin-bottom: 5px;
}
.bento-card.b-1 { grid-column: span 2; grid-row: span 2; }
.bento-card.b-2 { grid-column: span 2; grid-row: span 1; }
.bento-card.b-3 { grid-column: span 1; grid-row: span 1; }
.bento-card.b-4 { grid-column: span 1; grid-row: span 1; }
.bento-card.b-5 { grid-column: span 2; grid-row: span 1; }
.bento-card.b-6 { grid-column: span 2; grid-row: span 1; }

/* ---------- INTERACTIVE PROCESS STEPPER ---------- */
.process-v2 {
  margin-top: 64px; position: relative; z-index: 1;
}
.process-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; padding: 6px;
  position: relative; margin-bottom: 32px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.process-tab {
  padding: 12px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6);
  cursor: pointer; position: relative; z-index: 1;
  transition: color .3s;
  display: flex; align-items: center; gap: 8px; justify-content: center;
  text-align: center;
}
.process-tab.active { color: white; }
.process-tab .tnum {
  width: 24px; height: 24px; border-radius: 50%; font-size: 11px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  font-family: "JetBrains Mono", monospace; font-weight: 700; flex-shrink: 0;
}
.process-tab.active .tnum { background: var(--accent); color: var(--ink-900); }
.process-thumb {
  position: absolute; top: 6px; bottom: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 999px; transition: right .35s cubic-bezier(.16,1,.3,1), width .35s cubic-bezier(.16,1,.3,1);
  z-index: 0;
}

.process-stage {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; padding: 48px; min-height: 320px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.process-stage::before {
  content: ""; position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .15; pointer-events: none;
}
.process-stage .step-num {
  font-family: "JetBrains Mono", monospace; font-size: 14px;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.process-stage h3 { color: white; font-size: 32px; margin: 0 0 16px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.process-stage p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.process-stage .step-list { display: flex; flex-direction: column; gap: 10px; }
.process-stage .step-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.85); font-size: 14px; list-style: none;
}
.process-stage .step-list li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; display: grid; place-items: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230E1846' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

.process-visual {
  aspect-ratio: 4/3; border-radius: 16px;
  background: linear-gradient(135deg, rgba(25,227,211,.1) 0%, rgba(167,139,250,.1) 100%);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.process-visual svg { width: 70%; height: 70%; }

/* ---------- INTAKE FORM ---------- */
.intake-section { background: white; padding: 48px 0; }
.intake-wrap {
  background: linear-gradient(135deg, #062046 0%, #0E3B7A 50%, #1565C0 100%);
  border-radius: 32px; padding: 64px 56px;
  color: white;
  position: relative; overflow: hidden;
}
.intake-wrap::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,182,246,.4) 0%, transparent 60%);
  filter: blur(40px);
}
.intake-wrap::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,.32) 0%, transparent 60%);
  filter: blur(40px);
}
.intake-grid {
  display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; position: relative; z-index: 1;
}
.intake-left h2 { color: white; font-size: clamp(28px, 3vw, 38px); margin: 0 0 16px; }
.intake-left p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; }
.intake-left .perks { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.intake-left .perk { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: 14.5px; }
.intake-left .perk .ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(25,227,211,.15); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}

.intake-form { display: flex; flex-direction: column; gap: 22px; }
.intake-field label {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8);
  margin-bottom: 10px; display: block;
}
.intake-field label .req { color: var(--accent); margin-right: 4px; }
.intake-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.intake-chip {
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9); font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.intake-chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.intake-chip.active {
  background: var(--accent); color: var(--ink-900); border-color: var(--accent); font-weight: 600;
}
.intake-chip .x { font-size: 14px; line-height: 1; }
.intake-input,
.intake-textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: white; font-family: inherit; font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.intake-input::placeholder, .intake-textarea::placeholder { color: rgba(255,255,255,.4); }
.intake-input:focus, .intake-textarea:focus { outline: 0; border-color: var(--accent); background: rgba(255,255,255,.08); }
.intake-textarea { min-height: 100px; resize: vertical; }
.intake-select { width: 100% !important; height: 52px !important; padding: 0 16px 0 44px !important; font-size: 15px !important; font-family: inherit !important; font-weight: 500 !important; border-radius: 14px !important; background-color: white !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230284C7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: left 16px center !important; background-size: 18px !important; border: 1px solid #CBD5E1 !important; color: #0F172A !important; transition: all 0.3s ease !important; cursor: pointer !important; outline: none !important; appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important; display: block !important; }
.select-wrap { position: relative !important; width: 100% !important; display: block !important; }
.select-wrap::after { display: none !important; }
.intake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.intake-submit {
  margin-top: 8px; padding: 16px 28px; border-radius: 999px;
  background: var(--accent); color: var(--ink-900);
  font-size: 15.5px; font-weight: 700; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: 0;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(25,227,211,.3);
}
.intake-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(25,227,211,.4); }
.intake-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px 32px; gap: 16px;
}
.intake-success .check-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: var(--ink-900);
  display: grid; place-items: center;
  animation: popIn .5s cubic-bezier(.16,1,.5,1.3);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.intake-success h3 { font-size: 24px; margin: 0; color: white; }
.intake-success p { color: rgba(255,255,255,.7); margin: 0; }

/* ---------- MID-CTA: TAKEOVER PROJECT ---------- */
.takeover-section { background: white; padding: 48px 0; }
.takeover-card {
  background: linear-gradient(135deg, #0A2855 0%, #1565C0 55%, #29B6F6 130%);
  border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(25,118,210,.3);
}
.takeover-card::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(129,212,250,.25), transparent 40%);
  pointer-events: none;
}
.takeover-card::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 80%; height: 200%;
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 50%);
}
.takeover-card .takeover-content { position: relative; z-index: 1; color: white; }
.takeover-card .takeover-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; margin-bottom: 16px;
}
.takeover-card h2 { font-size: clamp(28px, 3.2vw, 40px); color: white; margin: 0 0 14px; line-height: 1.2; }
.takeover-card p { font-size: 16px; color: #B3E5FC; font-weight: 500; margin: 0 0 28px; line-height: 1.7; max-width: 540px; }
.takeover-card .takeover-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.takeover-card .takeover-ctas .btn { background: white; color: var(--ink-900); }
.takeover-card .takeover-ctas .btn:hover { background: rgba(255,255,255,.92); }
.takeover-card .takeover-ctas .btn-outline {
  background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: white;
}
.takeover-card .takeover-ctas .btn-outline:hover { background: rgba(255,255,255,.1); }

.takeover-visual {
  position: relative; aspect-ratio: 1/1; max-width: 340px; margin-left: auto;
  display: grid; place-items: center;
}
.takeover-visual .tv-circle {
  position: absolute; inset: 0;
  border-radius: 50%; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  animation: spinSlow 30s linear infinite;
}
.takeover-visual .tv-circle::before {
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: white; border-radius: 50%;
  box-shadow: 0 0 12px white;
}
.takeover-visual .tv-c2 {
  inset: 20px; animation-duration: 20s; animation-direction: reverse;
}
.takeover-visual .tv-c2::before { background: var(--ink-900); box-shadow: 0 0 8px rgba(0,0,0,.4); }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.takeover-visual .tv-icon {
  width: 88px; height: 88px; border-radius: 24px;
  background: white; color: var(--ink-900);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  z-index: 1;
}
.takeover-visual .tv-orbit {
  position: absolute; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.95); color: var(--ink-900);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  z-index: 2;
}
.takeover-visual .tv-orbit.o1 { top: 5%; right: 15%; }
.takeover-visual .tv-orbit.o2 { top: 50%; right: -5%; }
.takeover-visual .tv-orbit.o3 { bottom: 10%; left: 10%; }

/* ---------- CLIENTS — MARQUEE ---------- */
.clients-marquee {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-marquee-track {
  display: flex; gap: 16px;
  animation: marquee 40s linear infinite;
  width: max-content;
  padding: 10px 0;
}
.clients-marquee:hover .clients-marquee-track { animation-play-state: paused; }
.clients-marquee .marquee-cell {
  flex-shrink: 0; width: 220px; height: 100px;
  display: grid; place-items: center; padding: 16px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- MISC POLISH ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 auto;
  max-width: var(--maxw);
}

/* Subtle hover lift everywhere */
.lift { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.lift:hover { transform: translateY(-4px); }

/* Dark section unified gradient */
.stats-section { background: linear-gradient(180deg, #0A2855 0%, #103670 100%); }

@media (max-width: 880px) {
  .proj-bento { grid-template-columns: repeat(2, 1fr); }
  .proj-bento .bento-card.b-1 { grid-column: span 2; }
  .proj-bento .bento-card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .process-stage { grid-template-columns: 1fr; padding: 32px; }
  .process-tabs { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .process-thumb { display: none; }
  .intake-grid { grid-template-columns: 1fr; gap: 32px; }
  .intake-wrap { padding: 40px 28px; }
  .takeover-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .takeover-visual { margin: 0 auto; max-width: 240px; }
  .intake-row { grid-template-columns: 1fr; }
}


/* ============================================================
   v3 — Hero slider, Stats v2, Journey, Site polish
   ============================================================ */

/* Page-load wash for the dark sections so glow blends */
.dark-pane {
  background: linear-gradient(165deg, #062046 0%, #0A2855 50%, #103670 100%);
  color: white;
}

/* ---------- HERO: Graphic Design Stepping ---------- */
/* Path drawing setup */
#gdBoard .gd-path-1 { stroke-dasharray: 250; stroke-dashoffset: 250; transition: stroke-dashoffset 1s ease-in-out; }
#gdBoard .gd-path-2 { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1s ease-in-out; }
#gdBoard .gd-circle { opacity: 0; transform: scale(0); transform-origin: 80px 50px; transition: all 0.5s cubic-bezier(.34,1.56,.64,1); }

/* Layers and colors setup */
#gdBoard .gd-layer, #gdBoard .gd-color { opacity: 0.3; filter: grayscale(100%); transition: all 0.4s ease; }

/* Cursor setup */
#gdBoard .gd-cursor {
  transform: translate(30px, 130px);
  transition: transform 1.2s ease-in-out, opacity 0.3s;
  opacity: 0;
}

/* STEP 1: Draw path 1 */
#gdBoard[data-step="1"] .gd-cursor { opacity: 1; transform: translate(130px, 130px); }
#gdBoard[data-step="1"] .gd-path-1 { stroke-dashoffset: 0; }

/* STEP 2: Draw path 2 */
#gdBoard[data-step="2"] .gd-cursor { opacity: 1; transform: translate(50px, 130px); }
#gdBoard[data-step="2"] .gd-path-1 { stroke-dashoffset: 0; }
#gdBoard[data-step="2"] .gd-path-2 { stroke-dashoffset: 0; }

/* STEP 3: Draw circle & UI pops */
#gdBoard[data-step="3"] .gd-cursor { opacity: 1; transform: translate(80px, 50px) scale(0.9); }
#gdBoard[data-step="3"] .gd-path-1, #gdBoard[data-step="3"] .gd-path-2 { stroke-dashoffset: 0; }
#gdBoard[data-step="3"] .gd-circle { opacity: 1; transform: scale(1); }
#gdBoard[data-step="3"] .gd-layer.l1 { opacity: 1; filter: none; background: #FFB547; }
#gdBoard[data-step="3"] .gd-color.c1, #gdBoard[data-step="3"] .gd-color.c2 { opacity: 1; filter: none; transform: scale(1.2); }

/* STEP 4: Polish / Done */
#gdBoard[data-step="4"] .gd-cursor { opacity: 0; transform: translate(160px, 160px); }
#gdBoard[data-step="4"] .gd-path-1, #gdBoard[data-step="4"] .gd-path-2 { stroke-dashoffset: 0; }
#gdBoard[data-step="4"] .gd-circle { opacity: 1; transform: scale(1); }
#gdBoard[data-step="4"] .gd-layer { opacity: 1; filter: none; }
#gdBoard[data-step="4"] .gd-layer.l1 { background: #FFB547; }
#gdBoard[data-step="4"] .gd-layer.l2 { background: var(--cyan); }
#gdBoard[data-step="4"] .gd-color { opacity: 1; filter: none; transform: scale(1); }
#gdBoard[data-step="4"] .gd-canvas-wrap { box-shadow: inset 0 0 40px rgba(244,63,94,0.15); border-color: rgba(244,63,94,0.3); }

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  height: 550px;
}
.hero-slide {
  position: absolute; inset: 0;
  height: 100%;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.hero-slider-dots {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-slider-dot {
  width: 28px; height: 4px; border-radius: 99px;
  background: var(--ink-200); border: 0; padding: 0; cursor: pointer;
  transition: background .25s, width .35s;
}
.hero-slider-dot.active { background: linear-gradient(90deg, var(--primary), var(--cyan)); width: 48px; }
.hero-slider-label {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.hero-slider-label .lb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(41,182,246,.2); }

/* Make the code editor look Flutter-themed (slight tint to cursor) */
.code-pane .tk-flutter { color: #54C5F8; }

/* ---------- PROJECTS DISPLAY TOGGLE ---------- */
.proj-display-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  background: white; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.proj-display-toggle button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-500); background: transparent;
  transition: all .2s; font-family: inherit;
}
.proj-display-toggle button:hover { color: var(--ink-900); }
.proj-display-toggle button.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: white;
  box-shadow: 0 4px 12px rgba(25,118,210,.3);
}

/* Carousel arrows */
.proj-carousel-wrap { position: relative; }
.proj-arrow {
  position: absolute; top: 40%; z-index: 4;
  width: 48px; height: 48px; border-radius: 50%;
  background: white; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-900);
  box-shadow: var(--shadow);
  cursor: pointer; transition: transform .2s, background .2s;
}
.proj-arrow:hover { background: var(--primary); color: white; border-color: var(--primary); }
.proj-arrow.prev { right: -16px; }
.proj-arrow.next { left: -16px; }
.proj-arrow:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- STATS v2 — striking tiles ---------- */
.stats-v2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; z-index: 1;
}
.stat-tile {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.stat-tile:hover { transform: translateY(-6px); border-color: rgba(41,182,246,.5); }
.stat-tile::before {
  content: ""; position: absolute; top: -50px; left: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 65%);
  opacity: .12; transition: opacity .3s, transform .35s;
}
.stat-tile:hover::before { opacity: .28; transform: scale(1.2); }
.stat-tile .st-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; position: relative; z-index: 1; }
.stat-tile .st-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(41,182,246,.3);
  color: white;
}
.stat-tile .st-trend {
  font-size: 11px; font-weight: 600; padding: 4px 8px;
  border-radius: 99px; background: rgba(41,182,246,.15);
  color: var(--cyan-light); font-family: "JetBrains Mono", monospace;
}
.stat-tile .st-num {
  font-size: clamp(40px, 4vw, 56px); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #FFF 30%, var(--cyan-glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px; letter-spacing: -.03em;
  font-feature-settings: "tnum";
  position: relative; z-index: 1;
}
.stat-tile .st-num .suf {
  font-size: .55em; font-weight: 700;
  -webkit-text-fill-color: var(--cyan-light);
  margin-right: 2px;
}
.stat-tile .st-label { color: rgba(255,255,255,.72); font-size: 14.5px; position: relative; z-index: 1; }
.stat-tile .st-bar {
  margin-top: 22px; height: 3px;
  background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden;
  position: relative; z-index: 1;
}
.stat-tile .st-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--cyan), var(--primary));
  border-radius: 99px; width: 0;
  transition: width 1.8s cubic-bezier(.16,1,.3,1) .15s;
}
.stats-v2.in .st-bar-fill { width: var(--w, 85%); }

/* ---------- PROCESS JOURNEY (v3) ---------- */
.process-journey {
  margin-top: 56px; position: relative; z-index: 1;
}
.journey-rail-wrap {
  position: relative; padding: 8px 0 32px;
}
.journey-rail-wrap::before {
  content: ""; position: absolute; top: 48px; right: 10%; left: 10%;
  height: 2px; background: rgba(255,255,255,.08);
  z-index: 0;
}
.journey-rail-wrap::after {
  content: ""; position: absolute; top: 48px; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  width: var(--progress, 0%);
  z-index: 1;
  transition: width .9s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 0 12px var(--cyan);
}
/* In RTL, the visual "left" of the rail in flow direction is right edge. Reverse via direction:ltr on track only */
.journey-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  position: relative; z-index: 2;
}
.journey-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; cursor: pointer;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  background: transparent; border: 0; padding: 0; font-family: inherit;
}
.journey-step:hover { transform: translateY(-4px); }
.journey-node {
  width: 80px; height: 80px; border-radius: 50%;
  background: #0A2855;
  border: 2px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  margin-bottom: 18px; position: relative;
  transition: all .35s cubic-bezier(.16,1,.3,1);
  color: rgba(255,255,255,.7);
}
.journey-step.is-active .journey-node, .journey-step:hover .journey-node {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  border-color: rgba(129,212,250,.55);
  color: white;
  box-shadow: 0 12px 32px rgba(41,182,246,.45), 0 0 0 6px rgba(41,182,246,.08);
  transform: scale(1.08);
}
.journey-step.is-active .journey-node::after {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid var(--cyan); opacity: .6;
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.2); opacity: 0; }
}
.journey-step .jn-stage {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--cyan-light); margin-bottom: 8px;
  letter-spacing: .12em; font-weight: 600;
}
.journey-step h4 { color: white; font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.journey-step p { color: rgba(255,255,255,.6); font-size: 13.5px; margin: 0; line-height: 1.55; max-width: 220px; }

.journey-detail {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 36px 40px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  min-height: 240px;
  position: relative; overflow: hidden;
}
.journey-detail::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  opacity: .12;
}
.journey-detail .jd-left h3 {
  color: white; font-size: 28px; font-weight: 700; margin: 0 0 12px;
  letter-spacing: -.01em;
}
.journey-detail .jd-left p {
  color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; margin: 0;
}
.journey-detail .jd-bullets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.journey-detail .jd-bullets li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85); font-size: 13.5px;
  transition: background .2s, border-color .2s, transform .2s;
}
.journey-detail .jd-bullets li:hover {
  background: rgba(41,182,246,.08);
  border-color: rgba(41,182,246,.2);
  transform: translateX(-4px);
}
.journey-detail .jd-bullets li .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  display: grid; place-items: center; flex-shrink: 0;
  color: white;
}

/* ---------- TAKEOVER VISUAL — refresh ---------- */
.takeover-tag {
  background: rgba(255,255,255,.18) !important;
}
.takeover-card .ribbon {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
  color: white; font-size: 12px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.18);
}

/* ---------- INTERACTIVE POLISH ---------- */
/* Top scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform-origin: right; transform: scaleX(0);
  z-index: 80; pointer-events: none;
  transition: transform .1s linear;
}
/* Cursor glow that follows pointer on dark sections */
.cursor-glow {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 30;
  width: 360px; height: 360px; margin: -180px 0 0 -180px;
  background: radial-gradient(circle, rgba(41,182,246,.18) 0%, transparent 60%);
  border-radius: 50%; opacity: 0;
  transition: opacity .4s;
  filter: blur(20px);
  mix-blend-mode: screen;
}
.cursor-glow.show { opacity: 1; }

/* Magnetic button */
.btn-magnetic { transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .25s; will-change: transform; }

/* Marquee tag row above hero (subtle) */
.hero-marquee {
  margin-top: 28px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hero-marquee .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-700); font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.hero-marquee .pill .icon { color: var(--primary); display: inline-flex; }

/* Floating shapes on hero behind preview */
.hero-shape {
  position: absolute; border-radius: 50%; filter: blur(0);
  pointer-events: none;
}

/* Section header decorative element */
.section-eyebrow::before { background: var(--primary); }
.services-section .section-eyebrow::before,
.stats-section .section-eyebrow::before { background: var(--cyan); }
.services-section .section-eyebrow,
.stats-section .section-eyebrow { color: var(--cyan); }

/* Project card thumbs — softer brand-aligned tints */
.proj-card { background: white; }
.proj-thumb .device-frame { box-shadow: 0 20px 50px rgba(10,40,85,.18), 0 0 0 6px rgba(10,40,85,.85); }

/* Process old styles deprecated (kept invisible to avoid breakage if referenced) */
.process-grid { display: none; }

/* Hover ripple effect for buttons */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.2) 0%, transparent 50%);
  opacity: 0; transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Animated marquee row of tech logos behind hero (subtle decoration) */
@keyframes float-up { from { transform: translateY(8px); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* Section eyebrow lines */
.section h2 { text-wrap: balance; }

/* Stats / Process responsive */
@media (max-width: 880px) {
  .stats-v2 { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .journey-rail-wrap::before, .journey-rail-wrap::after { display: none; }
  .journey-detail { grid-template-columns: 1fr; padding: 28px; }
  .journey-detail .jd-bullets { grid-template-columns: 1fr; }
  .proj-display-toggle button { padding: 8px 10px; }
  .proj-display-toggle button .label { display: none; }
}
@media (max-width: 640px) {
  .stats-v2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-tile { padding: 22px 18px; }
  .journey-track { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   HERO: Design Studio variation
   ============================================================ */
.hero-designer { padding: 14px; }
.designer-body {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 8px;
  background: var(--ink-50);
  border-radius: 16px;
  padding: 10px;
  flex: 1; min-height: 0;
}

/* Side panels */
.ds-layers, .ds-props {
  background: white; border-radius: 12px; padding: 12px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.ds-section-title {
  font-size: 10.5px; font-weight: 700; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.ds-layers-list { display: flex; flex-direction: column; gap: 4px; }
.ds-layer {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 7px; border-radius: 7px;
  font-size: 11.5px; color: var(--ink-400);
  transition: background .2s, color .25s;
}
.ds-layer.is-on { color: var(--ink-900); background: var(--ink-50); }
.ds-layer-eye { display: inline-flex; opacity: .55; }
.ds-layer.is-on .ds-layer-eye { opacity: 1; color: var(--primary); }
.ds-layer-ic {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--ink-100); display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: var(--ink-500);
  flex-shrink: 0;
}
.ds-layer.is-on .ds-layer-ic { background: var(--primary); color: white; }
.ds-layer-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }

/* Canvas */
.ds-canvas {
  background: white; border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.ds-canvas-ruler {
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; color: var(--ink-300);
  padding: 0 4px;
}
.ds-artboard {
  flex: 1;
  background:
    linear-gradient(white, white) padding-box,
    repeating-linear-gradient(45deg, var(--ink-100), var(--ink-100) 1px, transparent 1px, transparent 8px) border-box;
  background-color: #FBFDFF;
  border: 1px dashed var(--ink-200);
  border-radius: 10px;
  padding: 14px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}

.dsa-hero {
  background: linear-gradient(135deg, #1976D2 0%, #29B6F6 100%);
  border-radius: 8px; padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.dsa-hero-title { height: 8px; width: 70%; background: white; border-radius: 2px; opacity: .95; }
.dsa-hero-sub   { height: 5px; width: 45%; background: rgba(255,255,255,.65); border-radius: 2px; }
.dsa-cursor {
  position: absolute;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%231976D2' stroke='white' stroke-width='1.5'><path d='M3 3l7 17 2-7 7-2z'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none;
}
@keyframes cursorIn {
  from { transform: translate(20px, -10px); opacity: 0; }
  to { transform: translate(0,0); opacity: 1; }
}

.dsa-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.dsa-card {
  background: white; border: 1px solid var(--line);
  border-radius: 7px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.dsa-card-ic {
  width: 14px; height: 14px; border-radius: 3px;
  background: linear-gradient(135deg, #29B6F6, #1976D2);
}
.dsa-card-l1 { height: 4px; width: 70%; background: var(--ink-200); border-radius: 1px; }
.dsa-card-l2 { height: 3px; width: 45%; background: var(--ink-100); border-radius: 1px; }

.dsa-button {
  background: #0A2855; color: white;
  border-radius: 99px; padding: 8px 14px;
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  box-shadow: 0 6px 12px rgba(10,40,85,.18);
}
.dsa-btn-arrow { font-size: 12px; }

.dsa-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(8px); opacity: .55;
}
.dsa-b1 { width: 60px; height: 60px; background: #29B6F6; top: -10px; right: -10px; }
.dsa-b2 { width: 80px; height: 80px; background: #1976D2; bottom: -20px; left: -20px; opacity: .35; }

.ds-canvas-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--ink-50); border-radius: 7px;
  font-size: 11px; color: var(--ink-700); font-weight: 600;
  align-self: flex-start;
}
.dsc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #29B6F6; box-shadow: 0 0 0 3px rgba(41,182,246,.2);
  animation: pulse 1.6s infinite;
}

/* Properties */
.ds-colors { display: flex; flex-direction: column; gap: 6px; }
.ds-color {
  display: flex; align-items: center; gap: 8px;
  padding: 6px; border-radius: 7px;
  background: var(--ink-50);
  opacity: .35; transition: opacity .4s;
}
.ds-color.is-on { opacity: 1; }
.ds-color-sw {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid white; box-shadow: 0 0 0 1px rgba(10,40,85,.1);
  flex-shrink: 0;
}
.ds-color-name { font-size: 11px; font-weight: 700; color: var(--ink-900); line-height: 1.2; }
.ds-color-hex { font-family: "JetBrains Mono", monospace; font-size: 9px; color: var(--ink-400); }
.ds-prop-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 10.5px;
}
.ds-prop-key { color: var(--ink-500); }
.ds-prop-val { color: var(--ink-900); font-weight: 600; font-family: "JetBrains Mono", monospace; font-size: 10px; }

.takeover-visual {
  position: relative; aspect-ratio: 1/1; max-width: 360px; margin-left: auto;
  display: grid; place-items: center;
}
.takeover-visual .tv-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.18));
  animation: floatGentle 6s ease-in-out infinite;
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tv-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 99px;
  background: white; color: var(--ink-900);
  font-size: 12px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(10,40,85,.22);
  z-index: 2;
}
.tv-badge svg { color: var(--cyan); }
.tv-badge-1 {
  top: 8%; right: -8%;
  animation: floatGentle 5s ease-in-out infinite;
}
.tv-badge-2 {
  bottom: 12%; left: -6%;
  animation: floatGentle 6s ease-in-out infinite reverse;
}

/* ---------- PROCESS SECTION (separate from Stats) ---------- */
.process-section {
  background: linear-gradient(180deg, #103670 0%, #1565C0 100%);
  color: white;
  padding: 100px 0;
  position: relative; overflow: hidden;
  border-radius: 32px 32px 0 0;
  margin-top: -32px;
}
.process-section::before {
  content: ""; position: absolute; top: -50px; right: -50px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,.3) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.process-section::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,182,246,.22) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.process-section h2 { color: white; }
.process-section .section-sub { color: rgba(255,255,255,.7); }
.process-section .section-eyebrow { color: #B9E4FA; }
.process-section .section-eyebrow::before { background: #B9E4FA; }
.process-section .container { position: relative; z-index: 1; }

/* Stats section bottom: no margin overlap */
.stats-section { border-radius: 0; padding-bottom: 96px; }

/* ---------- INTAKE: illustration + captcha ---------- */
.intake-illus {
  margin-top: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
}
.intake-illus::before {
  content: ""; position: absolute; inset: 10% 8%;
  background: radial-gradient(circle, rgba(41,182,246,.35), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.intake-illus img {
  position: relative;
  width: 100%; max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}

.intake-captcha .captcha-row {
  display: flex; gap: 12px; align-items: center; max-width: 320px;
}
.captcha-question {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px; font-weight: 700;
  color: white; line-height: 1;
}
.captcha-question .cq-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: white;
}
.captcha-question .cq-op,
.captcha-question .cq-eq {
  color: var(--cyan); font-size: 20px;
}
.intake-input.captcha-input {
  flex: 1; max-width: 140px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px; font-weight: 700;
}
.intake-input.captcha-input.has-error {
  border-color: #FF6B6B; background: rgba(255,107,107,.08);
}
.captcha-error {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #FFA8A8;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255,107,107,.1);
}

@media (max-width: 880px) {
  .tv-badge-1 { right: 0; }
  .tv-badge-2 { left: 0; }
  .process-section { padding: 64px 0; }
  .captcha-row { flex-wrap: wrap; }
}

/* ---------- TAKEOVER VISUAL IMAGE ---------- */
.takeover-visual { overflow: visible; }
.takeover-visual .tv-glow {
  position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(41,182,246,.18) 35%, transparent 70%);
  filter: blur(28px);
  border-radius: 50%;
  pointer-events: none;
  animation: tvPulse 4s ease-in-out infinite;
}
@keyframes tvPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .85; }
}
.takeover-visual .tv-image {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
  animation: tvFloat 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes tvFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- ARTICLES — 3-UP GRID ---------- */
.articles-section { background: linear-gradient(180deg, white 0%, var(--soft) 100%); padding: 32px 0; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(10, 40, 85, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 40, 85, 0.12);
  border-color: rgba(25, 118, 210, 0.22);
}

.acard-cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink-100);
}
.acard-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.article-card:hover .acard-img { transform: scale(1.05); }

.acard-tag {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: white;
  color: var(--primary);
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(10, 40, 85, 0.12);
  z-index: 2;
}

.acard-body {
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.acard-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}
.acard-read {
  display: inline-flex; align-items: center; gap: 5px;
}
.acard-title {
  font-size: 19px; font-weight: 800;
  line-height: 1.4; margin: 0;
  color: var(--ink-900);
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acard-excerpt {
  font-size: 14px; color: var(--ink-500);
  margin: 0; line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.acard-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; margin-top: 4px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.acard-author {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.acard-author .aa-name {
  font-weight: 600; font-size: 13px; color: var(--ink-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acard-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 13px;
  transition: gap .2s;
  white-space: nowrap;
}
.article-card:hover .acard-read-more { gap: 10px; }

/* Legacy support — old classes still in DOM during transition */
.articles-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Featured card */
.article-feat {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, border-color .3s;
  position: relative;
}
.article-feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10, 40, 85, 0.12);
  border-color: rgba(25, 118, 210, 0.2);
}
.afeat-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.afeat-pill {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  color: var(--ink-900);
  font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  z-index: 2;
}
.afeat-body {
  padding: 28px 28px 26px;
  display: flex; flex-direction: column; gap: 14px; flex: 1;
}
.afeat-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}
.afeat-meta .afeat-read {
  display: inline-flex; align-items: center; gap: 5px;
}
.afeat-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary);
  font-size: 12px; font-weight: 700;
  letter-spacing: .02em;
}
.dot-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-300);
}
.article-feat h3 {
  font-size: 26px; font-weight: 800;
  line-height: 1.35; margin: 0;
  color: var(--ink-900);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.article-feat p {
  font-size: 15px; color: var(--ink-500);
  margin: 0; line-height: 1.7;
}
.afeat-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--line);
}
.afeat-author {
  display: flex; align-items: center; gap: 10px;
}
.aa-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: white; font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.aa-name { font-weight: 600; font-size: 13.5px; color: var(--ink-900); }
.aa-role { font-size: 12px; color: var(--ink-400); }
.afeat-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 13.5px;
  transition: gap .2s;
}
.article-feat:hover .afeat-read-more { gap: 10px; }

/* List rows */
.article-list {
  display: flex; flex-direction: column; gap: 20px;
}
.article-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s;
  flex: 1;
}
.article-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 40, 85, 0.1);
  border-color: rgba(25, 118, 210, 0.18);
}
.arow-cover {
  position: relative;
  overflow: hidden;
}
.arow-body {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.arow-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-500);
}
.article-row h4 {
  font-size: 16px; font-weight: 700;
  line-height: 1.4; margin: 0;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-row p {
  font-size: 13.5px; color: var(--ink-500);
  margin: 0; line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arow-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 4px;
  font-size: 12.5px; color: var(--ink-400);
}
.arow-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary);
  transition: background .2s, color .2s, transform .2s;
}
.article-row:hover .arow-arrow {
  background: var(--primary); color: white; transform: translateX(-3px);
}

@media (max-width: 980px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .articles-layout { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 140px 1fr; }
}
@media (max-width: 680px) {
  .articles-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .article-row { grid-template-columns: 1fr; }
  .arow-cover { aspect-ratio: 16/9; }
  .article-feat h3 { font-size: 22px; }
  .afeat-body { padding: 22px; }
  .acard-title { font-size: 18px; }
  .acard-body { padding: 20px; }
}


/* ============================================================
   v4 — Testimonials slider, Project Audit visual, Marquee polish
   ============================================================ */

/* ---------- TESTIMONIALS SLIDER ---------- */
.testimonials-section .test-grid { display: none; }
.test-slider {
  position: relative;
  margin-top: 40px;
  padding: 0 12px;
}
.test-stage {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 320px;
}
.test-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.test-slide.is-active {
  opacity: 1; transform: none; pointer-events: auto;
  position: relative;
}
.test-card-lg {
  padding: 34px 34px 28px;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(16, 67, 113, .08);
  border: 1px solid #e3edf8;
  background: linear-gradient(145deg, #ffffff 0%, #f9fcff 100%);
  gap: 22px;
}
.test-card-lg .quote-mark {
  font-size: 112px; top: auto; bottom: 17px; left: 25px;
  color: #cfe8ff;
}
.test-card-lg .quote {
  font-size: 16px;
  line-height: 1.9;
  color: #124b89;
  font-weight: 500;
}
.test-card-lg .avatar { width: 48px; height: 48px; font-size: 16px; }
.test-card-lg .name { font-size: 15px; }
.test-card-lg .role { font-size: 12px; }
.test-card-lg:hover { transform: translateY(-7px); box-shadow: 0 23px 48px rgba(16, 67, 113, .14); }

.test-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-700);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(10,40,85,.18);
  transition: transform .2s, color .2s, border-color .2s, background .2s;
}
.test-arrow:hover {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.06);
}
.test-arrow.prev { right: -8px; }
.test-arrow.next { left: -8px; }

.test-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.test-dots { display: flex; gap: 8px; }
.test-dot {
  width: 28px; height: 6px; border-radius: 99px;
  background: var(--ink-200, #DDE5F2);
  border: 0; padding: 0; cursor: pointer;
  transition: background .25s, width .25s;
}
.test-dot.is-active {
  background: var(--primary);
  width: 44px;
}
.test-view-all { padding: 10px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .test-card-lg { padding: 34px 26px 28px; }
  .test-card-lg .quote { font-size: 16.5px; line-height: 1.75; }
  .test-arrow { width: 42px; height: 42px; }
  .test-arrow.prev { right: -4px; }
  .test-arrow.next { left: -4px; }
}

/* ---------- TAKEOVER: PROJECT AUDIT VISUAL ---------- */
.takeover-visual .audit-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  color: var(--ink-900);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.45),
    0 12px 30px -10px rgba(41,182,246,.25),
    inset 0 1px 0 rgba(255,255,255,.6);
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid rgba(255,255,255,.5);
  text-align: right;
}
.audit-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.audit-card-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 700;
  color: var(--primary);
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.audit-card-title { font-size: 16.5px; font-weight: 700; color: var(--ink-900); }
.audit-card-status {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E8F7EE; color: #1B7A3E;
  padding: 5px 10px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600;
  white-space: nowrap;
}
.audit-card-status .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2BB85F;
  box-shadow: 0 0 0 3px rgba(43,184,95,.18);
  animation: auditPulse 1.8s ease-in-out infinite;
}
@keyframes auditPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43,184,95,.18); }
  50% { box-shadow: 0 0 0 6px rgba(43,184,95,.05); }
}
.audit-rows { display: flex; flex-direction: column; gap: 12px; }
.audit-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 12px;
}
.audit-row-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-700);
}
.audit-row-label svg { color: var(--primary); flex-shrink: 0; }
.audit-bar {
  position: relative;
  height: 6px; border-radius: 99px;
  background: var(--ink-100, #EEF3F9);
  overflow: hidden;
}
.audit-bar-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--primary), var(--cyan, #29B6F6));
  border-radius: 99px;
  animation: auditFill 1.4s cubic-bezier(.16,1,.3,1) forwards;
  transform-origin: left center;
}
@keyframes auditFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.audit-row-val {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; font-weight: 700;
  white-space: nowrap;
}
.audit-row-val .v-from { color: var(--ink-400); text-decoration: line-through; opacity: .7; }
.audit-row-val svg { color: var(--primary); }
.audit-row-val .v-to { color: #1B7A3E; font-size: 13px; }

.audit-foot {
  padding-top: 14px;
  border-top: 1px dashed rgba(10,40,85,.12);
}
.audit-stacks {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.stack-chip {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 99px;
  background: var(--primary-50, #E8F1FB);
  color: var(--primary);
  border: 1px solid rgba(25,118,210,.15);
}
.stack-chip.more {
  background: transparent;
  color: var(--ink-500);
  border-style: dashed;
}

/* Tame the existing aspect-ratio constraint so the audit card can be taller than square */
.takeover-visual { aspect-ratio: auto; min-height: 360px; }

@media (max-width: 720px) {
  .audit-row { grid-template-columns: 110px 1fr auto; }
  .takeover-visual .audit-card { max-width: 100%; }
}

/* ---------- CLIENTS MARQUEE POLISH ---------- */
.clients-section { padding-bottom: 48px; }
.clients-section .container + .clients-marquee,
.clients-section > .clients-marquee {
  margin-top: 56px;
}
.clients-marquee .marquee-cell {
  width: 240px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
}
.clients-marquee .marquee-cell:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(25,118,210,.15);
  transform: translateY(-4px);
}
.clients-marquee .marquee-cell .pseudo-logo {
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
}
.clients-marquee .marquee-cell:hover .pseudo-logo {
  filter: none; opacity: 1;
}
/* Slow down a touch so it feels premium */
.clients-marquee-track { animation-duration: 60s; }

/* ---------- FOOTER LOGO — keep width similar to old asset ---------- */
.footer-logo .logo-img {
  max-width: 220px;
  height: auto;
}




/* ---------- SERVICES — LAYOUT TOGGLE ---------- */
.svc-layout-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.svc-layout-toggle button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65);
  transition: all .2s; font-family: inherit;
}
.svc-layout-toggle button:hover { color: white; }
.svc-layout-toggle button.active {
  background: white;
  color: var(--primary-600, #1565C0);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* ---------- SERVICES — MARQUEE (proposal 2) ---------- */
.svc-marquee {
  position: relative;
  margin: 0 calc(50% - 50vw); /* full-bleed */
  padding: 8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}
.svc-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  /* RTL: animate to translateX(50%) moves the row visually leftward in RTL */
  animation: svc-marquee-scroll 55s linear infinite;
}
.svc-marquee:hover .svc-marquee-track {
  animation-play-state: paused;
}
@keyframes svc-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); } /* half because list is duplicated */
}

.svc-mq-card {
  flex: 0 0 300px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 26px 24px;
  transition: background .25s, border-color .25s, transform .25s;
  cursor: pointer;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.svc-mq-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-4px);
}
.svc-mq-card .service-icon {
  width: 44px; height: 44px; border-radius: 11px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.08);
  color: var(--cyan, #29B6F6);
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s, color .3s, box-shadow .3s;
}
.svc-mq-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--cyan, #29B6F6), var(--primary, #1976D2));
  color: white;
  box-shadow: 0 10px 24px rgba(41,182,246,.4);
}
.svc-mq-card h3 {
  font-size: 17px; font-weight: 600; color: white;
  margin: 0 0 8px;
}
.svc-mq-card p {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,.6); margin: 0;
}

@media (max-width: 640px) {
  .svc-layout-toggle button { padding: 8px 10px; }
  .svc-layout-toggle button .label { display: none; }
  .svc-mq-card { flex-basis: 260px; min-height: 200px; padding: 22px 20px; }
}

/* ============================================================
   STATIC BUILD — animation state gating (replaces React render logic)
   ============================================================ */

/* --- Hero phone preview: progressive render stages --- */
.phone-screen .phone-header { height: 10px; transition: height .45s cubic-bezier(.16,1,.3,1); }
.phone-screen[data-stage="1"] .phone-header,
.phone-screen[data-stage="2"] .phone-header,
.phone-screen[data-stage="3"] .phone-header { height: 36px; }
.phone-screen .ph-title,
.phone-screen .ph-sub { opacity: 0; transition: opacity .35s ease; }
.phone-screen[data-stage="1"] .ph-title, .phone-screen[data-stage="1"] .ph-sub,
.phone-screen[data-stage="2"] .ph-title, .phone-screen[data-stage="2"] .ph-sub,
.phone-screen[data-stage="3"] .ph-title, .phone-screen[data-stage="3"] .ph-sub { opacity: 1; }
.phone-screen .phone-grid { display: none; }
.phone-screen[data-stage="2"] .phone-grid,
.phone-screen[data-stage="3"] .phone-grid { display: grid; }
.phone-screen .phone-cta { display: none; }
.phone-screen[data-stage="3"] .phone-cta { display: flex; }

/* --- Hero design builder: step-based reveal --- */
.ds-artboard .dsa-hero,
.ds-artboard .dsa-cards,
.ds-artboard .dsa-button,
.ds-artboard .dsa-blob { display: none; }
.ds-artboard[data-step="1"] .dsa-hero,
.ds-artboard[data-step="2"] .dsa-hero,
.ds-artboard[data-step="3"] .dsa-hero,
.ds-artboard[data-step="4"] .dsa-hero { display: flex; animation: fadeIn .4s; }
.ds-artboard[data-step="2"] .dsa-cards,
.ds-artboard[data-step="3"] .dsa-cards,
.ds-artboard[data-step="4"] .dsa-cards { display: grid; animation: fadeIn .4s; }
.ds-artboard[data-step="3"] .dsa-button,
.ds-artboard[data-step="4"] .dsa-button { display: inline-flex; animation: fadeIn .4s; }
.ds-artboard[data-step="4"] .dsa-blob { display: block; animation: fadeIn .4s; }

/* fadeIn keyframe (was inline in index.html before) */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Bootstrap reboot guards — keep our type/anchor styling */
.nav-links a, .footer ul a, .proj-cta, .acard-read-more { text-decoration: none; }
h1, h2, h3, h4, h5 { margin-top: 0; }
ul { margin: 0; }

/* ============================================================
   PREMIUM CTA (Standardized global CTA section for all pages)
   ============================================================ */
.premium-cta-section { padding: 84px 0; background: var(--soft, #F4F8FE); }
.premium-cta-wrap {
  background: linear-gradient(135deg, #062046 0%, #0E3B7A 50%, #1565C0 100%);
  border-radius: 32px; padding: 72px 64px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.premium-cta-wrap::before {
  content: ""; position: absolute; top: -120px; inset-inline-start: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,182,246,.38) 0%, transparent 60%);
  filter: blur(48px); pointer-events: none;
}
.premium-cta-wrap::after {
  content: ""; position: absolute; bottom: -140px; inset-inline-end: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,.28) 0%, transparent 60%);
  filter: blur(48px); pointer-events: none;
}
.premium-cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.premium-cta-icon {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 28px;
  background: rgba(41,182,246,.18); color: var(--cyan-light, #4FC3F7);
  display: grid; place-items: center;
  border: 1px solid rgba(41,182,246,.28);
}
.premium-cta-wrap h2 {
  color: white; font-size: clamp(27px, 3.2vw, 40px); font-weight: 700;
  letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.22;
}
.premium-cta-wrap p {
  color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.78;
  max-width: 460px; margin: 0 auto 36px;
}
.premium-cta-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; direction: rtl;
}
.premium-cta-btns .btn-cta-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: var(--cyan, #29B6F6); color: var(--ink-900, #0A2855);
  box-shadow: 0 10px 28px rgba(41,182,246,.35);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.premium-cta-btns .btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(41,182,246,.48); }
.premium-cta-btns .btn-cta-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.3);
  transition: transform .2s, background .2s, border-color .2s;
  text-decoration: none;
}
.premium-cta-btns .btn-cta-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.premium-cta-btns .btn-cta-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: #25D366; color: white;
  box-shadow: 0 10px 28px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.premium-cta-btns .btn-cta-wa:hover { background: #1FB855; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,211,102,.42); }

@media (max-width: 768px) {
  .premium-cta-wrap { padding: 52px 28px; }
  .premium-cta-btns { flex-direction: column; align-items: center; }
}

/* ===== Portfolio Grid & Related Projects Styles ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* Shared Project Card Styles (Used across services and portfolio pages) */
.proj-card { display: flex; flex-direction: column; height: 100%; border-radius: 24px; background: white; padding: 14px; border: 1px solid var(--line); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; position: relative; }
.proj-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(10, 40, 85, 0.08); border-color: rgba(25, 118, 210, 0.15); }
.proj-thumb { border-radius: 16px; aspect-ratio: 16/10; position: relative; overflow: hidden; display: block; width: 100%; padding: 0; margin-bottom: 20px; background: var(--soft); }
.portfolio-mock { width: 100% !important; height: 100% !important; aspect-ratio: 16/10; border-radius: 16px; border: none !important; box-shadow: none !important; padding: 0 !important; overflow: hidden; transform: none !important; margin: 0 !important; background: transparent !important; transition: transform 0.3s ease; }
.proj-card:hover .portfolio-mock { transform: scale(1.02) !important; box-shadow: none !important; }
.portfolio-mock-inner { width: 100%; height: 100%; background: #fff; }
.portfolio-mock-inner img { width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 0 10px 10px; display: flex; flex-direction: column; flex-grow: 1; }
.proj-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-500); margin-bottom: 12px; }
.proj-flag { display: inline-flex; align-items: center; gap: 4px; background: var(--soft); padding: 4px 10px; border-radius: 99px; color: var(--ink-700); }
.proj-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-dark); }
.proj-card h3 { font-size: 20px; font-weight: 800; color: var(--ink-900); margin: 0 0 10px 0; letter-spacing: -0.01em; transition: color 0.2s; }
.proj-card:hover h3 { color: var(--primary); }
.proj-card p { font-size: 14.5px; color: var(--ink-600); line-height: 1.6; margin: 0 0 20px 0; }
.proj-cta { font-size: 14.5px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; margin-top: auto; }
.proj-cta svg { transition: transform 0.3s; transform: translateX(0); }
.proj-card:hover .proj-cta svg { transform: translateX(-6px); }


@media (max-width: 768px) {
  .about-hero, .contact-hero, .faq-hero {
    padding: 32px 0 28px !important;
  }
}





/* Split Hero Component Styles */
.split-hero-sec {
  padding: 64px 0 80px; 
  background: linear-gradient(135deg, var(--soft) 0%, rgba(41,182,246,0.05) 100%);
  position: relative; 
  overflow: hidden;
}
.split-hero-sec .container {
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 48px; 
  align-items: center;
}
.ch-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ch-content .hero-eyebrow { 
  justify-content: flex-start; 
  margin-bottom: 24px; 
}
.sh-meta { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 32px; 
  margin-bottom: 32px; 
}
.sh-meta-item { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}
.sh-meta-item .label { 
  font-size: 14px; 
  color: var(--ink-500); 
  font-weight: 600; 
}
.sh-meta-item .val { 
  font-size: 16px; 
  color: var(--ink-900); 
  font-weight: 700; 
}

.sh-actions { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap;
}

.ch-image { 
  position: relative; 
  perspective: 1000px; 
  width: 100%;
}
.ch-mockup {
  background: white; 
  border-radius: 24px; 
  padding: 16px;
  box-shadow: 0 30px 60px rgba(10,40,85,0.15); 
  border: 1px solid var(--line);
  transform: rotateY(-8deg) rotateX(4deg); 
  transition: transform 0.5s;
}
.ch-image:hover .ch-mockup { 
  transform: rotateY(0) rotateX(0); 
}
.ch-mockup .browser-bar {
  height: 32px; 
  background: #E2E8F0; 
  display: flex; 
  align-items: center; 
  padding: 0 16px; 
  gap: 6px;
  border-bottom: 1px solid var(--line); 
  direction: ltr;
  border-radius: 12px 12px 0 0;
  margin: -16px -16px 16px -16px;
}
.ch-mockup .browser-bar .dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
}
.ch-mockup .browser-bar .dot:nth-child(1) { background: #FF5F56; }
.ch-mockup .browser-bar .dot:nth-child(2) { background: #FFBD2E; }
.ch-mockup .browser-bar .dot:nth-child(3) { background: #27C93F; }

@media (max-width: 1024px) {
  .split-hero-sec .container { 
    grid-template-columns: 1fr; 
    text-align: right; 
    gap: 40px; 
  }
  .ch-mockup {
    transform: none;
  }
}
@media (max-width: 768px) {
  .split-hero-sec {
    padding: 72px 0 40px;
  }
}





/* Hero WhatsApp Button */
.btn-hero-whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; font-size: 16px; font-weight: 700; color: #25D366; border: 2px solid #25D366; border-radius: 99px; text-decoration: none; transition: all 0.3s; background: transparent; cursor: pointer; }
.btn-hero-whatsapp:hover { background: #25D366; color: white; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(37,211,102,0.25); }
.btn-hero-whatsapp svg { margin-inline-end: 8px; flex-shrink: 0; }

/* Intake Form Timeline Steps */
.light-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0 28px;
  position: relative;
}
.light-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 26px;
  position: relative;
}
.light-step-item:last-child {
  padding-bottom: 0;
}
.light-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0284C7;
  border: 3px solid #38BDF8;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.light-step-item:hover .light-step-circle {
  transform: scale(1.08);
  border-color: #00E5FF;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}
.light-step-circle.active {
  background: linear-gradient(135deg, #00E5FF, #00B0FF);
  color: #0F172A;
  border-color: #FFFFFF;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.6);
}
.light-step-line {
  position: absolute;
  right: 19px;
  top: 40px;
  width: 3px;
  height: calc(100% - 40px);
  background: linear-gradient(180deg, #38BDF8 0%, rgba(255, 255, 255, 0.2) 100%);
  z-index: 1;
}
.light-step-text .st-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 5px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.light-step-text .st-desc {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.6;
}

/* Intake Direct Action Buttons (WhatsApp & Call) */
.intake-direct-ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.btn-intake-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-intake-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28E16D, #149C8B);
  color: #ffffff !important;
}
.btn-intake-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 99px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.btn-intake-call:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

/* ===================================================================
   NEW WOW LAYOUTS: Core Values (Bento Grid) & Sectors (Bar Grid)
   =================================================================== */
.values-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .values-bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-bento-grid { grid-template-columns: 1fr; }
}
.value-bento-card {
  background: #ffffff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 24px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10, 40, 85, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.value-bento-card:hover {
  transform: translateY(-7px);
  border-color: #38BDF8;
  box-shadow: 0 18px 36px rgba(10, 40, 85, 0.12);
}
.value-bento-card .v-watermark {
  position: absolute;
  left: 16px;
  bottom: -6px;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(2, 132, 199, 0.06);
  font-family: monospace;
  pointer-events: none;
  transition: color 0.35s ease;
}
.value-bento-card:hover .v-watermark {
  color: rgba(2, 132, 199, 0.12);
}
.v-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  width: fit-content;
}
.v-tag-blue { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.v-tag-emerald { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.v-tag-amber { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.v-tag-purple { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.v-tag-rose { background: #FFF1F2; color: #BE123C; border: 1px solid #FECDD3; }
.v-tag-cyan { background: #ECFEFF; color: #0E7490; border: 1px solid #A5F3FC; }
.value-bento-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
}
.value-bento-card p {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Interactive Industry Bar Grid (.sectors-pills-grid) */
.sectors-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 1100px) {
  .sectors-pills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sectors-pills-grid { grid-template-columns: 1fr; }
}
.sector-bar-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.sector-bar-card .sb-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.sector-bar-card .sb-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
  transition: color 0.3s ease;
}
.sector-bar-card .sb-info p {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.sector-bar-card:hover {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  border-color: #38BDF8;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.28);
}
.sector-bar-card:hover .sb-ic {
  background: #ffffff;
  color: #0284C7;
  transform: scale(1.08) rotate(-4deg);
}
.sector-bar-card:hover .sb-info h3,
.sector-bar-card:hover .sb-info p {
  color: #ffffff;
}

/* ===================================================================
   NEW WOW LAYOUT: Services Page Why Choose Us Dark Showcase
   =================================================================== */
.why-us-dark-showcase {
  background: linear-gradient(135deg, #0A192F 0%, #0F2A4A 60%, #083358 100%);
  color: #ffffff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.why-us-dark-showcase::before,
.why-us-dark-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.why-us-dark-showcase::before {
  width: 480px;
  height: 480px;
  background: rgba(56, 189, 248, 0.15);
  top: -140px;
  right: -100px;
}
.why-us-dark-showcase::after {
  width: 450px;
  height: 450px;
  background: rgba(2, 132, 199, 0.18);
  bottom: -120px;
  left: -100px;
}
.why-us-dark-showcase .section-eyebrow {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.why-us-dark-showcase h2 {
  color: #ffffff !important;
}
.why-us-dark-showcase .section-sub {
  color: rgba(255, 255, 255, 0.78);
}
.why-v3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .why-v3-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-v3-grid { grid-template-columns: 1fr; }
}
.why-v3-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-v3-card:hover {
  transform: translateY(-8px);
  border-color: #38BDF8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.18);
}
.why-v3-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.why-v3-num {
  font-size: 32px;
  font-weight: 900;
  font-family: monospace;
  color: #38BDF8;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}
.why-v3-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  transition: transform 0.3s ease;
}
.why-v3-card:hover .why-v3-ic {
  transform: scale(1.08) rotate(-6deg);
  background: #38BDF8;
  color: #0F172A;
}
.why-v3-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}
.why-v3-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

/* ===================================================================
   NEW WOW DESIGN: SERVICES ARCHIVE GRID & CARDS (.svc-archive-card)
   =================================================================== */
.svc-archive-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 86px 0;
  position: relative;
  overflow: hidden;
}
.svc-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 1100px) {
  .svc-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .svc-archive-grid { grid-template-columns: 1fr; }
}
.svc-archive-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 26px !important;
  padding: 34px 30px 28px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1;
}
.svc-archive-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, #38BDF8, #0284C7);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.svc-archive-card:hover {
  transform: translateY(-8px) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12), 0 0 25px rgba(56, 189, 248, 0.15) !important;
}
.svc-archive-card:hover::before {
  opacity: 1;
}
.svc-num {
  position: absolute;
  left: 26px;
  top: 26px;
  font-size: 26px;
  font-weight: 900;
  font-family: monospace;
  color: rgba(2, 132, 199, 0.14);
  transition: all 0.35s ease;
}
.svc-archive-card:hover .svc-num {
  color: #0284C7;
  transform: scale(1.1);
}
.svc-archive-card .service-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border: 1px solid #BFDBFE;
  color: #0284C7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.1) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.svc-archive-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.1) !important;
  background: linear-gradient(135deg, #0284C7, #00E5FF) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 229, 255, 0.38) !important;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  background: #EFF6FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
  margin-bottom: 14px;
  width: fit-content;
}
.svc-archive-card h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 12px !important;
  line-height: 1.4 !important;
  transition: color 0.3s ease;
}
.svc-archive-card .svc-desc {
  font-size: 14.5px !important;
  color: #64748B !important;
  line-height: 1.7 !important;
  margin: 0 0 26px !important;
  flex: 1;
}
.svc-request-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 14px 22px !important;
  border-radius: 16px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #0284C7 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.svc-request-btn svg {
  transition: transform 0.35s ease !important;
}
.svc-archive-card:hover .svc-request-btn {
  background: linear-gradient(135deg, #0284C7, #0369A1) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28) !important;
  transform: translateY(-2px) !important;
}
.svc-archive-card:hover .svc-request-btn svg {
  transform: translateX(-6px) !important;
}

/* ===================================================================
   NEW EXPRESSIVE PORTFOLIO HERO SHOWCASES (APP, BRANDING, WEBSITE)
   =================================================================== */

/* 1. 3-Phone Vertical App Showcase (.app-hero-showcase) */
.app-hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  perspective: 1000px;
}
.app-phone-frame {
  width: 165px;
  aspect-ratio: 9/19;
  background: #0F172A;
  border-radius: 30px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(10, 30, 70, 0.22);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.app-phone-left {
  transform: rotate(-6deg) translateY(16px);
  z-index: 1;
}
.app-phone-center {
  transform: translateY(-8px) scale(1.06);
  z-index: 3;
  box-shadow: 0 24px 50px rgba(2, 132, 199, 0.28);
  border-color: #38BDF8;
}
.app-phone-right {
  transform: rotate(6deg) translateY(16px);
  z-index: 1;
}
.app-phone-frame:hover {
  transform: translateY(-16px) scale(1.1);
  z-index: 10;
  border-color: #00E5FF;
  box-shadow: 0 28px 60px rgba(0, 229, 255, 0.35);
}
.app-phone-notch {
  width: 44px;
  height: 10px;
  background: #000000;
  border-radius: 10px;
  margin: 4px auto 8px;
}
.app-screen-img {
  width: 100%;
  height: calc(100% - 22px);
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  display: block;
}
@media (max-width: 650px) {
  .app-phone-frame { width: 110px; }
}

/* 2. Distinctive Brand Identity & Stationery Kit Showcase (.brand-hero-showcase) */
.brand-hero-showcase {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 380px;
  margin: 0 auto;
}
.brand-card-main {
  position: absolute;
  right: 18px;
  bottom: 15px;
  width: 78%;
  height: 295px;
  background: #ffffff;
  border-radius: 22px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.brand-card-main:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(2, 132, 199, 0.2);
}
.brand-card-header {
  height: 38px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.brand-dot-gold {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.brand-header-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}
.brand-main-img {
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.brand-card-secondary {
  position: absolute;
  left: 5px;
  top: 10px;
  width: 44%;
  height: 195px;
  background: #ffffff;
  border-radius: 18px;
  border: 2px solid #ffffff;
  box-shadow: 0 16px 38px rgba(10, 25, 55, 0.18);
  overflow: hidden;
  z-index: 3;
  transform: rotate(-5deg);
  transition: all 0.35s ease;
}
.brand-card-secondary:hover {
  transform: rotate(0deg) scale(1.06);
  z-index: 10;
}
.brand-sub-img-1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-sub-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 5px 10px;
  border-radius: 10px;
}
.brand-palette-badge {
  position: absolute;
  left: 15px;
  bottom: 20px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}
.brand-palette-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}
.swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.swatch-text {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-right: 6px;
}
.brand-mini-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
}
.brand-sub-img-2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3. Responsive Desktop & Mobile Website Showcase (.web-hero-showcase) */
.web-hero-showcase {
  position: relative;
  width: 100%;
  max-width: 570px;
  height: 380px;
  margin: 0 auto;
}
.web-desktop-frame {
  position: absolute;
  top: 10px;
  right: 0;
  width: 86%;
  height: 310px;
  background: #1a2540;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 55px rgba(10, 22, 40, 0.25);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.web-desktop-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(2, 132, 199, 0.28);
}
.web-desktop-img {
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
  object-position: top;
  display: block;
}
.web-mobile-frame {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 135px;
  height: 255px;
  background: #0F172A;
  border-radius: 26px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 4;
  transform: rotate(-4deg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.web-mobile-frame:hover {
  transform: rotate(0deg) scale(1.08);
  z-index: 10;
  border-color: #00E5FF;
  box-shadow: 0 25px 55px rgba(0, 229, 255, 0.35);
}
.web-mobile-notch {
  width: 36px;
  height: 8px;
  background: #000000;
  border-radius: 10px;
  margin: 3px auto 6px;
}
.web-mobile-img {
  width: 100%;
  height: calc(100% - 17px);
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  display: block;
}
.web-perf-badge {
  position: absolute;
  right: 25px;
  bottom: 18px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 99px;
  padding: 8px 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.web-perf-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
.web-perf-text {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

/* ===================================================================
   ULTIMATE ALL-23-PAGES MOBILE PERFECTION MASTER BLOCK
   (Portfolio, Services, Hero Showcases, Grids, & Overflow Protection)
   =================================================================== */

@media (max-width: 768px) {
  /* 0. Absolute Zero-Overflow Guarantee */
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .pw-hero, .pw-section, .premium-hero, .sec-pad, .sec-pad-sm, section {
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  /* 1. Hero Layouts & Buttons on Mobile */
  .pw-hero-inner, .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding-top: 15px !important;
    text-align: center !important;
  }
  .pw-hero-content h1, .hero-content h1 {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.35 !important;
  }
  .pw-hero-btns, .hero-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .pw-hero-btns a, .hero-actions a, .btn-hero-primary, .btn-hero-outline {
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }
  .pw-hero-visual {
    display: block !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
  }

  /* 2. New Hero Showcases Mobile Fit (3-Phone App, Brand Kit, Website) */
  .app-hero-showcase {
    gap: 6px !important;
    max-width: 100% !important;
    padding: 10px 0 !important;
    transform: scale(0.92) !important;
  }
  .app-phone-frame {
    width: 95px !important;
    border-radius: 18px !important;
    padding: 5px !important;
  }
  .app-phone-notch {
    width: 26px !important;
    height: 6px !important;
    margin-bottom: 5px !important;
  }
  .app-phone-left { transform: rotate(-5deg) translateY(12px) !important; }
  .app-phone-center { transform: translateY(-4px) scale(1.05) !important; }
  .app-phone-right { transform: rotate(5deg) translateY(12px) !important; }

  .brand-hero-showcase {
    height: 250px !important;
    max-width: 100% !important;
    margin-top: 10px !important;
  }
  .brand-card-main {
    width: 86% !important;
    height: 185px !important;
    right: 0 !important;
    bottom: 5px !important;
    border-radius: 16px !important;
  }
  .brand-card-secondary {
    width: 55% !important;
    height: 125px !important;
    left: 0 !important;
    top: 0 !important;
    border-radius: 14px !important;
  }
  .brand-palette-badge {
    left: 5px !important;
    bottom: 5px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }
  .swatch { width: 16px !important; height: 16px !important; }
  .swatch-text { font-size: 11px !important; }
  .brand-mini-logo { width: 32px !important; height: 32px !important; }

  .web-hero-showcase {
    height: 240px !important;
    max-width: 100% !important;
    margin-top: 10px !important;
  }
  .web-desktop-frame {
    width: 92% !important;
    height: 185px !important;
    right: 0 !important;
    top: 0 !important;
    border-radius: 14px !important;
  }
  .web-mobile-frame {
    width: 96px !important;
    height: 175px !important;
    left: 0 !important;
    bottom: 0 !important;
    border-radius: 18px !important;
    padding: 5px !important;
  }
  .web-perf-badge {
    right: 10px !important;
    bottom: 5px !important;
    padding: 6px 12px !important;
  }
  .web-perf-text { font-size: 11px !important; }

  /* 3. Universal Grids Optimization across Portfolio & Services */
  .portfolio-grid,
  .pw-work-grid,
  .pw-gallery-simple,
  .pw-gallery-grid,
  .pw-color-grid,
  .pw-typo-grid,
  .trust-grid,
  .previews-grid,
  .ad-grid,
  .values-bento-grid,
  .sectors-pills-grid,
  .why-v3-grid,
  .svc-archive-grid,
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  [style*="gap:72px"], [style*="gap: 72px"],
  [style*="gap:64px"], [style*="gap: 64px"],
  [style*="gap:48px"], [style*="gap: 48px"] {
    gap: 20px !important;
  }

  /* 4. Comparison Tables & Timelines Fit */
  .comp-table-wrap {
    max-width: calc(100vw - 24px) !important;
    overflow-x: auto !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
  }
  .comp-table th, .comp-table td {
    padding: 12px 10px !important;
    font-size: 13.5px !important;
  }
  .timeline-nodes, .flow-container {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    overflow-x: visible !important;
  }
  .timeline-nodes::before {
    display: none !important;
  }
  .t-node, .flow-step {
    flex: 1 1 auto !important;
    width: 100% !important;
    flex-direction: row !important;
    text-align: right !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 480px) {
  /* 5. Fine-tuned Padding and Fonts for small mobile screens (<480px) */
  .proj-card, .deliv-card, .trust-card, .why-v3-card, .svc-archive-card, .pv-body {
    padding: 18px 16px !important;
  }
  h2, .sec-head h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
  h3, .proj-card h3, .deliv-text h3 {
    font-size: 17px !important;
  }
  p, .lead {
    font-size: 14.5px !important;
  }
}

/* ===== GLOBAL FIX: Portfolio images take full space (requested: كل كاتيجوري الصوره تاخد المساحه كامله) ===== */
.proj-thumb { width: 100% !important; padding: 0 !important; margin: 0 0 20px 0 !important; aspect-ratio: 16/10 !important; border-radius: 16px !important; overflow: hidden !important; display: block !important; background: var(--soft) !important; }
.portfolio-mock { width: 100% !important; height: 100% !important; aspect-ratio: 16/10 !important; border-radius: 16px !important; padding: 0 !important; margin: 0 !important; border: none !important; box-shadow: none !important; transform: none !important; background: transparent !important; overflow: hidden !important; }
.portfolio-mock-inner { width: 100% !important; height: 100% !important; border-radius: 16px !important; overflow: hidden !important; padding: 0 !important; background: white !important; }
.portfolio-mock-inner img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center top !important; display: block !important; }
.proj-card:hover .portfolio-mock { transform: scale(1.02) !important; }

/* ===== Hero: WhatsApp centered + image fully visible (service pages) ===== */
.sh-actions, .hero-actions, .pw-hero-btns { justify-content: center !important; text-align: center !important; margin-inline: auto !important; align-self: center !important; }
.sh-actions .btn-hero-whatsapp, .hero-actions .btn-hero-whatsapp, .pw-hero-btns .btn-hero-whatsapp { margin-inline: auto !important; display: inline-flex !important; justify-content: center !important; align-self: center !important; }
.ch-content { align-items: center !important; text-align: center !important; }
.ch-content .sh-actions { margin: 0 auto !important; }
.ch-mockup, .cs-dash, .mockup-card { overflow: visible !important; height: auto !important; max-height: none !important; }
.ch-mockup .mockup-body, .cs-body, .mockup-body { height: auto !important; max-height: none !important; overflow: visible !important; }
.ch-mockup img, .cs-wrap img, .mockup-wrapper img { object-fit: contain !important; object-position: center top !important; height: auto !important; max-height: none !important; width: 100% !important; }
@media (max-width: 768px) {
  .sh-actions, .hero-actions { justify-content: center !important; flex-wrap: wrap !important; gap: 12px !important; }
  .ch-mockup, .cs-dash { transform: none !important; }
  .ch-image, .cs-wrap { height: auto !important; overflow: visible !important; }
}

/* Shared React shell: inner pages may include legacy page-specific styles.
   Keep one fixed-width element from widening the entire mobile viewport. */
#app, #app > div, #app main { min-width: 0; max-width: 100%; }
@media (max-width: 768px) {
  #app :where(.container, .row, [class*="grid"], [class*="wrap"], [class*="content"], [class*="visual"]) { min-width: 0; max-width: 100%; }
  #app :where(h1, h2, h3, h4, p, li, a, button, label, small, span) { overflow-wrap: anywhere; }
  #app :where(input, select, textarea, button) { max-width: 100%; }
  #app :where(.table-responsive, .comp-table-wrap, .article-body table, .comparison-table-wrap) { max-width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  #app :where(.table-responsive > table, .comp-table-wrap > table, .comparison-table-wrap > table) { min-width: max-content; }
}

/* Native React error page. Header and footer come from the shared shell. */
.inertia-error-page { min-height: 72vh; display: grid; place-items: center; padding: clamp(5rem, 12vw, 9rem) 1.5rem 5rem; overflow: hidden; position: relative; background: radial-gradient(circle at 10% 25%, rgba(41,182,246,.24), transparent 27rem), radial-gradient(circle at 88% 75%, rgba(25,118,210,.16), transparent 26rem), #eef8ff; }
.inertia-error-page::before, .inertia-error-page::after { content: ''; position: absolute; width: 23rem; height: 23rem; border: 1px solid rgba(25,118,210,.14); border-radius: 50%; pointer-events: none; }.inertia-error-page::before { top: -12rem; right: -8rem; }.inertia-error-page::after { bottom: -16rem; left: -9rem; }
.inertia-error-card { width: min(100%, 780px); position: relative; z-index: 1; text-align: center; }.inertia-error-code { color: var(--ink-900); font-family: 'JetBrains Mono', monospace; font-size: clamp(6rem,18vw,12rem); font-weight: 500; letter-spacing: -.11em; line-height: .8; margin: 0 0 2.4rem -.11em; }
.inertia-error-label { align-items: center; color: var(--primary); display: inline-flex; font-size: .78rem; font-weight: 700; gap: .55rem; letter-spacing: .08em; margin-bottom: 1rem; }.inertia-error-label::before { background: var(--cyan); border-radius: 50%; content: ''; height: .55rem; width: .55rem; }.inertia-error-card h1 { color: var(--ink-900); font-size: clamp(1.7rem,4vw,2.65rem); font-weight: 700; letter-spacing: -.04em; margin: 0; }.inertia-error-text { color: var(--ink-500); font-size: 1.05rem; line-height: 1.9; margin: 1rem auto 2rem; max-width: 34rem; }
.inertia-error-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }.inertia-error-action { align-items: center; border: 1px solid #c8e7f7; border-radius: .55rem; color: var(--ink-900); display: inline-flex; font-size: .93rem; font-weight: 700; justify-content: center; min-width: 9.5rem; padding: .83rem 1.1rem; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }.inertia-error-action:hover { transform: translateY(-3px); }.inertia-error-action.is-primary { background: var(--primary); border-color: var(--primary); color: #fff; }.inertia-error-action.is-primary:hover { background: var(--ink-900); color: #fff; }.inertia-error-action:not(.is-primary):hover { background: #fff; border-color: var(--cyan); color: var(--primary); }
@media (max-width: 575px) { .inertia-error-page { min-height: 66vh; }.inertia-error-action { width: 100%; } }
