/* ═══════════════════════════════════════════════════════
   NESCOMMERCE — SHOPIFY AGENCY STYLESHEET
   Theme: Professional Navy · White · Black
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────── */
:root {
  --navy: #0f2d52;
  --navy-dark: #081d36;
  --navy-deep: #050f1e;
  --navy-mid: #1a4d8f;
  --navy-light: #e8f0fb;
  --navy-subtle: #f0f5fd;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --bg: #f8fafc;
  --bg-soft: #f8fafc;
  --bg-dark: #06101e;
  --text: #111827;
  --text-muted: #64748b;
  --heading: #060e1e;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --card-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 20px 40px -8px rgba(15,45,82,0.22), 0 8px 16px -4px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: 'Inter', sans-serif; font-weight: 800; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── Announcement Bar ──────────────────────────────── */
.announce-bar {
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
}

.announce-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.announce-link {
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  transition: background 0.2s;
  white-space: nowrap;
}
.announce-link:hover { background: rgba(255,255,255,0.3); }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(6,16,30,0.1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo svg { flex-shrink: 0; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link, .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-btn:hover {
  background: var(--navy-light);
  color: var(--navy);
}
.nav-link-active { color: var(--navy); font-weight: 700; }

.chevron {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-btn.is-active { background: var(--navy); color: white; }
.nav-btn.is-active .chevron { border-color: white; transform: rotate(225deg) translateY(2px); }

/* Dropdown */
.dropdown {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.96);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6,16,30,0.14);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 300;
}
.dropdown-panel.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.dropdown-panel a:hover { background: var(--navy-light); color: var(--navy); }
.dp-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.partner-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-light);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(15,45,82,0.15);
}
.refer-earn-badge {
  background: #fef08a;
  color: #111111;
  border: 1px solid #fde047;
}

/* ── Refer & Earn pill nav button ── */
.refer-earn-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: #fef08a;
  color: #111111 !important;
  padding: 7px 16px;
  border-radius: 12px;
  white-space: nowrap;
  border: 1.5px solid #fde047;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(253,224,71,0.35);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.refer-earn-pill:hover {
  background: #fde047;
  box-shadow: 0 4px 16px rgba(253,224,71,0.55);
  transform: translateY(-1px);
}
.refer-earn-pill-active {
  background: #fde047;
  border-color: #facc15;
}
.ref-pill-main {
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
}
.ref-pill-sub {
  font-size: 10px;
  font-weight: 600;
  color: #555;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--navy);
  color: white;
  padding: 7px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(15,45,82,0.3);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,45,82,0.4);
}

/* ─── Hero Section ──────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 28px 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fd 40%, #f8fafc 100%);
}

/* Background orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(15,45,82,0.18) 0%, transparent 70%);
  top: -110px; left: -90px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
  top: 40%; right: -70px;
  animation: orbFloat 15s ease-in-out 3s infinite reverse;
}
.orb-3 {
  width: 290px; height: 290px;
  background: radial-gradient(circle, rgba(15,45,82,0.1) 0%, transparent 70%);
  bottom: -70px; left: 35%;
  animation: orbFloat 10s ease-in-out 6s infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-15px) scale(1.04); }
  66% { transform: translate(-10px,10px) scale(0.97); }
}

/* Hero inner */
.hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(15,45,82,0.18);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15,45,82,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(15,45,82,0); }
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.text-green {
  font-style: normal;
  color: var(--navy);
  position: relative;
}
.text-green::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
  border-radius: 2px;
  opacity: 0.25;
}

/* Hero keyword tags */
.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.18s both;
}
.hk-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: #ffbe00;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 17px;
  color: #111111;
  line-height: 1.65;
  max-width: 640px;
  white-space: nowrap;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0f2d52 0%, #1a4a80 100%);
  color: white;
  padding: 7px 7px 7px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 28px rgba(15,45,82,0.38), 0 2px 8px rgba(15,45,82,0.18);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.13) 50%, transparent 72%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
}
.btn-text {
  position: relative;
  z-index: 1;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  color: white;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  z-index: 1;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15,45,82,0.46), 0 4px 12px rgba(15,45,82,0.22);
  background: linear-gradient(135deg, #0c2444 0%, #163d6e 100%);
}
.btn-hero-primary:hover::before { transform: translateX(150%); }
.btn-hero-primary:hover .btn-icon {
  background: rgba(255,255,255,0.24);
  transform: translateX(3px);
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.trust-avatars { display: flex; align-items: center; }
.trust-avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  object-fit: cover;
  margin-left: -8px;
  flex-shrink: 0;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-info { line-height: 1.4; }
.trust-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.trust-info span { font-size: 13px; color: var(--text-muted); }
.trust-info strong { color: var(--heading); }

/* ─── Hero Visual (Shopify Backend / Dev Mockup) ───── */
.hero-visual {
  position: relative;
  height: 660px;
  animation: fadeUp 1s ease 0.15s both;
  font-family: 'Montserrat', sans-serif;
}

.hv-panel {
  position: absolute;
  background: white;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(6,16,30,0.22), 0 0 0 1px rgba(6,16,30,0.07);
  overflow: hidden;
}


/* ── Lighthouse Scores ── */
.hv-scores {
  top: 478px;
  left: 1%;
  width: 98%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 16px 12px;
  background: #ffffff;
  z-index: 4;
}
.hv-scores-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.hv-scores-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.hv-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hv-score-ring {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.hv-ring-bg {
  fill: none;
  stroke-width: 5;
}
.hv-ring-green-bg  { stroke: #e8faf0; fill: #e8faf0; }
.hv-ring-orange-bg { stroke: #fff3e8; fill: #fff3e8; }
.hv-ring-stroke {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  animation: ringDraw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
@keyframes ringDraw {
  from { stroke-dashoffset: 226.2; }
}
.hv-ring-green  { stroke: #0cce6b; }
.hv-ring-orange { stroke: #ffa400; }
.hv-ring-num {
  transform: rotate(90deg);
  transform-origin: 50% 50%;
  font-size: 26px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  font-family: 'Montserrat', sans-serif;
}
.hv-num-green  { fill: #0d7a40; }
.hv-num-orange { fill: #c45400; }
.hv-score-label {
  font-size: 10px;
  font-weight: 500;
  color: #374151;
  line-height: 1.2;
  white-space: nowrap;
}

/* ── Metrics bar ── */
.hv-cwv-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2d52;
  margin-bottom: 8px;
}
.hv-cwv-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}
.hv-metrics-inline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 16px;
  background: #ffffff;
  border-radius: 14px;
}
.hv-metrics-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
  box-shadow: 0 4px 24px rgba(6,16,30,0.10), 0 0 0 1px rgba(6,16,30,0.06);
  margin-bottom: 18px;
  width: fit-content;
}
.hv-metrics-period {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5c6b7a;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 16px;
}
.hv-metrics-divider {
  width: 1px;
  align-self: stretch;
  background: #e4e9ef;
  margin: 0 16px;
  flex-shrink: 0;
}
.hv-metric-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hv-metric-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0;
  border-bottom: 1.5px dotted #9ca3af;
  padding-bottom: 3px;
}
.hv-metric-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.hv-metric-value {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hv-metric-delta {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.hv-delta-up   { color: #b45309; }
.hv-delta-flat { color: #6b7280; }
.hv-delta-down { color: #3b82f6; }
.hv-metric-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.hv-badge-moderate {
  background: #fef08a;
  color: #78350f;
}
.hv-badge-good {
  background: #bbf7d0;
  color: #14532d;
}
.hv-cls-chart {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

/* ── Terminal panel ── */
.hv-terminal {
  top: 128px;
  left: 6%;
  width: 82%;
  min-height: 358px;
  background: linear-gradient(180deg, #0d1424 0%, #060c19 100%);
  color: #e6edf6;
  z-index: 3;
  animation: hvFloatA 8s ease-in-out infinite;
}
@keyframes hvFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hv-term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hv-tdot { width: 12px; height: 12px; border-radius: 50%; }
.hv-tdot.red    { background: #ff5f57; }
.hv-tdot.yellow { background: #febc2e; }
.hv-tdot.green  { background: #28c840; }
.hv-term-title {
  margin-left: auto;
  font-size: 12.5px;
  color: #93a4bd;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hv-term-tag {
  margin-left: auto;
  background: rgba(110,231,210,0.12);
  color: #6ee7d2;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
}
.hv-term-body {
  padding: 16px 22px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.8;
}
.hv-line   { margin: 0; color: #cdd7e6; display: flex; align-items: center; gap: 4px; }
.hv-ln {
  display: inline-block;
  width: 26px;
  text-align: right;
  color: #4a5b75;
  font-size: 11px;
  margin-right: 8px;
  user-select: none;
}
.hv-prompt { color: #6e84a3; margin-right: 6px; }
.hv-q      { color: #f6c177; margin-right: 6px; font-weight: 700; }
.hv-cyan   { color: #6ee7d2; }
.hv-amber  { color: #fbbf24; font-weight: 700; }
.hv-success { color: #6ee7b7; }
.hv-check  { display: inline-block; color: #34d399; font-weight: 800; margin-right: 4px; }
.hv-dim    { color: #6e84a3; }
.hv-blink  { display: inline-block; color: #6ee7d2; animation: hvBlink 1.1s steps(2) infinite; margin-left: 4px; }
@keyframes hvBlink { 50% { opacity: 0; } }

/* ── Typewriter animation on the last terminal line ── */
.hv-typewrite {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  color: #6ee7d2;
  border-right: 2px solid #6ee7d2;
  width: 0;
  margin-left: 4px;
  animation: hvTypeLoop 9s steps(1, end) infinite, hvCaret 0.7s step-end infinite;
}
.hv-typewrite::before {
  content: 'shopify theme push --live';
}
@keyframes hvTypeLoop {
  0%   { width: 0;     }
  4%   { width: 1ch;   } 8%   { width: 2ch;   } 11%  { width: 3ch;   }
  14%  { width: 4ch;   } 17%  { width: 5ch;   } 19%  { width: 6ch;   }
  21%  { width: 7ch;   } 23%  { width: 8ch;   } 25%  { width: 9ch;   }
  27%  { width: 10ch;  } 29%  { width: 11ch;  } 31%  { width: 12ch;  }
  33%  { width: 13ch;  } 35%  { width: 14ch;  } 37%  { width: 15ch;  }
  39%  { width: 16ch;  } 41%  { width: 17ch;  } 43%  { width: 18ch;  }
  45%  { width: 19ch;  } 47%  { width: 20ch;  } 49%  { width: 21ch;  }
  51%  { width: 22ch;  } 53%  { width: 23ch;  } 55%  { width: 24ch;  }
  58%  { width: 25ch;  }
  85%  { width: 25ch;  }
  92%  { width: 0;     }
  100% { width: 0;     }
}
@keyframes hvCaret { 50% { border-color: transparent; } }

/* ── Dark Code Editor (Liquid preview) ── */
@keyframes hvFloatB {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes hvFloatC {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hv-codepanel {
  top: 0;
  right: -16px;
  width: 51%;
  background: linear-gradient(180deg, #0f1729 0%, #060c19 100%);
  color: #d8e0ec;
  z-index: 5;
  animation: hvFloatC 10s ease-in-out 0.6s infinite;
}
.hv-cp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hv-cp-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6e84a3;
  background: transparent;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.hv-cp-tab--on {
  color: #e6edf6;
  background: rgba(255,255,255,0.06);
}
.hv-cp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  display: inline-block;
}
.hv-cp-meta {
  margin-left: auto;
  font-size: 10px;
  color: #4a5b75;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.hv-cp-body {
  padding: 12px 14px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #cdd7e6;
}
.hv-cp-body p { margin: 0; white-space: nowrap; }
.cp-ln {
  display: inline-block;
  width: 26px;
  text-align: right;
  color: #4a5b75;
  font-size: 10.5px;
  margin-right: 10px;
  user-select: none;
}
.cp-tag   { color: #f472b6; font-weight: 700; }
.cp-kw    { color: #c4b5fd; font-weight: 700; }
.cp-prop  { color: #93c5fd; }
.cp-str   { color: #fde68a; }
.cp-brace { color: #6ee7d2; }
.cp-html  { color: #f472b6; }
.cp-attr  { color: #c4b5fd; }

/* ── AI Chat panel ── */
.hv-chat {
  top: 0;
  left: 6%;
  width: 82%;
  background: linear-gradient(180deg, #0f1729 0%, #060c19 100%);
  color: #e6edf6;
  z-index: 6;
  border-radius: 14px;
  animation: hvFloatA 11s ease-in-out 2s infinite;
}
.hv-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hv-chat-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #cdd7e6;
}
.hv-chat-icons {
  font-size: 12px;
  color: #6e84a3;
  letter-spacing: 3px;
}
.hv-chat-prompt {
  padding: 10px 14px 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e6edf6;
}
.hv-chat-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px 11px;
  font-size: 10.5px;
  color: #93a4bd;
}
.hv-agent-pill {
  background: rgba(110,231,210,0.12);
  color: #6ee7d2;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}
/* ── Review Card ── */
.hv-review-card {
  position: absolute;
  top: 410px;
  left: 0%;
  width: fit-content;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(6,16,30,0.14), 0 0 0 1px rgba(6,16,30,0.06);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 10;
  animation: reviewSlide 0.5s cubic-bezier(0.34,1.56,0.64,1) 1s both, notifFloat 5s ease-in-out 2s infinite;
}
@keyframes reviewSlide {
  0%   { opacity: 0; transform: translateX(-16px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.hv-review-stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 1px;
  line-height: 1;
}
.hv-review-text {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}
.hv-review-author {
  font-size: 10.5px;
  color: #6b7a8d;
  font-weight: 400;
  white-space: nowrap;
}

/* ── Delivery Notification ── */
.hv-delivery-notif {
  position: absolute;
  top: 375px;
  right: 8%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(6,16,30,0.14), 0 0 0 1px rgba(6,16,30,0.06);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  width: fit-content;
  animation: deliveryPop 0.3s cubic-bezier(0.34,1.56,0.64,1) 1.4s both, notifFloat 4.5s ease-in-out 2.5s infinite;
}
@keyframes deliveryPop {
  0%   { opacity: 0; transform: translateX(14px) scale(0.92); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.hv-delivery-icon {
  width: 34px;
  height: 34px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hv-delivery-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hv-delivery-label {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hv-delivery-status {
  font-size: 11px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}

/* ── Order Notification ── */
.hv-order-notif {
  position: absolute;
  top: -18px;
  right: 0;
  width: 210px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(6,16,30,0.16);
  border: 2px solid #0f2d52;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: notifPop 0.3s cubic-bezier(0.34,1.56,0.64,1) 0.6s both, notifFloat 3s ease-in-out 1s infinite;
}
@keyframes notifPop {
  0%   { opacity: 0; transform: translateY(12px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes notifFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.hv-notif-icon {
  width: 34px;
  height: 34px;
  background: #e8edf7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hv-notif-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.hv-notif-title {
  font-size: 12px;
  font-weight: 600;
  color: #6b7a8d;
}
.hv-notif-row {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.hv-notif-order,
.hv-notif-price {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.hv-notif-sep {
  font-size: 15px;
  color: #9ca3af;
  font-weight: 400;
}
.hv-notif-time {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 400;
}
.hv-notif-dot {
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: flex-start;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.hv-model { color: #cdd7e6; font-weight: 600; font-size: 10.5px; }
.hv-send {
  margin-left: auto;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #0f1729;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}


/* ─── Ticker ─────────────────────────────────────────── */
.ticker-section {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track { overflow: hidden; }
.ticker-content {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}
.ticker-content span {
  color: rgba(255,255,255,0.88);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.t-dot { color: rgba(255,255,255,0.4) !important; font-size: 10px !important; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Stats Section ──────────────────────────────────── */
/* ── Keyframes ───────────────────────────────────────── */
@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.6) translateY(28px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);    }
}
@keyframes floatA {
  0%,100% { transform: translateY(0px);  }
  50%      { transform: translateY(-8px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(-5px); }
  50%      { transform: translateY(5px);  }
}
@keyframes spinRing {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
@keyframes spinRingRev {
  from { transform: rotate(0deg);    }
  to   { transform: rotate(-360deg); }
}

.stats-section {
  background: transparent;
  padding: 48px 28px 64px;
  margin: 0;
  position: relative;
}
.stats-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* ── Overlapping Bubble Layout ── */
.stat-bubble {
  display: grid;
  grid-template-rows: 110px 190px 110px;
  align-items: center;
  justify-items: center;
  margin-left: -48px;
  position: relative;
  opacity: 0;
  transform: scale(0.6) translateY(28px);
  transition: opacity 0s, transform 0s;
}
.stat-bubble.visible {
  animation: bubbleIn 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.stat-bubble:nth-child(1).visible { animation-delay: 0s;    }
.stat-bubble:nth-child(2).visible { animation-delay: 0.13s; }
.stat-bubble:nth-child(3).visible { animation-delay: 0.26s; }
.stat-bubble:nth-child(4).visible { animation-delay: 0.39s; }
.stat-bubble:first-child { margin-left: 0; }

/* ── Circle — ring design ── */
.sb-circle {
  width: 184px;
  height: 184px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
  overflow: visible;
  /* Thick solid border ring */
  border: 11px solid var(--cc);
  /* Very light tinted fill */
  background: var(--cc-bg);
  box-shadow: 0 10px 36px -6px var(--cc-shadow), 0 2px 8px rgba(0,0,0,0.07);
  animation: floatA 4.5s ease-in-out infinite;
  animation-delay: 0.8s;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.35s ease;
}

/* Outer spinning dashed ring */
.sb-circle::before {
  content: '';
  position: absolute;
  inset: -17px;
  border-radius: 50%;
  border: 2px dashed var(--cc);
  opacity: 0.3;
  animation: spinRing 14s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* Bottom colored ground glow */
.sb-circle::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  width: 65%; height: 14px;
  border-radius: 50%;
  background: var(--cc);
  filter: blur(12px);
  opacity: 0.38;
  pointer-events: none;
}

/* Alternate float + spin direction for even circles */
.stat-bubble:nth-child(even) .sb-circle {
  animation-name: floatB;
  animation-duration: 5.2s;
}
.stat-bubble:nth-child(even) .sb-circle::before {
  animation-name: spinRingRev;
  animation-duration: 10s;
}

/* Z-index layering */
.stat-bubble:nth-child(1) .sb-circle { z-index: 4; }
.stat-bubble:nth-child(2) .sb-circle { z-index: 3; }
.stat-bubble:nth-child(3) .sb-circle { z-index: 2; }
.stat-bubble:nth-child(4) .sb-circle { z-index: 1; }

/* Hover */
.stat-bubble:hover .sb-circle {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-7px);
  box-shadow:
    0 24px 55px -8px var(--cc-shadow),
    0 0 0 5px rgba(255,255,255,0.9),
    0 0 0 9px var(--cc);
}
.stat-bubble:hover .sb-circle::before {
  animation-play-state: paused;
  opacity: 0.65;
}

/* ── Per-colour CSS variables ── */
.sc-emerald {
  --cc:        #10b981;
  --cc-bg:     #ecfdf5;
  --cc-shadow: rgba(16,185,129,0.42);
}
.sc-navy {
  --cc:        #0f2d52;
  --cc-bg:     #f0f4f9;
  --cc-shadow: rgba(15,45,82,0.38);
}
.sc-blue {
  --cc:        #1e6fbf;
  --cc-bg:     #eef5fd;
  --cc-shadow: rgba(30,111,191,0.42);
}
.sc-coral {
  --cc:        #c96644;
  --cc-bg:     #fdf3ef;
  --cc-shadow: rgba(201,102,68,0.42);
}

/* ── Number ── */
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 900;
  color: var(--cc);
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 3;
}

/* ── Label slots ── */
.sb-top-slot,
.sb-bot-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sb-top-slot { align-items: flex-end; padding-bottom: 14px; }
.sb-bot-slot { align-items: flex-start; padding-top: 14px; }

/* ── Label ── */
.sb-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  position: relative;
  z-index: 10;
}
.sb-ltext {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--navy);
  max-width: 120px;
  line-height: 1.5;
}

/* ── Connector line with arrowhead ── */
.sb-connector {
  display: block;
  width: 1.5px;
  height: 22px;
  background: linear-gradient(180deg, var(--navy) 0%, transparent 100%);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}
.sb-top-slot .sb-connector::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--navy);
}
.sb-bot-slot .sb-connector {
  background: linear-gradient(180deg, transparent 0%, var(--navy) 100%);
}
.sb-bot-slot .sb-connector::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid var(--navy);
}

/* ─── Section Common ─────────────────────────────────── */
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.section-header p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
.section-header--light h2 { color: white; }
.section-header--light p { color: rgba(255,255,255,0.65); }

.eyebrow-label {
  display: inline-block;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,45,82,0.12);
}
.eyebrow-label--light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}

/* ─── Services Section ──────────────────────────────── */
.services-section { padding: 70px 0; background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(15,45,82,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.sc-icon-wrap {
  width: 52px; height: 52px;
  background: var(--icon-bg, var(--navy-light));
  color: var(--icon-color, var(--navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.sc-icon-wrap svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--heading); margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.sc-cta { font-size: 13.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.sc-cta:hover { gap: 8px; }

/* Featured service */
.service-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}
.service-card--featured h3 { color: white; }
.service-card--featured p { color: rgba(255,255,255,0.75); }
.service-card--featured .sc-cta { color: rgba(255,255,255,0.9); }
.service-card--featured::before { background: white; }
.sc-featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Popular service */
.service-card--popular {
  background: var(--navy-light);
  border-color: var(--navy);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(15,45,82,0.12);
}
.service-card--popular::before {
  transform: scaleX(1);
}
.service-card--popular h3 { color: var(--navy); }
.service-card--popular p { color: var(--navy-mid); opacity: 0.85; }
.service-card--popular .sc-cta { color: var(--navy); font-weight: 800; }
.sc-popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

/* ─── Process Section — Snake/Zigzag Layout ─────────── */
.process-section {
  padding: 80px 0 100px;
  background: transparent;
}
.proc-snake-wrap {
  position: relative;
  height: 400px;
  margin-top: 64px;
}
.proc-snake-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.pn-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.pn-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #dde4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(15,45,82,0.13);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.pn-circle svg { width: 26px; height: 26px; }
.pn-node:hover .pn-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  box-shadow: 0 10px 36px rgba(255,190,0,0.38);
  transform: scale(1.08);
}
.pn-label {
  width: 134px;
  text-align: center;
}
.pn-label-below { margin-top: 16px; }
.pn-label-above { margin-bottom: 16px; order: -1; }
.pn-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}
.pn-label h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 5px;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}
.pn-label p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Tech Stack ─────────────────────────────────────── */
/* ─── Tech Section — circular orbital layout ────────── */
.tech-section { padding: 70px 0; background: transparent; }

/* ── Two-column split ── */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tech-split-left {
  padding-right: 20px;
}
.tech-split-left .eyebrow-label {
  margin-bottom: 16px;
  display: inline-block;
}
.tech-split-left h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--heading);
}
.tech-split-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 440px;
}
.tech-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}
.tp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #ffe600;
  color: #000;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.tech-split-right {
  display: flex;
  justify-content: center;
}

.tech-orbit-wrap {
  position: relative;
  width: 500px;
  height: 520px;
  margin: 0;
}

/* SVG ring + lines layer */
.tech-orbit-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ── Centre node (Shopify) ─────────────────────────── */
.tech-center-node {
  position: absolute;
  left: 185px; top: 185px;   /* circle centre at (250,250); 130px diameter */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: default;
}
.tech-cn-circle {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #e8f5e9 60%, #c8e6c9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #008060;
  box-shadow:
    0 2px 0 2px rgba(0,128,96,0.18),
    0 8px 24px rgba(0,128,96,0.28),
    0 20px 48px rgba(0,128,96,0.15),
    inset 0 2px 6px rgba(255,255,255,0.85),
    inset 0 -3px 8px rgba(0,100,70,0.12);
  transition: transform 0.22s, box-shadow 0.22s;
}
.tech-center-node:hover .tech-cn-circle {
  transform: scale(1.08) translateY(-4px);
  box-shadow:
    0 2px 0 2px rgba(0,128,96,0.18),
    0 16px 40px rgba(0,128,96,0.35),
    0 32px 64px rgba(0,128,96,0.18),
    inset 0 2px 6px rgba(255,255,255,0.85),
    inset 0 -3px 8px rgba(0,100,70,0.12);
}
.tech-cn-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
}
.tech-cn-tag {
  font-size: 9px;
  font-weight: 700;
  color: #008060;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: -4px;
}

/* ── Orbit nodes ───────────────────────────────────── */
.tech-orbit-node {
  position: absolute;
  width: 120px;               /* wider than circle for label room */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: default;
  transition: transform 0.22s;
}
.tech-orbit-node:hover {
  transform: scale(1.1);
}
/* The circle itself */
.tech-on-circle {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--tc, #008060);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(15,45,82,0.08);
  transition: box-shadow 0.22s;
}
.tech-orbit-node:hover .tech-on-circle {
  box-shadow: 0 8px 28px rgba(15,45,82,0.15);
}
.tech-on-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--heading);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}
.tech-on-tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--tc, #008060);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: -4px;
}

/* ── Mobile: flex wrap ─────────────────────────────── */
@media (max-width: 580px) {
  .tech-split { grid-template-columns: 1fr; gap: 32px; }
  .tech-split-left { padding-right: 0; text-align: center; }
  .tech-split-left .eyebrow-label { display: inline-block; }
  .tech-split-left h2 { font-size: clamp(24px, 7vw, 36px); }
  .tech-split-left p { margin-left: auto; margin-right: auto; font-size: 15px; }
  .tech-points { align-items: flex-start; max-width: 100%; margin: 0 auto; }
  .tech-points li { font-size: 14px; }
  .tech-orbit-wrap {
    width: 100%; height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 16px 0;
  }
  .tech-orbit-svg { display: none; }
  .tech-center-node,
  .tech-orbit-node {
    position: static;
    width: 90px;
  }
  .tech-cn-circle { width: 90px; height: 90px; }
}

/* ─── Portfolio Section ──────────────────────────────── */
.portfolio-section { padding: 70px 0; background: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(6,16,30,0.13); }
.pc-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .pc-img-wrap img { transform: scale(1.07); }
.pc-overlay {
  position: absolute; inset: 0;
  background: rgba(6,16,30,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .pc-overlay { opacity: 1; }
.pc-btn {
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.3s, background 0.2s;
}
.portfolio-card:hover .pc-btn { transform: translateY(0); }
.pc-btn:hover { background: var(--navy-dark); }
.pc-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: white;
  color: var(--heading);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.pc-info { padding: 24px; }
.pc-info h3 { font-size: 18px; font-weight: 800; color: var(--heading); margin-bottom: 10px; line-height: 1.3; }
.pc-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.pc-stats { display: flex; gap: 20px; border-top: 1px solid var(--border-light); padding-top: 16px; }
.pc-stat { text-align: center; flex: 1; }
.pc-stat strong { display: block; font-size: 18px; font-weight: 900; color: var(--navy); }
.pc-stat span { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ─── Why Us Section ─────────────────────────────────── */
.why-us-section { padding: 70px 0; background: transparent; }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-us-left h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 18px;
}
.why-lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.why-features { display: grid; gap: 24px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.wf-icon {
  width: 46px; height: 46px;
  background: var(--navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.why-feature h4 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.why-feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Why-Us Right — Radial Mind-Map ────────────────── */
.wur-radial {
  position: relative;
  width: 460px;
  height: 460px;
  background: transparent;
  flex-shrink: 0;
}

/* SVG lines layer */
.wur-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Centre Shopify node */
.wur-center {
  position: absolute;
  left: 190px; top: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.wur-center-icon {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(0,128,96,0.08), 0 8px 28px rgba(0,128,96,0.18);
  border: 2px solid rgba(0,128,96,0.15);
}
.wur-center-label {
  font-size: 11px;
  font-weight: 700;
  color: #008060;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Orbit cards */
.wur-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 155px;
  padding: 11px 13px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 4px 20px rgba(15,45,82,0.08);
  z-index: 2;
  cursor: default;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.wur-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(15,45,82,0.13);
  border-color: #d0dae8;
}
.wur-card--active {
  border: 2px solid #008060;
  box-shadow: 0 6px 24px rgba(0,128,96,0.16);
}
.wur-card--active:hover {
  box-shadow: 0 10px 32px rgba(0,128,96,0.22);
}
.wur-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wur-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0f1c2e;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}
.wur-text span {
  font-size: 10.5px;
  color: #8896a4;
  font-weight: 500;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1100px) {
  .wur-radial { transform: scale(0.85); transform-origin: center top; }
}
@media (max-width: 768px) {
  .wur-radial { display: none; }
}

/* Dashboard mockup */
.shopify-report-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2d52;
  margin-bottom: 12px;
}
.shopify-report-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #008060;
}
.dashboard-mockup {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(6,16,30,0.1), 0 0 0 1px rgba(6,16,30,0.04);
  overflow: hidden;
}
.dm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.dm-logo-area { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--heading); }
.dm-nav-tabs { display: flex; gap: 4px; }
.dm-nav-tabs span { font-size: 12px; font-weight: 500; color: var(--text-muted); padding: 5px 12px; border-radius: 6px; cursor: default; }
.dm-active { background: var(--navy) !important; color: white !important; font-weight: 700 !important; }
.dm-body { padding: 20px; }
.dm-period { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.dm-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.dm-metric {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 10px;
}
.dm-m-label { font-size: 10px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.dm-m-val { font-size: 16px; font-weight: 800; color: var(--heading); margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.dm-m-change { font-size: 10px; font-weight: 700; }
.dm-m-change.up { color: #2563eb; }
.dm-chart-section { margin-bottom: 20px; }
.dm-chart-title { font-size: 12px; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.dm-chart { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 10px; padding: 10px; }
.dm-order-row {
  display: grid;
  grid-template-columns: 50px 1fr auto 60px;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
}
.dm-order-row:last-child { border-bottom: none; }
.dm-oid { font-weight: 700; color: var(--heading); font-family: 'Montserrat', sans-serif; font-size: 11px; }
.dm-oname { color: var(--text-muted); }
.dm-oamt { font-weight: 700; color: var(--heading); text-align: right; }
.dm-ostatus { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-align: center; }
.dm-ostatus.fulfilled { background: var(--navy-light); color: var(--navy); }
.dm-ostatus.processing { background: #fef9c3; color: #854d0e; }

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-section { padding: 70px 0; background: transparent; }
.reviews-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.reviews-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tc-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.tc-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}
.tc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tc-stars { font-size: 16px; color: #f59e0b; letter-spacing: 2px; }
.tc-flag { font-size: 24px; }
.tc-text { font-size: 14.5px; line-height: 1.75; color: var(--text); margin-bottom: 22px; font-style: italic; }
.tc-card--featured .tc-text { color: rgba(255,255,255,0.88); }
.tc-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.tc-card--featured .tc-author { border-top-color: rgba(255,255,255,0.18); }
.tc-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--navy-light);
}
.tc-card--featured .tc-author img { border-color: rgba(255,255,255,0.25); }
.tc-author h4 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 3px; }
.tc-card--featured .tc-author h4 { color: white; }
.tc-author span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.tc-card--featured .tc-author span { color: rgba(255,255,255,0.65); }

/* ─── India CTA Section ──────────────────────────────── */
.india-cta {
  padding: 100px 28px;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.india-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-tag-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #c9a227;
  padding: 5px 14px;
  border-radius: 999px;
}
.india-cta h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-align: center;
}
.cta-highlight {
  color: var(--navy);
  font-style: normal;
}
.india-cta p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 40px;
  max-width: 480px;
  text-align: center;
}
.cta-btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-cta-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(15,45,82,0.25);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, background 0.2s ease;
}
.btn-cta-green:hover {
  transform: translateY(-2px);
  background: var(--navy-dark);
  box-shadow: 0 12px 32px rgba(15,45,82,0.35);
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--navy);
  padding: 13px 24px;
  border: 1.5px solid rgba(15,45,82,0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-cta-outline:hover {
  border-color: var(--navy);
  background: var(--navy-light);
}
.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.cta-trust-avatars {
  display: flex;
  align-items: center;
}
.cta-trust-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid white;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.cta-trust-avatars img:first-child { margin-left: 0; }
.cta-trust-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-trust-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}
.cta-trust-score {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0;
}
.cta-trust-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1;
}
.cta-trust-label strong { color: var(--heading); }
.cta-dot { color: var(--border); }

/* ─── Newsletter ─────────────────────────────────────── */
.newsletter-section { padding: 0 28px; background: var(--bg); }
.nl-wrap {
  max-width: 1100px;
  margin: 0 auto -50px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(15,45,82,0.35);
}
.nl-left h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: white; margin-bottom: 6px; }
.nl-left p { font-size: 14px; color: rgba(255,255,255,0.65); }
.nl-form { display: flex; gap: 10px; min-width: min(420px, 100%); }
.nl-form input {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  height: 48px;
  padding: 0 16px;
  color: white;
  font: inherit;
  font-size: 14px;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.55); }
.nl-form input:focus { outline: none; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.nl-form button {
  background: white;
  color: var(--navy);
  border: none;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nl-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer { background: transparent; padding: 64px 28px 28px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-brand-col p { font-size: 14px; color: #111111; line-height: 1.7; margin-bottom: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.f-badge {
  background: var(--navy-light);
  border: 1px solid rgba(15,45,82,0.12);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: white; }
.footer-col { }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #000000; margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col a { display: block; font-size: 13.5px; color: #111111; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #000000; }
.footer-col p { font-size: 13.5px; color: #111111; margin-bottom: 10px; line-height: 1.5; }
.footer-col p a { display: inline; margin-bottom: 0; }
.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #111111;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-shopify a { color: #111111; }
.footer-shopify a:hover { color: #000000; }

/* ─── WhatsApp Float Button ──────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 3s ease-in-out 2s infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12), 0 2px 8px rgba(0,0,0,0.15); }
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.18);
}
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: #111827;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111827;
  border-right: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ─── Floating Action Buttons ────────────────────────── */

/* ─── Contact Popup ──────────────────────────────────── */
.contact-popup-card {
  background: white;
  border-radius: 24px;
  padding: 36px 32px 32px;
  width: min(380px, calc(100% - 32px));
  box-shadow: 0 30px 80px rgba(6,16,30,0.3);
  animation: popupIn 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.contact-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-popup-close:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.contact-popup-card h3 { font-size: 22px; font-weight: 800; color: var(--heading); margin: 0 0 6px; }
.contact-popup-card > p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 22px; }
.popup-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.popup-action:last-child { margin-bottom: 0; }
.popup-action:hover { transform: translateY(-2px); }
.popup-call {
  background: #f0f4ff;
  border: 1.5px solid #dce6ff;
  color: var(--navy);
}
.popup-call:hover { box-shadow: 0 8px 24px rgba(15,45,82,0.15); }
.popup-whatsapp {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #15803d;
}
.popup-whatsapp:hover { box-shadow: 0 8px 24px rgba(37,211,102,0.2); }
.popup-action-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.popup-call .popup-action-icon { background: var(--navy); color: white; }
.popup-whatsapp .popup-action-icon { background: #25D366; color: white; }
.popup-action strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.popup-action small { display: block; font-size: 12.5px; opacity: 0.75; font-weight: 500; margin-top: 2px; }
body.popup-open { overflow: hidden; }

/* ─── Scroll Animations ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────── */

/* ── Tablet landscape ≤1100px ─────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* proc-snake: handled in 768px breakpoint */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  /* stats: keep horizontal at 1100px */
  /* tech-orbit responsive handled inline */
  .dm-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait / mobile ≤768px ─────────────────── */
@media (max-width: 768px) {
  /* Announcement bar — hide button, keep text */
  .announce-link { display: none; }

  /* Header */
  .header-inner { height: auto; min-height: 60px; padding: 10px 16px; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; order: -1; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    transform: none; display: none; flex-direction: column;
    align-items: stretch; background: white;
    border-bottom: 1px solid var(--border);
    padding: 8px 12px 12px; z-index: 100;
    box-shadow: 0 10px 30px rgba(6,16,30,0.1);
    gap: 2px;
  }
  .site-header.menu-open .nav-menu { display: flex; }
  .nav-link, .nav-btn { width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 15px; }

  /* Mobile: Services button open state — light, not full navy */
  .nav-btn.is-active {
    background: var(--navy-light);
    color: var(--navy);
    border-radius: 8px 8px 0 0;
  }
  .nav-btn.is-active .chevron {
    border-color: var(--navy);
    transform: rotate(225deg) translateY(2px);
  }

  /* Mobile dropdown panel */
  .dropdown { width: 100%; padding-bottom: 0; margin-bottom: 0; }
  .dropdown-panel {
    display: none !important;
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: none; box-shadow: none;
    width: 100%; background: var(--navy-light);
    border-radius: 0 0 10px 10px;
    margin-top: 0; padding: 4px 6px 8px;
  }
  .dropdown-panel.show {
    display: block !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .dropdown-panel a {
    padding: 10px 12px 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    border-left: 3px solid rgba(15,45,82,0.2);
    margin-bottom: 2px;
  }
  .dropdown-panel a:last-child { margin-bottom: 0; }
  .partner-badge { display: none; }
  .refer-earn-pill { padding: 6px 12px; border-radius: 10px; }
  .ref-pill-main { font-size: 11.5px; }
  .ref-pill-sub { font-size: 9px; }
  .btn-primary { font-size: 12px; padding: 6px 12px; border-radius: 10px; }

  /* Section common */
  .section-inner { padding: 0 16px; }

  /* Hero */
  .hero-section { padding: 36px 16px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; display: flex; flex-direction: column; }
  .hero-content { text-align: center; max-width: 100%; display: contents; }
  .hero-top { order: 1; text-align: center; margin-bottom: 32px; }
  .hero-visual { order: 2; }
  .hero-bottom { order: 3; text-align: center; margin-top: 32px; }
  .hero-badge { font-size: 11.5px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); white-space: normal; }
  .hero-keywords { justify-content: center; }
  .hk-tag { font-size: 11.5px; padding: 6px 12px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 28px; white-space: normal; max-width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
  .btn-hero-primary { width: 100%; max-width: 320px; justify-content: center; font-size: 15px; padding: 6px 6px 6px 24px; }
  .btn-icon { width: 38px; height: 38px; }
  .hero-trust { flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* Hero visual — stack on mobile */
  .hero-visual { height: auto !important; min-height: unset !important; display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 0 auto; overflow: visible; }
  .hv-panel { position: relative !important; width: 100% !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; animation: none !important; }
  .hv-order-notif { display: none !important; }
  .hv-review-card { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; box-sizing: border-box; transform: none !important; animation: none !important; }
  .hv-chat { order: 1; }
  .hv-terminal { order: 2; min-height: unset !important; }
  .hv-review-card { order: 3; }
  .hero-bottom { margin-top: 20px; }

  /* Stats — full-width horizontal, scaled down */
  .stats-section { padding: 28px 0 52px; overflow: hidden; }
  .stats-inner { justify-content: center; max-width: 100%; padding: 0 8px; }
  .stat-bubble { grid-template-rows: 80px 110px 80px; margin-left: -32px; }
  .stat-bubble:first-child { margin-left: 0; }
  .sb-circle { width: 110px; height: 110px; border-width: 7px; animation: none; }
  .sb-circle::before { display: none; }
  .sb-circle::after { display: none; }
  .stat-num { font-size: 26px; }
  .sb-top-slot { padding-bottom: 10px; }
  .sb-bot-slot { padding-top: 10px; }
  .sb-ltext { font-size: 9px; max-width: 100px; letter-spacing: 0.09em; line-height: 1.4; }
  .sb-connector { height: 14px; }

  /* Services */
  .services-section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 20px; }

  /* Process — vertical snake → card stack */
  .process-section { padding: 48px 0 56px; }
  .proc-snake-wrap {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }
  .proc-snake-svg { display: none; }
  .pn-node {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    width: 100%;
    box-sizing: border-box;
  }
  .pn-node:hover .pn-circle {
    transform: none;
  }
  .pn-label, .pn-label-above, .pn-label-below {
    order: 1;
    margin: 0;
    width: auto;
    text-align: left;
    flex: 1;
  }
  .pn-circle { order: 0; width: 52px; height: 52px; flex-shrink: 0; }
  .pn-circle svg { width: 20px; height: 20px; }
  .pn-num { font-size: 18px; }
  .pn-label h3 { font-size: 14px; margin-bottom: 3px; }
  .pn-label p { font-size: 12.5px; }

  /* Tech */
  .tech-section { padding: 56px 0 48px; }
  /* tech-orbit: handled inline */

  /* Portfolio */
  .portfolio-section { padding: 56px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pc-img-wrap { height: 200px; }

  /* Why us */
  .why-us-section { padding: 56px 0; }

  /* Testimonials */
  .testimonials-section { padding: 56px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* India CTA */
  .india-cta { padding: 60px 16px; }
  .india-cta h2 { font-size: clamp(28px, 8vw, 44px); }
  .india-cta p { font-size: 15px; white-space: normal; }
  .cta-tag-row { justify-content: center; }
  .cta-btn-row { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
  .btn-cta-green, .btn-cta-outline { width: 100%; max-width: 320px; text-align: center; justify-content: center; padding: 14px 20px; font-size: 15px; }
  .cta-trust-row { flex-direction: column; gap: 8px; }
  .cta-trust-avatars img { width: 34px; height: 34px; }

  /* Newsletter */
  .newsletter-section { padding: 0 16px; }
  .nl-wrap { flex-direction: column; padding: 28px 20px; border-radius: 16px; margin-bottom: -36px; }
  .nl-form { width: 100%; flex-direction: column; }
  .nl-form input, .nl-form button { width: 100%; }

  /* Footer */
  .site-footer { padding: 52px 16px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }

  /* Dashboard mockup */
  .dm-nav-tabs span:not(.dm-active) { display: none; }
  .dm-order-row { grid-template-columns: 46px 1fr 50px; }
  .dm-ostatus { display: none; }
}

/* ── Medium mobile ≤640px ─────────────────────────────── */
@media (max-width: 640px) {
  /* Section headers */
  .section-header h2 { font-size: clamp(24px, 7vw, 38px); }
  .section-header p { font-size: 15px; }
  .section-header { margin-bottom: 32px; }

  /* Stats tighter */


  /* Service cards */
  .service-card h3 { font-size: 17px; }

  /* Portfolio */
  .pc-info { padding: 18px; }
  .pc-info h3 { font-size: 16px; }
  .pc-stats { gap: 12px; }

  /* Process — already handled at 768px */

  /* Why us */
  .wf-icon { width: 40px; height: 40px; }
  .why-feature h4 { font-size: 15px; }

  /* Testimonials */
  .tc-card { padding: 20px; }
  .tc-text { font-size: 14px; }

  /* India CTA */
  .india-cta h2 { font-size: clamp(26px, 8vw, 40px); }
  .india-cta p { font-size: 15px; }
  .cta-countries { gap: 6px; }
  .cta-countries span { font-size: 11px; padding: 4px 10px; }

  /* Newsletter */
  .nl-left h3 { font-size: clamp(17px, 5vw, 22px); }

  /* Footer */
  .footer-brand-col p, .footer-col a, .footer-col p { font-size: 13px; }
}

/* ── Small mobile ≤480px ──────────────────────────────── */
@media (max-width: 480px) {
  .announce-bar { font-size: 11.5px; padding: 8px 14px; }
  .announce-inner { flex-direction: column; gap: 6px; text-align: center; }
  .hero-title { font-size: clamp(26px, 9vw, 36px); }
  .hero-trust { gap: 8px; }
  .trust-avatars img { width: 28px; height: 28px; }

  /* Hero visual — full-width stack on mobile */
  .hero-visual { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .hv-panel { position: relative; width: 100% !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: auto !important; height: auto !important; transform: none !important; }
  .hv-term-body { font-size: 10.5px; padding: 10px 12px; }
  .hv-ln { width: 18px; font-size: 9px; }
  .hv-cp-body { font-size: 10px; padding: 8px 10px; }
  .hv-chat-prompt { font-size: 12px; }

  /* Stats — 480px */
  .stat-bubble { grid-template-rows: 70px 95px 70px; margin-left: -26px; }
  .sb-circle { width: 95px; height: 95px; border-width: 6px; }
  .stat-num { font-size: 22px; }
  .sb-ltext { font-size: 8px; max-width: 88px; }
  .sb-connector { height: 12px; }

  /* Sections tighter */
  .services-section, .process-section, .portfolio-section,
  .why-us-section, .testimonials-section, .tech-section { padding: 44px 0; }
  .india-cta { padding: 44px 16px; }
  .about-story, .about-projects, .about-reviews, .about-cta { padding: 44px 16px !important; }

  /* Cards */
  .service-card { padding: 20px 16px; }

  .tc-card { padding: 18px 16px; }

  /* Tech strip — 2 per row on small screens */
  /* tech-orbit: handled inline */
  /* Footer */
  .footer-inner { gap: 20px; }
  .nl-wrap { border-radius: 12px; padding: 22px 16px; }
}

/* ── FAB buttons mobile size ──────────────────────────── */
@media (max-width: 768px) {
  #fabBtns { bottom: 18px; right: 16px; gap: 8px; }
  #fabBtns .fab-btn { width: 42px !important; height: 42px !important; }
  #fabBtns .fab-icon { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}


/* ═══════════════════════════════════════════════════════
   ENHANCED MOBILE & TABLET RESPONSIVENESS — PATCH v2
   (Appended fixes; override previous rules as needed)
   ═══════════════════════════════════════════════════════ */

/* ── Fix: CSS bug — orphaned declarations for hv-metrics-inline ── */
.hv-metrics-inline {
  box-shadow: 0 4px 24px rgba(6,16,30,0.10), 0 0 0 1px rgba(6,16,30,0.06);
  margin-bottom: 18px;
}

/* ── Tablet ≤1100px (excludes mobile — mobile handled at ≤768px) ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .proc-snake-wrap { height: 360px; }
  .pn-label { width: 118px; }
  .pn-label h3 { font-size: 12px; }
  .pn-label p { font-size: 11px; }
  .pn-num { font-size: 20px; }
  .pn-circle { width: 68px; height: 68px; }
  .pn-circle svg { width: 22px; height: 22px; }
}

/* ── Stat Bubbles ≤960px: shrink circles ────────────────────────── */
@media (max-width: 960px) {
  .stats-inner { max-width: 740px; }
  .stat-bubble { grid-template-rows: 90px 152px 90px; margin-left: -38px; }

}

/* ── Mobile ≤768px: header & hero fixes ─────────────────────────── */
@media (max-width: 768px) {
  /* Fix hamburger to RIGHT side (was order:-1 which put it on LEFT) */
  .menu-toggle { order: 3; }

  /* Hide Refer & Earn pill — too crowded in mobile header */
  .refer-earn-pill { display: none; }

  /* Fix hero visual: scores panel was top:478px in a 460px container */
  .hero-visual    { height: 540px; }
  .hv-scores      { top: 440px; }
  .hv-review-card { top: 310px; }

  /* CWV metrics: make horizontally scrollable on tablet */
  .hv-metrics-inline {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 12px;
    /* re-apply fit-content safely */
    max-width: 100%;
  }
  .hv-metrics-row { min-width: 380px; }
}

/* ── Small mobile ≤640px: section & hero content tweaks ─────────── */
@media (max-width: 640px) {
  /* Announcement bar text shorter */
  .announce-inner span { font-size: 12px; }

  /* Hero: make CWV metrics bar scrollable on mid-small screens */
  .hv-metrics-inline { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hv-metrics-row    { min-width: 360px; }

  /* Why-us: dashboard mockup — full width, no overflow */
  .dashboard-mockup { overflow-x: auto; }
  .dm-body { min-width: 280px; }

  /* Tech orbit: handled by inline mobile query */
}

/* ── Small mobile ≤480px: deep mobile stack fixes ───────────────── */
@media (max-width: 480px) {
  /* Header: keep only the CTA button, no Refer & Earn */
  .refer-earn-pill { display: none; }
  .btn-primary     { font-size: 12px; padding: 7px 13px; }

  /* Hide CWV metrics — too dense on small screens */
  .hv-cwv-title,
  .hv-metrics-inline { display: none; }

  /* Hero: ensure actions stack cleanly */
  .hero-actions { gap: 10px; }
  .btn-hero-primary { font-size: 15px; padding: 6px 6px 6px 22px; }

  /* Stats: ensure single-column padding is comfortable */


  /* Newsletter: tighten on very small */
  .nl-wrap { padding: 22px 16px; border-radius: 12px; }
  .nl-left h3 { font-size: 18px; }

  /* Footer: make brand col more compact */
  .footer-brand-col p { font-size: 13px; }
  .footer-bottom { font-size: 12px; }

  /* India CTA: tighter spacing */
  .india-badge { font-size: 12px; padding: 7px 16px; margin-bottom: 20px; }
  .india-cta p  { font-size: 15px; margin-bottom: 28px; }
}

/* ── Extra-small mobile ≤360px ───────────────────────────────────── */
@media (max-width: 360px) {
  .btn-primary { display: none; }
  .hero-title  { font-size: clamp(22px, 8vw, 30px); }
  .service-card { padding: 18px 14px; }
  .tc-card      { padding: 16px 14px; }
  .cta-countries span { font-size: 10px; padding: 3px 8px; }

  /* Stats — 360px */
  .stat-bubble { grid-template-rows: 62px 84px 62px; margin-left: -22px; }
  .sb-circle { width: 84px; height: 84px; border-width: 6px; }
  .stat-num { font-size: 19px; }
  .sb-ltext { font-size: 7.5px; max-width: 80px; }
  .sb-connector { height: 10px; }
}

