:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #181822;
  --fg: #e8e6e1;
  --fg-muted: #9a968e;
  --accent: #e8a838;
  --accent-glow: rgba(232, 168, 56, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232, 168, 56, 0.3);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  position: relative;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
  position: relative;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

/* Problem */
.problem {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: inline-block;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  padding: 100px 24px;
}

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

.features-header {
  margin-bottom: 64px;
}

.features-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  min-width: 32px;
  padding-top: 4px;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Numbers */
.numbers {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.numbers-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.numbers-text p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.number-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.number-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.number-desc {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Closing */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* Footer */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.footer-meta {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; min-height: 80vh; }
  .hero-stat-row { flex-direction: column; gap: 24px; }
  .hero-stat-divider { width: 48px; height: 1px; }
  .problem-grid { grid-template-columns: 1fr; }
  .numbers-inner { grid-template-columns: 1fr; gap: 40px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 17px; }
}

/* Blog header */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}
.blog-home-link {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.blog-nav-link {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
}
.blog-nav-link:hover { color: var(--fg); }

/* Blog hero */
.blog-hero {
  text-align: center;
  padding: 80px 24px 48px;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.blog-hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.blog-hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Article grid */
.article-grid-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-category {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-title-link { text-decoration: none; }
.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}
.card-title-link:hover .card-title { color: var(--accent); }
.card-excerpt {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-reading-time::after { content: '·'; margin-left: 12px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  font-size: 15px;
  color: var(--fg-muted);
}
.page-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.page-link:hover { text-decoration: underline; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--fg-muted);
  font-size: 17px;
}

/* Article detail page */
.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.blog-article h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.article-excerpt {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-meta .article-author {
  font-weight: 500;
  color: var(--fg);
}
.article-meta time::after { content: '·'; margin-left: 16px; }
.reading-time { color: var(--fg-muted); }
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.tag {
  font-size: 13px;
  padding: 4px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
}
.article-body {
  font-size: 17px;
  line-height: 1.75;
}
.article-body p { margin-bottom: 1.5em; }
.article-body h2 { margin: 2em 0 0.75em; }
.article-body h3 { margin: 1.5em 0 0.5em; }

/* Category page */
.category-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.category-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.category-count {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.article-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.article-list li:first-child { border-top: 1px solid var(--border); }
.article-list a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.article-list a:hover { color: var(--accent); }
.article-list p {
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* JSON-LD block (hidden) */
.article-jsonld { display: none; }

/* Mobile blog */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
  .blog-header { padding: 16px 20px; }
  .blog-hero { padding: 60px 20px 40px; }
  .blog-article { padding: 40px 20px 80px; }
}
