/* ═══════════════════════════════════════════════════════
   WordForge — Global Styles
   Dark editorial forge aesthetic
═══════════════════════════════════════════════════════ */

:root {
  --bg: #0d0d0f;
  --surface: #161618;
  --surface-raised: #1c1c1e;
  --border: #2a2a2e;
  --text-primary: #f0ede8;
  --text-secondary: #8a8a8f;
  --text-muted: #5a5a5e;
  --accent: #e8a840;
  --accent-dim: rgba(232, 168, 64, 0.12);
  --accent-glow: rgba(232, 168, 64, 0.06);
  --green: #4ade80;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordmark--footer { font-size: 16px; }

.site-nav {
  display: flex;
  gap: 40px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,168,64,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,168,64,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-ember {
  position: absolute;
  bottom: -20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,168,64,0.12) 0%, rgba(232,168,64,0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: ember-pulse 4s ease-in-out infinite;
}

@keyframes ember-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

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

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,168,64,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(232,168,64,0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.headline-accent {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(232,168,64,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  letter-spacing: 0.02em;
}

/* ── Hero Visual — Forge Cards ── */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.forge-card:hover { transform: translateX(-4px); }

.forge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.forge-card--edit { border-color: rgba(232,168,64,0.25); }
.forge-card--rank { border-color: rgba(74,222,128,0.2); background: var(--surface-raised); }

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-text-line {
  height: 10px;
  background: var(--surface-raised);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 100%;
}

.card-text-line.short { width: 65%; }

.card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.card-status--done { color: var(--accent); }

.rank-position {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.rank-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  margin-top: 8px;
}

.rank-bar {
  flex: 1;
  background: var(--border);
  border-radius: 3px;
  transition: background 0.3s;
}

.rank-bar--active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232,168,64,0.4);
}

/* ── Manifesto ── */
.manifesto {
  padding: 120px 48px;
  position: relative;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.strikethrough {
  text-decoration: line-through;
  color: var(--text-muted);
  font-style: italic;
}

.manifesto-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 64px;
}

.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

.manifesto-answer {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.answer-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.answer-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Tiers ── */
.tiers {
  padding: 100px 48px;
  background: var(--surface);
}

.tiers-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.tier-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.tier-card:hover {
  border-color: rgba(232,168,64,0.3);
  transform: translateY(-4px);
}

.tier-card--featured {
  border-color: var(--accent);
  background: var(--surface-raised);
}

.tier-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(232,168,64,0.1);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.tier-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.tier-features {
  margin-bottom: 24px;
}

.tier-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tier-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.tier-suitable {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.tiers-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 48px;
}

/* ── Differentiators ── */
.differentiators {
  padding: 100px 48px;
}

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

.diff-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 64px;
}

.diff-card {
  background: var(--surface);
  padding: 40px;
  transition: background 0.3s;
}

.diff-card:hover { background: var(--surface-raised); }

.diff-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.diff-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.diff-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.diff-quote {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
}

.diff-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.diff-quote cite {
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Closing ── */
.closing {
  padding: 120px 48px;
  background: var(--surface);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-icon {
  margin: 0 auto 40px;
  width: 64px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.closing-accent { color: var(--accent); }

.closing-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
}

.cta-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: #f0b84a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,168,64,0.3);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 340px;
}

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

.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .site-nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 48px;
  }

  .hero-headline { font-size: 2.8rem; }
  .hero-visual { display: none; }

  .manifesto, .tiers, .differentiators, .closing { padding: 80px 24px; }

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

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

  .manifesto-stats { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .cta-actions { flex-direction: column; }
  .btn { width: 100%; }
}