/* ==========================================================================
   FoundByChat — Enterprise B2B SaaS Design System
   Clean Google-grade clarity, Bitgate burnt-orange brand
   ========================================================================== */

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-muted: #f1f3f4;

  --text-primary: #202124;
  --text-secondary: #3c4043;
  --text-tertiary: #5f6368;
  --text-inverse: #ffffff;

  --border-light: #e8eaed;
  --border-subtle: #dadce0;

  /* Bitgate / FoundByChat signature orange */
  --brand: #e8590c;
  --brand-hover: #d94e08;
  --brand-active: #bf4405;
  --brand-subtle: #fff4ed;
  --brand-border: #fcc4a3;
  --brand-100: #ffe9de;
  --brand-050: #fff7f2;

  --green: #1e8e3e;
  --green-bg: #e6f4ea;
  --red: #d93025;
  --red-bg: #fce8e6;
  --yellow: #f9ab00;
  --yellow-bg: #fef7e0;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.08);
  --shadow-card: 0 1px 3px rgba(60, 64, 67, 0.1), 0 2px 8px rgba(60, 64, 67, 0.06);
  --shadow-lift: 0 4px 12px rgba(60, 64, 67, 0.12), 0 8px 24px rgba(60, 64, 67, 0.08);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --max-width: 1200px;
  --section-pad: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  font-size: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 9px 0;
  text-align: center;
}

.announcement-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announcement-tag {
  background-color: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2.5px 9px;
  border-radius: var(--radius-pill);
}

.announcement-text {
  font-weight: 500;
}

.announcement-arrow {
  color: var(--brand);
  font-weight: 600;
  transition: transform 0.2s;
}

.announcement-inner:hover .announcement-arrow {
  transform: translateX(3px);
}

.announcement-inner:hover .announcement-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lockup {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.lockup .dot {
  color: var(--brand);
}

.brand-badge {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0 12px;
  position: relative;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--brand);
  border-radius: 3px 3px 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  transition: color 0.15s ease;
}

.header-signin:hover {
  color: var(--brand);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 2px 8px rgba(232, 89, 12, 0.32);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--brand);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background-color: var(--brand-050);
  border-color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background-color: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-eyebrow .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brand);
  border-radius: 50%;
}

.hero-title {
  text-wrap: balance;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--brand);
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  color: var(--green);
}

/* ---------- Dashboard preview card ---------- */
.dashboard-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.dash-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dash-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  background-color: var(--brand-subtle);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.scenario-selector {
  display: flex;
  align-items: center;
  background-color: var(--bg-subtle);
  padding: 7px 12px;
  gap: 6px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.scenario-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.scenario-tab:hover {
  color: var(--text-primary);
}

.scenario-tab.active {
  background-color: #ffffff;
  color: var(--brand);
  border-color: var(--border-subtle);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
}

.metric-tile {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 3px;
}

.metric-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-value.sm {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.metric-sub, .metric-delta {
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
}

.metric-sub.down, .metric-delta.down {
  color: var(--red);
}

.dash-body {
  padding: 16px 18px;
}

.query-inspect-banner {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.query-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.query-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.engine-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  white-space: nowrap;
}

.engine-badge.chatgpt { color: #10a37f; border-color: rgba(16, 163, 127, 0.35); }
.engine-badge.perplexity { color: #0d9488; border-color: rgba(13, 148, 136, 0.35); }
.engine-badge.aio { color: #b45309; border-color: rgba(180, 83, 9, 0.35); }

.fanout-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.f-chip {
  background-color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.substrate-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

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

.substrate-table th {
  background-color: var(--bg-subtle);
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
}

.substrate-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

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

.substrate-table tr.highlight {
  background-color: var(--brand-050);
  font-weight: 600;
}

.substrate-table tr.miss {
  background-color: var(--red-bg);
}

.you-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.status-pill.cited {
  background-color: var(--green-bg);
  color: var(--green);
}

.status-pill.omitted {
  background-color: var(--bg-muted);
  color: var(--text-tertiary);
}

.diagnostic-box {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 13px;
}

.diag-title {
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.diag-title.success { color: var(--green); }
.diag-title.warning { color: var(--red); }

.diag-quote {
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--brand-border);
  font-style: italic;
}

.diag-quote strong {
  font-style: normal;
  color: var(--text-primary);
  background: var(--brand-100);
  padding: 1px 6px;
  border-radius: 3px;
}

.diagnostic-box.is-warning .diag-quote strong {
  background: #fee2e2;
}

.diag-fix {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
}

/* ---------- Stat ribbon ---------- */
.stat-ribbon {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.stat-item {
  border-left: 3px solid var(--border-light);
  padding-left: 16px;
}

.stat-item:first-child {
  border-left-color: var(--brand);
}

.stat-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ---------- Section headers ---------- */
.sec-header {
  margin-bottom: 44px;
}

.sec-header.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.sec-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}

.sec-title {
  text-wrap: balance;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.sec-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- Highlights ---------- */
.sec-highlights {
  padding: var(--section-pad) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.highlight-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: all 0.15s ease;
}

.highlight-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.hl-icon-wrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-subtle);
  color: var(--brand);
}

.hl-icon-wrap.green { background-color: var(--green-bg); color: var(--green); }
.hl-icon-wrap.yellow { background-color: var(--yellow-bg); color: var(--yellow); }
.hl-icon-wrap.purple { background-color: #f3e8ff; color: #7e22ce; }

.hl-content h3 {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
  line-height: 1.35;
}

.hl-content p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Testimonial ---------- */
.sec-quote-bar {
  padding: 56px 0;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.quote-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 44px;
  position: relative;
}

.quote-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background-color: var(--brand);
}

.quote-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.quote-text strong {
  font-weight: 600;
  color: var(--green);
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-author {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.quote-author strong {
  color: var(--text-primary);
  display: block;
  font-size: 14.5px;
}

/* ---------- Two-column tout ---------- */
.sec-tout {
  padding: var(--section-pad) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

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

.tout-content p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.tout-content .btn {
  margin-top: 8px;
}

.tout-card-viz {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-flow-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-flow-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.step-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.step-info p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---------- Engines ---------- */
.sec-engines {
  padding: var(--section-pad) 0;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.engines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.engine-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}

.engine-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.engine-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.engine-icon.chatgpt { background-color: #f0fdf4; color: #10a37f; }
.engine-icon.perplexity { background-color: #f0fdfa; color: #0d9488; }
.engine-icon.aio { background-color: #fffbeb; color: #b45309; }
.engine-icon.claude { background-color: #fef3c7; color: #d97706; }

.engine-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.engine-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.engine-meta-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  display: inline-block;
  align-self: flex-start;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

/* ---------- Comparison ---------- */
.sec-comparison {
  padding: var(--section-pad) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th.col-highlight {
  background-color: var(--brand-subtle);
  color: var(--brand);
}

.comparison-table td {
  padding: 15px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

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

.comparison-table td.col-highlight {
  background-color: var(--brand-050);
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table td strong {
  color: var(--text-primary);
}

.cap-sub {
  display: block;
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.check {
  color: var(--green);
  font-weight: 600;
}

.cross {
  color: var(--text-tertiary);
}

/* ---------- Pricing ---------- */
.sec-pricing {
  padding: var(--section-pad) 0;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  position: relative;
}

.pricing-card.featured {
  border: 1.5px solid var(--brand);
  box-shadow: 0 4px 20px rgba(232, 89, 12, 0.14);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 22px;
  min-height: 40px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-tertiary);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.pricing-features li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.sec-faq {
  padding: var(--section-pad) 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-subtle);
}

.faq-item.open {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-btn svg {
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-btn svg {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- Bottom CTA ---------- */
.sec-bottom-cta {
  padding: var(--section-pad) 0;
  background-color: var(--bg-subtle);
  text-align: center;
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 52px 48px;
}

.cta-box h2 {
  text-wrap: balance;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.cta-btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 52px 0 26px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 40px;
}

.footer-col .lockup {
  margin-bottom: 12px;
}

.footer-col > p {
  max-width: 320px;
  line-height: 1.6;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .tout-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-item:nth-child(odd) { border-left-color: var(--border-light); }
  .highlights-grid { grid-template-columns: 1fr; }
  .engines-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .hero { padding: 48px 0; }
  .hero-title { font-size: 32px; }
  .sec-title { font-size: 27px; }
  .cta-box h2 { font-size: 26px; }
  .site-nav { display: none; }
  .header-inner { gap: 12px; }
  .dash-metrics { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .quote-box { padding: 28px 24px; }
  .cta-box { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .announcement-text { max-width: 70vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
