:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #1a1a24;
  --border: #2a2a3a;
  --text: #e8e8ef;
  --text-dim: #8888a0;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00d2a0;
  --green-glow: rgba(0, 210, 160, 0.12);
  --orange: #ff9f43;
  --pink: #fd79a8;
  --blue: #0984e3;
  --red: #ff6b6b;
  --yellow: #feca57;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.logo .pulse-dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--green);
}
.logo .logo-icon {
  width: 32px;
  height: 32px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-glow);
  border: 1px solid rgba(0, 210, 160, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--green);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

/* HERO */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px 48px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* STATS BAR */
.stats-bar {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-pill .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--green);
}
.stat-pill .stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

/* CATEGORY NAV */
.cat-nav {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cat-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ARTICLES */
.feed {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.category-section {
  margin-bottom: 64px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.category-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.category-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.category-header .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  opacity: 0;
  transition: opacity 0.3s;
}
.article-card:hover {
  border-color: rgba(108, 92, 231, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.article-card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.funding-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 8px;
  letter-spacing: -0.3px;
}
.funding-seed { background: rgba(0, 210, 160, 0.12); color: var(--green); border: 1px solid rgba(0, 210, 160, 0.25); }
.funding-a { background: rgba(9, 132, 227, 0.12); color: var(--blue); border: 1px solid rgba(9, 132, 227, 0.25); }
.funding-b { background: rgba(108, 92, 231, 0.12); color: var(--accent); border: 1px solid rgba(108, 92, 231, 0.25); }
.funding-c { background: rgba(253, 121, 168, 0.12); color: var(--pink); border: 1px solid rgba(253, 121, 168, 0.25); }
.funding-d { background: rgba(255, 159, 67, 0.12); color: var(--orange); border: 1px solid rgba(255, 159, 67, 0.25); }
.funding-e { background: rgba(255, 107, 107, 0.12); color: var(--red); border: 1px solid rgba(255, 107, 107, 0.25); }
.funding-mega { background: rgba(254, 202, 87, 0.12); color: var(--yellow); border: 1px solid rgba(254, 202, 87, 0.25); }

.top-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.15), rgba(255, 107, 107, 0.15));
  border: 1px solid rgba(255, 159, 67, 0.4);
  color: var(--orange);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.article-hero .top-pick-badge {
  font-size: 14px;
  padding: 8px 16px;
  margin-bottom: 16px;
  display: inline-flex;
}
.card-date {
  font-size: 12px;
  color: var(--text-dim);
}

.company-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.company-tagline {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.company-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.meta-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
}

.read-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}
.read-link:hover { text-decoration: underline; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.founder-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.founder-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.founder-name {
  font-size: 13px;
  font-weight: 600;
}
.founder-role {
  font-size: 11px;
  color: var(--text-dim);
}
.valuation {
  text-align: right;
}
.valuation-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.valuation-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--green);
}

/* ARTICLE PAGE */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

.article-hero {
  margin-bottom: 48px;
}
.article-hero .funding-badge {
  margin-bottom: 20px;
  display: inline-block;
}
.article-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.article-hero .tagline {
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.article-hero .meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-hero .website-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.article-hero .website-link:hover {
  background: #5a4bd4;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.article-body {
  margin-bottom: 48px;
}
.article-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 40px 0 16px;
  color: var(--text);
}
.article-body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 28px 0 10px;
  color: var(--text);
}
.article-body .highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.article-body .highlight-box p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
}
.founder-card:not(:has(.founder-photo)) {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.founder-card .founder-avatar {
  width: 80px; height: 80px;
  font-size: 28px;
}
.founder-card .founder-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 25px;
  display: block;
}
.founder-card .founder-photo.photo-centered {
  object-position: center center;
}
.founder-card .founder-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
.founder-card .founder-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.founder-card .founder-role {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.company-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.company-stat .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 4px;
}
.company-stat .stat-desc {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-media {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.founder-media h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.media-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.media-link {
  display: block;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.media-link:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.media-link .media-source {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 4px;
}
.media-link .media-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: all 0.2s;
}
.back-link:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
}
.site-footer p {
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer .footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }
  .hero { padding: 48px 16px 32px; }
  .stats-bar, .cat-nav, .feed { padding-left: 16px; padding-right: 16px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card { padding: 20px; }
  .article-page { padding: 32px 16px 60px; }
  .founder-card { flex-direction: column; text-align: center; }
  .company-stats { grid-template-columns: 1fr 1fr; }
}
