/* =================================================================
   SAFAVOX -- Design System
   Philosophy: Clean, minimal, professional B2B SaaS aesthetic.
   Inspired by Linear, Vercel, Stripe -- purposeful restraint.
================================================================= */

/* --- DESIGN TOKENS -------------------------------------------- */
:root {
  /* Brand */
  --accent:      #5B50F0;
  --accent-dk:   #4840D4;
  --accent-lt:   #EEEEFF;

  /* Neutrals -- deep slate, never harsh black */
  --ink:         #1E1E2E;   /* Deep slate-blue heading color */
  --ink-2:       #44445A;   /* Body text — dark enough, not black */
  --ink-3:       #72728A;   /* Secondary / muted text */
  --ink-4:       #A0A0B8;   /* Labels, placeholders, meta */
  --line:        #E2E2EE;   /* Borders */
  --line-soft:   #EDEDF7;   /* Subtle separators */
  --surface:     #FAFAFA;
  --surface-2:   #FFFFFF;
  --surface-3:   #F6F6FB;   /* Off-white with slight purple warmth */

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:  'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --h1:            clamp(2.6rem, 5vw + 0.5rem, 3.75rem);
  --h2:            clamp(1.9rem, 3vw + 0.5rem, 2.5rem);
  --h3:            1.1875rem;
  --body:          1rem;
  --small:         0.8125rem;

  /* Spacing -- strict 8pt grid */
  --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;  --sp-4:  16px;
  --sp-5:  20px;  --sp-6:  24px;  --sp-8:  32px;  --sp-10: 40px;
  --sp-12: 48px;  --sp-16: 64px;  --sp-20: 80px;  --sp-24: 96px;

  /* Radii */
  --r-sm:   4px;  --r-md:  8px;   --r-lg:  12px;
  --r-xl:   16px; --r-2xl: 20px;  --r-full: 9999px;

  /* Shadows -- elevation system, neutral-toned */
  --sh-1: 0 1px 3px rgba(17,17,24,.06), 0 1px 2px rgba(17,17,24,.04);
  --sh-2: 0 4px 12px rgba(17,17,24,.08), 0 2px 6px rgba(17,17,24,.05);
  --sh-3: 0 8px 28px rgba(17,17,24,.10), 0 3px 10px rgba(17,17,24,.06);
  --sh-accent: 0 4px 16px rgba(91,80,240,.20);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --t-fast:  160ms;
  --t-base:  240ms;
  --t-slow:  380ms;

  --nav-h: 68px;
}

/* --- RESET & BASE ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--body);
  background: var(--surface-2);
  color: var(--ink-2);  /* Body text is ink-2, not full ink — avoids harshness */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- UTILITY --------------------------------------------------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-6); }
.gradient-text { color: var(--accent); }
.sec-alt { background: var(--surface-3); }
.body-p   { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.75; }

/* --- SCROLL REVEAL --------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* --- BUTTONS --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; font-size: .9375rem;
  border-radius: var(--r-full); padding: 11px 26px;
  transition: background var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              transform  var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
  white-space: nowrap; cursor: pointer;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:active        { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-primary:hover { background: var(--accent-dk); box-shadow: 0 6px 22px rgba(91,80,240,.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--ink-4); color: var(--ink); }
.btn-lg  { padding: 13px 32px; font-size: 1rem; }
.btn-xl  { padding: 15px 38px; font-size: 1.0625rem; }

/* --- SECTION COMMON -------------------------------------------- */
section { padding: var(--sp-24) 0; position: relative; }
.sec-header { text-align: center; margin-bottom: var(--sp-16); }
.sec-header-left { text-align: left; }
.sec-header-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; margin-bottom: var(--sp-12); gap: var(--sp-6); flex-wrap: wrap;
}
.ind-scroll-hint { font-size: .875rem; font-weight: 600; color: var(--accent); white-space: nowrap; margin-bottom: var(--sp-4); }

.sec-badge, .section-badge {
  display: inline-block;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(91,80,240,.15);
}

.sec-title, .section-title {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}
.sec-title-left { text-align: left; }
.sec-sub { font-size: 1.0625rem; color: var(--ink-3); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* --- NAVBAR ---------------------------------------------------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--t-base) var(--ease-out), border-color var(--t-base), box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line-soft), var(--sh-1);
}
.nav-container {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--sp-6);
  height: var(--nav-h); display: flex; align-items: center; gap: var(--sp-8);
}
/* ── Logo (inline SVG, viewBox cropped to artwork) ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-svg {
  width: 150px;
  height: auto;
  display: block;
  transition: transform var(--t-base) var(--ease-out), filter var(--t-base);
}
.ftr-logo-link {
  display: inline-flex;
  align-items: center;
}
.ftr-logo-svg {
  width: 136px;
  height: auto;
  display: block;
  transition: transform var(--t-base) var(--ease-out), filter var(--t-base);
}
.nav-logo:hover .nav-logo-svg,
.ftr-logo-link:hover .ftr-logo-svg {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 14px rgba(91,80,240,.3));
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  font-size: .9375rem; font-weight: 500; color: var(--ink-3);
  padding: 7px 13px; border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--ink); background: var(--surface-3); }
.nav-link.active { color: var(--ink); background: var(--surface-3); }
.nav-cta { margin-left: var(--sp-4); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; border-radius: var(--r-md); }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink-2); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-base); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; padding: var(--sp-4) var(--sp-6) var(--sp-6);
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); box-shadow: var(--sh-2);
}
.mobile-menu.open { display: block; }
.mobile-menu ul   { display: flex; flex-direction: column; gap: var(--sp-1); }
.mobile-menu .nav-link { display: block; padding: 11px 14px; font-size: .9375rem; }

/* --- HERO ------------------------------------------------------ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) var(--sp-6) 100px; overflow: hidden; background: var(--surface-2);
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91,80,240,.055) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(91,80,240,.035) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.12; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: orbFloat 12s ease-in-out infinite; }
.orb1 { width: 600px; height: 600px; top: -180px; left: -180px; background: radial-gradient(circle, rgba(91,80,240,.07), transparent 70%); animation-delay: 0s; }
.orb2 { width: 500px; height: 500px; top: 10%; right: -160px; background: radial-gradient(circle, rgba(91,80,240,.05), transparent 70%); animation-delay: -4s; }
.orb3 { width: 400px; height: 400px; bottom: -100px; left: 40%; background: radial-gradient(circle, rgba(91,80,240,.04), transparent 70%); animation-delay: -8s; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-40px) scale(1.04); } }

.hero-wave {
  position: relative; width: 100%; max-width: 640px; height: 64px;
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  pointer-events: none; margin-top: var(--sp-8);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.hero-wave .wbar {
  display: inline-block; width: 3.5px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, #4338CA 100%);
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(91,80,240,.35));
  animation: waveAnim 1.4s ease-in-out infinite; transform-origin: bottom; max-height: 56px;
}
@keyframes waveAnim { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.22); } }

.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 820px; display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--surface-3); border: 1px solid var(--line);
  color: var(--ink-3); font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
  padding: 7px 16px; border-radius: var(--r-full); margin-bottom: var(--sp-6);
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: var(--h1); font-weight: 800; line-height: 1.09;
  letter-spacing: -.04em; color: var(--ink); margin-bottom: var(--sp-5);
}
.hero-p {
  font-size: clamp(1rem, 1.8vw, 1.1875rem); color: var(--ink-3); line-height: 1.7;
  max-width: 580px; margin: 0 auto var(--sp-8); font-weight: 400;
}
.hero-btns { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-10); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat-v { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.hstat-l { font-size: .75rem; color: var(--ink-4); letter-spacing: .04em; margin-top: 2px; }
.hstat-div { width: 1px; height: 32px; background: var(--line); }
.scroll-hint {
  position: absolute; bottom: var(--sp-6); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  font-size: .75rem; color: var(--ink-4); animation: scrollBounce 2.8s ease-in-out infinite;
}
.scroll-mouse { width: 20px; height: 32px; border: 1.5px solid var(--line); border-radius: var(--r-full); display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 3px; height: 6px; background: var(--ink-4); border-radius: var(--r-full); animation: wheelScroll 1.8s ease-in-out infinite; }
@keyframes wheelScroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* --- ABOUT ----------------------------------------------------- */
#about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: flex-start; }
.about-copy { display: flex; flex-direction: column; gap: var(--sp-5); }
.about-highlights {
  display: flex; flex-direction: column; gap: var(--sp-6);
  padding-left: var(--sp-5);
  border-left: 2px solid var(--line-soft);
  margin-top: var(--sp-2);
}
.ah-item {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  position: relative;
  transition: transform var(--t-base) var(--ease-out);
}
.ah-item:hover { transform: translateX(4px); }
.ah-indicator {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 6px;
  margin-left: calc(-1 * (var(--sp-5) + 6px));
  box-shadow: 0 0 0 4px var(--surface-2);
}
.ah-content h3 {
  font-family: var(--font-heading); font-size: 1.0625rem;
  font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.ah-content p {
  font-size: .9375rem; color: var(--ink-3); line-height: 1.6;
}

.about-metrics { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.am-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); text-align: center; min-width: 96px; box-shadow: var(--sh-1); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
.am-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.am-v { display: block; font-size: 1.625rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; color: var(--accent); }
.am-l { font-size: .75rem; color: var(--ink-4); letter-spacing: .04em; }
.about-copy { display: flex; flex-direction: column; gap: var(--sp-5); }
.pillars { display: flex; flex-direction: column; gap: var(--sp-2); }
.pillar { display: flex; align-items: center; gap: var(--sp-3); font-size: .9375rem; color: var(--ink-2); padding: var(--sp-3) var(--sp-4); background: var(--surface-3); border: 1px solid var(--line-soft); border-radius: var(--r-md); transition: border-color var(--t-fast), transform var(--t-base) var(--ease-out); }
.pillar:hover { border-color: var(--line); transform: translateX(3px); }
.p-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }

/* --- SERVICES -------------------------------------------------- */
#services { background: var(--surface-3); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.svc-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); transition: transform var(--t-base) var(--ease-out), border-color var(--t-base), box-shadow var(--t-base); position: relative; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform var(--t-base) var(--ease-out); }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-ico { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-lt); display: flex; align-items: center; justify-content: center; color: var(--accent); transition: background var(--t-base); }
.svc-card:hover .svc-ico { background: rgba(91,80,240,.15); }
.svc-card h3 { font-size: var(--h3); font-weight: 700; color: var(--ink); }
.svc-card p  { font-size: .9375rem; color: var(--ink-3); line-height: 1.65; flex: 1; }
.svc-tag { display: inline-flex; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); background: var(--accent-lt); border: 1px solid rgba(91,80,240,.15); padding: 3px 11px; border-radius: var(--r-full); align-self: flex-start; }

/* --- HOW IT WORKS ---------------------------------------------- */
#how-it-works { background: var(--surface-2); }
.steps { position: relative; display: flex; gap: var(--sp-6); }
.steps-line {
  position: absolute; top: 30px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, var(--accent) 0%, rgba(91,80,240,.2) 100%);
  display: block; z-index: 0;
}
.step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-4); }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; position: relative; z-index: 1; box-shadow: var(--sh-accent); flex-shrink: 0; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
.step:hover .step-num { transform: scale(1.06); box-shadow: 0 6px 20px rgba(91,80,240,.3); }
.step-card { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); align-items: center; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base), border-color var(--t-base); width: 100%; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.step-icon-w { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: background var(--t-base); }
.step-card:hover .step-icon-w { background: var(--accent-lt); border-color: transparent; }
.step-card h3 { font-size: var(--h3); font-weight: 700; color: var(--ink); }
.step-card p  { font-size: .9375rem; color: var(--ink-3); line-height: 1.65; }
.step-ul { display: flex; flex-direction: column; gap: 8px; align-self: stretch; text-align: left; }
.step-ul li { font-size: .875rem; color: var(--ink-3); padding-left: 16px; position: relative; }
.step-ul li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* --- INDUSTRIES ------------------------------------------------ */
/* Horizontal scroll strip — deliberately breaks the 'grid of rectangles' pattern */
#industries { background: var(--surface-3); }
.ind-grid {
  display: flex;
  overflow-x: auto;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Custom scrollbar — visible hint that content scrolls */
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  cursor: grab;
}
.ind-grid::-webkit-scrollbar { height: 4px; }
.ind-grid::-webkit-scrollbar-track { background: transparent; }
.ind-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.ind-grid:active { cursor: grabbing; }
.ind-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-3);
  flex: 0 0 220px;           /* Fixed width — enforces horizontal scroll */
  scroll-snap-align: start;
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base), box-shadow var(--t-base);
  cursor: default;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.ind-icon-wrap { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--surface-3); display: flex; align-items: center; justify-content: center; color: var(--accent); transition: background var(--t-base); flex-shrink: 0; }
.ind-card:hover .ind-icon-wrap { background: var(--accent-lt); }
.ind-card h3 { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.ind-card p  { font-size: .875rem; color: var(--ink-3); line-height: 1.6; }

/* --- BENEFITS -------------------------------------------------- */
#benefits { background: var(--surface-2); }
.bstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-16); }
.bstat { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-8); text-align: center; display: flex; flex-direction: column; gap: var(--sp-3); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
.bstat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.bv { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.bl    { font-size: .875rem; font-weight: 700; color: var(--ink); }
.bstat p { font-size: .875rem; color: var(--ink-3); line-height: 1.6; }
.bfeatures { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); border-top: 1px solid var(--line); padding-top: var(--sp-12); }
.bf-card {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-6); background: var(--surface-3);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base), border-color var(--t-base);
}
.bf-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line); }
.bf-ico {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-lt); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bf-card strong { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--ink); font-weight: 700; font-family: var(--font-heading); }
.bf-card p { font-size: .875rem; color: var(--ink-3); line-height: 1.65; }

/* --- TESTIMONIALS ---------------------------------------------- */
#testimonials { background: var(--surface-3); }
.tes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.tes-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--sp-8); display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
  position: relative; overflow: hidden;
}

.tes-card::before { content: '\201C'; position: absolute; top: -8px; right: var(--sp-6); font-size: 6rem; line-height: 1; color: var(--line); font-family: Georgia, serif; pointer-events: none; }
.tes-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.tes-stars { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.tes-card blockquote p { font-size: .9375rem; color: var(--ink-2); line-height: 1.75; font-style: italic; }
.tes-auth { display: flex; align-items: center; gap: var(--sp-3); }
.tes-av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8125rem; color: #fff; flex-shrink: 0; }
.tes-auth strong { display: block; font-size: .9375rem; color: var(--ink); font-weight: 600; }
.tes-auth span   { font-size: .8125rem; color: var(--ink-4); }

/* --- FAQ ------------------------------------------------------- */
#faq { background: var(--surface-2); }
.faq-wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-item { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq-item:focus-within, .faq-item.open { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,80,240,.07); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); font-size: .9375rem; font-weight: 600; text-align: left; color: var(--ink); transition: color var(--t-fast), background var(--t-fast); }
.faq-q:hover { background: var(--surface-2); }
.faq-icon { flex-shrink: 0; transition: transform var(--t-base) var(--ease-out); color: var(--ink-4); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(0,1,.5,1); }
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 0 var(--sp-6) var(--sp-6); font-size: .9375rem; color: var(--ink-3); line-height: 1.75; }

/* --- CTA BANNER ------------------------------------------------ */
#cta-banner { padding: var(--sp-20) 0; background: var(--surface-3); }
.cta-box {
  background: #1D1A3A;  /* Deep indigo-navy -- premium, not harsh black */
  border-radius: var(--r-2xl); padding: var(--sp-16) var(--sp-8);
  text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-3);
}
.cta-box::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 60%, rgba(91,80,240,.30) 0%, transparent 55%),
    radial-gradient(circle at 78% 25%, rgba(91,80,240,.16) 0%, transparent 50%);
  pointer-events: none;
}
.cta-glow { display: none; }
.cta-box h2 { font-size: clamp(1.75rem, 4vw, 2.375rem); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin-bottom: var(--sp-4); color: #fff; position: relative; z-index: 1; }
.cta-box p  { font-size: 1.0625rem; color: rgba(255,255,255,.70); max-width: 520px; margin: 0 auto var(--sp-8); line-height: 1.75; position: relative; z-index: 1; }
.cta-box .btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(91,80,240,.45); position: relative; z-index: 1; }
.cta-box .btn-primary:hover { background: var(--accent-dk); box-shadow: 0 6px 28px rgba(91,80,240,.55); transform: translateY(-1px); }
.cta-box .gradient-text { color: rgba(255,255,255,.95); }

/* --- CONTACT --------------------------------------------------- */
#contact { background: var(--surface-2); }
.con-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-5); max-width: 860px; margin: 0 auto; }
.con-card { display: flex; align-items: center; gap: var(--sp-4); background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-6); transition: transform var(--t-base) var(--ease-out), border-color var(--t-base), box-shadow var(--t-base); cursor: pointer; }
.con-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.con-ico { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-lt); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; transition: background var(--t-base); }
.con-card:hover .con-ico { background: rgba(91,80,240,.16); }
.con-ico-wa  { background: rgba(34,197,94,.10); color: #16a34a; }
.con-card:hover .con-ico-wa { background: rgba(34,197,94,.16); }
.con-ico-li  { background: rgba(10,102,194,.10); color: #0a66c2; }
.con-card:hover .con-ico-li { background: rgba(10,102,194,.16); }
.con-txt { flex: 1; min-width: 0; }
.con-lbl { display: block; font-size: .75rem; color: var(--ink-4); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.con-val { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-arr { font-size: 1.125rem; color: var(--ink-4); transition: color var(--t-fast), transform var(--t-fast); }
.con-card:hover .con-arr { color: var(--accent); transform: translateX(4px); }
.con-social { display: flex; flex-direction: column; gap: var(--sp-4); background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-6); }
.soc-row { display: flex; gap: var(--sp-2); }
.soc-btn { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-3); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-base) var(--ease-out); }
.soc-btn:hover { background: var(--accent-lt); border-color: rgba(91,80,240,.2); color: var(--accent); transform: translateY(-2px); }
.soc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- FOOTER ---------------------------------------------------- */
#footer { background: var(--surface-3); border-top: 1px solid var(--line); padding: var(--sp-16) 0 var(--sp-8); }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-12); }
.ftr-brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.ftr-brand p { font-size: .9375rem; color: var(--ink-3); line-height: 1.65; max-width: 260px; }
.ftr-socs    { display: flex; gap: var(--sp-2); }
.ftr-col h3 { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); margin-bottom: var(--sp-4); }
.ftr-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.ftr-col ul li, .ftr-col ul a { font-size: .9375rem; color: var(--ink-3); transition: color var(--t-fast); }
.ftr-col ul a:hover { color: var(--accent); }
.ftr-email { font-size: .9375rem; color: var(--accent); font-weight: 600; transition: opacity var(--t-fast); }
.ftr-email:hover { opacity: .75; }
.ftr-btm { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-8); border-top: 1px solid var(--line); flex-wrap: wrap; gap: var(--sp-4); }
.ftr-btm p { font-size: .875rem; color: var(--ink-4); }
.ftr-legal { display: flex; gap: var(--sp-6); }
.ftr-legal a { font-size: .875rem; color: var(--ink-4); transition: color var(--t-fast); }
.ftr-legal a:hover { color: var(--accent); }

/* --- BACK TO TOP ----------------------------------------------- */
.back-top { position: fixed; bottom: var(--sp-8); right: var(--sp-8); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-accent); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity var(--t-base), transform var(--t-base) var(--ease-out), box-shadow var(--t-base); z-index: 999; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover   { background: var(--accent-dk); transform: translateY(-3px) !important; box-shadow: 0 6px 20px rgba(91,80,240,.35); }
.back-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- COUNTER --------------------------------------------------- */
.counter { display: inline; }

/* --- RESPONSIVE ------------------------------------------------ */
@media (max-width: 1024px) {
  .svc-grid   { grid-template-columns: repeat(2, 1fr); }
  /* .ind-grid is a flex scroll — no grid override needed */
  .bstats     { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid   { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .about-grid { grid-template-columns: 1fr; }
  .about-vis  { order: -1; }
  .steps      { flex-direction: column; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  section { padding: var(--sp-16) 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .svc-grid  { grid-template-columns: 1fr; }
  /* Testimonials: single column on mobile */
  .tes-grid  { grid-template-columns: 1fr; }
  .bfeatures { grid-template-columns: 1fr; }
  .con-grid  { grid-template-columns: 1fr; }
  /* ind-grid is flex scroll — works naturally on mobile already */
  .bstats    { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid  { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-btns { flex-direction: column; align-items: center; }
  .hstat-div { display: none; }
  .hero-stats { gap: var(--sp-6); }
  .ftr-btm   { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .bstats    { grid-template-columns: 1fr; }
  .hero-badge { font-size: .75rem; }
  .con-grid  { grid-template-columns: 1fr; }
}
