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

:root {
  --bg: #000000;
  --surface: #1A1A1A;
  --card: #1A1A1A;
  --text: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-tertiary: #666666;
  --accent: #C9A84C;
  --accent-dim: rgba(201,168,76,0.15);
  --danger: #D4534A;
  --separator: rgba(255,255,255,0.1);
  --card-border: rgba(255,255,255,0.08);
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 28px;
  width: auto;
}

.nav-cta {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.7;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: 640px;
}

.hero-logo {
  width: min(85%, 500px);
  height: auto;
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.5;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.02em;
}

.btn-gold {
  background: var(--accent);
  color: #000;
}

.btn-gold:hover {
  background: #d4b355;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--separator);
}

.btn-outline:hover {
  border-color: var(--text-tertiary);
}

/* ========== Sections ========== */
.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--surface);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-text {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-text-dim {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 32px;
}

/* ========== Features Grid ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.feature-label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 400;
}

/* ========== Categories ========== */
.categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
}

.category-item {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.5;
  padding: 16px 0;
  cursor: default;
  transition: opacity 0.2s;
}

.category-item:hover {
  opacity: 1;
}

/* ========== Bias Explorer ========== */
.bias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.bias-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: inherit;
  color: inherit;
}

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

.bias-card.active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.bias-name {
  font-size: 15px;
  font-weight: 600;
}

.bias-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.bias-card.active .bias-desc {
  max-height: 200px;
  margin-top: 12px;
  opacity: 1;
}

/* ========== Quiz ========== */
.quiz-start {
  text-align: center;
}

.quiz-question {
  max-width: 560px;
  margin: 0 auto;
}

.quiz-progress {
  width: 100%;
  height: 3px;
  background: var(--card-border);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

.quiz-q-number {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quiz-q-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.5;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Quiz Result */
.quiz-result {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.quiz-result-label {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.quiz-result-bias {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.quiz-result-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.quiz-result-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Content Hub ========== */
.hub-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--surface);
  border-radius: 12px;
  padding: 4px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hub-tab {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-tab:hover {
  color: var(--text-secondary);
}

.hub-tab.active {
  background: var(--card-border);
  color: var(--text);
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  gap: 12px;
}

.article-card:hover {
  border-color: var(--accent);
  background: rgba(201,168,76,0.04);
  transform: translateY(-2px);
}

.article-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.article-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.news-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--card-border);
}

.news-card:first-child {
  padding-top: 0;
}

.news-card:last-child {
  border-bottom: none;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-date {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.news-bias-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-read-more {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.news-read-more:hover {
  opacity: 0.7;
}

/* Infographics */
.infographic-intro {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 40px;
}

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

.infographic-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.infographic-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.infographic-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.infographic-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.infographic-share:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.infographic-share svg {
  width: 14px;
  height: 14px;
}

/* ========== Quote Card ========== */
.quote-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
}

.quote-text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.quote-bias {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ========== Download Section ========== */
.download-section {
  text-align: center;
}

.download-logo {
  width: min(60%, 320px);
  height: auto;
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.store-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ========== Animations ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner {
  animation: fadeUp 0.8s ease;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 26px;
  }

  .features {
    gap: 24px;
  }

  .feature-number {
    font-size: 36px;
  }

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

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

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

  .hub-tabs {
    max-width: 100%;
  }

  .hub-tab {
    font-size: 13px;
    padding: 10px 12px;
  }

  .news-title {
    font-size: 18px;
  }

  .quiz-q-text {
    font-size: 18px;
  }

  .quiz-result-bias {
    font-size: 28px;
  }

  .quote-text {
    font-size: 19px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .feature-number {
    font-size: 28px;
  }

  .feature-label {
    font-size: 12px;
  }

  .footer-links {
    gap: 20px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}
