/* ==========================================================================
   Premium Dark-Theme Design System - ai-automationhubs-website
   ========================================================================== */

:root {
  --bg: #0B1220;
  --bg-alt: #111B2E;
  --bg-panel: #16223A;
  --card: #16223A;
  --line: #243252;
  --line-light: rgba(36, 50, 82, 0.4);
  
  --gold: #C9A227;
  --gold-soft: #E8C766;
  --gold-glow: rgba(201, 162, 39, 0.15);
  
  --teal: #3EC6C0;
  --teal-soft: #1E3A3A;
  --teal-glow: rgba(62, 198, 192, 0.15);
  
  --red: #EF4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  
  --text: #EDEFF3;
  --text-dim: #94A0B8;
  --text-faint: #5C6B87;
  --radius: 10px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  background-image: 
    linear-gradient(rgba(36, 50, 82, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 82, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: absolute;
  top: 1500px;
  right: 10%;
  width: 50%;
  height: 500px;
  background: radial-gradient(circle, rgba(62, 198, 192, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(11, 18, 32, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  z-index: 101;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse-glow 2.5s infinite;
}

.brand . {
  color: var(--teal);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.2);
  border: 1px solid transparent;
  z-index: 101;
}

.nav-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}

/* Hamburger menu toggle button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.eyebrow-container {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  background: rgba(22, 34, 58, 0.5);
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-glow-green 2s infinite;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero p.sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.25);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(22, 34, 58, 0.3);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--teal);
  background: rgba(62, 198, 192, 0.05);
  transform: translateY(-2px);
}

.stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  padding-top: 36px;
}

.stat b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  display: block;
  color: var(--text);
  line-height: 1.2;
}

.stat span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* HUB STAGE DIAGRAM */
.hero-visual {
  width: 100%;
}

.hub-stage {
  background: rgba(17, 27, 46, 0.6);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 16px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(36, 50, 82, 0.2);
  backdrop-filter: blur(10px);
}

.hub-caption {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 20px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hub-caption .divider {
  color: var(--teal);
}

/* SVG Node Classes */
svg text {
  font-family: 'IBM Plex Mono', monospace;
  pointer-events: none;
  user-select: none;
}

.spoke-line {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  will-change: stroke-dashoffset;
}

.spoke-line.animate-path {
  stroke-dasharray: 6, 4;
  animation: line-dash 30s linear infinite;
  will-change: stroke-dashoffset;
}

@keyframes line-dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.flow-dot {
  fill: var(--teal);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.flow-dot-out {
  fill: var(--gold);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.node-in {
  fill: var(--card);
  stroke: var(--line);
  stroke-width: 1.5;
  transition: var(--transition);
}

.node-hub {
  fill: #15223c;
  stroke: var(--gold);
  stroke-width: 2;
  transition: var(--transition);
}

.node-out {
  fill: var(--card);
  stroke: var(--line);
  stroke-width: 1.5;
  transition: var(--transition);
}

.label-in {
  fill: var(--text-dim);
  font-size: 11px;
}

.label-out {
  fill: var(--text-dim);
  font-size: 11px;
}

.label-hub {
  fill: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.label-hub-sub {
  fill: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.svg-node:hover rect {
  fill: rgba(62, 198, 192, 0.05);
  stroke: var(--teal);
}

.svg-node.hub-node:hover circle.node-hub {
  r: 52px;
  stroke: var(--gold-soft);
}

/* COMPLIANCE & TRUST BADGES STRIP */
.badges-strip {
  background: rgba(17, 27, 46, 0.4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

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

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13.5px;
  cursor: default;
  transition: var(--transition);
}

.badge-item:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.badge-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-soft);
}

.badge-item:hover .badge-icon {
  color: var(--teal);
}

/* GENERAL SECTION STYLING */
section.reveal-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-light);
}

.bg-gradient-alt {
  background-color: #0d1627;
  background-image: 
    linear-gradient(rgba(36, 50, 82, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 82, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.section-title {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-sub {
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 60px;
  font-size: 16px;
}

/* DETAILED SOLUTIONS GRID */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.sol-card {
  background: rgba(22, 34, 58, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sol-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.3),
    0 0 15px var(--gold-glow);
}

.sol-header {
  margin-bottom: 20px;
}

.sol-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.sol-badge.green { background: rgba(34,197,94,0.1); color: #4ADE80; }
.sol-badge.blue { background: rgba(59,130,246,0.1); color: #60A5FA; }
.sol-badge.gold { background: rgba(201,162,39,0.1); color: var(--gold-soft); }
.sol-badge.red { background: rgba(239,68,68,0.1); color: #F87171; }

.sol-card h3 {
  font-size: 22px;
}

.sol-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.sol-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-features li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-features li::before {
  content: "•";
  color: var(--teal);
  font-weight: 700;
  font-size: 16px;
}

.sol-link {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px dashed var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
}

.sol-link:hover {
  color: var(--gold);
  border-bottom-style: solid;
}

/* BEFORE/AFTER COMPARISON CARDS */
.ba-toggle-container {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.ba-toggle-btn {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.ba-toggle-btn.active {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.05);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ba-card {
  background: rgba(22, 34, 58, 0.4);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.ba-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.ba-card.before::before {
  background: var(--red);
}

.ba-card.after::before {
  background: var(--teal);
}

.ba-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ba-card.before:hover {
  border-color: rgba(239, 68, 68, 0.25);
}

.ba-card.after:hover {
  border-color: rgba(62, 198, 192, 0.25);
}

.ba-card .card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ba-card .icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.ba-card.before .icon-circle {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.ba-card.after .icon-circle {
  background: rgba(62, 198, 192, 0.1);
  color: var(--teal);
  border: 1px solid rgba(62, 198, 192, 0.15);
}

.ba-card h3 {
  font-size: 20px;
}

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-list li {
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ba-list .list-bullet {
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}

.ba-card.before .list-bullet {
  color: var(--red);
}

.ba-card.after .list-bullet {
  color: var(--teal);
}

.ba-list .list-text {
  flex: 1;
}

/* COMPARISON TABLE */
.comparison-container {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.comparison-table th, 
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: #111b2e;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.metric-name {
  font-weight: 600;
  color: var(--text);
  background: rgba(17, 27, 46, 0.2);
}

/* Highlight AI Hub Column */
.comparison-table .highlighted-col {
  border-left: 2px solid rgba(201, 162, 39, 0.3);
  border-right: 2px solid rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.03);
  position: relative;
}

.comparison-table th.highlighted-col {
  color: var(--gold-soft);
  border-top: 2px solid var(--gold);
}

.comparison-table tr:last-child td.highlighted-col {
  border-bottom: 2px solid var(--gold);
}

.comparison-table .cross {
  color: var(--red);
  font-weight: 700;
  margin-right: 4px;
}

.comparison-table .check {
  color: var(--teal);
  font-weight: 700;
  margin-right: 4px;
}

.cell-manual {
  color: var(--text-dim);
}

.cell-ai {
  font-weight: 550;
}

/* ROI CALCULATOR CONTAINER */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: rgba(22, 34, 58, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.slider-val {
  color: var(--gold-soft);
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
}

/* Custom Range Input Bars */
.slider-bar {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
  transition: background 0.3s;
}

.slider-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.6);
  transition: transform 0.1s;
}

.slider-bar::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Output Display Card */
.calc-outputs {
  background: #111b2e;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.calc-outputs h3 {
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.kpi-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-tag {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.kpi-num.text-teal {
  color: var(--teal);
}

.calc-annual-box {
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.calc-annual-box span {
  font-size: 11px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.calc-annual-box h4 {
  font-size: 26px;
  color: var(--gold-soft);
  font-family: 'Space Grotesk', sans-serif;
}

.calc-note {
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.5;
}

/* PROVEN PARTNERSHIP TIMELINE */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.journey-card {
  background: rgba(22, 34, 58, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.journey-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.journey-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 4px;
}

.journey-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.journey-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

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

.price-card {
  background: rgba(22, 34, 58, 0.35);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.price-card.popular {
  border-color: var(--gold);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    0 0 15px var(--gold-glow);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.popular:hover {
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.4),
    0 0 20px rgba(201, 162, 39, 0.25);
}

.price-header {
  margin-bottom: 24px;
}

.price-card h3 {
  font-size: 15px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.price-amt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 12px;
  color: var(--text-faint);
}

.price-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-list li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 6px;
}

.price-list li:first-child {
  border-top: none;
}

.price-list li::before {
  content: "—";
  color: var(--teal);
  font-weight: 700;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  background: rgba(22, 34, 58, 0.2);
  transition: var(--transition);
}

.price-card.popular .price-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
}

.price-card.popular .price-btn:hover {
  background: var(--gold-soft);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.4);
}

.price-card:not(.popular) .price-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(62, 198, 192, 0.03);
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(22, 34, 58, 0.2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  user-select: none;
}

.faq-q .plus {
  position: relative;
  width: 14px;
  height: 14px;
  color: var(--gold-soft);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-q .plus::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-q .plus::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  color: var(--text-dim);
  font-size: 14.5px;
  background: rgba(11, 18, 32, 0.3);
}

.faq-a p {
  padding: 0 28px 24px;
}

/* Active Open FAQ state styling */
.faq-item.open {
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(22, 34, 58, 0.35);
}

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

.faq-item.open .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.open .plus::before {
  transform: rotate(180deg);
}

/* WHATSAPP FORM / FINAL CTA */
.final-cta {
  padding: 100px 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line-light);
  position: relative;
}

.form-wrap {
  max-width: 680px !important;
  text-align: center;
}

.final-cta h2 {
  font-size: 38px;
  margin-bottom: 14px;
}

.final-cta p {
  color: var(--text-dim);
  margin-bottom: 40px;
  font-size: 16px;
}

.whatsapp-lead-form {
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  text-align: left;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  margin-bottom: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A0B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.15);
}

.form-submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
  transition: var(--transition);
}

.form-submit-btn:hover {
  background: var(--gold-soft);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.4);
  transform: translateY(-1px);
}

.form-submit-btn .btn-icon {
  transition: transform 0.2s;
}

.form-submit-btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

.wa-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--text-dim);
}

.direct-wa-link {
  color: var(--gold-soft);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px dashed var(--gold);
  padding-bottom: 2px;
}

.direct-wa-link:hover {
  color: var(--gold);
  border-bottom-style: solid;
}

/* FOOTER */
footer {
  padding: 48px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 13px;
}

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
  animation: pulse-ring 2.5s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  background-color: #20BA5A;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile adjustments for the floating WhatsApp button */
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   Animations & Pulses
   ========================================================================== */

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.8), 0 0 24px rgba(201, 162, 39, 0.4);
  }
  100% {
    box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
  }
}

@keyframes pulse-glow-green {
  0% {
    box-shadow: 0 0 6px rgba(34, 197, 150, 0.4);
  }
  50% {
    box-shadow: 0 0 12px rgba(34, 197, 150, 0.8);
  }
  100% {
    box-shadow: 0 0 6px rgba(34, 197, 150, 0.4);
  }
}

/* Page Entry Reveal Animation (Standard JS trigger helper) */
.reveal-section {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 42px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero p.sub {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .stats-row {
    justify-content: center;
    gap: 32px;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111b2e;
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 20px;
    animation: slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  header.nav-open .mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  header.nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  header.nav-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  @keyframes slide-down {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .price-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ba-toggle-container {
    display: flex;
  }
  
  /* Mobile Before/After toggled views */
  .ba-grid.show-after-only .ba-card.before {
    display: none;
  }
  
  .ba-grid.show-after-only .ba-card.after {
    grid-column: 1 / -1;
  }
  
  .journey-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .whatsapp-lead-form {
    padding: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    display: none;
  }
  
  header.nav-open .nav-links {
    padding-bottom: 30px;
  }
  
  .stats-row {
    gap: 16px;
  }
  
  .stat {
    flex: 1 1 40%;
    min-width: 120px;
  }
  
  .stat b {
    font-size: 24px;
  }
}