/* ================================================================
   ADYVANCE — Complete Design System & Styles
   Based on Adymize layout, branded with Adyvance palette
   ================================================================ */

/* === FONT LOADING === */
@font-face {
  font-family: 'Automata';
  src: url('./assets/fonts/AUTOMATA.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --adv-blue: #0872FF;
  --adv-blue-teal: #1286D4;
  --adv-teal: #1B97B0;
  --adv-teal-green: #1F9F9F;
  --adv-green: #29B473;
  --adv-gradient: linear-gradient(135deg, #0872FF 0%, #1B97B0 50%, #29B473 100%);
  --adv-gradient-90: linear-gradient(90deg, #0872FF 0%, #1B97B0 50%, #29B473 100%);
  --adv-gradient-soft: linear-gradient(135deg, rgba(8,114,255,0.12) 0%, rgba(27,151,176,0.08) 50%, rgba(41,180,115,0.12) 100%);

  /* UI Colors */
  --color-black: #0f172a;
  --color-dark: #1e293b;
  --color-gray-700: #334155;
  --color-gray-500: #64748b;
  --color-gray-400: #94a3b8;
  --color-gray-300: #cbd5e1;
  --color-gray-200: #e2e8f0;
  --color-gray-100: #f1f5f9;
  --color-gray-50: #f8fafc;
  --color-white: #ffffff;

  /* Accent Tints */
  --adv-blue-soft: rgba(8,114,255,0.08);
  --adv-blue-light: rgba(8,114,255,0.15);
  --adv-green-soft: rgba(41,180,115,0.08);
  --adv-teal-soft: rgba(27,151,176,0.10);
  --badge-bg: rgba(8,114,255,0.08);
  --badge-text: #0872FF;

  /* Typography */
  --font-display: 'Automata', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-hero: clamp(42px, 6vw, 68px);
  --font-size-section: clamp(36px, 4.5vw, 52px);
  --font-size-service: clamp(24px, 3vw, 32px);
  --font-size-card: clamp(17px, 1.5vw, 20px);
  --font-size-body: clamp(15px, 1.2vw, 17px);
  --font-size-nav: 14px;
  --font-size-btn: 14px;
  --font-size-badge: 12px;
  --font-size-small: 13px;
  --font-size-modal-title: clamp(42px, 6vw, 72px);

  /* Spacing */
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 60px);
  --section-pad-y: clamp(60px, 10vw, 120px);
  --card-pad: clamp(32px, 5vw, 64px);
  --card-radius: 24px;
  --btn-radius: 9999px;
  --grid-gap: clamp(24px, 3vw, 40px);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 32px rgba(8,114,255,0.06);
  --shadow-nav: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 40px rgba(8,114,255,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-dark);
  line-height: 1.7;
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* === PAGE BACKGROUND === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(8,114,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(41,180,115,0.05) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,114,255,0.03) 0%, var(--color-white) 40%);
  z-index: -2;
  pointer-events: none;
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--color-gray-200);
  border-top-color: var(--adv-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* === SECTION CARD === */
.section-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: var(--card-pad);
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  border: 1px solid rgba(8,114,255,0.06);
  pointer-events: none;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: var(--adv-gradient-90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BADGE PILL === */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: var(--btn-radius);
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: var(--font-size-badge);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-size: var(--font-size-btn);
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--adv-gradient);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(8,114,255,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(8,114,255,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-gray-300);
}

.btn-outline:hover {
  border-color: var(--adv-blue);
  color: var(--adv-blue);
}

.btn-ghost {
  background: var(--adv-gradient);
  color: var(--color-white);
  padding: 14px 32px;
  border: none;
  border-radius: var(--btn-radius);
  font-size: var(--font-size-small);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(8,114,255,0.25);
  transition: all var(--duration) var(--ease);
}

.btn-ghost a {
  color: var(--color-white) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-ghost:hover {
  box-shadow: 0 6px 30px rgba(8,114,255,0.4);
  transform: translateY(-2px);
}

/* === SECTION TITLES === */
.section-heading {
  font-family: var(--font-display);
  font-size: var(--font-size-section);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--font-size-body);
  color: var(--color-gray-500);
  max-width: 560px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.header.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.5) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.75);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  height: 38px;
  width: auto;
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: normal;
  padding-bottom: 0.1em;
  letter-spacing: 0.02em;
  background: var(--adv-gradient-90);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: var(--font-size-nav);
  font-weight: 500;
  color: var(--color-gray-700);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--adv-gradient-90);
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--adv-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  padding: 100px 40px 40px;
  transition: right 0.4s var(--ease);
  z-index: 999;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu a:hover {
  color: var(--adv-blue);
}

.mobile-menu .btn {
  margin-top: 24px;
  width: 100%;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-overlay.visible {
  opacity: 1;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  padding-top: 140px;
  padding-bottom: var(--section-pad-y);
  text-align: center;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(88vh, 880px);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

/* ── Hero visual column (3D scene) ── */
.hero-visual {
  position: relative;
  z-index: 2;
  height: clamp(300px, 42vh, 440px);
}

.hero-visual-aura {
  position: absolute;
  inset: 4%;
  background: radial-gradient(ellipse 62% 55% at 50% 58%, rgba(8,114,255,0.10) 0%, rgba(27,151,176,0.07) 45%, rgba(41,180,115,0) 78%);
  filter: blur(12px);
  pointer-events: none;
}

/* CSS-only fallback: gradient bars shown until WebGL takes over */
.hero-visual-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 18px);
  padding-bottom: 16%;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-out);
}

.hero-visual-fallback span {
  width: clamp(30px, 4vw, 52px);
  border-radius: 14px;
  transform-origin: bottom;
  animation: fallbackBreath 4.4s ease-in-out infinite;
}

.hero-visual-fallback span:nth-child(1) { height: 26%; background: linear-gradient(180deg, rgba(8,114,255,0.42), rgba(8,114,255,0.12)); }
.hero-visual-fallback span:nth-child(2) { height: 38%; background: linear-gradient(180deg, rgba(18,134,212,0.42), rgba(18,134,212,0.12)); animation-delay: 0.4s; }
.hero-visual-fallback span:nth-child(3) { height: 51%; background: linear-gradient(180deg, rgba(27,151,176,0.42), rgba(27,151,176,0.12)); animation-delay: 0.8s; }
.hero-visual-fallback span:nth-child(4) { height: 65%; background: linear-gradient(180deg, rgba(31,159,159,0.42), rgba(31,159,159,0.12)); animation-delay: 1.2s; }
.hero-visual-fallback span:nth-child(5) { height: 80%; background: linear-gradient(180deg, rgba(41,180,115,0.45), rgba(41,180,115,0.12)); animation-delay: 1.6s; }

@keyframes fallbackBreath {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.hero.three-ready .hero-visual-fallback {
  opacity: 0;
}

.hero-3d {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out);
}

.hero.three-ready .hero-3d {
  opacity: 1;
}

.hero-3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-scroll {
  grid-column: 1 / -1;
  justify-self: center;
}

/* Split hero on desktop: copy left, sculpture right */
@media (min-width: 993px) {
  .hero {
    text-align: left;
  }

  .hero-layout {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 48px;
  }

  .hero-layout .hero-content h1 {
    font-size: clamp(38px, 3.7vw, 58px);
  }

  .hero-visual {
    height: clamp(460px, 58vh, 640px);
  }

  .hero-3d {
    pointer-events: auto;
  }

  .hero-layout .hero-stats,
  .hero-layout .hero-cta-group {
    justify-content: flex-start;
  }

  .hero-layout .hero-description {
    margin-left: 0;
  }

  .hero-scroll {
    margin-top: 12px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-black);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-gray-700);
}

.hero-stats .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--adv-blue);
  flex-shrink: 0;
}

.hero-description {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--color-gray-500);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(8,114,255,0.10);
  top: 60px;
  left: -100px;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: rgba(41,180,115,0.08);
  top: 160px;
  right: -80px;
}

.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: rgba(27,151,176,0.08);
  bottom: 40px;
  left: 30%;
}

/* ================================================================
   SERVICES GRID
   ================================================================ */
.services {
  padding-bottom: var(--section-pad-y);
}

.services-card {
  position: relative;
}

.services-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
  margin-bottom: 48px;
}

.service-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  transition: all var(--duration) var(--ease);
}

.service-item:hover {
  background: var(--adv-blue-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  border-radius: 14px;
  font-size: 24px;
}

.service-item h4 {
  font-size: var(--font-size-card);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 6px;
}

.service-item p {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.services-cta {
  text-align: center;
}

.services-cta a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services-cta a:hover {
  opacity: 0.8;
}

/* Decorative blob inside services card */
.services-card .blob-deco {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,114,255,0.06), rgba(41,180,115,0.04));
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.services-card > *:not(.blob-deco) {
  position: relative;
  z-index: 1;
}

/* ================================================================
   DEEP-DIVE SERVICE BLOCKS
   ================================================================ */
.service-blocks {
  padding-bottom: var(--section-pad-y);
}

.service-block {
  margin-bottom: 32px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: var(--card-pad);
}

.service-block.reversed .service-block-inner {
  direction: rtl;
}

.service-block.reversed .service-block-inner > * {
  direction: ltr;
}

.service-block-text .badge {
  margin-bottom: 20px;
}

.service-block-text h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-service);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.service-block-text p {
  color: var(--color-gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-tag {
  padding: 8px 20px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--btn-radius);
  font-size: var(--font-size-small);
  font-weight: 500;
  color: var(--color-gray-700);
  transition: all var(--duration) var(--ease);
}

.service-tag:hover {
  border-color: var(--adv-blue);
  color: var(--adv-blue);
  background: var(--adv-blue-soft);
}

.service-block-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient backgrounds for visuals */
.visual-gradient-1 { background: linear-gradient(135deg, rgba(8,114,255,0.08), rgba(27,151,176,0.12)); }
.visual-gradient-2 { background: linear-gradient(135deg, rgba(41,180,115,0.08), rgba(27,151,176,0.12)); }
.visual-gradient-3 { background: linear-gradient(135deg, rgba(8,114,255,0.06), rgba(41,180,115,0.08)); }
.visual-gradient-4 { background: linear-gradient(135deg, rgba(27,151,176,0.10), rgba(8,114,255,0.06)); }
.visual-gradient-5 { background: linear-gradient(135deg, rgba(41,180,115,0.06), rgba(8,114,255,0.10)); }
.visual-gradient-6 { background: linear-gradient(135deg, rgba(8,114,255,0.08), rgba(41,180,115,0.10)); }

/* SVG illustration placeholder styles */
.service-illustration {
  width: 85%;
  max-width: 360px;
  padding: 32px;
}

.service-illustration svg {
  width: 100%;
  height: auto;
}

/* ================================================================
   ONBOARDING / PROCESS SECTION
   ================================================================ */
.process {
  padding-bottom: var(--section-pad-y);
}

.process-card {
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 56px;
}

.process-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-step {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--adv-gradient);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
}

.step-content h4 {
  font-size: var(--font-size-card);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 6px;
}

.step-content p {
  color: var(--color-gray-500);
  line-height: 1.6;
  font-size: 15px;
}

.process-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: var(--color-white);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 16px;
  position: relative;
}

.phone-screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-gray-50);
  padding: 24px 16px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.phone-header span {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
}

.phone-header-btn {
  padding: 5px 14px;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
}

.phone-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.phone-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--color-gray-200);
}

.phone-bar:nth-child(1) { width: 100%; }
.phone-bar:nth-child(2) { width: 85%; }
.phone-bar:nth-child(3) { width: 70%; }

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 16px;
}

.chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--adv-gradient);
  min-height: 20px;
  position: relative;
  transition: height 0.6s var(--ease);
}

.chart-bar:nth-child(1) { height: 45%; }
.chart-bar:nth-child(2) { height: 65%; }
.chart-bar:nth-child(3) { height: 50%; }
.chart-bar:nth-child(4) { height: 80%; }
.chart-bar:nth-child(5) { height: 60%; }
.chart-bar:nth-child(6) { height: 95%; }
.chart-bar:nth-child(7) { height: 70%; }

.chart-tooltip {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* ================================================================
   COMPARISON / UNIQUE SECTION
   ================================================================ */
.comparison {
  padding-bottom: var(--section-pad-y);
}

.comparison-card {
  text-align: center;
}

.comparison-header {
  margin-bottom: 48px;
}

.comparison-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin-top: 8px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: left;
}

.comparison-col-header {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: var(--btn-radius);
  font-size: var(--font-size-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.others-header {
  background: var(--color-gray-100);
  color: var(--color-gray-500);
}

.adyvance-header {
  background: var(--adv-gradient);
  color: var(--color-white);
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.comparison-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
}

.icon-minus {
  background: var(--color-gray-100);
  color: var(--color-gray-400);
}

.icon-check {
  background: rgba(41,180,115,0.12);
  color: var(--adv-green);
}

.others-text {
  color: var(--color-gray-400);
  font-size: 15px;
}

.adyvance-text {
  color: var(--color-black);
  font-weight: 600;
  font-size: 15px;
}

.comparison-cta {
  text-align: center;
}

/* ================================================================
   TESTIMONIALS SECTION
   ================================================================ */
.testimonials {
  padding-bottom: var(--section-pad-y);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(8,114,255,0.05);
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 18px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-black);
  font-size: 15px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--color-gray-400);
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq {
  padding-bottom: var(--section-pad-y);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-size: var(--font-size-card);
  font-weight: 500;
  color: var(--color-black);
  text-align: left;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.faq-question:hover {
  color: var(--adv-blue);
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray-200);
  font-size: 18px;
  color: var(--color-gray-400);
  transition: all var(--duration) var(--ease);
}

.faq-item.active .faq-icon {
  background: var(--adv-gradient);
  border-color: transparent;
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--color-gray-500);
  line-height: 1.7;
  font-size: 15px;
}

/* ================================================================
   CONTACT MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9001;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: all 0.4s var(--ease);
}

.modal.active {
  pointer-events: auto;
  opacity: 1;
  transform: scale(1);
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--card-radius);
  max-width: 1000px;
  width: 100%;
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gray-100);
  font-size: 20px;
  color: var(--color-gray-500);
  transition: all var(--duration) var(--ease);
}

.modal-close:hover {
  background: var(--color-gray-200);
  color: var(--color-black);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--font-size-modal-title);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-black);
  margin-bottom: 16px;
}

.modal-subtitle {
  font-size: var(--font-size-body);
  color: var(--color-gray-500);
  margin-bottom: 48px;
  line-height: 1.6;
}

.modal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: auto;
}

.modal-info h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--color-black);
  margin-bottom: 6px;
}

.modal-info p {
  font-size: 14px;
  color: var(--color-gray-500);
  margin-bottom: 4px;
}

.modal-info a {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
}

.modal-info a:hover {
  color: var(--adv-blue);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 0;
  border: none;
  border-bottom: 1.5px solid var(--color-gray-200);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-black);
  background: transparent;
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--adv-blue);
}

.form-group textarea {
  resize: none;
  min-height: 60px;
}

.form-submit {
  margin-top: 28px;
  width: 100%;
  padding: 18px;
  border-radius: 14px;
  background: var(--adv-gradient);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.form-submit:hover {
  box-shadow: 0 8px 32px rgba(8,114,255,0.35);
  transform: translateY(-2px);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 200px;
  background: linear-gradient(90deg,
    rgba(8,114,255,0.06) 0%,
    rgba(27,151,176,0.05) 30%,
    rgba(41,180,115,0.06) 60%,
    rgba(255,200,50,0.05) 100%);
  filter: blur(40px);
  pointer-events: none;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 48px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--color-gray-200);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-gray-500);
}

.footer-copy a {
  color: var(--adv-blue);
  font-weight: 500;
}

.footer-copy a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gray-100);
  color: var(--color-gray-500);
  font-size: 18px;
  transition: all var(--duration) var(--ease);
}

.footer-social-link:hover {
  background: var(--adv-gradient);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ================================================================
   DOT NAVIGATION
   ================================================================ */
.dot-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 500;
  padding: 16px 8px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.dot-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.dot-nav a.active {
  background: var(--adv-blue);
  box-shadow: 0 0 0 4px rgba(8,114,255,0.2);
  width: 12px;
  height: 12px;
}

.dot-nav a::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-nav);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.dot-nav a:hover::before {
  opacity: 1;
}

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE — TABLET
   ================================================================ */
@media (max-width: 1024px) {
  .dot-nav {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block.reversed .service-block-inner {
    direction: ltr;
  }

  .service-block-visual {
    order: -1;
  }

  .service-block-text h3 {
    font-size: clamp(22px, 3.5vw, 28px);
  }

  .service-illustration {
    max-width: 320px;
  }

  .process-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-visual {
    order: -1;
  }

  .comparison-table {
    gap: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal-title {
    font-size: clamp(36px, 5vw, 56px);
  }

  .modal-info {
    max-width: 400px;
  }

  .client-logo {
    width: 120px;
    height: 120px;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE
   ================================================================ */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
    width: 100%;
    right: -100%;
  }

  .mobile-menu.open {
    right: 0;
  }

  .dot-nav {
    display: flex;
    flex-direction: row;
    top: auto;
    bottom: 90px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    padding: 10px 16px;
    border-radius: 9999px;
    z-index: 500;
  }

  .dot-nav a {
    width: 8px;
    height: 8px;
  }

  .dot-nav a.active {
    width: 10px;
    height: 10px;
  }

  .dot-nav a::before {
    display: none;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: calc(var(--section-pad-y) * 0.7);
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero-stats {
    flex-direction: row;
    gap: 8px;
    font-size: 11px;
  }

  .hero-stats .divider {
    display: inline-flex;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-blob-1 {
    width: 200px;
    height: 200px;
    top: 40px;
    left: -60px;
  }

  .hero-blob-2 {
    width: 180px;
    height: 180px;
    top: 120px;
    right: -50px;
  }

  .hero-blob-3 {
    width: 140px;
    height: 140px;
    bottom: 20px;
  }

  .services-label {
    margin-bottom: 32px;
  }

  .services-grid {
    gap: 16px;
  }

  .service-item {
    padding: 16px;
    gap: 12px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-item h4 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 13px;
  }

  .service-block-inner {
    padding: clamp(20px, 4vw, 32px);
    gap: 24px;
  }

  .service-block-text h3 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .service-block-text p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .service-tag {
    padding: 6px 14px;
    font-size: 12px;
  }

  .service-illustration {
    width: 100%;
    max-width: 280px;
    padding: 16px;
  }

  .service-visual-wrapper {
    aspect-ratio: 16/12;
  }

  .process-header {
    margin-bottom: 36px;
  }

  .process-content {
    gap: 32px;
  }

  .process-steps {
    gap: 28px;
  }

  .process-step {
    gap: 14px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .step-content h4 {
    font-size: 15px;
  }

  .step-content p {
    font-size: 14px;
  }

  .phone-mockup {
    width: 220px;
    padding: 12px;
    border-radius: 24px;
  }

  .phone-screen {
    padding: 16px 12px;
  }

  .phone-chart {
    height: 90px;
  }

  .comparison-header {
    margin-bottom: 32px;
  }

  .comparison-table {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .comparison-col-header {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  .comparison-item {
    padding: 10px 0;
    gap: 10px;
  }

  .comparison-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .others-text,
  .adyvance-text {
    font-size: 14px;
  }

  .testimonials-header {
    margin-bottom: 32px;
  }

  .testimonials-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 300px;
    padding: 24px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-stars {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .faq-header {
    margin-bottom: 32px;
  }

  .faq-question {
    padding: 18px 0;
    font-size: 15px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .faq-answer-inner {
    font-size: 14px;
    padding-bottom: 18px;
  }

  .section-heading {
    font-size: clamp(26px, 6vw, 34px);
  }

  .badge {
    font-size: 10px;
    padding: 5px 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .btn-ghost {
    padding: 12px 24px;
    font-size: 12px;
  }

  .section-card {
    padding: clamp(20px, 4vw, 28px);
    border-radius: 18px;
  }

  .services-card .blob-deco {
    width: 180px;
    height: 180px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-logo img {
    height: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-copy {
    font-size: 12px;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
  }

  .client-logo {
    width: 100px;
    height: 100px;
    animation: none;
  }

  .clients-grid {
    display: flex !important;
    gap: 20px;
    overflow: hidden;
    max-width: none !important;
  }

  .services-cta {
    margin-top: 32px;
  }

  .comparison-cta {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
    --section-pad-y: 48px;
    --card-pad: 18px;
    --grid-gap: 16px;
  }

  .header-inner {
    height: 60px;
  }

  .header-logo img {
    height: 28px;
  }

  .header-logo-text {
    font-size: 1.15rem;
  }

  .section-card {
    padding: clamp(16px, 4vw, 24px);
    border-radius: 16px;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 34px);
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn {
    padding: 11px 20px;
    font-size: 12px;
  }

  .hero-blob-1 {
    width: 140px;
    height: 140px;
    top: 30px;
    left: -40px;
  }

  .hero-blob-2 {
    width: 120px;
    height: 120px;
    top: 90px;
    right: -30px;
  }

  .hero-blob-3 {
    width: 100px;
    height: 100px;
    bottom: 10px;
    left: 40%;
  }

  .mobile-menu {
    padding: 80px 24px 24px;
  }

  .mobile-menu a {
    font-size: 16px;
    padding: 14px 0;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .service-item {
    padding: 14px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .service-block-inner {
    gap: 20px;
  }

  .service-block-text .badge {
    margin-bottom: 12px;
  }

  .service-tags {
    gap: 6px;
  }

  .service-tag {
    padding: 5px 12px;
    font-size: 11px;
  }

  .service-illustration {
    max-width: 240px;
    padding: 12px;
  }

  .process-steps {
    gap: 24px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .phone-mockup {
    width: 180px;
    padding: 8px;
    border-radius: 20px;
  }

  .phone-screen {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .phone-header span {
    font-size: 12px;
  }

  .phone-header-btn {
    padding: 4px 10px;
    font-size: 9px;
  }

  .phone-chart {
    height: 70px;
    gap: 6px;
  }

  .chart-tooltip {
    font-size: 8px;
    padding: 3px 8px;
    top: -28px;
  }

  .comparison-item {
    padding: 8px 0;
  }

  .others-text,
  .adyvance-text {
    font-size: 13px;
  }

  .testimonial-card {
    flex: 0 0 260px;
    padding: 20px;
    border-radius: 16px;
  }

  .testimonial-text {
    font-size: 13px;
  }

  .testimonial-avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  .testimonial-role {
    font-size: 12px;
  }

  .faq-question {
    padding: 14px 0;
    font-size: 14px;
  }

  .faq-answer-inner {
    font-size: 13px;
    padding-bottom: 14px;
  }

  .modal-content {
    padding: clamp(20px, 4vw, 28px);
    border-radius: 16px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .modal-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .modal-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 0;
    font-size: 13px;
  }

  .form-submit {
    padding: 15px;
    font-size: 13px;
    margin-top: 20px;
  }

  .btn-ghost {
    padding: 10px 20px;
    font-size: 11px;
  }

  .client-logo {
    width: 80px;
    height: 80px;
    animation: none;
  }

  .clients-grid {
    overflow: hidden;
  }

  .footer-logo img {
    height: 30px;
  }

  .floating-contact {
    bottom: 16px;
    right: 12px;
    gap: 8px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }

  .dot-nav {
    bottom: 80px;
  }
}

/* ================================================================
   FLOATING CONTACT BUTTONS
   ================================================================ */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--color-white);
}

.wa-btn {
  background-color: #25D366;
}

.wa-btn:hover {
  background-color: #20BA56;
}

.call-btn {
  background-color: var(--adv-blue);
}

.call-btn:hover {
  background-color: #005ce6;
}

/* Glassmorphism once the page is scrolled */
.floating-contact.scrolled .float-btn {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 8px 24px rgba(15,23,42,0.14), inset 0 1px 0 rgba(255,255,255,0.8);
  animation: none;
}

.floating-contact.scrolled .wa-btn {
  color: #1faf54;
}

.floating-contact.scrolled .call-btn {
  color: var(--adv-blue);
}

.floating-contact.scrolled .float-btn:hover {
  background: rgba(255,255,255,0.75);
}

/* Client Logo Styling & Animation */
.client-logo {
  background: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: clientFloat 4s ease-in-out infinite;
  text-decoration: none;
}

.client-logo img {
  max-width: 65%;
  max-height: 65%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.client-logo:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(8,114,255,0.15);
  animation-play-state: paused;
}

.client-logo:hover img {
  transform: scale(1.15);
}

/* Stagger floating animation */
.client-logo:nth-child(2) { animation-delay: -1s; }
.client-logo:nth-child(3) { animation-delay: -2s; }
.client-logo:nth-child(4) { animation-delay: -3s; }

@keyframes clientFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ================================================================
   MOBILE POLISH & MOTION UPGRADE
   ================================================================ */
:root {
  --motion-fast: 180ms;
  --motion-medium: 420ms;
  --motion-slow: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.2, 1.15);
  --mobile-safe-bottom: max(16px, env(safe-area-inset-bottom));
}

html {
  scroll-padding-top: 92px;
}

body.menu-open {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--adv-gradient-90);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 10001;
  box-shadow: 0 0 18px rgba(8,114,255,0.35);
  pointer-events: none;
}

.header {
  animation: headerReveal 0.7s var(--ease-out) both;
}

.header.scrolled {
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.header-logo img {
  transition: transform var(--motion-medium) var(--ease-out), filter var(--motion-medium) var(--ease-out);
}

.header-logo:hover img {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(8,114,255,0.18));
}

.hero {
  overflow: hidden;
}

.hero h1,
.badge,
.comparison-col-header,
.form-submit {
  letter-spacing: 0;
}

.hero-blob {
  animation: heroDrift 12s ease-in-out infinite;
  will-change: transform;
}

.hero-blob-2 {
  animation-delay: -4s;
}

.hero-blob-3 {
  animation-delay: -8s;
}

.gradient-text {
  background-size: 180% 100%;
  animation: gradientShift 8s ease-in-out infinite;
}

.btn,
.form-submit {
  min-height: 46px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-primary::before,
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.34) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.btn-primary:hover::before,
.form-submit:hover::before {
  transform: translateX(130%);
}

.btn-outline:hover {
  background: rgba(8,114,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(8,114,255,0.08);
}

.service-item,
.comparison-col,
.faq-item,
.testimonial-card,
.client-logo {
  transform: translateZ(0);
}

.service-item {
  position: relative;
  border: 1px solid transparent;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--adv-gradient);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity var(--motion-medium) var(--ease-out), transform var(--motion-medium) var(--ease-out);
}

.service-item:hover {
  border-color: rgba(8,114,255,0.08);
  box-shadow: 0 16px 36px rgba(8,114,255,0.08);
  transform: translateY(-4px);
}

.service-item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.service-icon {
  box-shadow: inset 0 0 0 1px rgba(8,114,255,0.08);
  transition: transform var(--motion-medium) var(--ease-spring), box-shadow var(--motion-medium) var(--ease-out);
}

.service-item:hover .service-icon {
  transform: translateY(-2px) rotate(-3deg) scale(1.04);
  box-shadow: inset 0 0 0 1px rgba(8,114,255,0.14), 0 12px 26px rgba(8,114,255,0.12);
}

.service-visual-wrapper {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65), 0 18px 42px rgba(8,114,255,0.08);
}

.service-visual-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255,255,255,0.45) 48%, transparent 68%);
  transform: translateX(-120%);
  animation: visualSheen 7s ease-in-out infinite;
  pointer-events: none;
}

.service-illustration {
  animation: softFloat 6.5s ease-in-out infinite;
  transform-origin: center;
}

.service-block:nth-child(even) .service-illustration {
  animation-delay: -2.6s;
}

.process-step {
  position: relative;
}

.step-number {
  box-shadow: 0 10px 24px rgba(8,114,255,0.22);
  animation: stepGlow 3.6s ease-in-out infinite;
}

.process-step:nth-child(2) .step-number {
  animation-delay: -1.2s;
}

.process-step:nth-child(3) .step-number {
  animation-delay: -2.4s;
}

.phone-mockup {
  animation: phoneFloat 5.5s ease-in-out infinite;
}

.chart-bar {
  transform-origin: bottom;
  animation: chartRise 1s var(--ease-out) both, chartPulse 4.6s ease-in-out 1.6s infinite;
}

.chart-bar:nth-child(2) { animation-delay: 0.08s, 2.5s; }
.chart-bar:nth-child(3) { animation-delay: 0.16s, 3.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.24s, 1.9s; }
.chart-bar:nth-child(5) { animation-delay: 0.32s, 4.1s; }
.chart-bar:nth-child(6) { animation-delay: 0.40s, 2.9s; }
.chart-bar:nth-child(7) { animation-delay: 0.48s, 3.7s; }

.phone-bar {
  position: relative;
  overflow: hidden;
}

.phone-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: translateX(-100%);
  animation: barShimmer 3.2s ease-in-out infinite;
}

.phone-bar:nth-child(2)::after { animation-delay: 0.25s; }
.phone-bar:nth-child(3)::after { animation-delay: 0.5s; }

.phone-header-btn {
  animation: publishPulse 4s ease-in-out 2s infinite;
}

.comparison-col {
  border-radius: 18px;
  padding: 10px 18px 16px;
  transition: background var(--motion-medium) var(--ease-out), transform var(--motion-medium) var(--ease-out);
}

.comparison-col:hover {
  background: rgba(8,114,255,0.035);
  transform: translateY(-3px);
}

.faq-item {
  border-radius: 14px;
  padding-inline: 14px;
  margin-inline: -14px;
  transition: background var(--motion-fast) var(--ease-out);
}

.faq-item:hover,
.faq-item.active {
  background: rgba(8,114,255,0.035);
}

.faq-question span:first-child {
  min-width: 0;
}

.modal {
  transform: translateY(18px) scale(0.98);
}

.modal.active {
  transform: translateY(0) scale(1);
}

.modal-content {
  overflow: hidden;
}

.floating-contact {
  transition: transform var(--motion-medium) var(--ease-out);
}

body.menu-open .floating-contact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.float-btn {
  animation: contactPulse 4s ease-in-out infinite;
}

.float-btn:nth-child(2) {
  animation-delay: -2s;
}

.marquee-track {
  will-change: transform;
}

@keyframes headerReveal {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  0%, 100% {
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--mx, 0px) + 18px), calc(var(--my, 0px) - 18px), 0) scale(1.06);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes visualSheen {
  0%, 42%, 100% {
    transform: translateX(-120%);
  }
  62% {
    transform: translateX(120%);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

@keyframes stepGlow {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(8,114,255,0.22);
  }
  50% {
    box-shadow: 0 14px 34px rgba(41,180,115,0.28);
  }
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.6deg);
  }
}

@keyframes chartRise {
  from {
    transform: scaleY(0.2);
    opacity: 0.35;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes chartPulse {
  0%, 100% { transform: scaleY(1); }
  35% { transform: scaleY(0.94); }
  70% { transform: scaleY(1.05); }
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

@keyframes tooltipPop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes tooltipBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes publishPulse {
  0%, 18%, 100% { transform: scale(1); }
  8% { transform: scale(1.07); }
}

@keyframes contactPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 0 0 0 rgba(8,114,255,0);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 8px rgba(8,114,255,0.08);
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
    --section-pad-y: 58px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .header {
    padding: 0 16px;
  }

  .header-inner {
    height: 68px;
  }

  .header-logo img {
    height: 32px;
  }

  .header-logo-text {
    font-size: 1.3rem;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.76);
    box-shadow: 0 8px 22px rgba(8,114,255,0.08);
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger:focus {
    outline: none;
  }

  .hamburger:focus-visible {
    outline: 3px solid rgba(8,114,255,0.24);
    outline-offset: 3px;
  }

  .hamburger span {
    width: 22px;
  }

  .mobile-overlay {
    background: rgba(15,23,42,0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mobile-menu {
    width: min(100%, 390px);
    right: 0;
    padding: 92px 26px 28px;
    transform: translateX(105%);
    border-radius: 28px 0 0 28px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: -18px 0 54px rgba(15,23,42,0.14);
    transition: transform 0.48s var(--ease-out);
  }

  .mobile-menu.open {
    right: 0;
    transform: translateX(0);
  }

  .mobile-menu a {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color var(--duration) var(--ease);
    transition-delay: 0s;
  }

  .mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Stagger only on open — closing stays instant */
  .mobile-menu.open a:nth-child(1) { transition-delay: 0.16s; }
  .mobile-menu.open a:nth-child(2) { transition-delay: 0.25s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: 0.34s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: 0.43s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: 0.52s; }
  .mobile-menu.open a:nth-child(6) { transition-delay: 0.61s; }

  .hero {
    padding-top: 92px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-stats {
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-stats .divider {
    display: none;
  }

  .hero-stats span:not(.divider) {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(8,114,255,0.08);
    box-shadow: 0 8px 18px rgba(8,114,255,0.06);
  }

  .hero-description {
    max-width: 34rem;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta-group .btn,
  .mobile-menu .btn {
    width: 100%;
  }

  .hero-cta-group .btn {
    max-width: 360px;
  }

  .mobile-menu .btn {
    max-width: none;
  }

  .dot-nav {
    display: none;
  }

  .section-heading {
    font-size: 2rem;
    line-height: 1.15;
  }

  .section-card {
    box-shadow: 0 16px 42px rgba(8,114,255,0.08);
  }

  .services-grid {
    gap: 14px;
  }

  .service-item {
    align-items: flex-start;
    padding: 16px;
    border-color: rgba(8,114,255,0.07);
    background: rgba(255,255,255,0.72);
    box-shadow: 0 10px 26px rgba(8,114,255,0.04);
  }

  .service-item:hover {
    transform: translateY(-2px);
  }

  .service-block {
    margin-bottom: 22px;
  }

  .service-block-inner {
    border-radius: 20px;
  }

  .service-block-visual {
    order: 0;
  }

  .service-visual-wrapper {
    aspect-ratio: 1.45 / 1;
    border-radius: 18px;
  }

  .service-tags {
    row-gap: 8px;
  }

  .process-steps {
    position: relative;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 44px;
    bottom: -24px;
    width: 1px;
    background: linear-gradient(180deg, rgba(8,114,255,0.28), rgba(41,180,115,0.08));
  }

  .phone-mockup {
    width: min(240px, 72vw);
  }

  .comparison-table {
    gap: 18px;
  }

  .comparison-col {
    padding: 18px;
    border: 1px solid rgba(8,114,255,0.07);
    background: rgba(255,255,255,0.72);
  }

  .comparison-col-header {
    margin-bottom: 18px;
  }

  .testimonials-grid {
    margin-inline: calc(var(--container-pad) * -1);
    padding-inline: var(--container-pad);
  }

  .testimonial-card {
    flex-basis: min(82vw, 320px);
    min-height: 260px;
  }

  .clients-grid {
    margin-inline: calc(var(--container-pad) * -1) !important;
    padding-inline: var(--container-pad);
  }

  .client-logo {
    --client-logo-size: 96px;
    flex: 0 0 var(--client-logo-size);
    width: var(--client-logo-size);
    height: var(--client-logo-size);
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .modal {
    align-items: flex-start;
    padding: 76px 14px 24px;
  }

  .modal-content {
    max-height: calc(100svh - 96px);
    overflow-y: auto;
  }

  .modal-grid {
    gap: 22px;
  }

  .modal-title {
    font-size: 2.3rem;
    margin-bottom: 10px;
  }

  .modal-title br {
    display: none;
  }

  .modal-subtitle {
    margin-bottom: 0;
  }

  .modal-info {
    display: none;
  }

  .floating-contact {
    right: 14px;
    bottom: var(--mobile-safe-bottom);
    flex-direction: row;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
    --section-pad-y: 50px;
  }

  .client-logo {
    --client-logo-size: 80px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    height: 62px;
  }

  .header-logo img {
    height: 28px;
  }

  .header-logo-text {
    font-size: 1.15rem;
  }

  .hero {
    padding-top: 82px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .hero-stats span:not(.divider) {
    padding: 6px 9px;
    font-size: 0.7rem;
  }

  .mobile-menu {
    width: 100%;
    border-radius: 0;
    padding: 82px 22px 24px;
  }

  .section-heading {
    font-size: 1.72rem;
  }

  .service-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .service-item h4 {
    line-height: 1.32;
  }

  .service-block-text h3 {
    font-size: 1.42rem;
  }

  .service-visual-wrapper {
    aspect-ratio: 1.25 / 1;
  }

  .btn-ghost {
    width: 100%;
    display: block;
    line-height: 1.55;
  }

  .faq-question {
    align-items: flex-start;
  }

  .modal-title {
    font-size: 2rem;
  }

  .modal-info a {
    overflow-wrap: anywhere;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   MOTION LAYER V2 — Marquee badges, hero intro, counters,
   scroll choreography & micro-interactions
   ================================================================ */

/* --- Marquee badges (scrolling word strips) --- */
.badge[data-marquee] {
  max-width: min(230px, 78vw);
  overflow: hidden;
  justify-content: flex-start;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.badge-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: badgeScroll 16s linear infinite;
}

.badge-seg {
  white-space: pre;
}

.badge[data-marquee]:hover .badge-track {
  animation-play-state: paused;
}

@keyframes badgeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Hero masked line reveal --- */
.hero h1 .line-mask {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.08em 0.14em;
  margin: -0.06em 0 -0.14em;
}

.hero h1 .line-inner {
  display: inline-block;
  will-change: transform;
}

.js .hero h1 .line-inner {
  opacity: 0;
  transform: translateY(115%);
  filter: blur(6px);
  transition:
    transform 0.9s var(--ease-out),
    opacity 0.7s ease,
    filter 0.9s var(--ease-out);
}

.js .hero h1 .line-mask:nth-child(2) .line-inner {
  transition-delay: 0.14s;
}

.js .is-loaded .hero h1 .line-inner {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* --- Hero load-sequenced intro --- */
.js .hero-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .is-loaded .hero-reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .hero-reveal-1 { transition-delay: 0.42s; }
.js .hero-reveal-2 { transition-delay: 0.56s; }
.js .hero-reveal-3 { transition-delay: 0.7s; }
.js .hero-reveal-4 { transition-delay: 0.88s; }

/* --- Hero scroll indicator --- */
.hero-scroll {
  width: 26px;
  height: 42px;
  margin: 44px auto 0;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--btn-radius);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hero-scroll:hover {
  border-color: var(--adv-blue);
  transform: translateY(2px);
}

.hero-scroll-dot {
  width: 4px;
  height: 9px;
  border-radius: 2px;
  background: var(--adv-gradient);
  animation: scrollDot 1.9s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* --- Stats band --- */
.stats-band {
  padding-bottom: var(--section-pad-y);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(8, 114, 255, 0.07);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-gray-500);
}

@media (max-width: 768px) {
  .hero {
    min-height: min(78vh, 720px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }

  .stat-label {
    font-size: 10px;
  }

  .hero-scroll {
    display: none;
  }

  /* Keyword strips sit centered above their headings in every section */
  .badge[data-marquee] {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Directional child reveals for service blocks --- */
.js .service-block .service-block-text,
.js .service-block .service-block-visual {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .service-block .service-block-text {
  transform: translateX(-28px);
  transition-delay: 0.1s;
}

.js .service-block .service-block-visual {
  transform: translateX(28px);
  transition-delay: 0.22s;
}

.js .service-block.reversed .service-block-text {
  transform: translateX(28px);
}

.js .service-block.reversed .service-block-visual {
  transform: translateX(-28px);
}

.js .service-block.visible .service-block-text,
.js .service-block.visible .service-block-visual {
  opacity: 1;
  transform: translateX(0);
}

/* --- In-view gated chart animation (process phone) --- */
.js .process-visual .chart-bar {
  animation-name: none;
  transform: scaleY(0.2);
  opacity: 0.35;
}

.js .process-visual.in-view .chart-bar {
  animation-name: chartRise, chartPulse;
}

.js .process-visual .chart-tooltip {
  opacity: 0;
}

.js .process-visual.in-view .chart-tooltip {
  animation: tooltipPop 0.5s var(--ease-out) 1.35s both, tooltipBob 3.4s ease-in-out 1.85s infinite;
}

/* --- Tilt targets --- */
.service-visual-wrapper {
  will-change: transform;
  transform-style: preserve-3d;
}

/* --- One-time SVG choreography for service illustrations --- */
.js .service-block .analytics-bar {
  opacity: 0;
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.js .service-block .analytics-line,
.js .service-block .strategy-arrow path,
.js .service-block .strategy-arrow line,
.js .service-block .workflow-connector {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js .service-block .analytics-dot,
.js .service-block .social-header,
.js .service-block .social-media,
.js .service-block .social-actions,
.js .service-block .strategy-value,
.js .service-block .strategy-legend,
.js .service-block .ecom-product,
.js .service-block .ecom-cart,
.js .service-block .brand-type,
.js .service-block .workflow-node,
.js .service-block .workflow-icon {
  opacity: 0;
  transform: translateY(8px);
}

.js .service-block .social-play,
.js .service-block .brand-swatch,
.js .service-block .brand-pen,
.js .service-block .brand-star {
  opacity: 0;
  transform: scale(0.65);
  transform-box: fill-box;
  transform-origin: center;
}

.js .service-block.visible .analytics-bar {
  animation: svgBarRise 0.58s var(--ease-out) both;
}

.js .service-block.visible .analytics-bar:nth-child(1) { animation-delay: 0.28s; }
.js .service-block.visible .analytics-bar:nth-child(2) { animation-delay: 0.34s; }
.js .service-block.visible .analytics-bar:nth-child(3) { animation-delay: 0.4s; }
.js .service-block.visible .analytics-bar:nth-child(4) { animation-delay: 0.46s; }
.js .service-block.visible .analytics-bar:nth-child(5) { animation-delay: 0.52s; }
.js .service-block.visible .analytics-bar:nth-child(6) { animation-delay: 0.58s; }
.js .service-block.visible .analytics-bar:nth-child(7) { animation-delay: 0.64s; }

.js .service-block.visible .analytics-line {
  animation: svgLineDraw 0.7s var(--ease-out) 0.72s both;
}

.js .service-block.visible .analytics-dot {
  animation: svgPopIn 0.38s var(--ease-spring) both;
  transform-box: fill-box;
  transform-origin: center;
}

.js .service-block.visible .analytics-dot:nth-of-type(1) { animation-delay: 1.02s; }
.js .service-block.visible .analytics-dot:nth-of-type(2) { animation-delay: 1.1s; }
.js .service-block.visible .analytics-dot:nth-of-type(3) { animation-delay: 1.18s; }

.js .service-block.visible .social-header { animation: svgSlideIn 0.5s var(--ease-out) 0.3s both; }
.js .service-block.visible .social-media { animation: svgSlideIn 0.55s var(--ease-out) 0.42s both; }
.js .service-block.visible .social-play { animation: svgPopIn 0.48s var(--ease-spring) 0.68s both; }
.js .service-block.visible .social-actions { animation: svgSlideIn 0.5s var(--ease-out) 0.82s both; }

.js .service-block .strategy-segment {
  opacity: 0;
  transform: rotate(-50deg);
  transform-box: fill-box;
  transform-origin: center;
}

.js .service-block.visible .strategy-segment {
  animation: strategySweep 0.7s var(--ease-out) both;
}

.js .service-block.visible .strategy-segment:nth-of-type(2) { animation-delay: 0.3s; }
.js .service-block.visible .strategy-segment:nth-of-type(3) { animation-delay: 0.42s; }
.js .service-block.visible .strategy-segment:nth-of-type(4) { animation-delay: 0.54s; }
.js .service-block.visible .strategy-value { animation: svgSlideIn 0.42s var(--ease-out) 0.7s both; }
.js .service-block.visible .strategy-legend { animation: svgSlideIn 0.48s var(--ease-out) 0.78s both; }
.js .service-block.visible .strategy-arrow path,
.js .service-block.visible .strategy-arrow line { animation: svgLineDraw 0.5s var(--ease-out) 0.92s both; }

.js .service-block.visible .ecom-product { animation: svgSlideIn 0.58s var(--ease-out) both; }
.js .service-block.visible .ecom-product:nth-of-type(1) { animation-delay: 0.34s; }
.js .service-block.visible .ecom-product:nth-of-type(2) { animation-delay: 0.48s; }
.js .service-block.visible .ecom-cart { animation: svgPopIn 0.5s var(--ease-spring) 0.72s both; transform-box: fill-box; transform-origin: center; }

.js .service-block.visible .brand-swatch { animation: svgPopIn 0.46s var(--ease-spring) both; }
.js .service-block.visible .brand-swatch:nth-of-type(1) { animation-delay: 0.3s; }
.js .service-block.visible .brand-swatch:nth-of-type(2) { animation-delay: 0.4s; }
.js .service-block.visible .brand-swatch:nth-of-type(3) { animation-delay: 0.5s; }
.js .service-block.visible .brand-type { animation: svgSlideIn 0.52s var(--ease-out) 0.62s both; }
.js .service-block.visible .brand-pen { animation: svgPopIn 0.48s var(--ease-spring) 0.78s both; }
.js .service-block.visible .brand-star { animation: svgPopIn 0.48s var(--ease-spring) 0.9s both; }

.js .service-block.visible .workflow-node { animation: svgSlideIn 0.46s var(--ease-out) both; }
.js .service-block.visible .workflow-node:nth-of-type(1) { animation-delay: 0.28s; }
.js .service-block.visible .workflow-node:nth-of-type(2) { animation-delay: 0.52s; }
.js .service-block.visible .workflow-node:nth-of-type(3) { animation-delay: 0.76s; }
.js .service-block.visible .workflow-connector { animation: svgLineDraw 0.34s linear both; }
.js .service-block.visible .workflow-connector:nth-of-type(1) { animation-delay: 0.46s; }
.js .service-block.visible .workflow-connector:nth-of-type(2) { animation-delay: 0.7s; }
.js .service-block.visible .workflow-icon { animation: svgPopIn 0.4s var(--ease-spring) both; transform-box: fill-box; transform-origin: center; }
.js .service-block.visible .workflow-icon:nth-of-type(4) { animation-delay: 0.9s; }
.js .service-block.visible .workflow-icon:nth-of-type(5) { animation-delay: 0.98s; }
.js .service-block.visible .workflow-icon:nth-of-type(6) { animation-delay: 1.06s; }

.js .service-block.visible :is(
  .analytics-bar,
  .analytics-line,
  .analytics-dot,
  .social-header,
  .social-media,
  .social-play,
  .social-actions,
  .strategy-segment,
  .strategy-value,
  .strategy-legend,
  .strategy-arrow path,
  .strategy-arrow line,
  .ecom-product,
  .ecom-cart,
  .brand-swatch,
  .brand-type,
  .brand-pen,
  .brand-star,
  .workflow-node,
  .workflow-connector,
  .workflow-icon
) {
  animation-duration: 3.8s;
  animation-iteration-count: infinite;
}

@keyframes svgBarRise {
  0% { opacity: 0; transform: scaleY(0); }
  18%, 88% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); }
}

@keyframes svgLineDraw {
  0% { stroke-dashoffset: 1; }
  18%, 88% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}

@keyframes svgSlideIn {
  0% { opacity: 0; transform: translateY(8px); }
  18%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes svgPopIn {
  0% { opacity: 0; transform: scale(0.65); }
  18%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.65); }
}

@keyframes strategySweep {
  0% { opacity: 0; transform: rotate(-50deg); }
  18%, 88% { opacity: 1; transform: rotate(0); }
  100% { opacity: 0; transform: rotate(-50deg); }
}

/* --- Reduced motion: instantly settle everything new --- */
@media (prefers-reduced-motion: reduce) {
  .hero-3d {
    transition: none;
  }

  .js .hero h1 .line-inner,
  .js .hero-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .js .service-block .service-block-text,
  .js .service-block .service-block-visual {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .process-visual .chart-bar {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .js .process-visual .chart-tooltip {
    animation: none;
    opacity: 1;
  }

  .badge-track,
  .hero-scroll-dot,
  .hero-visual-fallback span,
  .chart-bar,
  .phone-bar::after,
  .phone-header-btn {
    animation: none;
  }

  .js .service-block .analytics-bar,
  .js .service-block .analytics-dot,
  .js .service-block .social-header,
  .js .service-block .social-media,
  .js .service-block .social-play,
  .js .service-block .social-actions,
  .js .service-block .strategy-segment,
  .js .service-block .strategy-value,
  .js .service-block .strategy-legend,
  .js .service-block .ecom-product,
  .js .service-block .ecom-cart,
  .js .service-block .brand-swatch,
  .js .service-block .brand-type,
  .js .service-block .brand-pen,
  .js .service-block .brand-star,
  .js .service-block .workflow-node,
  .js .service-block .workflow-icon {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js .service-block .analytics-line,
  .js .service-block .strategy-arrow path,
  .js .service-block .strategy-arrow line,
  .js .service-block .workflow-connector {
    animation: none;
    stroke-dashoffset: 0;
  }
}
