/* ── Variables ── */
:root {
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-section-alt: #111111;
  --border: #222222;
  --text: #f0f0f0;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-glow: rgba(124, 58, 237, 0.15);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --max-width: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-sub {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── About ── */
.about {
  border-bottom: 1px solid var(--border);
}

.about p {
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about p:last-child { margin-bottom: 0; }

/* ── Stats ── */
.stats {
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border);
}

.stats-note {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.stat-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Build Log ── */
.buildlog {
  border-bottom: 1px solid var(--border);
}

.buildlog-sub {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.log-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.log-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.15s ease;
}
.log-item:last-child { border-bottom: none; }
.log-item:hover { background: #1a1a1a; }

.log-day {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 48px;
}

.log-event {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  text-align: center;
}

.footer p {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-sub {
  margin-top: 10px;
}

.footer-sub a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.15s ease;
}
.footer-sub a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Responsive ── */
/* NEWSLETTER */
.newsletter {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 12px;
}

.newsletter-sub {
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-note {
  color: #475569;
  font-size: 0.8rem;
  margin-top: 16px;
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .hero { padding: 72px 0 60px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .log-item {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
  }

  .log-day { min-width: unset; }

  h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
