/* ========================================
   BETSEMPIRE — IMPERIAL DESIGN SYSTEM
   Deep Black + Crimson Red + Gold
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-imperial: #080406;
  --primary-crimson: #dc2626;
  --secondary-gold: #c9a84c;
  --accent-marble: #f8fafc;
  --text-light: #f0e8e4;
  --text-muted: #7a6e68;
  --surface-dark: #140c0a;
  --crimson-dark: #991b1b;
  --crimson-deeper: #7f1d1d;
  --gold-light: #d4af37;
  --gold-dark: #a67c2e;
  --surface-card: #1a100e;
  --border-subtle: #2a1c18;
  --font-headline: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-crimson: 0 0 20px rgba(220, 38, 38, 0.15);
  --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.15);
  --glow-gold: 0 0 30px rgba(201, 168, 76, 0.3);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-imperial);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--secondary-gold);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--accent-marble);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* --- Imperial Decorative Elements --- */
.imperial-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-crimson), var(--secondary-gold), var(--primary-crimson), transparent);
  border: none;
  margin: 2rem 0;
  position: relative;
}

.imperial-divider::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.imperial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, var(--primary-crimson), var(--crimson-dark));
  color: var(--secondary-gold);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--secondary-gold);
}

.imperial-crest {
  width: 60px;
  height: 60px;
  position: relative;
  display: inline-block;
}

.imperial-crest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-gold), var(--gold-dark));
  clip-path: polygon(50% 0%, 61% 17%, 80% 10%, 75% 30%, 98% 35%, 82% 50%, 98% 65%, 75% 70%, 80% 90%, 61% 83%, 50% 100%, 39% 83%, 20% 90%, 25% 70%, 2% 65%, 18% 50%, 2% 35%, 25% 30%, 20% 10%, 39% 17%);
}

.imperial-crest::after {
  content: 'BE';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-imperial);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 4, 6, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-crimson);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  box-shadow: var(--shadow-crimson);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-gold), var(--primary-crimson));
  clip-path: polygon(50% 0%, 61% 17%, 80% 10%, 75% 30%, 98% 35%, 82% 50%, 98% 65%, 75% 70%, 80% 90%, 61% 83%, 50% 100%, 39% 83%, 20% 90%, 25% 70%, 2% 65%, 18% 50%, 2% 35%, 25% 30%, 20% 10%, 39% 17%);
}

.logo-icon::after {
  content: 'BE';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg-imperial);
}

.logo-text {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-marble);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-text span {
  color: var(--secondary-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav a {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-smooth);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
}

.nav a:hover {
  color: var(--secondary-gold);
}

.nav a:hover::after {
  width: 80%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--secondary-gold);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(8, 4, 6, 0.8), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(201, 168, 76, 0.1));
  border: 1px solid var(--secondary-gold);
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary-gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-marble) 40%, var(--secondary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-crimson), var(--crimson-dark));
  color: var(--secondary-gold);
  border: 2px solid var(--secondary-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--crimson-dark), var(--crimson-deeper));
  color: var(--gold-light);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-gold);
  border: 2px solid var(--secondary-gold);
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-light);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary-gold);
  margin-bottom: 0.5rem;
}

/* --- Rankings Section --- */
.rankings-grid {
  display: grid;
  gap: 1.5rem;
}

.ranking-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary-crimson);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.ranking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-crimson), var(--secondary-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.ranking-card:hover {
  border-color: var(--secondary-gold);
  transform: translateX(5px);
  box-shadow: var(--shadow-gold);
}

.ranking-card:hover::before {
  transform: scaleX(1);
}

.rank-number {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-gold);
  text-align: center;
  line-height: 1;
  position: relative;
}

.rank-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--secondary-gold);
}

.ranking-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--accent-marble);
}

.ranking-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ranking-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(220, 38, 38, 0.15);
  color: var(--primary-crimson);
  border: 1px solid rgba(220, 38, 38, 0.3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ranking-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.ranking-rating {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-gold);
}

.ranking-rating span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Featured Articles Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary-crimson);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--secondary-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.article-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-category {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-crimson);
  margin-bottom: 0.5rem;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-marble);
  transition: color var(--transition-smooth);
}

.article-card:hover h3 {
  color: var(--secondary-gold);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.article-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-card-link {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-gold);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-crimson), var(--secondary-gold));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-gold);
  box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(201, 168, 76, 0.1));
  border: 1px solid var(--border-subtle);
}

.feature-icon-inner {
  width: 24px;
  height: 24px;
  background: var(--secondary-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.feature-card h4 {
  margin-bottom: 0.75rem;
  color: var(--accent-marble);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(201, 168, 76, 0.05)),
    linear-gradient(45deg, var(--surface-dark), var(--bg-imperial));
  border-top: 2px solid var(--primary-crimson);
  border-bottom: 2px solid var(--primary-crimson);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--surface-dark);
  border-top: 2px solid var(--primary-crimson);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-gold);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--secondary-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  line-height: 1.6;
}

/* --- Article Page Styles --- */
.article-hero {
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-meta .category {
  color: var(--primary-crimson);
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a, .breadcrumb span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--secondary-gold);
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* --- Article Content --- */
.article-content {
  max-width: 800px;
  padding: 3rem 0 5rem;
}

.article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-crimson);
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-gold);
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content ul {
  list-style: none;
}

.article-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--secondary-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.article-content ol {
  list-style: decimal;
}

.article-content ol li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
}

.article-content ol li::marker {
  color: var(--secondary-gold);
  font-weight: 700;
}

.article-content strong {
  color: var(--accent-marble);
  font-weight: 700;
}

.article-content blockquote {
  border-left: 4px solid var(--secondary-gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(201, 168, 76, 0.05);
  font-style: italic;
  color: var(--text-muted);
}

/* --- Info Box --- */
.info-box {
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--secondary-gold);
}

.info-box h4 {
  color: var(--secondary-gold);
  margin-bottom: 0.75rem;
}

/* --- Table of Contents --- */
.toc {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary-crimson);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.toc h4 {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.toc ol li {
  margin-bottom: 0.5rem;
}

.toc ol li a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.toc ol li a:hover {
  color: var(--secondary-gold);
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary-crimson);
  margin-bottom: 1rem;
  background: var(--surface-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-marble);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-smooth);
}

.faq-question:hover {
  color: var(--secondary-gold);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--secondary-gold);
  transition: transform var(--transition-smooth);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Inline CTA in Articles --- */
.article-cta {
  padding: 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(201, 168, 76, 0.05));
  border: 1px solid var(--secondary-gold);
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 0.75rem;
  color: var(--accent-marble);
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.comparison-table thead th {
  background: var(--surface-card);
  color: var(--secondary-gold);
  font-family: var(--font-headline);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--primary-crimson);
}

.comparison-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.comparison-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.03);
}

.comparison-table .highlight-cell {
  color: var(--secondary-gold);
  font-weight: 700;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-crimson), var(--crimson-dark));
  border: 2px solid var(--secondary-gold);
  color: var(--secondary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-3px);
}

.back-to-top::before {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--secondary-gold);
  border-right: 3px solid var(--secondary-gold);
  transform: rotate(-45deg);
  margin-top: 4px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    border-left: 2px solid var(--primary-crimson);
    transition: right var(--transition-smooth);
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
  }

  .ranking-card {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .ranking-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .hero-stats {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-content {
    padding: 2rem 0 3rem;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 7rem 1rem 3rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .rank-number {
    font-size: 2rem;
  }

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