/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #09090F;
  --surface: #111119;
  --surface2: #18181F;
  --accent: #FFB800;
  --accent-dim: rgba(255, 184, 0, 0.12);
  --accent-glow: rgba(255, 184, 0, 0.25);
  --text: #E8E8EE;
  --text-muted: #7A7A8C;
  --text-dim: #3E3E52;
  --border: rgba(255, 184, 0, 0.1);
  --border-bright: rgba(255, 184, 0, 0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === TYPOGRAPHY === */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 56px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 80px 64px 40px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  grid-column: 1;
  grid-row: 2;
  max-width: 560px;
  z-index: 2;
}

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

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.hero-title-line.accent { color: var(--accent); }
.hero-title-line.muted { color: var(--text-muted); }

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
}

.hero-visual {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-badge {
  grid-column: 1 / -1;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  z-index: 2;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* === LOOP DIAGRAM === */
.loop-diagram {
  position: relative;
  width: 420px;
  height: 420px;
}

.loop-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow 20s linear infinite;
}
.loop-ring-1 { width: 420px; height: 420px; animation-duration: 25s; }
.loop-ring-2 { width: 300px; height: 300px; animation-duration: 18s; animation-direction: reverse; border-color: var(--border-bright); }
.loop-ring-3 { width: 200px; height: 200px; animation-duration: 12s; border-color: rgba(255,184,0,0.3); }

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.loop-symbol {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.loop-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 2px;
}

.loop-node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 80px;
  text-align: center;
}

.loop-node span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--accent);
}

.loop-node small {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.node-find { top: 5px; left: 50%; transform: translateX(-50%); }
.node-sell { top: 50%; right: 5px; transform: translateY(-50%); }
.node-collect { bottom: 5px; left: 50%; transform: translateX(-50%); }
.node-reinvest { top: 50%; left: 5px; transform: translateY(-50%); }

/* === MECHANICS === */
.mechanics {
  padding: 120px 64px;
  background: var(--surface);
  position: relative;
}

.mech-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.mech-step {
  padding: 0 40px;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step-icon {
  margin-bottom: 20px;
}

.mech-step h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.mech-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.mech-divider {
  width: 1px;
  height: 200px;
  background: var(--border);
  align-self: center;
}

/* === PROOF / STATS === */
.proof {
  padding: 100px 64px;
  position: relative;
  overflow: hidden;
}

.proof-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.proof-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,184,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,184,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat {
  padding: 0 64px;
  text-align: center;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

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

.proof-cta {
  text-align: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.proof-note {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.7;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 64px;
  background: var(--surface2);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.manifesto-mark {
  font-family: Georgia, serif;
  font-size: 200px;
  color: var(--text-dim);
  line-height: 0.5;
  margin-bottom: -40px;
  display: block;
}

blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.manifesto-attr {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* === AUTOMATION === */
.automation {
  padding: 120px 64px;
  background: var(--bg);
}

.auto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.auto-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.auto-card:hover {
  background: var(--surface2);
}

.auto-icon {
  margin-bottom: 20px;
}

.auto-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 10px;
}

.auto-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  padding: 120px 64px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim), transparent 60%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-bright);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.closing-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 40px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.closing-visual {
  display: flex;
  justify-content: center;
}

.closing-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.closing-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.closing-center-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

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

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

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

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-sep {
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    padding: 80px 40px 40px;
    gap: 48px;
  }
  .hero-content { grid-row: 1; }
  .hero-visual { grid-row: 2; }
  .hero-badge { grid-row: 3; }
  .loop-diagram { width: 320px; height: 320px; }
  .loop-ring-1 { width: 320px; height: 320px; }
  .loop-ring-2 { width: 240px; height: 240px; }
  .loop-ring-3 { width: 160px; height: 160px; }
  .loop-center { width: 80px; height: 80px; }
  .loop-symbol { font-size: 28px; }
  .loop-node { min-width: 64px; padding: 8px 10px; }
  .loop-node span { font-size: 14px; }
  .mech-steps { grid-template-columns: 1fr; gap: 48px; }
  .mech-divider { display: none; }
  .proof-stats { flex-direction: column; gap: 40px; }
  .stat-divider { display: none; }
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 24px 40px; }
  .mechanics, .proof, .manifesto, .automation, .closing { padding: 80px 24px; }
  .section-title { font-size: 36px; margin-bottom: 40px; }
  .mech-step { padding: 0; }
  .auto-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-stats { gap: 32px; }
  .stat { padding: 0; }
}
