/* =================================================================
   JBN DIGI — STYLESHEET
   Design system: Pure black premium dark theme with a single strong
   red accent. Typography-led, glassmorphism cards, subtle motion,
   and original SVG/CSS illustrations for every section instead of
   stock imagery.
   Spacing follows an 8px base scale throughout.
   ================================================================= */

/* -----------------------------------------------------------------
   1. CSS RESET
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------
   2. DESIGN TOKENS
   ----------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-primary: #050505;
  --bg-secondary: #0f0f0f;
  --card-bg: #111111;
  --card-bg-elevated: #151515;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Accent */
  --accent: #ff1f3d;
  --accent-2: #ff4d5d;
  --accent-glow: rgba(255, 31, 61, 0.35);
  --accent-glow-soft: rgba(255, 31, 61, 0.14);

  /* Text */
  --text-white: #ffffff;
  --text-light: #c9c9cf;
  --text-muted: #7a7a82;
  --text-faint: #4d4d54;

  /* Typography */
  --font-display: 'Space Grotesk', 'General Sans', sans-serif;
  --font-body: 'General Sans', sans-serif;

  /* Spacing (8px base scale) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.2s;
  --dur-mid: 0.5s;
  --dur-slow: 0.9s;
  --dur-draw: 1.4s;
}

/* -----------------------------------------------------------------
   3. BASE TYPOGRAPHY
   ----------------------------------------------------------------- */
body {
  background: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-accent { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-2);
  background: var(--accent);
  color: var(--text-white);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-2); }

/* -----------------------------------------------------------------
   4. SCROLL PROGRESS BAR
   ----------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.1s linear;
}

/* -----------------------------------------------------------------
   5. SHARED SECTION / GLASS UTILITIES
   ----------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-2);
  position: relative;
  padding-left: var(--sp-3);
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  translate: 0 -50%;
  width: 16px; height: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-8);
}
.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: var(--sp-2);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

/* Reusable browser/app "chrome" bar used across dashboard, laptop and case-study mocks */
.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.chrome-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.chrome-dot-red { background: var(--accent); }
.dashboard-chrome-title,
.laptop-address {
  margin-left: var(--sp-2);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}
.laptop-address {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.04);
  padding: 3px 14px;
  border-radius: var(--radius-pill);
}

/* -----------------------------------------------------------------
   6. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; }
.btn-icon { width: 18px; height: 18px; position: relative; z-index: 2; transition: translate var(--dur-fast) var(--ease-out); }
.btn:hover .btn-icon { translate: 4px 0; }

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-md { padding: 14px 30px; font-size: 0.95rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text-white);
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.35), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
  z-index: 1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--accent-glow); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-white);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-glow-soft);
  transform: translateY(-2px);
}

.btn::after {
  content: '';
  position: absolute;
  top: var(--ry, 50%);
  left: var(--rx, 50%);
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.btn.rippling::after {
  animation: ripple 0.6s var(--ease-out);
}
@keyframes ripple {
  0% { opacity: 0.6; scale: 0; }
  100% { opacity: 0; scale: 40; }
}

/* -----------------------------------------------------------------
   7. HEADER / NAV
   ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding-block: var(--sp-3);
  transition: background var(--dur-fast) var(--ease-out),
              padding var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding-block: var(--sp-2);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.logo-jbn { color: var(--accent); }
.logo-slash { color: var(--text-white); margin-inline: 2px; font-weight: 400; opacity: 0.6; }
.logo-digi { color: var(--text-white); }

.main-nav ul { display: flex; align-items: center; gap: var(--sp-4); }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-out);
}
.main-nav a:hover { color: var(--text-white); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-white);
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }

/* -----------------------------------------------------------------
   7b. SERVICES DROPDOWN (header nav)
   ----------------------------------------------------------------- */
.nav-item-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  padding-block: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-dropdown-toggle:hover,
.nav-item-dropdown.is-open .nav-dropdown-toggle { color: var(--text-white); }
.nav-caret { width: 10px; height: 7px; transition: transform var(--dur-fast) var(--ease-out); }
.nav-item-dropdown.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  translate: -50% 0;
  width: 300px;
  padding: 10px;
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) translateX(-50%);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
  z-index: 50;
}
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(-50%);
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: var(--accent-glow-soft);
  color: var(--text-white);
}
.nav-dropdown-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.nav-dropdown-icon svg { width: 18px; height: 18px; }

/* Highlight pulse applied briefly to the service card a visitor jumps to */
.service-card.is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-soft), 0 20px 50px -20px rgba(255, 31, 61, 0.35);
  animation: serviceHighlightPulse 1.6s var(--ease-out);
}
@keyframes serviceHighlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 31, 61, 0.55), 0 20px 50px -20px rgba(255, 31, 61, 0.35); }
  60% { box-shadow: 0 0 0 10px rgba(255, 31, 61, 0), 0 20px 50px -20px rgba(255, 31, 61, 0.35); }
  100% { box-shadow: 0 0 0 3px var(--accent-glow-soft), 0 20px 50px -20px rgba(255, 31, 61, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .service-card.is-highlighted { animation: none; }
}

/* -----------------------------------------------------------------
   8. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-10);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: -10% -10%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 40%, transparent 90%);
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-glow-1 {
  width: 620px; height: 620px;
  top: -180px; left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  animation: drift1 16s ease-in-out infinite;
}
.hero-glow-2 {
  width: 420px; height: 420px;
  bottom: -140px; right: 8%;
  background: radial-gradient(circle, rgba(255,77,93,0.25), transparent 70%);
  animation: drift2 20s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { translate: -50% 0; }
  50% { translate: -48% 30px; }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, -24px); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-shape {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(2px);
}
.hero-shape-1 {
  width: 90px; height: 90px;
  top: 12%; left: 6%;
  rotate: 18deg;
  animation: floatY 7s ease-in-out infinite;
}
.hero-shape-2 {
  width: 60px; height: 60px;
  top: 55%; left: 4%;
  border-radius: 50%;
  border-color: var(--accent-glow);
  animation: floatY 9s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 120px; height: 120px;
  top: 20%; right: 5%;
  rotate: -12deg;
  animation: floatY 8s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-22px) rotate(var(--r, 0deg)); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: var(--sp-4);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.5; scale: 0.8; }
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  max-width: 1000px;
  margin-bottom: var(--sp-4);
}
.hero-title .line { display: block; }

.hero-sub {
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.hero-cta-row {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-8);
}
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
}
.hero-stat-suffix {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-left: 2px;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px; height: 32px;
  background: var(--border-strong);
}

/* --- Hero floating analytics dashboard visual --- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin-top: var(--sp-2);
}
.hero-dashboard {
  padding-bottom: var(--sp-3);
  overflow: hidden;
}
.dashboard-body { padding: var(--sp-3) var(--sp-4) 0; }
.dashboard-chart-wrap { position: relative; height: 120px; margin-bottom: var(--sp-2); }
.dashboard-chart { width: 100%; height: 100%; overflow: visible; }
.dashboard-chart-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset var(--dur-draw) var(--ease-out) 0.2s;
}
.dashboard-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-bottom: var(--sp-2);
}
.dashboard-bars span {
  flex: 1;
  height: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity: 0.85;
  transition: height 0.8s var(--ease-out);
}
.dashboard-bars span:nth-child(1) { transition-delay: 0.05s; }
.dashboard-bars span:nth-child(2) { transition-delay: 0.1s; }
.dashboard-bars span:nth-child(3) { transition-delay: 0.15s; }
.dashboard-bars span:nth-child(4) { transition-delay: 0.2s; }
.dashboard-bars span:nth-child(5) { transition-delay: 0.25s; }
.dashboard-bars span:nth-child(6) { transition-delay: 0.3s; }
.dashboard-bars span:nth-child(7) { transition-delay: 0.35s; }
.dashboard-bars span:nth-child(8) { transition-delay: 0.4s; }
.dashboard-legend {
  display: flex;
  gap: var(--sp-3);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-bottom: var(--sp-1);
}
.dashboard-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.legend-dot-muted { background: var(--border-strong); }

.hero-visual.is-visible .dashboard-chart-line { stroke-dashoffset: 0; }
.hero-visual.is-visible .dashboard-bars span { height: var(--h); }

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 16px;
  background: rgba(17,17,17,0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.7);
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.hero-visual.is-visible .hero-float-card { opacity: 1; transform: translateY(0) scale(1); }
.hero-float-card strong { display: block; font-family: var(--font-display); color: var(--text-white); font-size: 1.05rem; }
.hero-float-card-1 {
  top: -18px; left: -24px;
  animation: floatCard 5s ease-in-out infinite;
  transition-delay: 0.6s;
}
.hero-float-card-2 {
  bottom: 30px; right: -30px;
  animation: floatCard 6s ease-in-out infinite reverse;
  transition-delay: 0.8s;
}
.hero-float-card-3 {
  top: 40%; right: -46px;
  flex-direction: column;
  align-items: flex-start;
  animation: floatCard 5.5s ease-in-out infinite;
  animation-delay: -2s;
  transition-delay: 1s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-float-icon {
  width: 26px; height: 26px;
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow-soft);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-float-icon svg { width: 15px; height: 15px; }
.hero-float-icon-up {
  background: none;
  color: #4ade80;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  width: auto; height: auto;
}
.hero-donut { width: 36px; height: 36px; flex-shrink: 0; }
.hero-donut-progress {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset var(--dur-draw) var(--ease-out) 0.4s;
}
.hero-visual.is-visible .hero-donut-progress { stroke-dashoffset: 34; }

.scroll-indicator {
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  z-index: 2;
  color: var(--text-muted);
}
.scroll-indicator-line {
  width: 1px; height: 40px;
  background: var(--border-strong);
  display: block;
  overflow: hidden;
  position: relative;
}
.scroll-indicator-line span {
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
.scroll-indicator-text {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* -----------------------------------------------------------------
   9. TRUSTED BY / MARQUEE
   ----------------------------------------------------------------- */
.trusted-by {
  padding-block: var(--sp-6) var(--sp-4);
  border-top: 1px solid var(--border);
}
.trusted-by-label {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}
.marquee {
  overflow: hidden;
  -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: flex;
  width: max-content;
  gap: var(--sp-10);
  animation: marquee 32s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -----------------------------------------------------------------
   10. SHARED SECTION SPACING
   ----------------------------------------------------------------- */
section { padding-block: var(--sp-12); }

/* -----------------------------------------------------------------
   11. ABOUT
   ----------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-6);
}
.about-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  max-width: 620px;
  margin-bottom: var(--sp-4);
}
.about-text {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.about-pillar {
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.about-pillar:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.about-pillar-icon {
  display: flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--accent-2);
  margin-bottom: var(--sp-2);
}
.about-pillar-icon svg { width: 20px; height: 20px; }
.about-pillar h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.about-pillar p { font-size: 0.9rem; color: var(--text-muted); }

/* -----------------------------------------------------------------
   12. SERVICES
   ----------------------------------------------------------------- */
.services { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.service-card {
  position: relative;
  padding: var(--sp-4);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, var(--accent-glow-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px rgba(255, 31, 61, 0.25);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--accent-2);
  margin-bottom: var(--sp-3);
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); border-color: var(--accent); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: var(--sp-1); position: relative; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: var(--sp-3); position: relative; }
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  position: relative;
  display: inline-flex;
  gap: 6px;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.service-card:hover .service-link { color: var(--accent-2); gap: 10px; }

/* -----------------------------------------------------------------
   13. CAPABILITIES — "SEE IT IN ACTION" DEEP DIVE
   ----------------------------------------------------------------- */
.capability-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--border);
}
.capability-row:last-child { border-bottom: none; }
.capability-row.reverse { grid-template-columns: 1.15fr 0.85fr; }
.capability-row.reverse .capability-text { order: 2; }
.capability-row.reverse .capability-visual { order: 1; }

.capability-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-2);
}
.capability-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: var(--sp-2); max-width: 420px; }
.capability-text > p { color: var(--text-muted); margin-bottom: var(--sp-3); max-width: 440px; }
.capability-checklist { display: flex; flex-direction: column; gap: var(--sp-1); }
.capability-checklist li {
  font-size: 0.92rem;
  color: var(--text-light);
  padding-left: var(--sp-3);
  position: relative;
}
.capability-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-glow-soft);
  border: 1px solid var(--accent);
}

.capability-visual-center { display: flex; justify-content: center; }

/* --- SEO mock: ranking list + growth chart --- */
.seo-mock { width: 100%; max-width: 460px; margin-inline: auto; }
.seo-mock-body { padding: var(--sp-3) var(--sp-3) var(--sp-2); }
.seo-mock-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.seo-mock-row-top { border-bottom-color: var(--accent-glow-soft); }
.seo-rank {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.seo-rank.muted { background: rgba(255,255,255,0.08); color: var(--text-muted); }
.seo-row-text { flex: 1; min-width: 0; }
.seo-row-text strong { display: block; font-size: 0.85rem; color: var(--text-white); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seo-row-text.muted strong { color: var(--text-muted); }
.seo-row-text small { font-size: 0.72rem; color: var(--text-faint); }
.seo-bar {
  width: 70px; height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.seo-bar::after {
  content: '';
  position: absolute; inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  transition: width 0.9s var(--ease-out);
}
.seo-bar.muted::after { background: var(--text-faint); }
.capability-row.is-visible .seo-bar::after { width: var(--w); }

.seo-growth { width: 100%; height: 56px; margin-top: var(--sp-2); color: var(--accent); overflow: visible; }
.seo-growth polyline { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset var(--dur-draw) var(--ease-out) 0.3s; }
.capability-row.is-visible .seo-growth polyline { stroke-dashoffset: 0; }
.seo-growth-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: var(--sp-1); }
.seo-growth-label strong { color: var(--text-white); }

/* --- Google Ads mock: KPI tiles + bar chart + funnel --- */
.ads-mock { width: 100%; max-width: 460px; margin-inline: auto; }
.ads-mock-body { padding: var(--sp-3) var(--sp-3) var(--sp-2); }
.ads-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-3); }
.ads-kpi {
  padding: var(--sp-2);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.ads-kpi span { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.ads-kpi strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-white); }
.ads-kpi-accent { border-color: var(--accent); background: var(--accent-glow-soft); }
.ads-kpi-accent strong { color: var(--accent-2); }

.ads-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-bottom: var(--sp-3); }
.ads-bars span {
  flex: 1;
  height: 0;
  position: relative;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  transition: height 0.8s var(--ease-out);
  opacity: 0.9;
}
.ads-bars span i {
  position: absolute;
  bottom: -18px; left: 50%;
  translate: -50% 0;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--text-faint);
}
.ads-bars span:nth-child(1) { transition-delay: 0.05s; }
.ads-bars span:nth-child(2) { transition-delay: 0.1s; }
.ads-bars span:nth-child(3) { transition-delay: 0.15s; }
.ads-bars span:nth-child(4) { transition-delay: 0.2s; }
.ads-bars span:nth-child(5) { transition-delay: 0.25s; }
.ads-bars span:nth-child(6) { transition-delay: 0.3s; }
.capability-row.is-visible .ads-bars span { height: var(--h); }

.ads-funnel { display: flex; flex-direction: column; gap: 6px; margin-top: var(--sp-3); }
.ads-funnel-step {
  width: 0;
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: width 0.8s var(--ease-out);
  white-space: nowrap;
}
.ads-funnel-step-accent { background: var(--accent-glow-soft); border-color: var(--accent); color: var(--text-white); }
.capability-row.is-visible .ads-funnel-step { width: var(--w); }

/* --- Phone mock: social feed --- */
.phone-mock {
  width: 240px;
  border: 8px solid #16161a;
  border-radius: 36px;
  background: #0b0b0d;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  position: relative;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  translate: -50% 0;
  width: 90px; height: 18px;
  background: #16161a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen { padding: 30px 12px 16px; }
.social-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-white);
  font-weight: 600;
}
.social-app-bar i {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}
.social-post { margin-bottom: var(--sp-2); }
.social-post-media {
  position: relative;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1a1a1e, #0d0d0f);
}
.social-post-shape {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--accent-glow), transparent 60%),
              radial-gradient(circle at 75% 70%, rgba(255,77,93,0.3), transparent 55%);
}
.social-post-shape-alt {
  position: static;
  display: block;
  height: 90px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: radial-gradient(circle at 60% 40%, var(--accent-glow), transparent 65%),
              linear-gradient(135deg, #1a1a1e, #0d0d0f);
}
.social-post-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(5,5,5,0.8);
  border: 1px solid var(--accent);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.social-post-actions { display: flex; gap: 10px; margin-bottom: 8px; color: var(--text-light); }
.social-post-actions svg { width: 17px; height: 17px; }
.social-post-lines { display: flex; flex-direction: column; gap: 5px; }
.social-post-lines span { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.line-full { width: 100%; }
.line-short { width: 40%; }
.line-mid { width: 65%; }
.social-post-alt { display: flex; flex-direction: column; }

/* --- Laptop mock: website preview --- */
.laptop-mock { width: 100%; max-width: 460px; margin-inline: auto; }
.laptop-screen {
  background: #0b0b0d;
  border: 6px solid #1a1a1e;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.laptop-chrome { padding: 9px var(--sp-2); }
.laptop-site { padding: var(--sp-3); }
.laptop-site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-3);
}
.laptop-site-nav span:not(.laptop-site-nav-btn) {
  width: 26px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.laptop-site-nav-btn {
  margin-left: auto;
  width: 46px !important;
  height: 16px !important;
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
}
.laptop-site-hero { margin-bottom: var(--sp-3); }
.laptop-line { display: block; border-radius: 4px; background: rgba(255,255,255,0.12); margin-bottom: 8px; }
.laptop-line-lg { width: 80%; height: 14px; }
.laptop-line-md { width: 55%; height: 8px; background: rgba(255,255,255,0.07); }
.laptop-site-btn {
  display: inline-block;
  width: 70px; height: 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-top: 6px;
}
.laptop-site-cards { display: flex; gap: 8px; }
.laptop-site-cards span {
  flex: 1;
  height: 46px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #1a1a1e, #0b0b0d);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.laptop-base::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  translate: -50% 0;
  width: 60px; height: 4px;
  background: #232327;
  border-radius: 0 0 6px 6px;
}

/* -----------------------------------------------------------------
   14. PROCESS
   ----------------------------------------------------------------- */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.process-connector {
  position: absolute;
  top: 26px; left: 0;
  width: 100%; height: 8px;
  z-index: 0;
  overflow: visible;
}
.process-connector line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.2s;
}
.process-timeline.is-visible .process-connector line { stroke-dashoffset: 0; }

.process-step { position: relative; z-index: 1; }
.process-step-marker {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--accent-2);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.process-step-marker svg { width: 24px; height: 24px; }
.process-step:hover .process-step-marker {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-glow-soft);
}
.process-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.process-step-body h3 { font-size: 1.1rem; margin-bottom: var(--sp-1); }
.process-step-body p { font-size: 0.9rem; color: var(--text-muted); }

/* -----------------------------------------------------------------
   15. WHY CHOOSE US
   ----------------------------------------------------------------- */
.why-us { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.why-us-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-8);
  align-items: start;
}
.why-us-main .section-title { margin-bottom: var(--sp-3); }
.why-us-main .section-desc { margin-bottom: var(--sp-4); max-width: 460px; }
.why-us-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.why-us-item { display: flex; gap: var(--sp-2); }
.why-us-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-glow-soft);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.why-us-icon svg { width: 16px; height: 16px; }
.why-us-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-us-item p { font-size: 0.9rem; color: var(--text-muted); }

/* -----------------------------------------------------------------
   16. CASE STUDIES
   ----------------------------------------------------------------- */
.case-study-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-mid) var(--ease-out);
}
.case-study:hover { border-color: var(--border-strong); }
.case-study-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-2);
}
.case-study-meta h3 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.case-study-meta p { color: var(--text-muted); margin-bottom: var(--sp-3); max-width: 480px; }
.case-study-results { display: flex; gap: var(--sp-5); }
.case-study-results strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-white);
}
.case-study-results span { font-size: 0.82rem; color: var(--text-muted); }

.case-study-dashboard {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cs-chart { width: 100%; height: 130px; color: var(--accent); padding: var(--sp-2) var(--sp-2) 0; }
.cs-chart polyline, .cs-chart path:not([fill]) {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset var(--dur-draw) var(--ease-out) 0.2s;
}
.case-study.is-visible .cs-chart polyline,
.case-study.is-visible .cs-chart path:not([fill]) { stroke-dashoffset: 0; }

.cs-before-after {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  height: 80px;
}
.cs-ba-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.cs-ba-bar {
  width: 34px;
  height: 0;
  border-radius: 4px 4px 0 0;
  background: var(--text-faint);
  transition: height 0.9s var(--ease-out);
}
.cs-ba-bar-accent { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.case-study.is-visible .cs-ba-bar { height: var(--h); }
.cs-ba-col small { font-size: 0.72rem; color: var(--text-faint); }

/* -----------------------------------------------------------------
   17. PORTFOLIO
   ----------------------------------------------------------------- */
.portfolio { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: var(--sp-3);
}
.portfolio-item-lg { grid-column: span 2; grid-row: span 2; }
.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
}
.portfolio-thumb {
  position: absolute; inset: 0;
  transition: transform var(--dur-slow) var(--ease-out);
}
.portfolio-thumb-browser {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  gap: 4px;
}
.portfolio-thumb-browser span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); }

/* Mini illustrated mockup content inside each portfolio box */
.portfolio-mock {
  position: absolute;
  top: 50px; left: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portfolio-mock-center { align-items: center; text-align: center; top: 40%; translate: 0 -50%; }

.pm-line { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.18); }
.pm-line-lg { width: 68%; height: 14px; }
.pm-line-md { width: 55%; }
.pm-line-sm { width: 38%; background: rgba(255,255,255,0.1); }
.pm-line-center { margin-inline: auto; }

.pm-grid { display: flex; gap: 8px; margin-top: 6px; }
.pm-grid span {
  flex: 1;
  height: 54px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.pm-pill {
  width: 90px; height: 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-top: 6px;
}

.pm-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  margin-bottom: 4px;
}

.pm-pin {
  width: 22px; height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  margin-bottom: 10px;
}
.thumb-1 { background: radial-gradient(circle at 30% 20%, rgba(255,31,61,0.35), var(--bg-secondary) 70%); }
.thumb-2 { background: radial-gradient(circle at 70% 30%, rgba(255,77,93,0.3), var(--card-bg) 70%); }
.thumb-3 { background: radial-gradient(circle at 20% 80%, rgba(255,31,61,0.28), var(--card-bg) 70%); }
.thumb-4 { background: radial-gradient(circle at 80% 70%, rgba(255,77,93,0.28), var(--card-bg) 70%); }
.portfolio-item:hover .portfolio-thumb { transform: scale(1.08); }
.portfolio-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-3);
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
}
.portfolio-info h3 { font-size: 1.05rem; margin-bottom: 2px; }
.portfolio-info span { font-size: 0.8rem; color: var(--text-muted); }

/* -----------------------------------------------------------------
   18. STATISTICS — ANIMATED INFOGRAPHIC
   ----------------------------------------------------------------- */
.stats { padding-block: var(--sp-10); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  text-align: center;
}
.stat-block { padding: var(--sp-3); position: relative; }
.stat-ring { width: 76px; height: 76px; margin: 0 auto 4px; }
.stat-ring-track { stroke: var(--border); }
.stat-ring-progress {
  stroke: var(--accent);
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease-out) 0.15s;
}
.stat-block.is-visible .stat-ring-progress { stroke-dashoffset: var(--offset); }
.stat-icon {
  position: absolute;
  top: 36px; left: 50%;
  translate: -50% -50%;
  width: 30px; height: 30px;
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 18px; height: 18px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--text-white);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
}
.stat-block p { color: var(--text-muted); font-size: 0.9rem; margin-top: var(--sp-1); }

/* -----------------------------------------------------------------
   19. TESTIMONIALS
   ----------------------------------------------------------------- */
.testimonials { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--sp-3);
}
.testimonial-card-lg { grid-column: span 2; grid-row: span 2; }
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.testimonial-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.testimonial-card p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--sp-3);
}
.testimonial-card-lg p { font-size: 1.2rem; line-height: 1.5; }
.testimonial-card footer { display: flex; align-items: center; gap: var(--sp-2); }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
  flex-shrink: 0;
}
.avatar-grad-1 { background: linear-gradient(135deg, #ff1f3d, #ff8a5c); }
.avatar-grad-2 { background: linear-gradient(135deg, #ff4d5d, #7a3cff); }
.avatar-grad-3 { background: linear-gradient(135deg, #ff1f3d, #ffb84d); }
.avatar-grad-4 { background: linear-gradient(135deg, #7a3cff, #ff4d5d); }
.testimonial-name { display: block; font-weight: 600; color: var(--text-white); font-size: 0.92rem; }
.testimonial-role { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* -----------------------------------------------------------------
   20. PRICING
   ----------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
}
.pricing-card {
  position: relative;
  padding: var(--sp-5) var(--sp-4);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.pricing-card-featured {
  background: linear-gradient(180deg, var(--card-bg-elevated), var(--card-bg));
  border-color: var(--accent);
  box-shadow: 0 24px 60px -24px var(--accent-glow);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: var(--sp-4);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: var(--sp-1); }
.pricing-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--sp-3); }
.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--sp-4);
}
.pricing-amount .currency { font-size: 1.4rem; vertical-align: top; color: var(--accent-2); }
.pricing-amount .period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-features { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); flex-grow: 1; }
.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-left: var(--sp-3);
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-glow-soft);
  border: 1px solid var(--accent);
}
.pricing-card .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: var(--sp-5); color: var(--text-muted); }
.pricing-note a { color: var(--accent-2); font-weight: 600; }

/* -----------------------------------------------------------------
   21. FAQ
   ----------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-8); }
.faq-head .section-desc a { color: var(--accent-2); font-weight: 600; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-3);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
}
.faq-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-left: var(--sp-2);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--text-white);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--accent-2); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-mid) var(--ease-smooth);
}
.faq-answer p {
  overflow: hidden;
  color: var(--text-muted);
  padding-bottom: 0;
  min-height: 0;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: var(--sp-3); }

/* -----------------------------------------------------------------
   22. BLOG PREVIEW
   ----------------------------------------------------------------- */
.blog { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.blog-card {
  padding: var(--sp-4);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-2);
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: var(--sp-2); line-height: 1.3; }
.blog-card h3 a:hover { color: var(--accent-2); }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--sp-3); }
.blog-card-meta { font-size: 0.8rem; color: var(--text-faint); }

/* -----------------------------------------------------------------
   23. FINAL CTA — PREMIUM 3D ABSTRACT GRAPHIC
   ----------------------------------------------------------------- */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: var(--sp-16);
  overflow: hidden;
}
.final-cta-bg { position: absolute; inset: 0; z-index: 0; }
.final-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.5;
}
.cta-abstract { position: absolute; inset: 0; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.cta-orb-1 {
  width: 140px; height: 140px;
  top: 12%; left: 12%;
  background: radial-gradient(circle at 32% 28%, #ffffff, var(--accent-2) 42%, var(--accent) 75%, #4a000c 100%);
  box-shadow: 0 30px 60px -10px var(--accent-glow), inset -12px -12px 30px rgba(0,0,0,0.4);
  animation: orbFloat 9s ease-in-out infinite;
  opacity: 0.9;
}
.cta-orb-2 {
  width: 90px; height: 90px;
  bottom: 15%; right: 15%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #ff4d5d 45%, #7a0018 100%);
  box-shadow: 0 20px 50px -10px var(--accent-glow);
  animation: orbFloat 7s ease-in-out infinite reverse;
  opacity: 0.85;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(14px); }
}
.cta-ring {
  position: absolute;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
}
.cta-ring-1 { width: 220px; height: 220px; top: 8%; left: 8%; animation: ringSpin 30s linear infinite; }
.cta-ring-2 { width: 150px; height: 150px; bottom: 10%; right: 12%; animation: ringSpin 24s linear infinite reverse; }
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.final-cta .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final-cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 700px;
  margin-bottom: var(--sp-3);
}
.final-cta-sub {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--sp-5);
}

/* -----------------------------------------------------------------
   23b. CONTACT FORM
   ----------------------------------------------------------------- */
.contact-form {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: var(--sp-5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-white);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,31,61,0.05);
}

/* Selects need extra rules — browsers ignore color/background on the
   native dropdown arrow and options unless appearance is reset first */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9c9cf' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.form-field select option {
  background: var(--card-bg);
  color: var(--text-white);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-form .btn { align-self: flex-start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 1.2em;
}
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: var(--accent-2); }
.final-cta-alt {
  margin-top: var(--sp-4);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.final-cta-alt a { color: var(--accent-2); font-weight: 600; }

/* -----------------------------------------------------------------
   24. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
  background: var(--bg-secondary);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-8);
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-block: var(--sp-2) var(--sp-3); max-width: 300px; }
.footer-social { display: flex; gap: var(--sp-2); }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent-2); }
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: var(--sp-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact li { color: var(--text-muted); font-size: 0.92rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-legal { display: flex; gap: var(--sp-3); }
.footer-legal a { color: var(--text-faint); transition: color var(--dur-fast) var(--ease-out); }
.footer-legal a:hover { color: var(--text-light); }

/* -----------------------------------------------------------------
   25. SCROLL REVEAL ANIMATIONS (JS toggles .is-visible)
   ----------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-visual .dashboard-chart-line,
  .hero-visual .dashboard-bars span,
  .hero-visual .hero-donut-progress,
  .seo-bar::after, .seo-growth polyline,
  .ads-bars span, .ads-funnel-step,
  .cs-chart polyline, .cs-chart path, .cs-ba-bar,
  .stat-ring-progress, .process-connector line {
    transition: none !important;
  }
}

/* -----------------------------------------------------------------
   26. RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .about-pillars { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .capability-row,
  .capability-row.reverse { grid-template-columns: 1fr; }
  .capability-row.reverse .capability-text,
  .capability-row.reverse .capability-visual { order: initial; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-5); }
  .process-connector { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-float-card-3 { display: none; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw);
    background: rgba(8,8,8,0.98); backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    translate: 100% 0; transition: translate var(--dur-mid) var(--ease-out); z-index: 400; }
  .main-nav.is-open { translate: 0 0; }
  .main-nav ul { flex-direction: column; gap: var(--sp-4); text-align: center; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .case-study { grid-template-columns: 1fr; }
  .case-study-dashboard { order: -1; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .portfolio-item-lg { grid-column: span 2; grid-row: span 1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card-lg { grid-column: span 1; grid-row: span 1; }
  .hero-float-card-1, .hero-float-card-2 { position: static; margin: var(--sp-2) auto 0; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; }

  /* Services dropdown becomes an inline accordion inside the mobile drawer */
  .main-nav { overflow-y: auto; padding-block: var(--sp-6); }
  .nav-item-dropdown { width: 100%; }
  .nav-dropdown-toggle { justify-content: center; width: 100%; font-size: 1.1rem; }
  .nav-dropdown-menu {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-mid) var(--ease-smooth), margin-top var(--dur-mid) var(--ease-smooth);
  }
  .nav-item-dropdown.is-open .nav-dropdown-menu { max-height: 520px; margin-top: var(--sp-2); }
  .nav-dropdown-link { justify-content: center; font-size: 0.92rem; }
}

@media (max-width: 640px) {
  :root { --sp-12: 64px; --sp-16: 88px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-cta-row .btn { width: 100%; }
  .hero-stats { gap: var(--sp-3); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item-lg { grid-column: span 1; }
  .process-timeline { grid-template-columns: 1fr; }
  .phone-mock { width: 200px; }
  .ads-kpis { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: var(--sp-3); }
}
