/* ==========================================================================
   QuickQuoteBack - Conversion-Optimised Design System & Stylesheet
   UK Trades CRO Homepage
   ========================================================================== */

:root {
  /* Brand Palette - Trustworthy UK Trade Navy & Slate with High-Visibility Accents */
  --bg-dark: #091224;
  --bg-dark-card: #111C35;
  --bg-dark-border: rgba(255, 255, 255, 0.12);
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-light: #E2E8F0;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --primary-blue: #1D4ED8;
  --primary-blue-hover: #1E40AF;
  --primary-blue-light: #EFF6FF;
  
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-gold-bg: #FFFBEB;
  
  --success-green: #059669;
  --success-green-bg: #ECFDF5;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  
  --container-width: 1180px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky CTA */
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Section Standard Layouts */
.section {
  padding: 80px 0;
}

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

.section-bg-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-bg-dark .section-header .eyebrow {
  color: var(--accent-gold);
  background-color: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.85rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-bg-dark .section-header p {
  color: var(--text-light);
}

/* Button & Badge Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #000000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 18, 36, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo span.highlight {
  color: var(--accent-gold);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.top-ribbon {
  background: #F59E0B;
  color: #1A1300;
  text-align: center;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  width: 100%;
}

@media (max-width: 576px) {
  .top-ribbon {
    font-size: 12px;
    padding: 8px 12px;
    line-height: 1.3;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 28px;
  z-index: 105;
  flex-shrink: 0;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--bg-dark-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
  }
}

.nav-links a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-price-tag {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .header-price-tag {
    display: none;
  }
}

/* Video Demonstration Section */
.video-container-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.video-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(9, 18, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}

.video-overlay-badge .play-icon {
  color: var(--accent-gold);
}

.video-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.video-feature-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.video-feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.video-feature-item span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.header-price-tag {
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: none;
}

@media (min-width: 576px) {
  .header-price-tag {
    display: inline-block;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.15), transparent 35%),
              var(--bg-dark);
  padding: 70px 0 90px 0;
  color: var(--text-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-content h1 em {
  color: var(--accent-gold);
  font-style: normal;
  border-bottom: 3px solid var(--accent-gold);
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 24px;
}

.hero-supporting {
  font-size: 0.98rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary-blue);
  padding: 12px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
}

/* Pricing Card inside Hero */
.hero-pricing-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-price-amount .currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-price-amount .val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.hero-price-amount .period {
  font-size: 1rem;
  color: var(--text-light);
}

.hero-price-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.hero-price-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-price-features span::before {
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 576px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Smartphone Mockup UI */
.phone-demo-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 100%;
  max-width: 360px;
  background: #000000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
}

.phone-screen {
  background: #1C1C1E;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 580px;
}

.phone-header {
  background: #2C2C2E;
  padding: 14px 18px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3A3A3C;
}

.phone-notch {
  width: 110px;
  height: 18px;
  background: #000000;
  border-radius: 10px;
  margin: 0 auto;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.phone-contact-details {
  flex: 1;
}

.phone-contact-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.phone-contact-status {
  font-size: 0.72rem;
  color: #34C759;
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-contact-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #34C759;
  border-radius: 50%;
  display: inline-block;
}

.phone-chat-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #000000;
}

.chat-timestamp {
  text-align: center;
  font-size: 0.7rem;
  color: #8E8E93;
  margin: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-event-missed {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FF453A;
  font-size: 0.82rem;
  font-weight: 600;
}

.chat-event-missed .icon {
  font-size: 1.1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.4;
  position: relative;
  animation: fadeIn 0.4s ease;
}

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

.chat-bubble.outbound {
  align-self: flex-start;
  background: #2C2C2E;
  color: #FFFFFF;
  border-bottom-left-radius: 4px;
}

.chat-bubble.inbound {
  align-self: flex-end;
  background: #0B84FF;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.chat-bubble-sender {
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
  opacity: 0.8;
}

.chat-badge-captured {
  background: rgba(52, 199, 89, 0.2);
  border: 1px solid #34C759;
  color: #30D158;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.phone-footer-caption {
  margin-top: 16px;
  text-align: center;
}

.phone-footer-caption p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.phone-footer-caption span {
  font-size: 0.85rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

/* Problem Section ("What happens when you don't answer?") */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-card-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.problem-card-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #DC2626;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-card-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.problem-card-box p strong {
  color: var(--text-main);
}

/* Flow Diagram */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  position: relative;
}

.flow-step.highlight {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
}

.flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.flow-text {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
}

.flow-arrow {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  line-height: 1;
}

/* Financial Logic Section */
.roi-box {
  background: var(--bg-white);
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.roi-badge {
  position: absolute;
  top: -16px;
  right: 30px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .roi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.roi-left h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.roi-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.roi-price-comparison {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.roi-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.roi-price-item:last-child {
  border-bottom: none;
}

.roi-price-label {
  font-weight: 600;
  color: var(--text-muted);
}

.roi-price-val {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.roi-calculator {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.roi-calculator label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.roi-slider {
  width: 100%;
  accent-color: var(--primary-blue);
  height: 8px;
  margin-bottom: 16px;
  cursor: pointer;
}

.roi-calc-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-blue-light);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-blue);
}

.roi-calc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.roi-calc-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Included Features ("More than a missed-call text") */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.feature-card .benefit-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success-green);
  background: var(--success-green-bg);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Audience Section ("Built for people on the tools") */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.trade-badge {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trade-badge:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  background: rgba(245, 158, 11, 0.1);
}

.trade-badge .icon {
  font-size: 1.5rem;
}

/* How It Works (4 Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
}

.step-card-num {
  width: 42px;
  height: 42px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials / Social Proof */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background: #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
}

.author-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-info .details {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Offer & Pricing Section */
.pricing-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.pricing-card-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.pricing-amount-wrap {
  margin-bottom: 30px;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-amount span.currency {
  font-size: 2.4rem;
  vertical-align: super;
}

.pricing-amount span.period {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success-green);
  background: var(--success-green-bg);
  padding: 12px 20px;
  border-radius: var(--radius-md);
}

.pricing-checklist {
  text-align: left;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 576px) {
  .pricing-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.pricing-checklist li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Accordion FAQ */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-trigger:hover {
  color: var(--primary-blue);
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark), #0F2042);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer */
.footer {
  background: #050B17;
  color: var(--text-light);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(9, 18, 36, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.sticky-sub {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Modal Drawer for CTAs */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness & Scroll-Stability Passes
   ========================================================================== */

.problem-cta-box {
  margin-top: 40px;
  background: #FFFFFF;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    min-height: 48px;
  }

  .btn-large {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-grid {
    gap: 24px;
  }

  .problem-cta-box {
    padding: 20px 16px;
    flex-direction: column;
    text-align: center;
  }

  .problem-card-box {
    padding: 24px 18px;
  }

  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 10px 0;
  }

  .header-cta {
    gap: 8px;
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-height: 40px;
  }

  .brand-logo {
    font-size: 1.05rem;
    gap: 6px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 36px 0 44px 0;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .hero-supporting {
    font-size: 0.88rem;
    padding: 10px 14px;
    margin-bottom: 20px;
  }

  .hero-pricing-box {
    padding: 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .hero-price-amount .val {
    font-size: 2rem;
  }

  .hero-price-features {
    justify-content: center;
    font-size: 0.82rem;
    gap: 8px;
  }

  .phone-mockup {
    border-radius: 32px;
    padding: 8px;
    max-width: 100%;
  }

  .phone-screen {
    border-radius: 24px;
    height: 480px;
  }

  .phone-notch {
    width: 90px;
    height: 14px;
    top: 14px;
  }

  .phone-header {
    padding: 10px 12px;
  }

  .chat-bubble {
    max-width: 90%;
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .trades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .trade-badge {
    padding: 12px 8px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .trade-badge .icon {
    font-size: 1.2rem;
  }

  .roi-box {
    padding: 24px 16px;
  }

  .roi-badge {
    right: 50%;
    transform: translateX(50%);
    top: -14px;
    font-size: 0.72rem;
    white-space: nowrap;
    padding: 4px 12px;
  }

  .roi-left h3 {
    font-size: 1.35rem;
  }

  .roi-calculator {
    padding: 16px 12px;
  }

  .roi-calc-results {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    align-items: center;
  }

  .roi-calc-val {
    font-size: 1.2rem;
  }

  .pricing-card {
    padding: 28px 16px 20px 16px;
  }

  .pricing-card-badge {
    font-size: 0.75rem;
    padding: 4px 14px;
    top: -12px;
    white-space: nowrap;
  }

  .pricing-title {
    font-size: 1.7rem;
  }

  .pricing-amount {
    font-size: 2.8rem;
  }

  .pricing-guarantees {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    align-items: center;
  }

  .pricing-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .pricing-checklist li {
    font-size: 0.9rem;
  }

  .faq-trigger {
    padding: 16px 14px;
    font-size: 0.98rem;
  }

  .faq-content {
    font-size: 0.9rem;
  }

  .faq-item.active .faq-content {
    max-height: 500px;
    padding: 0 14px 16px 14px;
  }

  .cta-banner {
    padding: 32px 16px;
  }

  .cta-banner h2 {
    font-size: 1.65rem;
  }

  .cta-banner p {
    font-size: 0.98rem;
  }

  .modal-box {
    padding: 24px 18px;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .btn {
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .trades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .trade-badge {
    padding: 10px 4px;
    font-size: 0.78rem;
  }

  .phone-screen {
    height: 440px;
  }
}

/* Scroll-Stability & Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
