/* ═══════════════════════════════════════════════════════════════════════════
   WAVEFORGE.AI — SHARED DESIGN SYSTEM
   One stylesheet. Every page. Billion-dollar cohesion.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Ocean-inspired palette */
  --ocean-deep: #0a0e1a;
  --ocean-dark: #0d1424;
  --ocean-mid: #111b30;
  --ocean-surface: #162240;
  --ocean-light: #1a2a4a;

  /* Teal/Wave accents */
  --wave-start: #0891b2;
  --wave-mid: #06b6d4;
  --wave-end: #22d3ee;
  --wave-bright: #67e8f9;
  --wave-glow: rgba(6,182,212,0.15);

  /* Bold accent for CTAs */
  --cta-primary: #0891b2;
  --cta-hover: #06b6d4;
  --cta-glow: rgba(8,145,178,0.4);

  /* Text */
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-muted: #475569;

  /* Borders */
  --border-subtle: rgba(255,255,255,0.06);
  --border-visible: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.15);

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px;

  /* Widths */
  --content-max: 1100px;
  --content-narrow: 800px;
  --content-tight: 640px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET + BASE
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--ocean-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(6,182,212,0.3); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */
.display-hero {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.display-section {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.heading-large {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.heading-medium {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.body-large {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
}

.body-medium {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.body-small {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.overline {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave-mid);
}

.caption {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

.gradient-text {
  background: linear-gradient(135deg, var(--wave-start) 0%, var(--wave-mid) 40%, var(--wave-end) 70%, var(--wave-bright) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--space-24) var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}

.section-full {
  padding: var(--space-24) var(--space-6);
  position: relative;
}

.section-full > .section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .overline {
  display: block;
  margin-bottom: var(--space-4);
}

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

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-visible), transparent);
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPONENTS — Buttons
   ═══════════════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) 36px;
  background: var(--cta-primary);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--cta-glow), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary-large {
  padding: 18px 48px;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) 36px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  font-weight: 600;
  border: 1px solid var(--border-visible);
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--wave-mid);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPONENTS — Learn More Links
   ═══════════════════════════════════════════════════════════════════════════ */
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wave-mid);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s, gap 0.2s;
  text-decoration: none;
}

.learn-more:hover {
  color: var(--wave-bright);
  gap: 10px;
}

.learn-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPONENTS — Cards
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(6,182,212,0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

.hero-animate {
  opacity: 0;
  transform: scale(0.97) translateY(20px);
  filter: blur(6px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1s cubic-bezier(0.16,1,0.3,1),
              filter 1s cubic-bezier(0.16,1,0.3,1);
}

.hero-animate.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cta-glow-pulse {
  0%, 100% { box-shadow: 0 0 40px var(--cta-glow), 0 4px 16px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 60px var(--cta-glow), 0 4px 24px rgba(0,0,0,0.3); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-animate { transition-duration: 0.01s !important; }
  * { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  z-index: 100;
  background: rgba(10,14,26,0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--wave-start) 0%, var(--wave-end) 100%);
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

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

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

.nav-cta {
  padding: var(--space-2) var(--space-5);
  background: var(--cta-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--cta-hover);
  box-shadow: 0 0 20px var(--cta-glow);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HERO (shared across sub-pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 140px var(--space-6) var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  width: 1000px;
  height: 600px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(8,145,178,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.page-hero .subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE CONTENT (shared across sub-pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-content {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-24);
}

.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
  margin-top: var(--space-16);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.page-content strong {
  color: var(--text-primary);
}

/* page-content--wide for examples page */
.page-content--wide {
  max-width: var(--content-max);
}

.page-content--wide > p {
  max-width: var(--content-narrow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BLOCK (shared bottom CTA on sub-pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-block {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  margin-top: var(--space-16);
  border-top: 1px solid var(--border-subtle);
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta-block p {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  font-size: 1.0625rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER (rich version — shared across all pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--space-16);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color 0.2s;
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: var(--space-8); }
  .footer-links { gap: var(--space-8); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMING SOON BADGE
   ═══════════════════════════════════════════════════════════════════════════ */
.badge-coming-soon {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wave-mid);
  background: var(--wave-glow);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-full);
  vertical-align: middle;
  margin-left: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(6,182,212,0.15);
}

.faq-q {
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  user-select: none;
}

.faq-q h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-q .chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--text-tertiary);
  transition: transform 0.3s;
}

.faq-item.open .faq-q .chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 var(--space-8) var(--space-8);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */
.price-card {
  background: var(--ocean-dark);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--space-8) 0;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wave-start), var(--wave-end));
}

.price-dollar {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wave-mid);
  vertical-align: super;
}

.price-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.price-period {
  display: block;
  color: var(--text-tertiary);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--space-8);
}

.price-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.price-features li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.price-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-10) 0;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table td {
  color: var(--text-secondary);
}

.compare-table td:last-child {
  color: var(--wave-mid);
  font-weight: 600;
}

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

@media (max-width: 640px) {
  .compare-table { font-size: 0.8125rem; }
  .compare-table th, .compare-table td { padding: var(--space-3); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AFTER-BLOCK (pricing ongoing costs)
   ═══════════════════════════════════════════════════════════════════════════ */
.after-block {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.after-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.after-block .item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.after-block .item span:last-child {
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REFERRAL BLOCK
   ═══════════════════════════════════════════════════════════════════════════ */
.referral-block {
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin: var(--space-12) 0;
}

.referral-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--success);
}

.referral-block p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 var(--space-4);
}

.referral-math {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.referral-math span {
  color: var(--text-primary);
}

.referral-math .op {
  color: var(--text-muted);
  font-weight: 400;
}

.referral-free {
  color: var(--success) !important;
  background: rgba(34,197,94,0.1);
  padding: 2px 12px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP BLOCKS (how page)
   ═══════════════════════════════════════════════════════════════════════════ */
.step-block {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin: var(--space-8) 0;
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wave-start), var(--wave-end));
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

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

.step-body .time-badge {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 4px 12px;
  background: var(--wave-glow);
  border-radius: var(--radius-sm);
  color: var(--wave-mid);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .step-block { flex-direction: column; align-items: center; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCAFFOLD BLOCK (ownership page)
   ═══════════════════════════════════════════════════════════════════════════ */
.scaffold-block {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin: var(--space-10) 0;
}

.scaffold-block p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARE GRID (ownership page before/after)
   ═══════════════════════════════════════════════════════════════════════════ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.compare-col {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}

.compare-col.without {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.12);
}

.compare-col.with {
  background: rgba(6,182,212,0.04);
  border: 1px solid rgba(6,182,212,0.15);
}

.compare-col h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.compare-col.without h3 { color: var(--danger); }
.compare-col.with h3 { color: var(--wave-mid); }

.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.compare-col li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-10) 0;
  text-align: center;
}

.stat { padding: var(--space-6); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--wave-mid);
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: var(--space-2);
  display: block;
}

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS (community, forge pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.feature-card {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(6,182,212,0.2);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

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

@media (max-width: 768px) {
  .feature-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE GRID (forge page — 2-col)
   ═══════════════════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.feature-grid .feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wave-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.feature-grid .feature-card .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--wave-mid);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLYWHEEL (community page)
   ═══════════════════════════════════════════════════════════════════════════ */
.flywheel {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin: var(--space-10) 0;
}

.flywheel-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.flywheel-steps li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.flywheel-steps li .arrow {
  color: var(--wave-mid);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRAIT GRID (sheli page)
   ═══════════════════════════════════════════════════════════════════════════ */
.trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.trait-card {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color 0.3s;
}

.trait-card:hover {
  border-color: rgba(6,182,212,0.2);
}

.trait-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--wave-mid);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   EXAMPLE BLOCK (sheli page)
   ═══════════════════════════════════════════════════════════════════════════ */
.example-block {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin: var(--space-10) 0;
}

.example-block .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave-mid);
  margin-bottom: var(--space-4);
}

.example-block blockquote {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--wave-start);
  padding-left: var(--space-6);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROACTIVE LIST (sheli page)
   ═══════════════════════════════════════════════════════════════════════════ */
.proactive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.proactive-list li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  padding: var(--space-4) var(--space-6);
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.proactive-list li::before {
  content: '\201C';
  color: var(--wave-mid);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOCKUP (forge page)
   ═══════════════════════════════════════════════════════════════════════════ */
.mockup {
  background: var(--ocean-dark);
  border: 1px solid var(--border-visible);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: var(--space-12) 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

.mockup-chrome {
  height: 40px;
  background: var(--ocean-mid);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  gap: var(--space-2);
  position: relative;
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.mockup-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mockup-body {
  padding: var(--space-6);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEMO GRID (examples page)
   ═══════════════════════════════════════════════════════════════════════════ */
.persona-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave-mid);
  margin-bottom: var(--space-3);
  display: block;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.demo-card {
  background: var(--ocean-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color 0.3s;
}

.demo-card:hover {
  border-color: rgba(6,182,212,0.2);
}

.demo-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.demo-card .pain {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

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

.wow-block {
  background: rgba(6,182,212,0.04);
  border: 1px solid rgba(6,182,212,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin: var(--space-8) 0;
}

.wow-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--wave-mid);
}

.wow-block p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .demo-grid { grid-template-columns: 1fr; }
}
