@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

@font-face {
  font-family: 'MADE Sunflower';
  src: url('/fonts/MADE Sunflower PERSONAL USE.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --blue: #3B82B5;
  --blue-light: #5CA0D0;
  --blue-glow: rgba(59, 130, 181, 0.15);
  --blue-muted: rgba(59, 130, 181, 0.08);
  --bg: #0a0a0a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #5f6368;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(59, 130, 181, 0.4);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-brand {
  font-family: 'MADE Sunflower', 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-tabs {
  display: flex;
  gap: 2px;
}

.nav-tab {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.nav-tab:hover {
  color: rgba(255,255,255,0.8);
  border-color: var(--blue);
}

.nav-tab.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* ── Main ── */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
}

/* ── Hero ── */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero h1 {
  font-family: 'MADE Sunflower', 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 24px rgba(59, 130, 181, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.card h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ── Page Header ── */
.page-header {
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 80px 32px;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h2 {
  color: var(--text-secondary);
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
}

/* ── Development Progression Timeline ── */
.progression {
  margin-top: 64px;
}

.progression h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-item.in-progress::before {
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--blue), 0 0 0 4px var(--blue-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px var(--blue), 0 0 0 4px var(--blue-glow); }
  50% { box-shadow: 0 0 0 2px var(--blue), 0 0 0 8px rgba(59,130,181,0.15); }
}

.timeline-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.timeline-card:hover {
  border-color: var(--border-hover);
}

.timeline-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-title h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-model {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.timeline-count {
  display: inline-block;
  background: var(--blue-muted);
  color: var(--blue-light);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.timeline-status {
  display: inline-block;
  background: rgba(46, 125, 50, 0.12);
  color: #66bb6a;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-bullets {
  list-style: none;
  margin-bottom: 12px;
}

.timeline-bullets li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.timeline-decision {
  font-size: 12px;
  color: var(--blue-light);
  font-weight: 600;
  padding: 6px 12px;
  background: var(--blue-muted);
  border-radius: 6px;
  border-left: 3px solid var(--blue);
  margin-top: 4px;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 16px;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
    z-index: 99;
  }
  .nav-tabs.open { display: flex; }
  .nav-tab { padding: 10px 12px; font-size: 14px; }
  .nav {
    padding: 12px 16px;
  }
  .main {
    padding: 32px 16px;
  }
  .hero h1 {
    font-size: 28px;
  }
}
