/* ============================================================
   LEADNOX — Zynex-inspired Template
   Color Palette: Dark navy-black + Purple/Blue gradient
   ============================================================ */

:root {
  --dark-1:    #07091a;
  --dark-2:    #0c1028;
  --dark-3:    #111830;
  --dark-4:    #161d38;
  --purple:    #7c5cf5;
  --purple-2:  #9b7eff;
  --blue:      #4f8ef7;
  --blue-2:    #2b6ee8;
  --teal:      #4db6ac;
  /* Gold mapped to purple for backward compat */
  --gold:      #7c5cf5;
  --gold-2:    #9b7eff;
  --blue-1:    #4f8ef7;
  --gradient:  linear-gradient(135deg, #7c5cf5, #4f8ef7);
  --gradient-r:linear-gradient(135deg, #4f8ef7, #7c5cf5);
  --text-light:#f0f4ff;
  --text-muted:#7a85a0;
  --border:    rgba(255,255,255,.07);
  --border-2:  rgba(255,255,255,.12);
  --shadow:    0 16px 48px rgba(0,0,0,.5);
  --radius:    14px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent horizontal scroll on all browsers */
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-1);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 800; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-pain {
  background: var(--dark-2);
  padding: 100px 0;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BADGE / PILL ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(124,92,245,.12);
  border: 1px solid rgba(124,92,245,.3);
  color: var(--purple-2);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s;
  border: none;
}

.btn-gold,
.btn-purple {
  background: var(--gradient);
  color: #fff;
}
.btn-gold:hover,
.btn-purple:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(124,92,245,.35); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple-2); background: rgba(124,92,245,.08); }

.btn-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
  transition: background .2s;
}
.btn:hover .btn-circle { background: rgba(255,255,255,.28); }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(7,9,26,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .9rem;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: -.01em;
}
.logo-text span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  border-radius: 50px;
  padding: 6px 8px;
}

.nav-links li { position: relative; }

.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 50px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: rgba(255,255,255,.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all .22s;
  box-shadow: var(--shadow);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: .84rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all .2s;
  background: transparent;
}

.dropdown-menu a:hover { background: rgba(124,92,245,.1); color: var(--text-light); }
.dropdown-menu a i { width: 16px; color: var(--purple); font-size: .8rem; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: #fff;
  padding: 10px 20px 10px 24px;
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: opacity .2s, box-shadow .2s, transform .2s;
}
.nav-cta:hover { opacity: .88; box-shadow: 0 6px 24px rgba(124,92,245,.4); transform: translateY(-1px); }
.nav-cta .btn-circle { width: 26px; height: 26px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-light); border-radius: 2px; transition: all .3s; }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--dark-2);
  border-left: 1px solid var(--border);
  padding: 80px 24px 40px;
  z-index: 999;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 16px; font-size: .9rem; font-weight: 600; color: var(--text-muted); border-radius: 10px; transition: all .2s; }
.mobile-nav a:hover { background: rgba(255,255,255,.06); color: var(--text-light); }
.mobile-nav .mobile-cta { background: var(--gradient); color: #fff; text-align: center; margin-top: 16px; border-radius: 50px; }

.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background: var(--dark-1);
}



/* Wave / aurora background */
.hero-waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hw {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.hw-1 {
  width: 900px; height: 560px;
  background: radial-gradient(ellipse, rgba(124,92,245,.65) 0%, rgba(79,142,247,.35) 45%, transparent 68%);
  top: -180px; left: -280px;
  animation: hw1 14s ease-in-out infinite;
}
.hw-2 {
  width: 750px; height: 620px;
  background: radial-gradient(ellipse, rgba(79,142,247,.55) 0%, rgba(124,92,245,.25) 45%, transparent 68%);
  top: 60px; right: -260px;
  animation: hw2 17s ease-in-out infinite;
}
.hw-3 {
  width: 600px; height: 420px;
  background: radial-gradient(ellipse, rgba(155,126,255,.45) 0%, transparent 62%);
  bottom: -60px; left: 25%;
  animation: hw3 11s ease-in-out infinite;
}
.hw-4 {
  width: 480px; height: 360px;
  background: radial-gradient(ellipse, rgba(43,110,232,.4) 0%, transparent 60%);
  bottom: 80px; right: 15%;
  animation: hw4 13s ease-in-out infinite;
}

@keyframes hw1 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  30%     { transform: translate(90px,-50px) rotate(18deg) scale(1.12); }
  65%     { transform: translate(-50px,70px) rotate(-12deg) scale(0.92); }
}
@keyframes hw2 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  35%     { transform: translate(-70px,60px) rotate(-15deg) scale(0.9); }
  70%     { transform: translate(50px,-40px) rotate(10deg) scale(1.1); }
}
@keyframes hw3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-60px) scale(1.22); }
}
@keyframes hw4 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-35px,40px) scale(1.15); }
  75%     { transform: translate(25px,-25px) scale(0.88); }
}

/* Overlay to darken waves slightly so text stays readable */
.hero-waves::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(7,9,26,.55) 100%);
}

.hero-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(124,92,245,.15) 0%,
    rgba(79,142,247,.08) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(79,142,247,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Only the container needs z-index elevation — not the absolute glow divs */
.hero > .container { position: relative; z-index: 2; }

.hero-content { max-width: 820px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--dark-1);
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at 50% 20%, rgba(124,92,245,.22) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  font-size: .98rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--purple-2); }
.breadcrumb i { font-size: .55rem; opacity: .5; }
.breadcrumb span { color: var(--purple-2); }

/* ── TRUST / CLIENT LOGOS — MARQUEE ──────────────────────── */
.trust-strip {
  padding: 36px 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trust-strip .label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.trust-marquee-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.trust-marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-logo {
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
  flex-shrink: 0;
}
.trust-logo:hover { color: rgba(255,255,255,.5); }

/* ── ABOUT ACCORDION ──────────────────────────────────────── */
.about-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.accordion-item:hover { border-color: rgba(124,92,245,.25); box-shadow: 0 8px 24px rgba(124,92,245,.08); }

.accordion-item.active { border-color: rgba(124,92,245,.35); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.accordion-header h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-muted);
}
.accordion-item.active .accordion-header h4 { color: var(--text-light); }

.accordion-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: var(--text-muted);
  transition: all .2s;
  flex-shrink: 0;
}
.accordion-item.active .accordion-toggle {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
}
.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 22px 20px;
}

.accordion-body p {
  font-size: .86rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-item .num {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-item .lbl {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 5px;
}

/* ── PAIN GRID (two-col layout) ───────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pain-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.pain-text p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ── SERVICES GRID ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .25s;
}

.service-card:hover {
  border-color: rgba(124,92,245,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,92,245,.12);
  border: 1px solid rgba(124,92,245,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--purple-2);
  margin-bottom: 18px;
  transition: background .2s;
}
.service-card:hover .service-icon { background: rgba(124,92,245,.2); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--purple-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.service-card:hover .service-link { gap: 10px; }

/* ── PORTFOLIO GRID ───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.portfolio-card:hover { border-color: rgba(124,92,245,.3); transform: translateY(-3px); }

.portfolio-img {
  position: relative;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform .4s;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }

.portfolio-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: #fff;
  transition: transform .2s;
}
.portfolio-card:hover .portfolio-arrow { transform: rotate(-45deg); }

.portfolio-body { padding: 22px 24px; }

.portfolio-body h3 {
  font-size: .98rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-tag {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 30px;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.process-card:hover { border-color: rgba(124,92,245,.3); transform: translateY(-2px); }

.process-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.process-card h4 { font-size: .98rem; font-weight: 800; margin-bottom: 8px; }
.process-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.7; }

/* ── WHY CHOOSE US ────────────────────────────────────────── */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(124,92,245,.12);
  border: 1px solid rgba(124,92,245,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--purple-2);
  flex-shrink: 0;
}

.why-item-text h4 { font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.why-item-text p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.why-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.why-feat {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  font-weight: 700;
  transition: border-color .2s;
}
.why-feat:hover { border-color: rgba(124,92,245,.3); }
.why-feat i { color: var(--purple-2); font-size: .9rem; }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color .25s, transform .25s;
}
.pricing-card:hover { border-color: rgba(124,92,245,.35); transform: translateY(-4px); }

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(124,92,245,.15), rgba(79,142,247,.08));
  border-color: rgba(124,92,245,.4);
  position: relative;
}

.pricing-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 20px;
  display: block;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price .period {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--text-muted);
}

.pricing-features li i {
  color: var(--purple-2);
  font-size: .75rem;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .25s;
}
.testimonial-card:hover { border-color: rgba(124,92,245,.3); }

.testimonial-stars {
  color: var(--purple-2);
  font-size: .75rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(124,92,245,.3);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-info h5 { font-size: .85rem; font-weight: 700; }
.testimonial-info p { font-size: .75rem; color: var(--text-muted); }

/* ── CTA BANNER ───────────────────────────────────────────── */
.section-cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--dark-2);
}

.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,92,245,.2) 0%, transparent 65%);
  pointer-events: none;
}

.cta-card {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(124,92,245,.15);
  border: 1px solid rgba(124,92,245,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--purple-2);
  margin: 0 auto 24px;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.cta-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── COMPARE ──────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.compare-col.leadnox { border-color: rgba(124,92,245,.35); background: linear-gradient(160deg, rgba(124,92,245,.1), rgba(79,142,247,.05)); }

.compare-col h3 { font-size: 1rem; font-weight: 800; margin-bottom: 24px; }

.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.icon-x { color: #ff6363; flex-shrink: 0; margin-top: 2px; }
.icon-check { color: var(--purple-2); flex-shrink: 0; margin-top: 2px; }

/* ── PHILOSOPHY / CARDS ───────────────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.philosophy-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s;
}
.philosophy-card:hover { border-color: rgba(124,92,245,.3); transform: translateY(-3px); }

.philosophy-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(124,92,245,.12);
  border: 1px solid rgba(124,92,245,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--purple-2);
  margin: 0 auto 18px;
}

.philosophy-card h4 { font-size: .96rem; font-weight: 800; margin-bottom: 10px; }
.philosophy-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.72; margin: 0; }

/* ── VIDEO / IMAGE SECTION ────────────────────────────────── */
.pain-visual { display: flex; flex-direction: column; gap: 16px; }

.video-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.video-thumb img { width: 100%; height: 280px; object-fit: cover; display: block; }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s;
}
.play-btn:hover { background: var(--purple); }

.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.info-card:hover { border-color: rgba(124,92,245,.35); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(124,92,245,.1); }
.info-card h4 { font-size: .85rem; font-weight: 800; margin-bottom: 5px; }
.info-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── PROGRESS BARS ────────────────────────────────────────── */
.progress-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.progress-item label { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.progress-bar { height: 5px; background: rgba(255,255,255,.07); border-radius: 10px; overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.progress-fill.animated { width: var(--target-width); }

/* ── CASES GRID ───────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.case-card:hover { border-color: rgba(124,92,245,.3); transform: translateY(-4px); }

.case-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }

.case-card-body { padding: 24px; }
.case-card-body h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.case-card-body p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }

/* ── FAQ ──────────────────────────────────────────────────── */
details.philosophy-card summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; }
details.philosophy-card summary::-webkit-details-marker { display: none; }
details.philosophy-card[open] { border-color: rgba(124,92,245,.3); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .84rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .84rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--purple-2); }

.contact-list { display: flex; flex-direction: column; gap: 11px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--text-muted); }
.contact-list li i { color: var(--purple); font-size: .8rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: .8rem; color: var(--text-muted); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--text-muted);
  transition: all .2s;
}
.social-link:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-2px); }

/* ── SCROLL TOP ───────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(124,92,245,.4);
  transition: transform .2s;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section, .section-pain { padding: 70px 0; }
  .pain-grid { grid-template-columns: 1fr; gap: 36px; }
  .philosophy-grid { grid-template-columns: repeat(2,1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-feat-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-row { gap: 28px; flex-wrap: wrap; }
  .trust-logos { gap: 24px; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero p { font-size: .92rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .nav-cta { display: none; }
  .page-hero { padding: 130px 16px 70px; }
  .page-hero h1 { font-size: 1.75rem; }
  .section { padding: 60px 0; }
  .section-cta-banner { padding: 70px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 20px; }
  .info-cards { grid-template-columns: 1fr; }
  .why-feat-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .btn { font-size: .84rem; padding: 12px 20px; }
  .footer-grid { gap: 24px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.65rem; }
  .why-feat-grid { grid-template-columns: 1fr; }
}

/* ── HAMBURGER OPEN → X ANIMATION ─────────────────────────── */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── STAT ITEM HOVER ──────────────────────────────────────── */
.stat-item {
  transition: transform .25s;
}
.stat-item:hover { transform: translateY(-3px); }

/* ── BLOG CARD HOVER ──────────────────────────────────────── */
.blog-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.blog-card:hover { border-color: rgba(124,92,245,.35); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(124,92,245,.12); }

/* ── PROMISE ITEM HOVER ───────────────────────────────────── */
.promise-item {
  transition: background .2s, border-radius .2s, padding .2s;
}
.promise-item:hover { background: rgba(124,92,245,.06); border-radius: 10px; padding: 8px; }

/* ── WHY FEAT HOVER ENHANCE ───────────────────────────────── */
.why-feat {
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.why-feat:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,92,245,.1); }

/* ── SIDEBAR CARD HOVER ───────────────────────────────────── */
.sidebar-card {
  transition: border-color .25s, transform .25s;
}
.sidebar-card:hover { border-color: rgba(124,92,245,.3); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════
   SITEWIDE MOBILE GRID FIX
   CSS attribute selectors can override inline style="" grids.
   This fixes ALL pages without touching any HTML file.
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* Collapse 3-col and 4-col inline grids */
  [style*="repeat(3"],
  [style*="repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  /* Fix the fixed 420px case-study column */
  [style*="420px"],
  .case-card-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }
  /* Case study image — cap height when stacked vertically */
  .case-card-img {
    height: 220px !important;
    min-height: 0 !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }
  /* Stat rows — 2 per row on tablet, wrap cleanly */
  .stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .stats-row .stat-item {
    flex: 1 1 40%;
    min-width: 120px;
  }
  /* Prevent section-level horizontal overflow */
  .section, section, .container {
    overflow-x: hidden;
  }
  /* Waitlist / newsletter forms — stack vertically */
  .waitlist-form,
  form[style*="display:flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .waitlist-form input,
  .waitlist-form button {
    width: 100% !important;
  }
  /* ── CARD CONTENT CLIP FIX ──────────────────────────────────
     Cards have overflow:hidden for border-radius + ::before strips.
     On mobile this can clip text at the bottom. Allow content to
     breathe — ::before gradient stays contained via position:relative */
  .service-card,
  .philosophy-card,
  .compare-col,
  .why-feat,
  .pricing-card,
  .testimonial-card,
  .process-step {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }
  /* Clip the ::before gradient bar within the card's visual boundary */
  .service-card::before {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  /* Card padding on mobile */
  .service-card {
    padding: 28px 22px !important;
  }
  .philosophy-card {
    padding: 24px 20px !important;
  }
  /* Compare columns — cut heavy padding on mobile */
  .compare-col {
    padding: 24px 20px !important;
  }
}

@media (max-width: 600px) {
  /* Collapse ALL inline grids including 2-col */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  /* Tighter card padding on small phones */
  .service-card { padding: 22px 18px !important; }
  .philosophy-card { padding: 20px 16px !important; }
  .compare-col { padding: 20px 18px !important; }
  .case-card-body { padding: 20px 18px !important; }
  /* Section headings */
  .page-hero h1 { font-size: 1.7rem !important; }
  /* Comparison cards — equal height for before/after */
  .compare-grid [class*="before"],
  .compare-grid [class*="after"],
  .compare-grid > div {
    border-radius: var(--radius-lg) !important;
    overflow: visible !important;
    height: auto !important;
  }
  /* Ensure no parent clips card content */
  .services-grid,
  .compare-grid,
  .philosophy-grid,
  .process-grid,
  .why-feat-grid {
    overflow: visible !important;
  }
}

