/* ===========================
   FORGE — CREATOR OPS PLATFORM
   =========================== */

:root {
  --bg: #faf8f5;
  --bg-warm: #f5f0e8;
  --fg: #1a1614;
  --fg-muted: #6b6560;
  --accent: #e85d04;
  --accent-light: #fff1e6;
  --amber: #f59e0b;
  --orange-light: #fde4c8;
  --border: #e8e0d8;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}

.nav-logo svg { color: var(--accent); }

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

.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated ember particles */
.ember {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ember-1 {
  width: 600px; height: 600px;
  top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(232,93,4,0.12) 0%, transparent 70%);
  animation: ember-pulse 4s ease-in-out infinite;
}

.ember-2 {
  width: 400px; height: 400px;
  bottom: 0; left: -100px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  animation: ember-pulse 5s ease-in-out infinite 1s;
}

.ember-3 {
  width: 200px; height: 200px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(232,93,4,0.06) 0%, transparent 70%);
  animation: ember-pulse 3s ease-in-out infinite 0.5s;
}

.ember-4 {
  width: 300px; height: 300px;
  top: 20%; right: 30%;
  background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
  animation: ember-pulse 6s ease-in-out infinite 2s;
}

.ember-5 {
  width: 150px; height: 150px;
  bottom: 30%; right: 20%;
  background: radial-gradient(circle, rgba(232,93,4,0.1) 0%, transparent 70%);
  animation: ember-pulse 3.5s ease-in-out infinite 0.3s;
}

.ember-6 {
  width: 500px; height: 500px;
  top: 50%; left: 30%;
  background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
  animation: ember-pulse 7s ease-in-out infinite 1.5s;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { max-width: 560px; }

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

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(26,22,20,0.06);
}

.hero-stat { text-align: center; flex: 1; }

.hero-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.3;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Forge visual — ceramic bowl with heat */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.forge-bowl {
  position: relative;
  width: 320px;
  height: 320px;
}

.forge-heat {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(ellipse at bottom, rgba(232,93,4,0.5) 0%, rgba(245,158,11,0.3) 40%, transparent 70%);
  border-radius: 50%;
  animation: heat-wave 2s ease-in-out infinite;
  filter: blur(8px);
}

@keyframes heat-wave {
  0%, 100% { transform: translateX(-50%) scaleY(1); }
  50% { transform: translateX(-50%) scaleY(1.15); }
}

/* Sparks */
.forge-sparks {
  position: absolute;
  inset: 0;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.spark-1 { top: 30%; left: 45%; animation: spark-fly 2.1s ease-out infinite 0s; }
.spark-2 { top: 28%; left: 55%; animation: spark-fly 1.8s ease-out infinite 0.3s; background: var(--amber); }
.spark-3 { top: 32%; left: 50%; animation: spark-fly 2.5s ease-out infinite 0.6s; }
.spark-4 { top: 25%; left: 52%; animation: spark-fly 1.6s ease-out infinite 0.9s; background: var(--amber); }
.spark-5 { top: 35%; left: 48%; animation: spark-fly 2.3s ease-out infinite 1.2s; }
.spark-6 { top: 29%; left: 58%; animation: spark-fly 2.0s ease-out infinite 1.5s; background: var(--amber); }

@keyframes spark-fly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--sx, 20px), var(--sy, -80px)) scale(0); opacity: 0; }
}

.spark-1 { --sx: 15px; --sy: -90px; }
.spark-2 { --sx: -25px; --sy: -100px; }
.spark-3 { --sx: 5px; --sy: -120px; }
.spark-4 { --sx: -15px; --sy: -85px; }
.spark-5 { --sx: 30px; --sy: -110px; }
.spark-6 { --sx: -35px; --sy: -95px; }

/* Bowl shape — CSS only */
.forge-bowl::before {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 90px;
  background: var(--fg);
  border-radius: 0 0 90px 90px;
  box-shadow: 0 8px 32px rgba(26,22,20,0.25), inset 0 -4px 12px rgba(232,93,4,0.3);
}

.forge-bowl::after {
  content: '';
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 14px;
  background: var(--fg);
  border-radius: 7px;
  box-shadow: 0 4px 16px rgba(26,22,20,0.2);
}

/* ---- PROOF ---- */
.proof {
  padding: 64px 40px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.proof-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.proof-quote blockquote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 16px;
}

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

/* ---- FEATURES ---- */
.features { padding: 100px 40px; }

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 64px;
  text-align: center;
}

.features-heading em { font-style: italic; color: var(--accent); }

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

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(26,22,20,0.08);
  transform: translateY(-2px);
}

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

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.feature-card > p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
}

.feature-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- HOW ---- */
.how {
  padding: 100px 40px;
  background: var(--fg);
  color: white;
}

.how-inner { max-width: 1200px; margin: 0 auto; }

.how-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 64px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.how-step {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.how-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.step-arrow {
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 40px;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 40px;
  background: var(--accent-light);
  border-top: 1px solid var(--border);
}

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

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

.manifesto-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 48px;
}

.manifesto-heading em { font-style: italic; color: var(--accent); }

.manifesto-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 24px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-body strong { font-weight: 600; color: var(--fg); }

/* ---- CLOSING ---- */
.closing {
  padding: 100px 40px;
  text-align: center;
  background: var(--fg);
  color: white;
}

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

.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.closing p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 40px;
}

.closing-crew {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.crew-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--fg);
}

.footer-logo svg { color: var(--accent); }

.footer-brand p {
  font-size: 13px;
  color: var(--fg-muted);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual { display: none; }
  
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  
  .features-grid { grid-template-columns: 1fr; }
  
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .step-arrow svg { transform: rotate(-90deg); }
  
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  
  .features, .how, .manifesto, .closing { padding: 60px 20px; }
  .proof { padding: 48px 20px; }
  .footer { padding: 40px 20px; }
}
