@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #080810;
  --bg-secondary: #0e0e1a;
  --bg-card: #12121f;
  --bg-card-hover: #181828;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-glow: rgba(124, 58, 237, 0.25);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --text-primary: #f0f0f8;
  --text-secondary: #9090b0;
  --text-muted: #5a5a78;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(124, 58, 237, 0.4);
  --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── READING PROGRESS ─── */
.reading-progress {
  position: fixed;
  top: 70px;
  left: 0;
  height: 3px;
  background: var(--gradient);
  width: 0%;
  z-index: 999;
  transition: width 0.1s linear;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.2rem !important;
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #6d28d9 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0; top: 70px;
  background: rgba(8, 8, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent-light); }

/* ─── MAIN ─── */
main { padding-top: 70px; position: relative; z-index: 1; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.7; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent); color: white;
  text-decoration: none; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  transition: all 0.2s ease;
}
.btn-primary:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent; color: var(--text-primary);
  text-decoration: none; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); transform: translateY(-2px); }

/* ─── SECTION LABELS ─── */
.section-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.section-label h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── FEATURED ARTICLE ─── */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
  position: relative;
}
.featured-article::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 0% 50%, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.featured-article:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); border-color: rgba(124,58,237,0.6); }

.featured-image {
  height: 100%;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  position: relative;
  background: linear-gradient(135deg, #120800, #1f1000);
}
.featured-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-card) 100%);
}

.featured-content {
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem; align-self: flex-start;
}
.featured-content h2 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 1rem;
}
.featured-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.featured-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.featured-meta .card-author { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }

/* ─── CATEGORY FILTER ─── */
.category-filter {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}
.filter-btn:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
.filter-btn.active {
  background: rgba(124,58,237,0.15);
  border-color: var(--border-accent);
  color: var(--accent-light);
}

/* ─── ARTICLES GRID ─── */
.articles-section { padding: 5rem 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ─── ARTICLE CARD ─── */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.article-card.hidden { display: none; }
.article-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.article-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.article-card:hover::before { opacity: 1; }

.card-image { height: 200px; position: relative; overflow: hidden; }
.card-image-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative;
}
.card-image-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}

/* Card backgrounds */
.card-bg-1 { background: linear-gradient(135deg, #120800, #1f1000); }
.card-bg-2 { background: linear-gradient(135deg, #1a0020, #0a0035); }
.card-bg-3 { background: linear-gradient(135deg, #001a20, #002818); }
.card-bg-4 { background: linear-gradient(135deg, #000e28, #001535); }
.card-bg-5 { background: linear-gradient(135deg, #1e0800, #280f00); }
.card-bg-6 { background: linear-gradient(135deg, #0c0c18, #14141e); }
.card-bg-7 { background: linear-gradient(135deg, #001408, #000e20); }
.card-bg-8 { background: linear-gradient(135deg, #001820, #000e28); }
.card-bg-9 { background: linear-gradient(135deg, #200020, #100030); }
.card-bg-10 { background: linear-gradient(135deg, #001a08, #002018); }

.card-content { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }

.card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.card-read-time { font-size: 0.75rem; color: var(--text-muted); }

/* Tags */
.card-tag {
  padding: 0.18rem 0.65rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}
.card-tag.cyan { background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); color: var(--cyan); }
.card-tag.green { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.3); color: #34d399; }
.card-tag.orange { background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.3); color: #fb923c; }
.card-tag.pink { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); color: #ec4899; }
.card-tag.red { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; }
.card-tag.yellow { background: rgba(234, 179, 8, 0.12); border-color: rgba(234, 179, 8, 0.3); color: #eab308; }
.card-tag.blue { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.3); color: #60a5fa; }

.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  line-height: 1.35; letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.article-card p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.2rem; padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}
.card-author { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text-muted); }

.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.card-arrow { color: var(--accent-light); font-size: 1rem; transition: transform 0.2s; }
.article-card:hover .card-arrow { transform: translateX(4px); }

/* ─── STATS ─── */
.stats-section { padding: 4rem 0; border-top: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem; text-align: center;
}
.stat-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* ─── NEWSLETTER ─── */
.newsletter-section { padding: 5rem 0; }
.newsletter-card {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: 24px; padding: 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-card h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.75rem; position: relative; }
.newsletter-card p { color: var(--text-secondary); max-width: 460px; margin: 0 auto 2rem; position: relative; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; position: relative; }
.newsletter-form input {
  flex: 1; padding: 0.85rem 1.2rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-primary); font-size: 0.95rem;
  font-family: var(--font-main); outline: none; transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--border-accent); }
.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--accent); color: white; border: none;
  border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  font-family: var(--font-main); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.newsletter-form button:hover { background: #6d28d9; transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border); padding: 3rem 0;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  text-decoration: none;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-copy a:hover { color: var(--accent-light); }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  text-align: center;
}
.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}
.footer-disclaimer a { color: var(--text-muted); text-decoration: underline; transition: color 0.2s; }
.footer-disclaimer a:hover { color: var(--accent-light); }

.author-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--text-muted); transition: color 0.2s, border-color 0.2s; }
.author-link:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* ─── ARTICLE PAGE ─── */
.article-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124,58,237,0.1) 0%, transparent 70%);
}

.article-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 1.75rem; position: relative; flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--text-primary); }

.article-hero-content { position: relative; max-width: 800px; }
.article-tags { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 1.1rem;
}
.article-hero .excerpt {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 1.75rem;
}

.article-meta-bar { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.article-author-info { display: flex; align-items: center; gap: 0.75rem; }
.avatar-lg {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white;
}
.author-details strong { display: block; font-size: 0.9rem; font-weight: 600; }
.author-details span { font-size: 0.78rem; color: var(--text-muted); }
.meta-divider { width: 1px; height: 32px; background: var(--border); }
.meta-info { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--text-muted); }

/* Article layout */
.article-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 4rem; padding: 3.5rem 0 5rem;
  align-items: start;
}

/* Article body */
.article-body { max-width: 720px; }

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem; color: var(--text-primary);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  margin: 1.75rem 0 0.7rem; color: var(--text-primary);
}
.article-body p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.35rem; }
.article-body strong { color: var(--text-primary); font-weight: 600; }

.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.35rem; }
.article-body li { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.8; margin-bottom: 0.4rem; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  background: rgba(124,58,237,0.06);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.article-body blockquote p { font-size: 1.08rem; font-style: italic; color: var(--text-primary); margin: 0; }

.highlight-box {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: 12px; padding: 1.4rem; margin: 2rem 0;
}
.highlight-box h4 {
  font-family: var(--font-display);
  color: var(--accent-light); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.highlight-box p { margin: 0; font-size: 0.93rem; }

/* Tool comparison table */
.tool-table {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  font-size: 0.88rem;
}
.tool-table th {
  background: rgba(124,58,237,0.1); color: var(--accent-light);
  padding: 0.75rem 1rem; text-align: left;
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 1px solid var(--border-accent);
}
.tool-table td {
  padding: 0.7rem 1rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.tool-table tr:last-child td { border-bottom: none; }
.tool-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text-primary); }

/* FAQ Section */
.faq-section { margin-top: 3rem; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: var(--bg-card); color: var(--text-primary);
  font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer; text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-icon { color: var(--accent-light); font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: rgba(124,58,237,0.04);
}
.faq-answer p {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; margin: 0;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* Article CTA */
.article-cta {
  margin-top: 3rem; padding: 2rem;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: 16px; text-align: center;
}
.article-cta h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.5rem; }
.article-cta p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* Sidebar */
.article-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.4rem; margin-bottom: 1.25rem;
}
.sidebar-widget h4 {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.9rem;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.toc-list a {
  display: block; color: var(--text-secondary); text-decoration: none;
  font-size: 0.83rem; padding: 0.35rem 0.6rem;
  border-radius: 6px; transition: all 0.2s; line-height: 1.4;
}
.toc-list a:hover { background: rgba(124,58,237,0.1); color: var(--accent-light); }

.related-link {
  display: flex; gap: 0.75rem; padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: opacity 0.2s;
}
.related-link:last-child { border-bottom: none; padding-bottom: 0; }
.related-link:hover { opacity: 0.7; }
.related-link-icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.related-link-text { font-size: 0.8rem; line-height: 1.4; color: var(--text-secondary); }

.share-buttons { display: flex; gap: 0.5rem; }
.share-btn {
  flex: 1; padding: 0.55rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-secondary);
  font-size: 0.75rem; text-align: center; cursor: pointer;
  transition: all 0.2s; font-family: var(--font-main); font-weight: 500;
}
.share-btn:hover { background: rgba(124,58,237,0.1); border-color: var(--border-accent); color: var(--accent-light); }

/* More articles */
.more-articles { padding: 3.5rem 0 5rem; border-top: 1px solid var(--border); }
.more-articles .articles-grid { grid-template-columns: repeat(3, 1fr); }

/* ─── CONTACT PAGE ─── */
.contact-hero { padding: 5rem 0 4rem; position: relative; }
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124,58,237,0.1) 0%, transparent 70%);
}
.contact-hero-content { position: relative; max-width: 600px; }
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.contact-hero p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 4rem; padding: 4rem 0 6rem; align-items: start;
}

.contact-form-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.contact-form-wrapper h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-form-wrapper > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; letter-spacing: 0.02em; }

.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-primary);
  font-size: 0.95rem; font-family: var(--font-main);
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--border-accent); background: rgba(124,58,237,0.04); }

.form-select { cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a78' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-select option { background: #1a1a2e; color: var(--text-primary); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--accent); color: white; border: none;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  font-family: var(--font-main); cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }

.form-success {
  display: none; text-align: center; padding: 2rem;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-secondary); font-size: 0.95rem; }

/* Contact sidebar */
.contact-sidebar {}
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(124,58,237,0.1); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-item-text a, .contact-item-text span {
  font-size: 0.92rem; color: var(--text-primary);
  text-decoration: none; transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--accent-light); }

.faq-mini { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.faq-mini h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.faq-mini-item { margin-bottom: 1rem; }
.faq-mini-item strong { display: block; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.faq-mini-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 220px; }
  .featured-image::after { background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 2fr); }
  .more-articles .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .container { padding: 0 1.25rem; }
  .hero { min-height: 75vh; }
  .articles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-card { padding: 2.5rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .more-articles .articles-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .category-filter { gap: 0.35rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-card h2 { font-size: 1.6rem; }
  .featured-content h2 { font-size: 1.5rem; }
}

/* ── RANKINGS ─────────────────────────────────────── */
.rankings-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.5rem auto 3rem;
  text-align: center;
  line-height: 1.7;
}
.rankings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ranking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ranking-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ranking-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.ranking-icon { font-size: 1.4rem; }
.ranking-video  { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(168,85,247,0.1)); border-bottom: 1px solid rgba(236,72,153,0.2); }
.ranking-imagen { background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(59,130,246,0.1)); border-bottom: 1px solid rgba(6,182,212,0.2); }
.ranking-voces  { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(99,102,241,0.1)); border-bottom: 1px solid rgba(124,58,237,0.2); }
.ranking-musica { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(234,88,12,0.1)); border-bottom: 1px solid rgba(245,158,11,0.2); }
.ranking-list {
  list-style: none;
  padding: 0.75rem 1rem;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.ranking-item:hover { background: rgba(255,255,255,0.04); }
.rank-1 { background: rgba(245,158,11,0.07); }
.rank-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}
.rank-1 .rank-num { color: #f59e0b; }
.rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.rank-info strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.rank-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.rank-badge { font-size: 0.9rem; flex-shrink: 0; }
.ranking-cta {
  display: block;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.ranking-cta:hover { background: rgba(124,58,237,0.1); color: #a78bfa; }

@media (max-width: 1024px) {
  .rankings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rankings-grid { grid-template-columns: 1fr; }
}
