/* ===== Coretrace Landing Page ===== */

/* --- Design Tokens --- */
:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-subtle: #E0E7FF;
  --ai-accent: #8B5CF6;
  --ai-accent-light: #F5F3FF;
  --ai-accent-subtle: #EDE9FE;
  --success: #059669;
  --success-light: #D1FAE5;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --surface: #FFFFFF;
  --background: #F9FAFB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1 { font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s ease;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  padding: 12px 28px;
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-primary-lg {
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 32px;
  font-size: 17px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-primary-lg:hover { background: var(--primary-hover); }

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  padding: 12px 28px;
  border: 1px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary-light); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--primary-hover); }

.btn-inverted {
  background: #FFFFFF;
  color: var(--primary);
  padding: 14px 32px;
  font-size: 17px;
}
.btn-inverted:hover { background: var(--primary-light); }

.btn-full { width: 100%; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Inline logo for use in headings and tables */
.inline-logo {
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}
.inline-logo .core { color: var(--text-primary); font-weight: 700; }
.inline-logo .chevrons { color: var(--primary); font-weight: 400; }
.inline-logo .trace { color: var(--primary); font-weight: 400; }

.comparison .section-header .inline-logo {
  font-size: 44px;
}

.comparison-table th .inline-logo {
  font-size: 18px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo .core { color: var(--text-primary); font-weight: 700; }
.nav-logo .chevrons { color: var(--primary); margin: 0 3px; font-weight: 400; }
.nav-logo .trace { color: var(--primary); font-weight: 400; }

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text-primary); }

.nav-cta { margin-left: 8px; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-primary);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu .nav-link {
  font-size: 17px;
  padding: 8px 0;
}

/* --- Hero --- */
.hero {
  padding: 140px 0 96px;
  background: var(--surface);
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-subhead {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-supporting {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  background: var(--background);
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
}

.hero-img-single {
  width: 100%;
}

/* --- Problem --- */
.problem {
  padding: 96px 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.problem-card-icon {
  margin-bottom: 16px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
}

.problem-card-icon svg {
  width: 36px;
  height: 36px;
}

.problem-card h4 { margin-bottom: 12px; }

.problem-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.problem-closing {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 640px;
  margin: 0 auto;
}

/* --- How It Works --- */
.how-it-works {
  padding: 96px 0;
  background: var(--background);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.step {
  text-align: center;
  display: grid;
  grid-template-rows: auto 280px auto auto;
  justify-items: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-illustration {
  width: 120px;
  height: 120px;
  background: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step-illustration svg {
  width: 52px;
  height: 52px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

/* --- Sample Output --- */
.sample-output {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.sample-app {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

/* AI Summary */
.sample-summary {
  background: #F5F3FF;
  border-bottom: 1px solid #EDE9FE;
  padding: 20px 28px;
}

.sample-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sample-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ai-accent);
}

.sample-summary-badge svg { flex-shrink: 0; }

.sample-copy-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--ai-accent);
  cursor: default;
  padding: 4px 10px;
  border: 1px solid #DDD6FE;
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
}

.sample-summary-text {
  font-size: 14px;
  color: #5B21B6;
  line-height: 1.65;
}

.sample-summary-text strong { font-weight: 600; }

/* KPI Cards */
.sample-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.sample-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.sample-kpi-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sample-kpi-header svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.sample-kpi-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.sample-kpi-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Section Label */
.sample-section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 20px 28px 0;
  margin-bottom: 0;
}

/* Theme Accordion */
.sample-themes {
  padding: 12px 28px 24px;
}

.sample-theme-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sample-theme-row:last-child { margin-bottom: 0; }

.sample-theme-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: default;
  background: var(--surface);
}

.sample-toggle {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.sample-theme-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.sample-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  min-width: 80px;
}

.sample-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.sample-bar-loss { background: var(--danger); }

.sample-theme-stat {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Expanded Theme Body */
.sample-theme-body {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sample-entry {}

.sample-entry-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 8px;
}

.sample-entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sample-pill {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.sample-entry-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  cursor: default;
}

.sample-entry-deal {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sample-closing {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 32px;
}

/* Responsive — sample output */
@media (max-width: 768px) {
  .sample-kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 20px; }
  .sample-summary { padding: 16px 20px; }
  .sample-section-label { padding: 16px 20px 0; }
  .sample-themes { padding: 10px 20px 20px; }
  .sample-theme-header { padding: 12px 14px; gap: 8px; }
  .sample-theme-body { padding: 14px 16px; }
  .sample-entry-meta { gap: 6px; }
}

/* --- Browser Frame (How It Works Steps 1 & 3) --- */
.step-browser-frame {
  width: 100%;
  max-width: 320px;
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.step-browser-frame img {
  width: 100%;
  display: block;
}

/* --- Phone Frame (How It Works Step 2) --- */
.step-phone-frame {
  width: 130px;
  height: 260px;
  align-self: center;
  background: var(--text-primary);
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 56px;
  height: 5px;
  background: var(--text-primary);
  border-radius: 3px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.step-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  display: block;
}

/* --- Features --- */
.features {
  padding: 96px 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 24px;
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h4 { margin-bottom: 8px; }

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- AI Differentiation --- */
.ai-diff {
  padding: 96px 0;
  background: var(--ai-accent-light);
}

.ai-diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ai-diff-content h2 { margin-bottom: 16px; }

.ai-diff-intro {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.ai-differentiator {
  margin-bottom: 28px;
}

.ai-differentiator h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sparkle {
  color: var(--ai-accent);
  font-size: 18px;
}

.ai-differentiator p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 26px;
}

.ai-diff-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ai-screenshot-wrapper {
  border-radius: 12px;
  border: 2px solid var(--ai-accent);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.12);
  overflow: hidden;
  background: var(--surface);
}

.ai-screenshot-wrapper img {
  width: 100%;
  display: block;
}

/* --- Pricing --- */
.pricing {
  padding: 96px 0;
  background: var(--surface);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  background: var(--background);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-toggle-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}
.pricing-toggle-btn.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 28px;
}

.pricing-price {
  margin-bottom: 8px;
  min-height: 58px;
  display: flex;
  align-items: baseline;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-annual-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 21px;
  line-height: 1.5;
}

.pricing-limits {
  background: var(--background);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

.pricing-limits div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.pricing-limits .limit-label { color: var(--text-secondary); }
.pricing-limits .limit-value { font-weight: 500; color: var(--text-primary); }

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-features-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  min-height: 18px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-features li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-value-prop {
  font-size: 13px;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 20px;
  min-height: 36px;
}

/* --- Comparison --- */
.comparison {
  padding: 96px 0;
  background: var(--background);
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th {
  background: var(--background);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  text-align: center;
  white-space: nowrap;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  line-height: 1.5;
  text-align: center;
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background: var(--primary-light);
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Final CTA --- */
.final-cta {
  padding: 96px 0;
  background: var(--primary);
  text-align: center;
}

.final-cta h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--primary-subtle);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.final-cta .supporting {
  color: #C7D2FE;
  font-size: 14px;
  margin-top: 16px;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  background: var(--text-primary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo { margin-bottom: 8px; }
.footer-brand .nav-logo .core { color: #FFFFFF; }
.footer-brand .nav-logo .chevrons { color: #818CF8; }
.footer-brand .nav-logo .trace { color: #818CF8; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #374151;
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-content { text-align: center; }
  .hero-content h1, .hero-subhead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }

  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .ai-diff-inner { grid-template-columns: 1fr; }
  .ai-diff-visual { order: -1; }
  .ai-differentiator p { padding-left: 0; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .container { padding: 0 20px; }

  .hero { padding: 100px 0 64px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-tagline { display: none; }

  .problem-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}
