/* ============================================================
   NQB AI Landing Page - Global Stylesheet
   Extracted from Web Component Shadow DOM styles + design tokens
   ============================================================ */

/* --- Design Tokens (CSS Custom Properties) --- */
:root {
  --color-bg-dark: #0a1628;
  --color-bg-mid: #1a2d4a;
  --color-bg-light: #0f1f36;
  --color-accent: #e94560;
  --color-white: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.85);
  --color-text-dimmed: rgba(255, 255, 255, 0.55);
  --font-base: system-ui, -apple-system, sans-serif;
  --section-padding: 5rem 1.5rem;
  --max-content-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--color-bg-dark);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

/* --- Shared Section Styles --- */
.inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

/* --- Shared CTA Button/Link --- */
.cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.45);
}

.cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.cta:active {
  transform: translateY(0);
}

/* ============================================================
   Header / Nav
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #070d1a;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.nav-lang {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.nav-lang:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, #0a1628 0%, #1a2d4a 60%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  max-width: 12ch;
  letter-spacing: -0.02em;
}

.hero .subheadline {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin: 1.5rem 0 0 0;
}

.hero .cta {
  margin-top: 2.5rem;
}

/* ============================================================
   How It Works Section
   ============================================================ */
.how-it-works {
  background: var(--color-bg-light);
  padding: var(--section-padding);
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 3rem;
  letter-spacing: -0.01em;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.step {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.step.has-connector::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--color-text-dimmed);
  transform: translateX(100%);
}

.step-number {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  color: var(--color-white);
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Use Cases Section
   ============================================================ */
.use-cases {
  background: var(--color-bg-dark);
  padding: var(--section-padding);
}

.use-cases h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 3rem;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--color-bg-light);
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.card .scenario {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.card .outcome {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   Architecture Example Section
   ============================================================ */
.architecture-section {
  background: var(--color-bg-light);
  padding: var(--section-padding);
}

.arch-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.architecture-section h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.arch-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.arch-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-dimmed);
  font-style: italic;
  margin: 0 0 3rem;
}

/* --- Architecture Diagram --- */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 4rem;
}

.arch-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.arch-box {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.arch-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--arch-color, var(--color-accent)), transparent);
}

.arch-box:hover {
  transform: translateY(-3px);
  border-color: var(--arch-color, var(--color-accent));
}

.arch-box .arch-icon {
  font-size: 2em;
  margin-bottom: 8px;
}

.arch-box h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.arch-box p {
  font-size: 0.8rem;
  color: var(--color-text-dimmed);
  line-height: 1.4;
  margin: 0;
}

/* Box type colors */
.arch-caller { --arch-color: #0ea5e9; width: 90px; padding: 14px; }
.arch-caller .arch-icon { font-size: 1.75em; }
.arch-caller h3 { font-size: 0.8rem; }
.arch-pbx { --arch-color: #f59e0b; width: 180px; }
.arch-reception { --arch-color: #10b981; width: 260px; }
.arch-db { --arch-color: #10b981; width: 150px; }
.arch-auth { --arch-color: #f59e0b; width: 150px; }
.arch-agent { --arch-color: #8b5cf6; width: 170px; }
.arch-queue { --arch-color: #f59e0b; width: 340px; }
.arch-human { --arch-color: #0ea5e9; width: 110px; padding: 14px; }
.arch-human .arch-icon { font-size: 1.75em; }
.arch-voicemail { --arch-color: #ef4444; width: 180px; }
.arch-email { --arch-color: #10b981; width: 260px; }

.arch-callers, .arch-humans {
  display: flex;
  gap: 12px;
}

/* Connector arrow */
.arch-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--color-accent), #0ea5e9);
  position: relative;
  margin: 0 auto;
}

.arch-connector::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #0ea5e9;
}

/* Branch split */
.arch-split {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-split-svg {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

.arch-split-svg svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.arch-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 700px;
  padding: 10px 0;
}

.arch-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.arch-branch .arch-connector {
  margin: 0;
}

.arch-branch-label {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.arch-branch-free {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.arch-branch-auth {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.arch-branch-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Humans + voicemail row */
.arch-row-humans {
  gap: 15px;
  align-items: center;
}

.arch-flow-arrow {
  font-size: 1.5em;
  color: var(--color-text-dimmed);
}

.arch-timeout {
  font-size: 0.85rem;
  color: var(--color-text-dimmed);
}

/* --- Features Grid --- */
.arch-features-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--color-white);
}

.arch-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 4rem;
}

.arch-feature-card {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.arch-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.arch-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  margin-bottom: 12px;
}

.arch-fi-callers { background: rgba(14, 165, 233, 0.2); }
.arch-fi-agents { background: rgba(139, 92, 246, 0.2); }
.arch-fi-auth { background: rgba(245, 158, 11, 0.2); }
.arch-fi-queue { background: rgba(245, 158, 11, 0.2); }
.arch-fi-humans { background: rgba(14, 165, 233, 0.2); }
.arch-fi-voicemail { background: rgba(239, 68, 68, 0.2); }
.arch-fi-email { background: rgba(16, 185, 129, 0.2); }

.arch-feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.arch-feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arch-feature-card li {
  color: var(--color-text-muted);
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.85rem;
}

.arch-feature-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* --- Simplified Flow --- */
.arch-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--color-bg-dark);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.arch-flow-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75em;
  border: 2px solid;
}

.arch-fc-blue { background: rgba(14, 165, 233, 0.2); border-color: #0ea5e9; }
.arch-fc-green { background: rgba(16, 185, 129, 0.2); border-color: #10b981; }
.arch-fc-purple { background: rgba(139, 92, 246, 0.2); border-color: #8b5cf6; }
.arch-fc-orange { background: rgba(245, 158, 11, 0.2); border-color: #f59e0b; }
.arch-fc-red { background: rgba(239, 68, 68, 0.2); border-color: #ef4444; }

.arch-flow-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: 90px;
  text-align: center;
}

.arch-flow .arch-flow-arrow {
  font-size: 1.25em;
  color: var(--color-accent);
}

.arch-flow-arrow-red {
  color: #ef4444 !important;
}

/* Flow email output */
.arch-flow-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.arch-flow-email-arrow {
  font-size: 1.5em;
  color: #10b981;
  animation: arch-bounce 1.5s infinite;
}

@keyframes arch-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.arch-flow-email-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border: 1px solid #10b981;
  border-radius: 10px;
  padding: 14px 20px;
}

.arch-flow-email-icon {
  font-size: 1.5em;
}

.arch-flow-email-text {
  font-weight: 500;
  font-size: 0.9rem;
}

.arch-flow-email-details {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Architecture Responsive --- */
@media (max-width: 768px) {
  .architecture-section {
    padding: 3rem 1rem;
  }

  .arch-branches {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .arch-split-svg {
    display: none;
  }

  .arch-branch::before {
    content: '';
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, var(--color-accent), #0ea5e9);
    margin: 0 auto;
  }

  .arch-row-humans {
    flex-direction: column;
  }

  .arch-flow-arrow, .arch-timeout {
    display: none;
  }

  .arch-flow {
    flex-direction: column;
    gap: 12px;
  }

  .arch-flow .arch-flow-arrow {
    display: none;
  }

  .arch-flow-email-box {
    flex-direction: column;
    text-align: center;
  }

  .arch-flow-email-details {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 8px;
  }
}

@media (max-width: 480px) {
  .arch-callers, .arch-humans {
    flex-wrap: wrap;
    justify-content: center;
  }

  .arch-branch-row {
    flex-direction: column;
    align-items: center;
  }

  .arch-queue {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================================
   Social Proof Section
   ============================================================ */
.social-proof {
  background: var(--color-bg-light);
  padding: var(--section-padding);
}

.social-proof h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 3rem;
  letter-spacing: -0.01em;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.metric {
  text-align: center;
  min-width: 120px;
}

.metric-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   Pricing Section
   ============================================================ */
.pricing {
  background: var(--color-bg-dark);
  padding: var(--section-padding);
}

.pricing > .inner {
  max-width: 1200px;
}

.pricing h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.pricing-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.pricing-card-highlighted {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.2);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card-highlighted:hover {
  transform: scale(1.03) translateY(-3px);
  border-color: var(--color-accent);
}

.pricing-popular {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0;
}

.pricing-header {
  background: linear-gradient(135deg, #1a2d4a, #0f1f36);
  padding: 1.25rem;
  text-align: center;
}

.pricing-header-highlighted {
  background: linear-gradient(135deg, var(--color-accent), #b8354d);
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.pricing-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-body .pricing-features {
  flex: 1;
}

.pricing-body .cta,
.pricing-body .pricing-cta {
  margin-top: auto;
}

.pricing-price {
  text-align: center;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-currency {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-left: 4px;
  vertical-align: super;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--color-text-dimmed);
  margin-left: 2px;
}

.pricing-minutes {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.pricing-min-value {
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.1rem;
}

.pricing-extra {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-dimmed);
  margin-top: 2px;
}

.pricing-trial {
  text-align: center;
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.3);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  width: fit-content;
}

.pricing-custom {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 1rem 0 0.5rem;
}

.pricing-custom-desc {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-dimmed);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pricing-cta:hover {
  border-color: var(--color-accent);
  background: rgba(233, 69, 96, 0.1);
}

.pricing-card-highlighted .cta {
  width: 100%;
  text-align: center;
}

/* Pricing responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card-highlighted {
    transform: none;
  }

  .pricing-card-highlighted:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq {
  background: var(--color-bg-dark);
  padding: var(--section-padding);
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 3rem;
  letter-spacing: -0.01em;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  line-height: 1.4;
}

.faq-item button:hover {
  color: var(--color-accent);
}

.faq-item button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

button[aria-expanded="true"] .icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.panel {
  overflow: hidden;
}

.panel p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
  padding: 0 0 1.25rem;
  max-width: 640px;
}

/* ============================================================
   CTA Banner Section
   ============================================================ */
.cta-banner {
  background: var(--color-bg-mid);
  padding: var(--section-padding);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
}

/* ============================================================
   Demo Form Section
   ============================================================ */
.demo-form {
  background: var(--color-bg-light);
  padding: var(--section-padding);
}

.demo-form h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.form-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

#contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
}

.form-group input {
  background: #0d1b2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--color-white);
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-text-dimmed);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-accent);
}

#contact-form .cta {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

.form-message {
  max-width: 480px;
  margin: 1.5rem auto 0;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

.form-message.success p {
  color: #4ade80;
  font-weight: 500;
  margin: 0;
}

.form-message.error p {
  color: #f87171;
  font-weight: 500;
  margin: 0;
}

.privacy-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-dimmed);
  margin: 1.5rem auto 0;
  max-width: 480px;
  line-height: 1.5;
}

.demo-form .badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #070d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--section-padding);
  color: var(--color-text-muted);
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
}

.tagline {
  font-size: 0.875rem;
  color: var(--color-text-dimmed);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.contact a {
  display: block;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  transition: opacity 0.15s ease;
}

.contact a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.links a {
  display: block;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: opacity 0.15s ease;
}

.links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.social-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* --- Badges (shared between demo-form and footer) --- */
.badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  padding: 0.375rem 0.875rem;
  width: fit-content;
}

.badge .shield {
  font-size: 0.875rem;
  line-height: 1;
}

/* --- Bottom Bar --- */
.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-dimmed);
}

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

/* Tablet and below */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .how-it-works,
  .use-cases,
  .social-proof,
  .faq,
  .cta-banner,
  .demo-form {
    padding: 3rem 1rem;
  }

  footer {
    padding: 3rem 1rem;
  }

  .form-group input {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step.has-connector::after {
    display: none;
  }

  .step {
    max-width: 100%;
  }

  footer .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .metrics {
    gap: 2rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .demo-form {
    padding: 2.5rem 0.75rem;
  }

  #contact-form {
    padding: 0 0.5rem;
  }
}