/* =========================================================
   Vikashan Technologies — Redesign
   Design system: futuristic, AI-first, glassy, gradient mesh
   ========================================================= */

:root {
  /* Core palette — aligned with LensVerse's deep navy canvas (#1a1a2e) */
  --bg-0: #11131e;
  --bg-1: #181a28;
  --bg-2: #1f2235;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Brand accents — deep autumn / burnt-orange palette */
  --orange:       #d97706;   /* rich amber-orange (primary) */
  --orange-soft:  #fdba74;   /* warm peach (kept lighter for hover contrast) */
  --orange-deep:  #7c2d12;   /* mahogany */
  --amber:        #b45309;   /* dark copper-amber */
  --coral:        #c2410c;   /* burnt coral */
  --copper:       #92400e;   /* deep copper */

  /* Legacy aliases (kept so older rules still resolve) */
  --violet:  #c2410c;
  --cyan:    #b45309;
  --magenta: #92400e;

  /* Text */
  --text: #f4f1ea;
  --text-dim: #a39c92;
  --text-muted: #6b6055;

  /* Gradients — deep warm spectrum */
  --grad-primary: linear-gradient(135deg, #d97706 0%, #c2410c 50%, #7c2d12 100%);
  --grad-cool:    linear-gradient(135deg, #b45309 0%, #7c2d12 100%);
  --grad-warm:    linear-gradient(135deg, #d97706 0%, #fdba74 100%);
  --grad-text:    linear-gradient(90deg, #fdf2dc 0%, #fdba74 50%, #d97706 100%);

  /* Shadows / glow */
  --glow-orange: 0 0 60px -10px rgba(217, 119, 6, 0.55);
  --glow-violet: 0 0 60px -10px rgba(194, 65, 12, 0.55);

  /* Layout */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;

  /* Type — Raleway as primary, matching parent vtuae.com */
  --font-sans: 'Raleway', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Raleway', 'Noto Sans Arabic', sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Raleway', sans-serif;
}

/* Apply Arabic font to any element with lang="ar" or .arabic */
[lang="ar"], .arabic { font-family: var(--font-arabic); direction: rtl; }

/* =========================================================
   LIGHT THEME — toggle via data-theme="light" on <html>
   ========================================================= */
[data-theme="light"] {
  /* Surfaces — warm cream rather than pure white so the orange brand stays comfortable */
  --bg-0: #fdf8ed;
  --bg-1: #fffbf2;
  --bg-2: #ffffff;
  --surface:    rgba(0, 0, 0, 0.025);
  --surface-2:  rgba(0, 0, 0, 0.05);
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);

  /* Text — near-black on cream */
  --text:       #1a1a1a;
  --text-dim:   #4a4a4a;
  --text-muted: #777067;

  /* Glow softer in light mode */
  --glow-orange: 0 0 60px -10px rgba(217, 119, 6, 0.32);
  --glow-violet: 0 0 60px -10px rgba(194, 65, 12, 0.32);
}

/* Smooth color transitions when switching themes */
html, body, .nav, .dropdown, .card, .feature, .value-card, .approach-step,
.layer, .step-card, .cap, .use-card, .pillar, .compl-badge, .field input,
.field textarea, .field select, .stats, .cta-band, .marquee, .footer-grid a,
.contact-tile, .case-study, .case-metrics, .arch-block, .compliance,
.split-visual, .product-visual {
  transition:
    background 0.5s var(--ease-out),
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

/* ----- Aurora and grid backdrop ----- */
[data-theme="light"] .aurora::before { opacity: 0.18; }
[data-theme="light"] .aurora::after  { opacity: 0.18; }
[data-theme="light"] .aurora .blob-3 { opacity: 0.10; }
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
}

/* ----- Glass surfaces flip from dark to light frosted ----- */
[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.78); }
[data-theme="light"] .nav-mobile { background: rgba(255, 255, 255, 0.96); }
[data-theme="light"] .dropdown {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18), 0 0 60px -10px rgba(217,119,6,0.18);
}

/* ----- Cards & surface tiles flip white-tint → dark-tint ----- */
[data-theme="light"] .card,
[data-theme="light"] .feature,
[data-theme="light"] .value-card,
[data-theme="light"] .approach-step,
[data-theme="light"] .layer,
[data-theme="light"] .step-card,
[data-theme="light"] .cap,
[data-theme="light"] .use-card,
[data-theme="light"] .pillar,
[data-theme="light"] .compliance,
[data-theme="light"] .compl-badge,
[data-theme="light"] .arch-block,
[data-theme="light"] .contact-tile,
[data-theme="light"] .contact-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.025), rgba(0,0,0,0.005));
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.10);
}
[data-theme="light"] .card:hover,
[data-theme="light"] .feature:hover,
[data-theme="light"] .layer:hover,
[data-theme="light"] .cap:hover,
[data-theme="light"] .use-card:hover,
[data-theme="light"] .step-card:hover,
[data-theme="light"] .compl-badge:hover {
  background: linear-gradient(180deg, rgba(0,0,0,0.045), rgba(0,0,0,0.010));
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.16);
}

/* ----- Stat / CTA / marquee bands ----- */
[data-theme="light"] .stats {
  background: linear-gradient(135deg, rgba(217,119,6,0.07), rgba(124,45,18,0.05));
}
[data-theme="light"] .cta-band {
  background:
    radial-gradient(at 20% 20%, rgba(217,119,6,0.18), transparent 60%),
    radial-gradient(at 80% 80%, rgba(124,45,18,0.22), transparent 60%),
    rgba(255,255,255,0.5);
}
[data-theme="light"] .marquee {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.02), transparent);
}

/* ----- Form fields ----- */
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  color: var(--text);
}

/* ----- Subnav (LensVerse) ----- */
[data-theme="light"] .page-subnav { background: rgba(255, 255, 255, 0.85); }

/* ----- Gradient text — keep background-clip: text intact, only swap colors ----- */
[data-theme="light"] .gradient-text {
  background-image: linear-gradient(90deg, #1a1a1a 0%, #b45309 25%, #d97706 50%, #b45309 75%, #1a1a1a 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Stat band number gradient (light) ----- */
[data-theme="light"] .stat-num {
  background-image: linear-gradient(135deg, #d97706, #7c2d12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Custom scrollbar — readable on light ----- */
[data-theme="light"] ::-webkit-scrollbar-thumb {
  border: 2px solid #fdf8ed;
}

/* =========================================================
   THEME TOGGLE — pill slider with sliding knob
   ========================================================= */
.theme-toggle {
  width: 56px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 10px;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--border-strong); }

/* Sliding knob */
.theme-toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a5066, #1a1a2e);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 -1px 0 rgba(255,255,255,0.1);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.2, 1), background 0.4s var(--ease-out);
  z-index: 1;
}

/* Sun and moon icons sit in their halves of the track */
.theme-toggle .t-sun,
.theme-toggle .t-moon {
  width: 12px;
  height: 12px;
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

/* DEFAULT-IN-CSS state (no [data-theme] = dark mode):
   knob slides right over moon · sun on left is dim */
.theme-toggle::before { transform: translateX(28px); }
.theme-toggle .t-sun  { color: var(--text-muted); opacity: 0.55; }
.theme-toggle .t-moon { color: #ffffff; opacity: 1; }

/* LIGHT mode (default for the site): knob on left over sun · moon on right is dim */
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.06);
}
[data-theme="light"] .theme-toggle::before {
  transform: translateX(0);
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 2px 10px rgba(217,119,6,0.4), inset 0 -1px 0 rgba(255,255,255,0.25);
}
[data-theme="light"] .theme-toggle .t-sun  { color: #ffffff; opacity: 1; }
[data-theme="light"] .theme-toggle .t-moon { color: rgba(0,0,0,0.35); opacity: 1; }

@media (max-width: 880px) {
  .theme-toggle { margin-right: 6px; }
}

/* =========================================================
   Light-mode patches for gradient-clipped numbers in inline page styles
   (case-study metrics on LensVerse + approach-step counters on Services)
   ========================================================= */
[data-theme="light"] .case-metric .num {
  background-image: linear-gradient(135deg, #d97706, #7c2d12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .approach-step::before {
  background-image: linear-gradient(135deg, #d97706, #7c2d12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .brand-name span {
  background-image: linear-gradient(135deg, #d97706, #b45309);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Image / mockup panels stay dark in light mode
   (their SVG content is designed with light text on dark bg —
    keeping the panel dark gives a "dark screenshot" look,
    standard for product marketing on light pages.)
   ========================================================= */
[data-theme="light"] .product-visual {
  background:
    radial-gradient(at 30% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%),
    radial-gradient(at 70% 80%, rgba(255,255,255,0.08), transparent 50%),
    #181a28;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,0.20);
}
[data-theme="light"] .product-visual::before {
  /* Re-establish the subtle white grid that styles.css originally drew */
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}

[data-theme="light"] .doc-showcase {
  background:
    radial-gradient(at 30% 20%, rgba(217,119,6,0.50), transparent 55%),
    radial-gradient(at 80% 80%, rgba(124,45,18,0.55), transparent 55%),
    #181a28;
  border-color: rgba(0,0,0,0.14);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.32);
}
[data-theme="light"] .doc-showcase::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
}

[data-theme="light"] .split-visual {
  background:
    radial-gradient(at 20% 20%, rgba(217,119,6,0.50), transparent 50%),
    radial-gradient(at 80% 80%, rgba(124,45,18,0.55), transparent 50%),
    radial-gradient(at 50% 50%, rgba(180,83,9,0.32), transparent 60%),
    #181a28;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,0.18);
}
[data-theme="light"] .split-visual::after {
  /* Subtle white grid stays visible on dark inner canvas */
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(255, 122, 26, 0.35); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #d97706, #7c2d12); border-radius: 999px; border: 2px solid #05060a; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #b45309, #c2410c); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 200;
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
  transition: width 0.08s linear;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ----- Background mesh / aurora ----- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora::before {
  background: radial-gradient(circle, #b45309 0%, transparent 60%);
  top: -20vw;
  left: -10vw;
  opacity: 0.55;
}
.aurora::after {
  background: radial-gradient(circle, #7c2d12 0%, transparent 60%);
  bottom: -25vw;
  right: -15vw;
  animation-delay: -8s;
  opacity: 0.55;
}
.aurora .blob-3 {
  position: absolute;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  background: radial-gradient(circle, #92400e 0%, transparent 65%);
  filter: blur(140px);
  opacity: 0.32;
  top: 30%;
  left: 35%;
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(8vw,-6vw,0) scale(1.15); }
}

/* Subtle grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}

/* ----- Container ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Navigation ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 6, 10, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #000000;
  background-size: 82% auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: var(--glow-orange);
  flex-shrink: 0;
}
.brand-mark::after { display: none; }
.brand-mark img {
  width: 80%;
  height: auto;
  display: block;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Footer-scoped overrides — content stays LEFT-aligned (like
   previous). Only the brand wordmark inlines next to the logo,
   vertically centered, with "Technology" matching "Vikashan"
   in font + size + weight (no subtitle styling). Nav brand
   stays stacked / unaffected.
   ========================================================= */
footer .footer-grid .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
footer .footer-grid .brand-name {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
footer .footer-grid .brand-name .brand-tag {
  /* Same style as "Vikashan" — not a small uppercase subtitle */
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  margin-top: 0;
}

/* =========================================================
   MOBILE FIXES — ensure product-block split layouts stack
   correctly and sections have breathing room on phones.
   The inline `style="grid-template-columns: 1fr 1.1fr"` on
   alternating product blocks needs !important to override.
   ========================================================= */
@media (max-width: 920px) {
  /* Force single column on mobile, even with inline grid override */
  .split,
  .product-block .split {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* Ensure product-visual + text reorder cleanly on stack */
  .product-block .split > .product-visual,
  .product-block .split > .reveal[style*="order"] {
    order: initial !important;
  }
  /* Product visual gets a sensible mobile aspect-ratio */
  .product-visual {
    aspect-ratio: 1.4/1;
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  /* === Section padding — compact but breathable === */
  section { padding: 40px 0; }
  .product-block { padding: 32px 0; }
  .hero { padding: 40px 0 24px; }
  .page-hero { padding: 40px 0 24px; }

  /* === Hide decorative SVG mockups entirely on mobile === */
  .product-block .product-visual,
  .split-visual {
    display: none !important;
  }

  /* === Hero / page-hero typography compaction === */
  .h-display {
    font-size: clamp(28px, 8vw, 40px);
    margin: 12px auto 14px;
    max-width: 100%;
  }
  .page-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
    margin: 10px auto 12px;
    max-width: 100%;
  }
  .hero-sub, .page-hero p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 100%;
  }
  .eyebrow {
    font-size: 11px;
    padding: 5px 12px;
  }
  .btn { font-size: 14px; padding: 12px 20px; }

  /* === Section heads tighter === */
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(22px, 6.5vw, 30px); margin-bottom: 12px; }
  .section-head p { font-size: 14px; line-height: 1.5; }
  .section-eyebrow { font-size: 11px; margin-bottom: 10px; }

  /* === Trust-stat tiles → tight 2-column grid (was stacked, hogging height) === */
  .trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .trust-stat { padding: 12px 14px; }
  .trust-num { font-size: clamp(20px, 5.5vw, 28px); margin-bottom: 4px; }
  .trust-label { font-size: 11px; line-height: 1.35; }

  /* === Hero stat band 4-up → 2-column compact === */
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 14px;
  }
  .stat-num { font-size: clamp(22px, 6vw, 30px); }
  .stat-label { font-size: 12px; }

  /* === Product block content tightens === */
  .product-block .lede {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .product-block .grid.grid-2 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .product-block h2 { margin: 12px 0 12px; font-size: clamp(24px, 6.5vw, 32px); }
  .accent-line { margin-bottom: 18px; height: 3px; }

  /* === Feature cards much tighter === */
  .feature { padding: 14px; gap: 10px; }
  .feature h4 { font-size: 14px; margin: 0 0 2px; }
  .feature p { font-size: 13px; line-height: 1.45; }
  .feature .tick { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px; }
  .feature .tick svg { width: 12px; height: 12px; }

  /* === Pills more compact === */
  .pills { gap: 4px; margin: 0; }
  .feature-pill { font-size: 11px; padding: 6px 10px; margin: 2px; }

  /* === Product tag & soon-pill scale === */
  .product-tag { font-size: 11px; padding: 5px 6px 5px 12px; gap: 8px; }
  .product-tag .visit-pill,
  .product-tag .soon-pill { font-size: 10px; padding: 3px 8px; }

  /* === Doc-showcase still visible but very compact === */
  .doc-showcase { aspect-ratio: 1.8/1; }

  /* === CTA band on mobile === */
  .cta-band { padding: 36px 20px; }
  .cta-band h2 { font-size: clamp(20px, 5.5vw, 26px); margin-bottom: 10px; }
  .cta-band p { font-size: 14px; margin-bottom: 20px; }

  /* === Marquee tighter === */
  .marquee { padding: 14px 0; margin: 32px 0; }
  .marquee-item { font-size: 15px; }

  /* === Card padding tighter === */
  .card, .value-card, .approach-step, .cap, .use-card, .step-card, .layer {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  /* === Tiniest phones — drop the LensVerse doc-showcase entirely === */
  .doc-showcase { display: none; }

  /* Even tighter section padding */
  section { padding: 28px 0; }
  .product-block { padding: 24px 0; }
  .hero { padding: 28px 0 12px; }
  .page-hero { padding: 28px 0 12px; }

  /* Headlines yet smaller */
  .h-display { font-size: clamp(26px, 8vw, 34px); }
  .page-hero h1 { font-size: clamp(26px, 8vw, 34px); }
  .hero-sub, .page-hero p { font-size: 14px; }

  /* Stats really compact */
  .stats { padding: 14px; gap: 10px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 11px; }
}


.brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-name .brand-tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--glow-orange);
  transition: transform .2s ease, box-shadow .3s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 80px -8px rgba(255,122,26,0.7); }

/* Dropdown nav item — horizontal sub-nav strip (mega menu) on hover */
.nav-item { position: relative; }
.nav-item > .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s var(--ease-out);
}
.nav-item > .nav-trigger:hover,
.nav-item.open > .nav-trigger { color: var(--text); background: var(--surface); }
.nav-item > .nav-trigger .caret { transition: transform 0.3s var(--ease-out); }
.nav-item.open > .nav-trigger .caret { transform: rotate(180deg); }

/* Invisible hover bridge so the gap between trigger and strip doesn't close on hover */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 14px;
  pointer-events: none;
}
.nav-item.open::after { pointer-events: auto; }

.dropdown {
  /* Pinned to viewport center, regardless of where the trigger button sits */
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(820px, 92vw);
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 12, 20, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), 0 0 80px -10px rgba(217,119,6,0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;

  /* Horizontal strip: 4 product cells side-by-side */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
/* Arrow indicator removed — dropdown is no longer anchored to trigger position,
   so a directional pointer would mislead. */
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.dropdown-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent, #d97706);
  opacity: 0.5;
  transition: opacity .3s var(--ease-out);
}
.dropdown-item:hover { background: var(--surface-2); transform: translateY(-2px); }
.dropdown-item:hover::before { opacity: 1; }
.dropdown-item .ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent, #d97706) 16%, transparent);
  color: var(--accent, #d97706);
  border: 1px solid color-mix(in srgb, var(--accent, #d97706) 30%, transparent);
}
.dropdown-item .ico svg { width: 18px; height: 18px; }
.dropdown-item .meta { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.dropdown-item .meta h6 { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); font-family: var(--font-display); letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.dropdown-item .meta p  { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.dropdown-item .ext {
  display: none; /* hidden in horizontal layout — top accent bar signals interactivity instead */
}

/* Footer row spans the full strip */
.dropdown-foot {
  grid-column: 1 / -1;
  margin: 4px 4px 0;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.dropdown-foot a {
  color: var(--orange-soft);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Collapse to vertical on narrow screens (still horizontal strip on tablet+) */
@media (max-width: 720px) {
  .dropdown { grid-template-columns: 1fr 1fr; width: min(440px, 92vw); }
}

.dropdown-item.credit  { --accent: #d97706; }
.dropdown-item.lens    { --accent: #b45309; }
.dropdown-item.agent   { --accent: #c2410c; }
.dropdown-item.policy  { --accent: #7c2d12; }

/* (dropdown-foot styles defined above with grid-column: 1 / -1 for horizontal strip) */

/* Mobile dropdown (collapsed list) */
.nav-mobile .mobile-group-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 8px 6px;
  border-bottom: 1px solid var(--border);
}

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-burger svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-mobile {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    background: rgba(5,6,10,0.92);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    padding: 12px 8px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav-mobile a:last-child { border-bottom: none; }
}
@media (min-width: 881px) {
  .nav-mobile { display: none !important; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 0;
}

.h-display {
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 700;
  margin: 22px auto 20px;
  max-width: 22ch;
  letter-spacing: -0.035em;
}
.h-display .gradient-text { display: inline; }
.h-display .word { white-space: pre; }
.h-display .word .gradient-text {
  /* When the gradient phrase is wrapped as a single .word, keep it inline */
  display: inline-block;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}

.btn-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  transition: all .25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-primary);
  border-color: rgba(255,255,255,0.18);
  color: white;
  box-shadow: var(--glow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 80px -6px rgba(255,79,163,0.6); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Industry chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 42px auto 0;
  max-width: 760px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
  transition: all .25s ease;
}
.chip:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* ----- Section ----- */
section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 17px; margin: 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  font-weight: 600;
}

/* ----- Card grid ----- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255,122,26,0.4), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(217,119,6,0.22), rgba(124,45,18,0.22));
  border: 1px solid var(--border);
  margin-bottom: 18px;
  color: var(--orange);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* Product card variants — deep autumn spectrum */
.card.credit { --accent: #d97706; }  /* rich amber-orange */
.card.lens   { --accent: #b45309; }  /* dark amber */
.card.agent  { --accent: #c2410c; }  /* burnt coral */
.card.policy { --accent: #7c2d12; }  /* mahogany */
.card[class*="credit"] .card-icon,
.card[class*="lens"] .card-icon,
.card[class*="agent"] .card-icon,
.card[class*="policy"] .card-icon {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

/* ----- Stats band ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(217,119,6,0.10), rgba(124,45,18,0.10));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat-label { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ----- Features split ----- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.feature .tick {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-warm);
  color: white;
}
.feature .tick svg { width: 14px; height: 14px; }
.feature h4 { font-size: 16px; margin: 0 0 4px; }
.feature p { color: var(--text-dim); font-size: 14px; margin: 0; }

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(at 20% 20%, rgba(217,119,6,0.45), transparent 50%),
    radial-gradient(at 80% 80%, rgba(124,45,18,0.55), transparent 50%),
    radial-gradient(at 50% 50%, rgba(180,83,9,0.30), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--border);
  overflow: hidden;
}
.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
}

/* ----- CTA band ----- */
.cta-band {
  position: relative;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(at 20% 20%, rgba(217,119,6,0.32), transparent 60%),
    radial-gradient(at 80% 80%, rgba(124,45,18,0.50), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 28px; }

/* ----- Footer ----- */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,122,26,0.04));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-grid a {
  display: block;
  color: var(--text-dim);
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s;
}
.footer-grid a:hover { color: var(--orange-soft); }

/* Phone + WhatsApp inline pair (each pair on its own line; stacks vertically when there are multiple) */
.phone-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.footer-grid .phone-line { padding: 6px 0; }
.footer-grid .phone-line > a:first-child { padding: 0; display: inline; }
.contact-tile .phone-line + .phone-line { margin-top: 4px; }
.phone-line > .wa-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366 !important;
  padding: 0 !important;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.phone-line > .wa-btn:hover {
  background: #25D366;
  color: #0a0c14 !important;
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.5);
}
.footer-blurb { color: var(--text-dim); font-size: 14px; max-width: 320px; margin: 14px 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text-dim);
  transition: all .2s;
}
.socials a:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- Page hero (inner pages) ----- */
.page-hero {
  padding: 80px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin: 14px auto 18px;
  max-width: 16ch;
}
.page-hero p { color: var(--text-dim); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ----- Forms ----- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.field input,
.field textarea,
.field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--surface-2);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* Utility */
.center { text-align: center; }
.muted { color: var(--text-dim); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* =========================================================
   PRODUCT BLOCKS — VikaVerse deep-dives (used on Home)
   ========================================================= */
.product-block { padding: 72px 0; border-bottom: 1px solid var(--border); }
.product-block:last-of-type { border-bottom: none; }

.product-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  text-decoration: none;
  transition: all .3s var(--ease-out);
  cursor: pointer;
}
.product-tag:hover {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 0 32px -8px var(--accent);
}
.product-tag .visit-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 90%, white 0%);
  color: #0a0c14;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: transform .3s var(--ease-out);
}
.product-tag:hover .visit-pill { transform: translateX(2px); }
.product-tag .visit-pill svg { width: 10px; height: 10px; }

/* "Coming soon" variant — used on non-launched products */
.product-tag.is-soon {
  cursor: default;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}
.product-tag.is-soon:hover {
  transform: none;
  box-shadow: none;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.product-tag .soon-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Mobile-nav "soon" inline tag */
.nav-mobile .soon-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--orange-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Live indicator (shown on the launched product's tag) */
.product-tag.is-live { padding-left: 12px; }
.product-tag .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ace4d;
  box-shadow: 0 0 14px #2ace4d, 0 0 0 0 rgba(42, 206, 77, 0.7);
  animation: live-pulse 2s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 14px #2ace4d, 0 0 0 0 rgba(42, 206, 77, 0.6); }
  70%  { box-shadow: 0 0 14px #2ace4d, 0 0 0 10px rgba(42, 206, 77, 0); }
  100% { box-shadow: 0 0 14px #2ace4d, 0 0 0 0 rgba(42, 206, 77, 0); }
}
.product-block h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 18px 0 16px; }
.product-block .lede { color: var(--text-dim); font-size: 18px; max-width: 620px; margin: 0 0 28px; }

.accent-line {
  width: 80px; height: 4px; border-radius: 4px;
  background: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 0 24px var(--accent);
}

.credit-block  { --accent: #d97706; }
.lens-block    { --accent: #b45309; }
.agent-block   { --accent: #c2410c; }
.policy-block  { --accent: #7c2d12; }

.product-visual {
  aspect-ratio: 1.05/1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(at 30% 30%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 55%),
    radial-gradient(at 70% 80%, rgba(255,255,255,0.08), transparent 50%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.feature-pill {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
  margin: 4px;
  transition: all .25s var(--ease-out);
}
.feature-pill:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateY(-1px);
}
.pills { display: flex; flex-wrap: wrap; margin: -4px; }

/* Trust-stat row (used on LensVerse to highlight production confidence) */
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 28px;
}
@media (max-width: 480px) { .trust-row { grid-template-columns: 1fr; } }
.trust-stat {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255,255,255,0.02));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
}
.trust-label {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* =========================================================
   POLISH LAYER — smoothness, motion, micro-interactions
   ========================================================= */

/* ---- Smoother easings everywhere ---- */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
.btn, .nav-cta, .card, .feature, .chip, .nav-links a, .footer-grid a, .socials a, .contact-tile, .value-card, .approach-step {
  transition-timing-function: var(--ease-out);
  transition-duration: 0.4s;
}

/* ---- Animated gradient text (slow shimmer, deep autumn) ---- */
.gradient-text {
  background: linear-gradient(90deg, #fdf2dc 0%, #fdba74 25%, #d97706 50%, #b45309 75%, #fdf2dc 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Word-by-word reveal for hero headlines ---- */
.h-display .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  filter: blur(8px);
  animation: wordIn 0.9s var(--ease-out) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

/* ---- Hero CTA shine sweep ---- */
.btn-primary, .nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after, .nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after, .nav-cta:hover::after {
  transform: translateX(120%);
}

/* ---- Subtle floating animation for hero visuals ---- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float-slow { animation: float-y 7s var(--ease-in-out) infinite; }

/* ---- Pulsing rings (decorative orb) ---- */
.orb {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 30px var(--orange);
}
.orb::before, .orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: ping 2.4s var(--ease-out) infinite;
}
.orb::after { animation-delay: 1.2s; }
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(6);   opacity: 0; }
}

/* ---- Cursor-follow spotlight on cards ---- */
.card {
  --mx: 50%;
  --my: 50%;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 122, 26, 0.16), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* Distinct spotlight tints per VikaVerse product (deep autumn spectrum) */
.card.lens::after   { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(180, 83, 9, 0.22), transparent 50%); }
.card.agent::after  { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(194, 65, 12, 0.22), transparent 50%); }
.card.policy::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(124, 45, 18, 0.28), transparent 50%); }

/* ---- 3D tilt on cards ---- */
.card.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.card.tilt > * { transform: translateZ(20px); }

/* ---- Nav link underline glow ---- */
.nav-links a {
  position: relative;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover::before, .nav-links a.active::before { transform: scaleX(1); }

/* ---- Industries marquee ---- */
.marquee {
  position: relative;
  overflow: hidden;
  margin: 56px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  padding-right: 56px;
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}
.marquee-item .dot-sep {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Reveal-on-scroll: refined ---- */
.reveal {
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  filter: blur(6px);
}
.reveal.show { filter: blur(0); }

/* Stagger child reveals */
.stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.15s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.25s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.35s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.45s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.55s; }

/* ---- Soft hover lift for any interactive element ---- */
.lift { transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.lift:hover { transform: translateY(-3px); }

/* ---- Animated arrow on hover (already has .arrow) ---- */
.btn .arrow, a .arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .arrow, a:hover .arrow { transform: translateX(4px); }

/* ---- Page-load fade-in (opacity only — transform on body breaks sticky nav) ---- */
body { animation: pageIn 0.6s var(--ease-out); }
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Floating particles (decorative dots over hero) ---- */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(20vh) scale(0.6); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-80vh) scale(1.1); opacity: 0; }
}

/* Honor user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
