/* ============================================
   FEEG.ai — Design System & Styles
   Dark theme, green accent, resend.com-inspired
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg: #000000;
  --bg-subtle: #0a0a0a;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.15);

  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #6c6c6c;

  --green: #00d97e;
  --green-dim: rgba(0, 217, 126, 0.15);
  --green-glow: rgba(0, 217, 126, 0.3);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  --max-w: 1200px;
  --section-py: clamp(3rem, 8vw, 6rem);
  --px: clamp(1.25rem, 4vw, 2rem);

  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Gradient text effect (resend-style) */
.gradient-text {
  background: linear-gradient(to bottom right, #fff 30%, rgba(255, 255, 255, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-text {
  color: var(--green);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

/* Decorative gradient divider between sections */
.section-divider {
  width: 40%;
  max-width: 480px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 217, 126, 0.4) 50%,
    transparent 100%
  );
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 4rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(104deg, rgba(253, 253, 253, 0.06) 5%, rgba(0, 217, 126, 0.1) 100%);
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--green);
  color: #000 !important;
  box-shadow: 0 0 20px var(--green-glow);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 2rem var(--px);
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  max-height: 950px;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 217, 126, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: var(--green);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: none;
}

.btn-primary:hover {
  background: #00f08a;
  box-shadow: 0 0 30px var(--green-glow), 0 0 60px rgba(0, 217, 126, 0.15);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  color: var(--text-primary);
}

/* Hero code snippet */
.hero-code {
  margin-top: 3rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(to bottom, #111, #080808);
}

.hero-code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.hero-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-bright);
}

.hero-code-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.hero-code pre {
  padding: 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hero-code code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Syntax highlighting */
.code-comment { color: #6c6c6c; }
.code-keyword { color: #c792ea; }
.code-string { color: var(--green); }
.code-func { color: #82aaff; }
.code-param { color: #f0f0f0; }
.code-op { color: #89ddff; }

/* ============================================
   LOGO BAR
   ============================================ */
.logos {
  padding: 3rem 0 0;
  text-align: center;
}

.logos p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 0.8;
}

.logo-item svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

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

.card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--green-dim);
  color: var(--green);
  font-size: 1.25rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.step code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--green);
  background: var(--green-dim);
  padding: 0.125em 0.375em;
  border-radius: 4px;
}

/* Step code block */
.step-code {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  overflow-x: auto;
}

.step-code code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: none;
  padding: 0;
}

/* ============================================
   PROOF POINTS / STATS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(0, 217, 126, 0.03), transparent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

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

.stat-detail {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.proof-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.proof-footer strong {
  color: var(--text-secondary);
}

/* Live savings counter */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 217, 126, 0.2);
  margin-bottom: 2rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.live-counter span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--green);
  font-weight: 500;
}

/* ============================================
   QUALITY GUARANTEE
   ============================================ */
.quality-section {
  text-align: center;
}

.quality-content {
  max-width: 680px;
  margin: 0 auto;
}

.quality-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.quality-highlight {
  display: inline-block;
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 217, 126, 0.2);
  background: var(--green-dim);
  margin-top: 1rem;
}

.quality-highlight p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}

/* ============================================
   PLATFORM VISION
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.3s ease;
}

.platform-card:hover {
  border-color: var(--border-bright);
}

.platform-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.badge-live {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(0, 217, 126, 0.3);
}

.badge-soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.platform-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.platform-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-highlight {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.pricing-highlight p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.pricing-highlight strong {
  color: var(--green);
}

.pricing-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table td {
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

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

.pricing-table td:last-child {
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-display);
}

.pricing-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.pricing-detail {
  flex: 0 1 280px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-detail .check {
  color: var(--green);
  font-size: 1.125rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow-x: auto;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

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

.comparison-table th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table th:first-child {
  width: 200px;
}

/* Highlight FEEG column */
.comparison-table th.highlight {
  color: var(--green);
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

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

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: 1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  text-align: center;
  position: relative;
  padding: var(--section-py) 0;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 217, 126, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
}

/* Decorative gradient line at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 217, 126, 0.4),
    transparent
  );
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo span {
  color: var(--green);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    max-height: none;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ============================================
   CONTENT PAGES (Privacy, Docs)
   ============================================ */
.page-content {
  padding-top: 7rem;
  padding-bottom: var(--section-py);
  min-height: 100vh;
}

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

.prose h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #00f08a;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--green);
  background: var(--green-dim);
  padding: 0.125em 0.375em;
  border-radius: 4px;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.page-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Docs — Quick Start Steps */
.docs-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.docs-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.docs-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-step h3 {
  font-size: 1.0625rem;
  margin-top: 0;
  margin-bottom: 0.375rem;
}

.docs-step p {
  margin-bottom: 0;
}

/* Docs — Code blocks (reuse hero-code) */
.prose .hero-code {
  margin: 1.25rem 0 1.5rem;
  max-width: 100%;
}

/* Docs — Routing table */
.docs-routing-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.docs-routing-row {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.docs-routing-row code {
  font-size: 0.9375rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.docs-routing-row p {
  margin-bottom: 0;
}

/* Docs — FAQ */
.docs-faq {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.docs-faq-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.docs-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.docs-faq-item h3 {
  margin-top: 0;
}

.docs-faq-item p {
  margin-bottom: 0;
}

/* Selection color */
::selection {
  background: rgba(0, 217, 126, 0.3);
  color: #fff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
