/* === RUNRR LANDING PAGE === */

:root {
  --bg: #0A0A0F;
  --bg-elevated: #111118;
  --surface: #16161F;
  --surface-2: #1E1E2A;
  --accent: #00E5A0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #F0EFF4;
  --text-dim: rgba(240, 239, 244, 0.5);
  --text-muted: rgba(240, 239, 244, 0.28);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 229, 160, 0.2);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

/* Utility */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 229, 160, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(0, 229, 160, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 960px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.pill::before {
  content: '';
  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.8); }
}

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

.headline-accent {
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Orbit Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.task-orbit {
  position: relative;
  width: 360px;
  height: 360px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-1 { width: 200px; height: 200px; }
.orbit-ring-2 { width: 290px; height: 290px; border-color: var(--border-accent); }
.orbit-ring-3 { width: 360px; height: 360px; }

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.task-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  min-width: 110px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
}

.task-card-set {
  top: 0; left: 50%; transform: translateX(-50%);
  border-color: rgba(0, 229, 160, 0.3);
  animation-delay: 0s;
}

.task-card-running {
  bottom: 20px; left: 0;
  border-color: rgba(245, 158, 11, 0.3);
  animation-delay: 2s;
}

.task-card-done {
  bottom: 20px; right: 0;
  border-color: rgba(0, 229, 160, 0.5);
  animation-delay: 4s;
}

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

.task-card-set { animation-name: float-set; }
@keyframes float-set { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

.task-card-running { animation-name: float-running; }
@keyframes float-running { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.task-card-done { animation-name: float-done; }
@keyframes float-done { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.card-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.task-card-done .card-label { color: var(--accent); }
.task-card-running .card-label { color: var(--amber); }

.card-desc {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
}

.pulse { animation: text-pulse 1.5s ease-in-out infinite; }
@keyframes text-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 520px;
  margin: 0 auto;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

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

/* === LOOP SECTION === */
.loop-section {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.loop-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  color: var(--text);
}

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

.loop-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.step-visual {
  margin-top: 1.2rem;
}

.loop-arrow {
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

/* Visual Cards */
.visual-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
}

.vc-header {
  display: flex;
  gap: 4px;
  margin-bottom: 0.6rem;
}

.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.vc-body { padding: 0.4rem 0; }

.vc-line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 5px;
  width: 100%;
}

.vc-line-short { width: 55%; }
.vc-line-medium { width: 75%; }

.vc-keyword {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Terminal */
.terminal-block {
  background: #080810;
  border: 1px solid rgba(0, 229, 160, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.05);
}

.term-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: var(--surface-2);
  border-bottom: 1px solid rgba(0, 229, 160, 0.1);
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.term-status {
  color: var(--accent);
  font-weight: 600;
}

.term-body { padding: 0.6rem 0.8rem; }

.term-line {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.term-line.muted { color: var(--text-muted); }
.term-line.success { color: var(--accent); font-weight: 600; }

/* Report Card */
.report-card {
  background: var(--surface-2);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 0.8rem;
}

.rc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.rc-icon {
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.rc-body { display: flex; flex-direction: column; gap: 0.4rem; }

.rc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.rc-metric-label { color: var(--text-muted); }
.rc-metric-val { color: var(--text); font-weight: 600; }
.rc-metric-val.green { color: var(--accent); }

.rc-time {
  margin-top: 0.6rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

/* === FEATURES === */
.features {
  padding: 8rem 2rem;
}

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

.features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  color: var(--text);
}

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

.feature-card {
  background: var(--bg-elevated);
  padding: 2rem;
  transition: background 0.2s;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-quote {
  margin-bottom: 4rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.manifesto-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.m-visual-bar { display: flex; flex-direction: column; gap: 0.5rem; }

.m-bar-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.m-bar-track {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  position: relative;
}

.m-bar-fill {
  height: 100%;
  background: var(--text-muted);
  border-radius: 3px;
  transition: width 1s ease;
}

.m-bar-fill-accent {
  background: var(--accent);
}

.m-bar-marker {
  position: absolute;
  top: -24px;
  transform: translateX(-50%);
}

.m-marker-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.m-marker-label.accent { color: var(--accent); }

/* === CLOSING === */
.closing {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 229, 160, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

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

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

.closing-sub {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cta-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-email {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.footer-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-headline { font-size: 3rem; }
  .task-orbit { width: 280px; height: 280px; }
  .orbit-ring-1 { width: 160px; height: 160px; }
  .orbit-ring-2 { width: 230px; height: 230px; }

  .loop-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .loop-arrow {
    transform: rotate(90deg);
    padding: 0;
    justify-content: center;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
