:root {
  --ink: #05070a; /* Deep Void Black for max contrast */
  --ink-2: #0b1018;
  --paper: #f8fafc;
  --paper-2: #f1f5f9;
  --card: #ffffff;
  --brass: #f59e0b; /* Vibrant Amber */
  --brass-dark: #d97706;
  --teal: #06b6d4; /* Cyan/Teal for tech feel */
  --teal-light: rgba(6, 182, 212, 0.1);
  --charcoal: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 16px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Premium Film Grain Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* Custom Ambient Mouse Glow (Native cursor remains visible) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.06) 0%,
    rgba(6, 182, 212, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    background 0.3s ease;
  mix-blend-mode: screen;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  background: rgba(245, 158, 11, 0.08);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brass);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--brass);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

section {
  padding: 60px 0;
  position: relative;
}
@media (max-width: 720px) {
  section {
    padding: 70px 0;
  }
}
p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  box-shadow: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.4);
  animation: pulse-glow 2.5s infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.5);
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}
.btn-ghost {
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}
.btn-ghost.on-dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.btn-ghost.on-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ---------- Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
header.site.scrolled {
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
/* Scroll Progress Line */
header.site::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--teal), var(--brass));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--brass);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo .brand-icon {
  height: 45px;
}

.logo .dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  animation: rotate-dot 4s linear infinite;
}
@keyframes rotate-dot {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(405deg);
  }
}

nav.links {
  display: flex;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}
nav.links a {
  color: var(--ink);
  opacity: 0.7;
  position: relative;
  transition: opacity 0.2s;
}

nav.links a.active {
  color: #de810c;
}

nav.links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
nav.links a:hover {
  opacity: 1;
}
nav.links a:hover::after {
  transform: scaleX(1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.call {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.2s;
}
.call:hover {
  color: var(--brass-dark);
}
.call svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
  z-index: 101;
}
@media (max-width: 860px) {
  nav.links {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-right .btn-primary {
    display: none;
  } /* Hide CTA on mobile to free up space */

  .call span.txt {
    display: none;
  }
  .cursor-glow {
    display: none;
  }

  nav.links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    gap: 16px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 100; /* Z-index increased to 100 */
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    width: 100%;
    display: none;
  }
  .dropdown.active-mobile > .dropdown-menu {
    display: block;
  }
  .dropdown.active-mobile > .dropdown-toggle .chevron-down {
    transform: rotate(180deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #101c3d 0%, #16294f 55%, #0f1b33 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 50px 0 50px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(6, 182, 212, 0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(245, 158, 11, 0.12),
      transparent 40%
    );
  animation: aurora-move 15s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes aurora-move {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 20px) scale(1.1);
  }
  100% {
    transform: translate(20px, -30px) scale(0.95);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    black 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 100px 0 70px;
  }
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  max-width: 16ch;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 span {
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 3s linear infinite;
}
@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

.hero .eyebrow {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}
.hero .eyebrow::before {
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}
.hero p.lead {
  color: rgba(226, 232, 240, 0.8);
  font-size: 19px;
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.trust-mini {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 3px;
}
.trust-mini .sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}
.trust-mini span.small {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-mini span.small::before {
  content: "✓";
  color: var(--teal);
  font-weight: bold;
}

.growth-wrap {
  position: relative;
  perspective: 1000px;
}
.growth-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  animation: float-card 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes float-card {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  }
}
.growth-card .cap {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
#growthPath {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.pin-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  fill: rgba(226, 232, 240, 0.9);
}
.pin-label.brand {
  fill: #fbbf24;
  font-weight: 600;
}

svg circle:last-of-type {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
    filter: drop-shadow(0 0 5px #fbbf24);
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
    filter: drop-shadow(0 0 15px #fbbf24);
  }
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 3;
}
.trustbar .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 24px;
}
@media (max-width: 800px) {
  .trustbar .wrap {
    grid-template-columns: 1fr;
  }
}
.quote {
  padding-left: 24px;
  border-left: 3px solid var(--brass);
  position: relative;
}
.quote p {
  font-size: 16px;
  color: var(--charcoal);
  margin: 0 0 12px;
  font-style: italic;
  font-weight: 500;
}
.quote .who {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}
.servingline {
  text-align: center;
  padding: 12px 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

/* ---------- Section headers ---------- */
.sec-head {
  margin-bottom: 56px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}
.sec-head.center .eyebrow {
  justify-content: center;
}

/* ---------- Premium Cards (Spotlight + Tilt) ---------- */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
}

.service-card,
.result-card,
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.service-card::before,
.result-card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 158, 11, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.service-card:hover::before,
.result-card:hover::before,
.case-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-xl);
}

.service-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.card-img-top {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 3;
  filter: grayscale(40%) brightness(0.95);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}
.service-card:hover .card-img-top {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--teal-light),
    rgba(6, 182, 212, 0.02)
  );
  border: 1px solid rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--teal), #0891b2);
  transform: scale(1.05) rotate(-5deg) translateZ(20px);
  box-shadow: 0 8px 16px -4px rgba(6, 182, 212, 0.3);
}
.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  transition: stroke 0.3s ease;
}
.service-card:hover .icon-box svg {
  stroke: #fff;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  flex-grow: 1;
}
.learn {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 3;
}
.learn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.service-card:hover .learn {
  color: var(--brass-dark);
}
.service-card:hover .learn svg {
  transform: translateX(5px);
}

/* ---------- Why choose us ---------- */
.why {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: aurora-move 20s ease-in-out infinite alternate-reverse;
}
.why .wrap {
  position: relative;
  z-index: 1;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 8px;
  transition: background 0.3s;
}
.why-item:hover {
  background: var(--paper);
}
.check {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), #0891b2);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(6, 182, 212, 0.2);
}
.check svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 3;
}
.why-item h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--ink);
}
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.stat-panel {
  background: linear-gradient(160deg, #101c3d 0%, #16294f 55%, #0f1b33 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 25px -5px rgba(15, 23, 42, 0.1),
    0 10px 10px -5px rgba(15, 23, 42, 0.04);
}
.stat-panel .stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}
.stat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.15), transparent 50%),
    radial-gradient(
      circle at 100% 100%,
      rgba(245, 158, 11, 0.15),
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}
.stat-panel .mono,
.stat-panel .big,
.stat-panel .lbl,
.stat-panel .divider {
  position: relative;
  z-index: 2;
}
.stat-panel .mono {
  font-size: 12px;
  color: rgba(148, 163, 184, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.stat-panel .big {
  font-family: "IBM Plex Mono", monospace;
  font-size: 48px;
  font-weight: 600;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
.stat-panel .lbl {
  color: rgba(226, 232, 240, 0.7);
  font-size: 14px;
  margin-top: 8px;
}
.stat-panel .divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

/* ---------- Process ---------- */
.process {
  position: relative;
  background: var(--paper);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 900px) {
  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.step {
  position: relative;
  padding-top: 64px;
}
@media (max-width: 900px) {
  .step {
    padding-top: 0;
    padding-left: 64px;
    padding-bottom: 40px;
    border-left: 2px solid var(--line);
    margin-left: 20px;
  }
  .step:last-child {
    border-left: 2px solid transparent;
  }
}
.step .num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--card);
  border: 2px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.step:hover .num {
  background: var(--ink);
  color: var(--brass);
  border-color: var(--ink);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}
@media (max-width: 900px) {
  .step .num {
    left: -22px;
    top: 0;
  }
}
.step h4 {
  font-size: 17px;
  margin: 0 0 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.track-line {
  position: absolute;
  top: 22px;
  left: 0;
  right: 10%;
  height: 2px;
  z-index: 1;
  overflow: hidden;
}
.track-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: linear-gradient(90deg, var(--brass) 50%, transparent 50%);
  background-size: 20px 100%;
  animation: dash-move 1s linear infinite;
}
@keyframes dash-move {
  to {
    transform: translateX(20px);
  }
}
@media (max-width: 900px) {
  .track-line {
    display: none;
  }
}

/* ---------- Results ---------- */
.results {
  background: linear-gradient(160deg, #101c3d 0%, #16294f 55%, #0f1b33 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(6, 182, 212, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 40%
    );
  animation: aurora-move 18s ease-in-out infinite alternate;
  z-index: 0;
}
.results .wrap {
  position: relative;
  z-index: 1;
}
.results .sec-head h2 {
  color: #fff;
}
.results .sec-head p {
  color: rgba(226, 232, 240, 0.7);
}
.results .eyebrow {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.result-card {
  padding: 32px 24px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.result-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-5px) translateZ(20px);
}
.result-card .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
  position: relative;
  z-index: 3;
}
.result-card .lbl {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.5;
  position: relative;
  z-index: 3;
}

/* ---------- Location (Creative Blueprint Map) ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .loc-grid {
    grid-template-columns: 1fr;
  }
}
.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.town-chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  transition: all 0.2s ease;
}
.town-chip:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}
.town-chip.hq {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}
.town-chip.hq:hover {
  background: var(--ink-2);
  color: var(--brass);
}

.map-card {
  background: #0b1120; /* Darker Navy for map */
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.6);
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
  pointer-events: none;
}
.map-card .map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0;
  filter: invert(0) grayscale(1) contrast(1.8) brightness(0.7);
  mix-blend-mode: screen;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}
.map-card svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.map-card svg rect {
  fill: transparent !important;
  stroke: rgba(6, 182, 212, 0.3) !important;
  stroke-width: 1 !important;
  stroke-dasharray: 6 4 !important;
}
.map-card svg path {
  fill: none !important;
  stroke: #fbbf24 !important; /* Amber route line */
  stroke-width: 2.5 !important;
  stroke-dasharray: 3 6 !important;
  stroke-linecap: round !important;
  animation: dash-flow 30s linear infinite !important;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6)) !important;
}
@keyframes dash-flow {
  to {
    stroke-dashoffset: -1000;
  }
}
.map-card svg circle {
  fill: #06b6d4 !important; /* Teal nodes */
  stroke: rgba(255, 255, 255, 0.5) !important;
  stroke-width: 2 !important;
  filter: drop-shadow(0 0 6px #06b6d4) !important;
  transform-origin: center;
  transform-box: fill-box;
}
.map-card svg circle:first-of-type {
  fill: #fbbf24 !important; /* Amber HQ node */
  stroke: #fbbf24 !important;
  filter: drop-shadow(0 0 12px #fbbf24) !important;
  animation: pulse-ring 2.5s ease-out infinite !important;
}
.map-card svg text {
  fill: rgba(248, 250, 252, 0.9) !important;
  font-family: "IBM Plex Mono", monospace !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}
.map-card p {
  position: relative;
  z-index: 2;
  color: rgba(148, 163, 184, 0.7) !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: right;
  margin: 20px 0 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
}

/* ---------- Case studies ---------- */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px) {
  .cases {
    grid-template-columns: 1fr;
  }
}
.case-card {
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.2);
}
.case-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.case-card:hover .case-img {
  filter: grayscale(0%);
}
.case-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--brass-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  position: relative;
  z-index: 3;
}
.case-card h3 {
  font-size: 21px;
  margin: 16px 0 24px;
  position: relative;
  z-index: 3;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}
.bar-row .lbl {
  width: 120px;
  font-size: 13px;
  color: var(--muted);
  flex: none;
  font-weight: 500;
}
.bar-track {
  flex: 1;
  height: 10px;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--teal), #0891b2);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}
.bar-fill.before {
  background: #cbd5e1;
}
.bar-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  width: 50px;
  text-align: right;
  flex: none;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 100%;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.faq-item:hover {
  background: rgba(248, 250, 252, 0.5);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: padding 0.2s ease;
}
.faq-q:hover {
  padding-left: 12px;
}
.faq-q .plus {
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  font-size: 24px;
  color: var(--brass);
  flex: none;
  margin-left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--brass);
  color: white;
  border-color: var(--brass);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  padding-right: 30px;
  padding-left: 8px;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, #101c3d 0%, #16294f 55%, #0f1b33 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    );
  animation: aurora-move 12s ease-in-out infinite alternate;
  z-index: 0;
}
.final-cta .wrap {
  position: relative;
  z-index: 1;
}
.fc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .fc-grid {
    grid-template-columns: 1fr;
  }
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
}
.final-cta p.lead {
  color: rgba(226, 232, 240, 0.7);
}
.phone-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-weight: 600;
  font-size: 18px;
}
.phone-line svg {
  color: var(--brass);
}
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  color: var(--charcoal);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}
.form-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: all 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
} /* Red kept ONLY for form validation errors */
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.form-msg {
  font-size: 14px;
  margin-top: 16px;
  display: none;
  color: var(--teal);
  font-weight: 600;
  text-align: center;
  background: var(--teal-light);
  padding: 12px;
  border-radius: 8px;
}

/* ---------- Footer ---------- */
footer {
  background: #020303;
  color: rgba(148, 163, 184, 0.8);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.75fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.foot-grid .locations-block {
  display: flex;
}

.foot-grid .locations-block .locations-list:nth-child(2) {
  margin-left: auto;
}

@media (max-width: 800px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.foot-grid h5 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.foot-grid ul li {
  word-break: break-word;
}

.foot-grid a {
  transition: all 0.2s ease;
  display: inline-block;
}
.foot-grid a:hover {
  color: #fff;
  transform: translateX(4px);
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
}
.foot-logo .dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  border-radius: 4px;
  transform: rotate(45deg);
}
.foot-desc {
  font-size: 14px;
  max-width: 36ch;
  color: rgba(148, 163, 184, 0.7);
  line-height: 1.6;
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-row a:hover {
  background: var(--brass);
  border-color: var(--brass);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.4);
}
.social-row svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(148, 163, 184, 0.6);
}

.foot-bottom:has(.social-row) {
  padding-top: 20px;
  align-items: center;
}

.foot-bottom .social-row {
  margin-top: 0;
  align-items: center;
}

.foot-bottom .social-row p {
  padding: 0;
  margin: 0;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.reveal.show {
  opacity: 1;
  transform: none;
}

/* Ripple effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #growthPath {
    animation: none;
    stroke-dashoffset: 0;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
  .cursor-glow {
    display: none;
  }
}

.recent-results {
  padding-top: 0;
  padding-bottom: 0;
}

/* Chart Container & Card Styling */
.seo-chart-wrapper {
  position: relative;
  perspective: 1000px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
}

.seo-chart-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  animation: seo-float-card 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes seo-float-card {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  }
}

/* Chart Header */
.seo-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seo-chart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.seo-chart-title .dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 8px #fbbf24;
  animation: seo-pulse-dot 2s infinite;
}

@keyframes seo-pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

/* Chart Bars Container (Flexbox) */
.seo-chart-container {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  height: 200px;
  gap: 10px;
  position: relative;
  padding-top: 20px;
}

/* Grid lines behind bars */
.seo-chart-container::before {
  content: "";
  position: absolute;
  inset: 20px 0 0 0;
  background-image: linear-gradient(
    to top,
    transparent 0%,
    transparent 24%,
    rgba(255, 255, 255, 0.04) 25%,
    transparent 26%,
    transparent 49%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 51%,
    transparent 74%,
    rgba(255, 255, 255, 0.04) 75%,
    transparent 76%
  );
  pointer-events: none;
  z-index: 0;
}

.seo-bar-wrapper {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.seo-bar {
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(245, 158, 11, 0.05),
    rgba(245, 158, 11, 0.3)
  );
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  transform-origin: bottom;
  animation: seo-grow-bar 1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.seo-bar-wrapper:nth-child(1) .seo-bar {
  animation-delay: 0.1s;
}

.seo-bar-wrapper:nth-child(2) .seo-bar {
  animation-delay: 0.2s;
}

.seo-bar-wrapper:nth-child(3) .seo-bar {
  animation-delay: 0.3s;
}

.seo-bar-wrapper:nth-child(4) .seo-bar {
  animation-delay: 0.4s;
}

.seo-bar-wrapper:nth-child(5) .seo-bar {
  animation-delay: 0.5s;
}

.seo-bar-wrapper:nth-child(6) .seo-bar {
  animation-delay: 0.6s;
}

@keyframes seo-grow-bar {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Glittering Top Edge Effect */
.seo-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fbbf24;
  border-radius: 6px 6px 0 0;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  animation: seo-glitter 2.5s infinite ease-in-out;
}

.seo-bar-wrapper:nth-child(1) .seo-bar::after {
  animation-delay: 1.1s;
}

.seo-bar-wrapper:nth-child(2) .seo-bar::after {
  animation-delay: 1.4s;
}

.seo-bar-wrapper:nth-child(3) .seo-bar::after {
  animation-delay: 1.7s;
}

.seo-bar-wrapper:nth-child(4) .seo-bar::after {
  animation-delay: 2s;
}

.seo-bar-wrapper:nth-child(5) .seo-bar::after {
  animation-delay: 2.3s;
}

.seo-bar-wrapper:nth-child(6) .seo-bar::after {
  animation-delay: 2.6s;
}

@keyframes seo-glitter {
  0% {
    opacity: 0.4;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.3);
  }

  25% {
    opacity: 1;
    box-shadow:
      0 0 12px rgba(245, 158, 11, 0.9),
      0 0 4px #fff;
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
  }

  75% {
    opacity: 1;
    box-shadow:
      0 0 15px rgba(245, 158, 11, 1),
      0 0 5px #fff;
  }

  100% {
    opacity: 0.4;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.3);
  }
}

/* Hover States */
.seo-bar-wrapper:hover .seo-bar {
  background: linear-gradient(
    to top,
    rgba(6, 182, 212, 0.05),
    rgba(6, 182, 212, 0.3)
  );
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-4px);
}

.seo-bar-wrapper:hover .seo-bar::after {
  background: #06b6d4;
  box-shadow:
    0 0 15px #06b6d4,
    0 0 5px #fff !important;
  height: 4px;
  animation: none;
  /* Pause glitter on hover */
  opacity: 1;
}

/* Tooltip */
.seo-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  background: #fff;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.seo-bar-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
}

.seo-bar-wrapper:hover .seo-bar-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Chart Footer */
.seo-chart-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seo-chart-footer span:first-child {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.8);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seo-growth-positive {
  color: #fbbf24;
  font-weight: 700;
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seo-growth-positive::before {
  content: "↑";
  font-size: 20px;
}

/* Chart Container & Card Styling */

/* ---------- Dropdown Additions ---------- */
.dropdown {
  position: relative;
}

/* Chevron Icon Alignment */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown-toggle .chevron-down {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 240px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  opacity: 0.8;
  white-space: nowrap;
  position: relative;
}
.dropdown-menu li a::after {
  display: none;
}
.dropdown-menu li a:hover {
  background: var(--paper-2);
  opacity: 1;
  color: var(--brass-dark);
}

/* Desktop Hover */
@media (min-width: 861px) {
  .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* Rotate chevron on hover for desktop */
  .dropdown:hover > .dropdown-toggle .chevron-down {
    transform: rotate(180deg);
  }
}

/* Mobile Menu Behavior */
@media (max-width: 860px) {
  nav.links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    gap: 16px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 99;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    width: 100%;
    display: none; /* Hidden by default on mobile */
  }
  .dropdown.active-mobile > .dropdown-menu {
    display: block; /* Shown when tapped */
  }
  /* Rotate chevron when active on mobile */
  .dropdown.active-mobile > .dropdown-toggle .chevron-down {
    transform: rotate(180deg);
  }
}

/* Testimonials Section - Dark Blueprint Slider */
/* Testimonials Section - Light Theme */
.testimonials {
  background: #fff;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonialst::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.testimonialst::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(6, 182, 212, 0.05) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}
.testimonials .wrap {
  position: relative;
  z-index: 1;
}
.testimonials .sec-head h2 {
  color: var(--ink);
}
.testimonials .sec-head p {
  color: var(--muted);
}

/* Slider Mechanics */
.test-slider-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  display: flex;
  gap: 24px;
  padding: 10px 0 40px 0;
  margin: 0 -12px; /* Offset padding */
}
.test-slider-wrap::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */

.test-slide {
  scroll-snap-align: center;
  flex: 0 0 100%;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .test-slide {
    flex: 0 0 48%;
    max-width: none;
  }
}
@media (min-width: 992px) {
  .test-slide {
    flex: 0 0 31.5%;
  }
}

/* Card Design - Light */
.test-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}
.test-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.2);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.test-stars {
  color: var(--brass);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.test-text {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, var(--teal), #0891b2); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex: none;
  /* box-shadow: 0 4px 6px -1px rgba(6, 182, 212, 0.2); */
}

.test-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.test-author h4 {
  color: var(--ink);
  font-size: 15px;
  margin: 0;
}
.test-author p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Navigation Buttons - Light */
.test-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}
.test-nav button {
  background: var(--paper);
  border: 1px solid var(--line);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.test-nav button:hover {
  background: var(--brass);
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.4);
}
.test-nav button:hover svg {
  stroke: #fff;
}
.test-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  transition: stroke 0.2s ease;
}

.contact-block h5 {
  margin-bottom: 4px;
}
