/* ============================================================
   RENORANK — styles.css
   Font: Poppins | Colors: White + Amber (#CA8A04) + Slate (#1E293B)
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --white:        #FFFFFF;
  --light:        #F8FAFC;
  --amber:        #CA8A04;
  --amber-light:  #FEF9C3;
  --amber-mid:    #D97706;
  --amber-dark:   #92400E;
  --slate:        #1E293B;
  --slate-mid:    #334155;
  --slate-light:  #64748B;
  --gray-400:     #94A3B8;
  --gray-200:     #E2E8F0;
  --gray-100:     #F1F5F9;
  --black:        #0F172A;

  --font: 'Poppins', sans-serif;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.text-amber  { color: var(--amber); }
.text-white  { color: var(--white); }
.text-gray-400 { color: var(--gray-400); }

/* ---- SECTION BASE ---- */
.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-dark  { background: var(--slate); }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-light);
  border: 1px solid #FDE68A;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-dark .section-tag {
  background: rgba(202,138,4,0.15);
  border-color: rgba(202,138,4,0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.section-dark .section-sub { color: var(--gray-400); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm  { font-size: 0.85rem; padding: 8px 18px; }
.btn-lg  { font-size: 1rem;    padding: 15px 30px; border-radius: var(--radius-lg); }
.btn-xl  { font-size: 1.1rem;  padding: 18px 36px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 14px rgba(202,138,4,.35);
}
.btn-primary:hover {
  background: var(--amber-mid);
  border-color: var(--amber-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202,138,4,.45);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: var(--amber-mid);
  border-color: var(--amber-mid);
  transform: translateY(-2px);
}

.btn-amber-outline {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.btn-amber-outline:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--slate-light);
  transform: translateY(-2px);
}

/* ---- HERO IMAGE ---- */
.hero-inner {
  grid-template-columns: 1fr 480px !important;
}
.hero-stats {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.stat-badge { min-width: 140px; flex: 1; }
.hero-image-col {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: center;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* ---- LEAKY BUCKET IMAGE ---- */
.callout-bucket-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius);
}

/* ---- SEO MAP IMAGE ---- */
.seo-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.seo-map-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ---- TESTIMONIALS HERO IMAGE ---- */
.testimonials-hero-img {
  margin-bottom: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.testimonials-hero-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.fade-in {
  animation: fadeUp 0.8s ease both;
}
.fade-in-delay {
  animation: fadeUp 0.8s 0.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span { color: var(--amber); }
.footer-logo { font-size: 1.4rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover  { color: var(--slate); background: var(--gray-100); }
.nav-link.active { color: var(--amber); background: var(--amber-light); }
.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 50%, rgba(202,138,4,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 20% 80%, rgba(202,138,4,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--amber-light);
  border: 1px solid #FDE68A;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--slate);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}
.stat-badge::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gray-200);
}
.stat-badge-accent::before { background: var(--amber); }

.stat-badge .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--slate);
  line-height: 1;
  display: inline;
}
.stat-badge .stat-pct,
.stat-badge .stat-suffix,
.stat-badge .stat-prefix {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate);
  display: inline;
}
.stat-badge .stat-label {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-top: 6px;
  line-height: 1.4;
}

.hero-image-wrap {
  display: none; /* shown when image loads */
}
.hero-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-image-fallback {
  min-height: 300px;
  background: linear-gradient(135deg, var(--amber-light) 0%, #FEF3C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  flex: 1;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-mid);
  padding: 0 24px;
}
.trust-icon { font-size: 1rem; }
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--gray-200);
  flex-shrink: 0;
}


/* ============================================================
   THE PROBLEM
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
}
.stat-card-icon { font-size: 2rem; margin-bottom: 16px; }
.stat-card-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card-pct {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber);
  display: inline;
}
.stat-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 10px 0 10px;
}
.stat-card-desc {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.problem-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(202,138,4,0.12);
  border: 1px solid rgba(202,138,4,0.3);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.callout-bucket { font-size: 3rem; flex-shrink: 0; }
.callout-content { flex: 1; }
.callout-content h3 {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}
.callout-content p { color: var(--gray-400); font-size: 0.95rem; }
.callout-content strong { color: var(--amber); }


/* ============================================================
   ZERO LEAD LOSS
   ============================================================ */
.zero-loss-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.leak-list { display: flex; flex-direction: column; gap: 28px; }
.leak-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.leak-icon-wrap {
  font-size: 1.8rem;
  background: var(--amber-light);
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.leak-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}
.leak-text p { font-size: 0.88rem; color: var(--slate-light); line-height: 1.6; }

.revenue-preview-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}
.revenue-preview-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.preview-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.preview-row span { color: var(--slate-light); }
.preview-row strong { color: var(--slate); font-weight: 600; }
.preview-total {
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
.preview-total span { color: var(--slate); font-weight: 600; }
.preview-total strong { font-size: 1.2rem; font-weight: 800; }
.preview-annual {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-bottom: 20px;
  background: var(--amber-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
}
.preview-annual strong { color: var(--amber-dark); }


/* ============================================================
   THE SYSTEM — 5 PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}
.pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pillar-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--amber);
  background: var(--amber-light);
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 0.05em;
}
.pillar-icon { font-size: 1.6rem; }
.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-features li {
  font-size: 0.82rem;
  color: var(--slate-light);
  padding-left: 16px;
  position: relative;
}
.pillar-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.75rem;
}

.pillar-premium {
  background: linear-gradient(135deg, #FEF9C3 0%, #FFFBEB 100%);
  border: 2px solid var(--amber);
  grid-column: span 1;
}
.pillar-premium:hover { box-shadow: 0 12px 40px rgba(202,138,4,0.2); }
.premium-tag {
  position: absolute;
  top: -1px; right: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.pillar-premium .btn { margin-top: 20px; }


/* ============================================================
   LEAD FLOW ENGINE
   ============================================================ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.flow-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.flow-icon { font-size: 2.4rem; margin-bottom: 16px; }
.flow-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--slate);
}
.flow-card p { font-size: 0.85rem; color: var(--slate-light); line-height: 1.7; }


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--amber-light);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid #FDE68A;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}
.step-card p { font-size: 0.83rem; color: var(--slate-light); line-height: 1.65; margin-bottom: 16px; }
.step-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--amber-light);
  border-radius: 100px;
  padding: 4px 12px;
  display: inline-block;
}
.step-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 60px;
  font-size: 1.5rem;
  color: var(--amber);
  font-weight: 300;
  opacity: 0.6;
  padding-left: 4px;
  padding-right: 4px;
}
.steps-cta { text-align: center; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-featured {
  background: rgba(202,138,4,0.12);
  border-color: rgba(202,138,4,0.35);
}
.t-result {
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.t-result-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.t-quote {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: 0.9rem; color: var(--white); }
.t-author span   { font-size: 0.75rem; color: var(--gray-400); }


/* ============================================================
   LOCAL SEO ENGINE
   ============================================================ */
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.seo-left h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 16px;
}
.seo-left > p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.seo-features { display: flex; flex-direction: column; gap: 20px; }
.seo-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.seo-check {
  width: 24px; height: 24px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.seo-feature strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.seo-feature p { font-size: 0.83rem; color: var(--slate-light); line-height: 1.5; }

.seo-right {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}
.seo-right h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.portfolio-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.portfolio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--gray-100);
  transition: background var(--transition);
}
.portfolio-item:hover { background: var(--amber-light); }
.portfolio-icon { font-size: 1.4rem; flex-shrink: 0; }
.portfolio-text { flex: 1; min-width: 0; }
.portfolio-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--slate); }
.portfolio-text span { font-size: 0.78rem; color: var(--slate-light); }
.portfolio-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--amber-dark);
  background: var(--amber-light);
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.portfolio-badge-lg { background: var(--amber); color: var(--white); border-color: var(--amber); }
.seo-note {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-bottom: 20px;
  padding: 12px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber);
}
.seo-note strong { color: var(--amber-dark); }


/* ============================================================
   CALCULATOR
   ============================================================ */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
}
.calc-inputs { display: flex; flex-direction: column; gap: 32px; }
.calc-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
}
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(202,138,4,0.4);
  transition: transform 0.1s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(202,138,4,0.4);
}
.slider-val {
  font-size: 0.82rem;
  color: var(--slate-light);
  text-align: right;
  font-weight: 600;
}
.slider-val span { color: var(--amber); }

.calc-results {
  background: var(--slate);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.result-row:last-of-type { border-bottom: none; }
.result-label { font-size: 0.82rem; color: var(--gray-400); }
.result-val { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.result-highlight { padding: 20px 0; }
.result-highlight .result-val { font-size: 1.6rem; }
.result-annual { padding: 20px 0; }
.result-annual .result-val { font-size: 2rem; }
.result-footnote {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin: 16px 0 20px;
  font-style: italic;
}


/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: default;
}
.industry-card span { font-size: 1.3rem; }
.industry-card:hover {
  background: var(--amber-light);
  border-color: var(--amber);
  color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}


/* ============================================================
   AI SYSTEMS
   ============================================================ */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ai-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ai-icon { font-size: 2.2rem; margin-bottom: 16px; }
.ai-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.ai-card p  { font-size: 0.84rem; color: var(--slate-light); line-height: 1.65; }


/* ============================================================
   FINAL CTA
   ============================================================ */
.section-cta {
  background: var(--slate);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-bg-shape {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202,138,4,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .section-tag { margin: 0 auto 20px; display: table; }
.cta-inner .section-title { margin-bottom: 20px; }
.cta-inner .section-sub { margin: 0 auto 40px; }
.cta-checklist {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cta-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.cta-check span {
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
}

.ghl-embed {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.ghl-embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-inner { }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-size: 1.6rem; margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 12px;
  transition: var(--transition);
}
.social-btn:hover { color: var(--amber); border-color: rgba(202,138,4,0.4); }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--amber); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid      { grid-template-columns: repeat(2, 1fr); }
  .pillar-premium    { grid-column: span 1; }
  .flow-grid         { grid-template-columns: repeat(2, 1fr); }
  .ai-grid           { grid-template-columns: repeat(2, 1fr); }
  .industries-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .hero-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-col { display: none; }

  .zero-loss-grid    { grid-template-columns: 1fr; }
  .revenue-preview-card { position: static; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-connector {
    display: none;
  }
  .step-card { text-align: left; }

  .seo-grid { grid-template-columns: 1fr; }
  .seo-right { position: static; }

  .calculator-wrap {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .navbar .nav-menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .navbar .nav-menu.open { display: flex; }
  .nav-link { padding: 12px; border-radius: var(--radius-sm); width: 100%; }
  .nav-cta { width: 100%; justify-content: center; margin: 8px 0 0; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.4rem; }
  .hero-sub   { font-size: 1rem; }
  .hero-stats { flex-direction: column; align-items: center; }

  .stats-grid      { grid-template-columns: 1fr; }
  .pillars-grid    { grid-template-columns: 1fr; }
  .flow-grid       { grid-template-columns: 1fr; }
  .ai-grid         { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .problem-callout {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .cta-checklist { flex-direction: column; align-items: center; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trust-logos { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-divider { display: none; }
  .trust-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
}
