/* ============================================================
   LEADSFOUNDRY — styles.css  (FIXED & IMPROVED)
   ============================================================ */


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


/* ── COLOUR PALETTE ────────────────────────────────────────── */
:root {
  --forge:       #0A0A0B;
  --ember:       #FF4D00;
  --ember-dim:   #CC3D00;
  --ember-glow:  rgba(255, 77, 0, 0.08);
  --ember-soft:  rgba(255, 77, 0, 0.25);
  --steel:       #111114;
  --iron:        #1A1A1E;
  --jet:         #0D0D0F;
  --ash:         #5C5C61;
  --mist:        #A8A8AD;
  --white:       #F5F4F0;
  --gold:        #F5A623;
  --surface:     #0D0D0F;
  --surface-hover: #121215;
  --border:      rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.10);
}


/* ── GLOBAL HTML & BODY ────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--forge);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--ember);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--ember) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--ember-dim) !important;
}


/* ── HAMBURGER BUTTON (mobile only) ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}

.hamburger span:nth-child(3) {
  width: 65%;
}

.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) {
  width: 100%;
  transform: translateY(-7px) rotate(-45deg);
}


/* ── MOBILE MENU DRAWER ────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-direction: column;
  padding: 24px 24px 32px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 17px;
  font-weight: 400;
  color: var(--mist);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

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

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .mob-cta {
  margin-top: 20px;
  background: var(--ember);
  color: white !important;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px !important;
  font-weight: 500;
  border-bottom: none !important;
}

.mobile-menu .mob-cta:hover {
  background: var(--ember-dim);
}


/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--ember);
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--ember-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}


/* ============================================================
   GLOBAL SECTION HELPERS
   ============================================================ */
section {
  padding: 100px 60px;
}

/* Prevent anchor links hiding behind fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 620px;
  color: var(--white);
}

.section-body {
  font-size: 16px;
  color: var(--mist);
  line-height: 1.8;
  max-width: 520px;
  margin-top: 16px;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% 40%, rgba(255, 77, 0, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(255, 122, 80, 0.03) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--mist);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.0;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ember) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.7;
  max-width: 540px;
  margin: 24px auto 0;
  position: relative;
  z-index: 1;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  background: transparent;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--white);
}

.stat-num span {
  color: var(--ash);
}

.stat-label {
  font-size: 13px;
  color: var(--ash);
  margin-top: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--steel);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-title,
.services-header .section-body {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* subtle top sheen */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.75;
  flex: 1;
}

.service-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 4px 10px;
  width: fit-content;
}

.service-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  width: fit-content;
}

.service-cta:hover {
  color: var(--mist);
}


/* ============================================================
   CRM / PLATFORM SECTION
   ============================================================ */
#crm {
  background: var(--forge);
}

.crm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.crm-features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crm-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--mist);
  line-height: 1.6;
}

.feat-dot {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.feat-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ash);
}

.crm-visual {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.crm-topbar {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot-r { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dot-y { width: 10px; height: 10px; border-radius: 50%; background: #FFBD2E; }
.dot-g { width: 10px; height: 10px; border-radius: 50%; background: #28C840; }

.crm-topbar span {
  margin-left: auto;
  font-size: 12px;
  color: var(--ash);
}

.crm-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.metric-box:hover {
  background: rgba(255, 255, 255, 0.05);
}

.metric-box .val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 26px;
}

.metric-box .val span {
  color: var(--ash);
}

.metric-box .lbl {
  font-size: 11px;
  color: var(--ash);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.pipeline-bar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
}

.pipeline-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ash);
  margin-bottom: 10px;
}

.bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  opacity: 0.9;
}


/* ============================================================
   PROCESS SECTION
   ============================================================ */
#process {
  background: var(--steel);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-header .section-title {
  margin: 0 auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--white);
}

.step p {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.7;
  flex: 1;
}

.step-cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}

.step-cta:hover {
  color: var(--white);
}

.process-cta-bar {
  text-align: center;
  margin-top: 56px;
}

.process-cta-bar p {
  color: var(--mist);
  font-size: 16px;
  margin-bottom: 24px;
}


/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials {
  background: var(--forge);
  padding: 100px 60px;
}

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

.testimonials-header .section-title,
.testimonials-header .section-body {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-track-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.testimonial-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 300px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--mist);
  line-height: 1.75;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ash);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.5;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--mist);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.testimonial-role {
  font-size: 12px;
  color: var(--ash);
  margin-top: 2px;
}

.testimonial-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: -8px;
  width: fit-content;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.testimonials-dots .dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.testimonials-dots .dot:hover {
  background: rgba(255, 255, 255, 0.4);
}


/* ============================================================
   PRICING SECTION
   ============================================================ */
#pricing {
  background: var(--steel);
}

.pricing-header {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-header .section-title {
  margin: 0 auto;
}

.pricing-note {
  font-size: 13px;
  color: var(--ash);
  margin-top: 8px;
}

.pricing-toggle {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  background: var(--iron);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  background: var(--ember);
  border-radius: 7px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s ease;
  z-index: 0;
  pointer-events: none;
}

.toggle-btn {
  position: relative;
  z-index: 1;
  padding: 10px 28px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  background: transparent;
  color: var(--ash);
  transition: color 0.2s;
}

.toggle-btn.active {
  background: transparent;
  color: white;
  font-weight: 500;
}

.plans-grid {
  display: none;
}

.plans-grid.active {
  display: grid;
}

.plans-onetime {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.plans-monthly {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.plan {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.plan:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.plan.featured {
  border-color: var(--ember-soft);
  background: linear-gradient(160deg, rgba(255, 77, 0, 0.06) 0%, var(--surface) 45%);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--ember);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--white);
}

.plan-desc {
  font-size: 13px;
  color: var(--ash);
  margin-bottom: 28px;
  line-height: 1.6;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 4px;
  color: var(--white);
}

.plan-price sup {
  font-size: 22px;
  vertical-align: super;
}

.plan-price sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--ash);
}

.plan-setup {
  font-size: 12px;
  color: var(--ash);
  margin-bottom: 4px;
  min-height: 18px;
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 24px 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.5;
}

.check {
  color: var(--mist);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-upsell {
  margin-top: -16px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--mist);
  line-height: 1.5;
}

.plan-upsell strong {
  color: var(--white);
}


/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
  padding: 100px 60px;
  background: var(--jet);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-header .section-title {
  margin: 0 auto;
  text-align: center;
}

.faq-header .section-body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--white);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--ash);
  transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-a p {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
  padding-bottom: 22px;
  margin: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
}


/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
#cta {
  background: var(--steel);
  padding: 100px 60px;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(255, 77, 0, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.cta-header .section-title {
  margin: 0 auto 16px;
}

.cta-header .section-body {
  margin: 0 auto;
}

.cta-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-whatsapp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(37, 211, 102, 0.07);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.cta-whatsapp-row svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cta-whatsapp-row p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.5;
  flex: 1;
}

.cta-whatsapp-row a {
  font-size: 14px;
  font-weight: 500;
  color: #25D366;
  text-decoration: none;
  white-space: nowrap;
}

.cta-whatsapp-row a:hover {
  text-decoration: underline;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mist);
}

.field-input {
  background: var(--forge);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.field-input::placeholder {
  color: var(--ash);
}

.field-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5C61' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.field-select option {
  background: var(--steel);
  color: var(--white);
}

select optgroup {
  color: var(--ember);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

select option {
  color: var(--white);
  background: #1a1a2e;
}

textarea.field-input {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: var(--ember);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.submit-btn:hover {
  background: var(--ember-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.25);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  display: none;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.form-success-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-success-title {
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--white);
}

.form-success-sub {
  font-size: 13px;
  color: var(--mist);
}

.form-success-email {
  color: var(--mist);
  text-decoration: none;
}

.form-prefer-link {
  text-align: center;
  font-size: 13px;
  color: var(--ash);
  margin-top: 8px;
}

.form-prefer-link a {
  text-decoration: none;
  cursor: pointer;
}

.field-mb {
  margin-bottom: 20px;
}

.field-mb-lg {
  margin-bottom: 28px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Form validation */
.field-input.error {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.06);
  animation: shake 0.35s ease;
}

.field-error {
  display: none;
  font-size: 12px;
  color: #ff4444;
  margin-top: 6px;
  line-height: 1.4;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--forge);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 48px 60px 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--ember);
}

.footer-tagline {
  font-size: 13px;
  color: var(--ash);
  margin-top: 8px;
}

.footer-email {
  font-size: 13px;
  color: var(--ash);
  margin-top: 12px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--ember);
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  font-size: 13px;
  color: var(--ash);
}

.footer-bottom a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--white);
}


/* ============================================================
   WHATSAPP FLOATING WIDGET
   ============================================================ */
.wa-bubble-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: waSlideIn 0.5s ease 1s both;
}

.wa-bubble-label {
  background: var(--steel);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: waSlideIn 0.5s ease 1.3s both;
}

.wa-bubble {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.wa-bubble svg {
  display: block;
  border-radius: 16px;
}

.wa-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #FF4D00;
  border-radius: 50%;
  border: 2px solid var(--forge);
  animation: waDotPulse 2s ease-in-out infinite;
}

.wa-popup {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 998;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom right;
}

.wa-popup.wa-popup-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.wa-header {
  background: #075E54;
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.wa-header-info {
  flex: 1;
}

.wa-header-name {
  font-size: 15px;
  font-weight: 600;
  color: white;
  font-family: 'DM Sans', sans-serif;
}

.wa-header-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
}

.wa-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}

.wa-close:hover {
  color: white;
}

.wa-body {
  padding: 16px;
  background-color: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4c9bc' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-intro-bubble {
  background: white;
  border-radius: 0 10px 10px 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #303030;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 14px;
  max-width: 90%;
}

.wa-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-msg-btn {
  background: white;
  border: 1.5px solid #25D366;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
  color: #075E54;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

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

.wa-footer {
  background: #f0f0f0;
  border-top: 1px solid #ddd;
  padding: 8px 16px;
  font-size: 11px;
  color: #888;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}

@keyframes waSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes waDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}


/* ============================================================
   STICKY "BOOK A CALL" BANNER
   ============================================================ */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 199;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(15, 15, 16, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 60px;
  margin-top: 65px;
}

.sticky-bar.sticky-bar-visible {
  transform: translateY(0);
}

.sticky-bar-text {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.4;
  flex: 1;
  text-align: right;
}

.sticky-bar-text strong {
  color: var(--white);
  font-weight: 500;
}

.sticky-bar-btn {
  background: var(--ember);
  color: white;
  padding: 10px 22px;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.sticky-bar-btn:hover {
  background: var(--ember-dim);
  transform: translateY(-1px);
}

.sticky-bar-dismiss {
  background: none;
  border: none;
  color: var(--ash);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}

.sticky-bar-dismiss:hover {
  color: var(--white);
}


/* ============================================================
   ACCESSIBILITY & FOCUS
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}


/* ============================================================
   RESPONSIVE — TABLET & MOBILE  (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {

  /* Sticky bar adjustments */
  .sticky-bar {
    padding: 8px 16px;
    gap: 10px;
    margin-top: 57px;
  }
  .sticky-bar-text {
    display: block;
    font-size: 12px;
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .sticky-bar-btn {
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Navigation */
  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Sections */
  section {
    padding: 64px 20px;
  }
  section[id] {
    scroll-margin-top: 72px;
  }
  #faq {
    padding: 64px 20px;
  }
  #cta {
    padding: 64px 20px;
  }
  #testimonials {
    padding: 64px 20px;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  .hero h1 {
    letter-spacing: -1px;
  }
  .hero-sub {
    font-size: 16px;
  }

  /* Stats */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 20px;
  }
  .stat-num {
    font-size: 28px;
  }

  /* ── SERVICES (FIXED) ── */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
  }
  .service-card {
    padding: 24px 20px;
    border-radius: 12px;
    width: 100%;
  }
  .service-card h3 {
    font-size: 16px;
  }
  .service-card p {
    font-size: 13px;
  }


  /* CRM */
  .crm-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Process */
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .step,
  .step:first-child,
  .step:nth-child(2),
  .step:nth-child(3),
  .step:last-child {
    border-radius: 14px;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 min(85vw, 320px);
    min-width: 260px;
    scroll-snap-align: start;
  }

  /* ── PRICING (FIXED) ── */
  .plans-onetime,
  .plans-monthly {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  /* Vertical stack pricing on mobile */
  .plans-grid.plans-onetime.active,
  .plans-grid.plans-monthly.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    margin: 0 auto;
    max-width: 520px;
    overflow-x: visible;
  }
  .plans-grid.plans-onetime.active .plan,
  .plans-grid.plans-monthly.active .plan {
    flex: none;
    scroll-snap-align: none;
    min-width: auto;
  }

  /* Form — keep 2 columns on mobile */
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .field-input {
    padding: 11px 14px;
    font-size: 14px;
  }
  .field-label {
    font-size: 12px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
  }
  .footer-cols {
    flex-wrap: wrap;
    gap: 32px;
  }
  footer {
    padding: 40px 20px 24px;
  }

} /* END max-width: 900px */


/* ============================================================
   EXTRA SMALL SCREENS (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step,
  .step:first-child,
  .step:nth-child(2),
  .step:nth-child(3),
  .step:last-child {
    border-radius: 14px;
  }

  /* Services: 1 column on very small screens */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Form: tighter on very small screens */
  .form-row-2col {
    gap: 10px;
  }
  .field-input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .wa-bubble-wrap { bottom: 20px; right: 16px; }
  .wa-bubble-label { display: none; }
  .wa-popup  { right: 12px; left: 12px; width: auto; bottom: 90px; }

} /* END max-width: 480px */

/* Hide pipeline numbers on very small screens */
@media (max-width: 400px) {
  .pipeline-num {
    display: none;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .badge-dot,
  .wa-dot {
    animation: none;
  }
}
