/* ═══════════════════════════════════════
   LAUNCHFLOW — Theme CSS
   ═══════════════════════════════════════ */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --fg: #f5f5f0;
  --fg-dim: #8a8a85;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(245, 245, 240, 0.08);
  --border-strong: rgba(245, 245, 240, 0.15);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Epilogue', sans-serif;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* BACKGROUND ATMOSPHERE */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(245,158,11,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(245,158,11,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* NOISE TEXTURE OVERLAY */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* SECTION SHARED */
section { position: relative; z-index: 1; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 10vw 6rem;
  gap: 4rem;
  position: relative;
}

.hero-left { max-width: 600px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg-dim);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
}
.metric-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

/* AI ORB */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ai-orb {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(245,158,11,0.4) 50%, transparent 70%);
  box-shadow: 0 0 40px 10px rgba(245,158,11,0.3), 0 0 80px 20px rgba(245,158,11,0.1);
  animation: core-pulse 3s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.15);
}
.orb-ring-1 { width: 140px; height: 140px; animation: ring-rotate 8s linear infinite; }
.orb-ring-2 { width: 220px; height: 220px; border-style: dashed; animation: ring-rotate 14s linear infinite reverse; }
.orb-ring-3 { width: 300px; height: 300px; animation: ring-rotate 20s linear infinite; }
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orb-nodes { position: absolute; inset: 0; animation: ring-rotate 20s linear infinite; }
.orb-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(245,158,11,0.5);
}
.n1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.n2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.n3 { left: 0; top: 50%; transform: translate(-50%, -50%); }
.n4 { right: 0; top: 50%; transform: translate(50%, -50%); }
.n5 { top: 20%; left: 20%; }
.n6 { bottom: 20%; right: 20%; }

/* ═══ MANIFESTO ═══ */
.manifesto {
  padding: 8rem 10vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 860px; }

.manifesto-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.manifesto-body {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.manifesto-stats {
  display: flex;
  gap: 3rem;
}
.mstat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.mstat-desc {
  font-size: 0.78rem;
  color: var(--fg-dim);
  font-weight: 400;
}

/* ═══ PRINCIPLES ═══ */
.principles {
  padding: 8rem 10vw;
}
.principles-inner { max-width: 1100px; }

.principles-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.principle {
  padding: 2.5rem;
  background: var(--bg);
  transition: background 0.3s ease;
}
.principle:hover { background: rgba(255,255,255,0.02); }

.principle-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.principle-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.principle-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* ═══ OUTCOME ═══ */
.outcome {
  padding: 8rem 10vw;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.outcome-inner { max-width: 700px; }

.outcome-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.outcome-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 3rem;
  background: var(--bg);
}

.outcome-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.outcome-sub {
  font-size: 0.9rem;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
}

.outcome-breakdown {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breakdown-lbl {
  font-size: 0.85rem;
  color: var(--fg-dim);
}
.breakdown-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.outcome-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.cta-text {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ═══ VISION ═══ */
.vision {
  padding: 8rem 10vw;
}
.vision-inner { max-width: 900px; }

.vision-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.vision-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
  max-width: 700px;
}

.vision-body {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 4rem;
}

.vision-stripe {
  height: 2px;
  width: 120px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 1px;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 3rem 10vw;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-dim);
  flex: 1;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,245,240,0.3);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 6vw 4rem;
    text-align: center;
  }
  .hero-left { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-metrics { justify-content: center; }
  .hero-right { order: -1; }
  .ai-orb { width: 220px; height: 220px; }
  .orb-ring-2 { width: 160px; height: 160px; }
  .orb-ring-3 { width: 210px; height: 210px; }
  
  .manifesto-stats { flex-direction: column; gap: 1.5rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .outcome-number { font-size: 4rem; }
  .outcome-card { padding: 2rem; }
}