/* =============================================
   WAB Migration Accelerator — Promo Page
   ============================================= */

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg: #0a0e1a;
  --bg-2: #0f1528;
  --bg-3: #141d36;
  --surface: #1a2440;
  --surface-2: #1e2a4a;
  --text: #eef2fb;
  --text-2: #a8b4d0;
  --text-3: #7480a0;
  --text-dark: #0a0e1a;
  --primary: #4f9fff;
  --primary-2: #2d7de0;
  --primary-glow: rgba(79, 159, 255, 0.35);
  --accent: #8b5cf6;
  --accent-2: #6d3fd1;
  --teal: #2dd4bf;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --max-w: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ----- Utility ----- */
.grad-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-light {
  color: var(--text);
}

/* ----- Announcement Bar ----- */
.announce {
  background: linear-gradient(90deg, var(--accent-2), var(--primary-2));
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announce-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ----- Navigation ----- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav-bar.scrolled {
  border-bottom-color: var(--border-2);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 400;
  white-space: nowrap;
}

.brand strong {
  font-weight: 700;
}

.brand-by {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 0.15rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark-sm {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.btn-cta-sm {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-cta-sm:hover {
  background: var(--primary-2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--primary);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-2);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(79, 159, 255, 0.08);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 3rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 159, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 159, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.badge {
  display: inline-block;
  background: rgba(79, 159, 255, 0.1);
  border: 1px solid rgba(79, 159, 255, 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ----- Terminal Card ----- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.terminal-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: var(--red);
}
.dot.yellow {
  background: var(--yellow);
}
.dot.green {
  background: var(--green);
}

.terminal-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-3);
}

.terminal-body {
  padding: 1.2rem;
  overflow-x: auto;
}

.terminal-body pre {
  margin: 0;
}

.terminal-body code {
  font-family: "Fira Code", "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-2);
}

.c-blue {
  color: var(--primary);
}
.c-green {
  color: var(--green);
}
.c-yellow {
  color: var(--yellow);
}
.c-dim {
  color: var(--text-3);
}

/* ----- Hero Wave ----- */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: var(--bg-2);
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ----- Stats Bar ----- */
.stats-bar {
  background: var(--bg-2);
  padding: 3rem 1.5rem;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-block {
  border-right: 1px solid var(--border);
}

.stat-block:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-3);
}

/* ----- Section Base ----- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-dark {
  max-width: none;
  background: var(--bg-2);
  margin: 0;
}

.section-dark .section-head,
.section-dark .roi-calc,
.section-dark .feature-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  max-width: none;
  background: var(--bg-2);
  margin: 0;
}

.section-alt .section-head,
.section-alt .faq-list {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: rgba(79, 159, 255, 0.1);
  border: 1px solid rgba(79, 159, 255, 0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 640px;
  margin: 1rem auto 0;
}

.section-sub-light {
  color: var(--text-2);
}

/* ----- Problem Cards ----- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: all 0.3s;
}

.problem-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--text-2);
}

/* ----- Feature Cards ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(79, 159, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(79, 159, 255, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(79, 159, 255, 0.2);
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.feature-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-card ul li {
  font-size: 0.86rem;
  color: var(--text-3);
  padding-left: 1.3rem;
  position: relative;
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ----- Pipeline ----- */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.pipeline-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 0 0.5rem;
}

.pipeline-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.pipeline-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pipeline-body p {
  font-size: 0.86rem;
  color: var(--text-2);
}

.pipeline-connector {
  align-self: flex-start;
  margin-top: 28px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-2), var(--primary), var(--border-2));
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-blue {
  background: rgba(79, 159, 255, 0.15);
  color: var(--primary);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent);
}

.tag-teal {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
}

/* ----- ROI Calculator ----- */
.roi-calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.roi-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.roi-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roi-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.roi-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  outline: none;
}

.roi-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.roi-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.roi-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
}

.roi-results {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.roi-result-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
}

.roi-result-highlight {
  border-color: rgba(79, 159, 255, 0.3);
  background: rgba(79, 159, 255, 0.05);
}

.roi-arrow {
  font-size: 1.5rem;
  color: var(--text-3);
  text-align: center;
}

.roi-savings {
  background: linear-gradient(135deg, rgba(79, 159, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(79, 159, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
}

.roi-label {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}

.roi-amount {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.roi-detail {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.3rem;
}

.roi-disclaimer {
  font-size: 0.8rem;
  color: var(--text-3);
  text-align: center;
}

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.pricing-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px var(--primary-glow);
}

.pricing-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  min-height: 3.2em;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 16px;
  height: 16px;
  background: var(--surface-2);
  border-radius: 50%;
  border: 1.5px solid var(--primary);
}

.pricing-features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8rem;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(-45deg);
}

/* ----- FAQ ----- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border-2);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-2);
}

.faq-answer code {
  background: var(--bg-3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--primary);
}

/* ----- CTA / Contact ----- */
.cta-section {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 5rem 1.5rem;
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 0;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cta-bullet {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--text);
}

.cta-bullet svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ----- Contact Form ----- */
.cta-form {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.cta-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-3);
}

.form-row select {
  cursor: pointer;
}

.form-row select option {
  background: var(--bg-3);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 0.8rem;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  color: var(--green);
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-2);
  font-size: 0.92rem;
}

/* ----- Footer ----- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .brand {
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-3);
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-3);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-built {
  font-size: 0.78rem;
}

/* ----- Reveal Animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .roi-controls {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .roi-results {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .roi-arrow {
    transform: rotate(90deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-block {
    border-right: none;
  }

  .stat-block:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .pipeline {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--border-2), var(--primary), var(--border-2));
  }

  .hero-trust {
    gap: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
