/* ══════════════════════════════════════════════
   CÓDIGO IA - MAIN STYLESHEET
   Futuristic Neon Dark Theme
   ══════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --cyan: #00d4ff;
  --cyan-dim: #00a8cc;
  --purple: #7c3aed;
  --purple-dim: #5b21b6;
  --purple-bright: #a855f7;
  --neon-blue: #3b82f6;
  --pink-accent: #ec4899;

  /* Dark Background Palette */
  --bg-void: #020408;
  --bg-deep: #050a12;
  --bg-dark: #080e1a;
  --bg-card: #0d1525;
  --bg-card-hover: #111d30;
  --bg-elevated: #132035;
  --bg-input: #0a1020;

  /* Borders */
  --border: rgba(0, 212, 255, 0.08);
  --border-hover: rgba(0, 212, 255, 0.25);
  --border-purple: rgba(124, 58, 237, 0.2);

  /* Text */
  --text-primary: #f0f4ff;
  --text-secondary: #8ba4c4;
  --text-muted: #4a6180;
  --text-accent: #00d4ff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00d4ff, #7c3aed);
  --grad-brand-alt: linear-gradient(135deg, #7c3aed, #00d4ff);
  --grad-card: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(124,58,237,0.05));
  --grad-glow: radial-gradient(ellipse at center, rgba(0,212,255,0.15) 0%, transparent 70%);

  /* Shadows */
  --shadow-neon: 0 0 20px rgba(0,212,255,0.2), 0 0 60px rgba(0,212,255,0.05);
  --shadow-purple: 0 0 20px rgba(124,58,237,0.3), 0 0 60px rgba(124,58,237,0.1);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(0,212,255,0.05) inset;
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6), 0 0 30px rgba(0,212,255,0.1);

  /* Typography */
  --font-display: 'Orbitron', monospace;
  --font-ui: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --section-pad: 80px;
  --card-radius: 16px;
  --nav-height: 70px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 4, 8, 0.95);
  border-bottom-color: rgba(0,212,255,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon svg { width: 36px; height: 36px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.logo-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-search {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}

.btn-search:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0,212,255,0.06);
}

.btn-cta {
  background: var(--grad-brand);
  color: white;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-neon);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 38px; height: 38px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Search bar */
.search-bar {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(5, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  transform: translateY(-110%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.search-bar.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 12px 16px;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}

.search-input::placeholder { color: var(--text-muted); }

.search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s;
}
.search-close:hover { color: var(--cyan); }

/* ══════════════════════════════════════════════
   NEWS TICKER
══════════════════════════════════════════════ */
.news-ticker {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  z-index: 999;
  height: 34px;
  background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(124,58,237,0.12));
  border-bottom: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0,212,255,0.15);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding-left: 16px;
}

.ticker-sep {
  color: var(--cyan);
  opacity: 0.4;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 34px + 60px);
  padding-bottom: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orb-float 12s ease-in-out infinite;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: 100px; right: -150px;
  animation: orb-float 15s ease-in-out infinite reverse;
}

.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation: orb-float 10s ease-in-out infinite 3s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--cyan); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fade-up 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fade-up 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fade-up 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: white;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0,212,255,0.25), 0 4px 20px rgba(0,0,0,0.3);
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,212,255,0.4), 0 8px 30px rgba(0,0,0,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fade-up 0.6s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat > span:not(.stat-num):not(.stat-label) {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-ui);
  text-transform: uppercase;
  margin-top: 4px;
}

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

/* Hero Featured Card */
.hero-featured {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  padding: 0 24px;
  margin-top: 60px;
  animation: fade-up 0.6s ease 0.5s both;
}

.featured-card-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.featured-card-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
}

.featured-card-hero:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.featured-badge-card {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 100px;
  margin-bottom: 16px;
}

.featured-title-hero {
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.featured-excerpt-hero {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category-tag {
  padding: 4px 12px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--purple-bright);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.read-time, .date-pub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.btn-read-more:hover {
  gap: 12px;
  color: var(--text-primary);
}

/* ══════════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════════ */
.categories-section {
  padding: 40px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.cat-icon { font-size: 1.6rem; }

.cat-card span {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.cat-count {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

/* Category hover colors */
.cat-1:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,212,255,0.1); }
.cat-2:hover { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245,158,11,0.1); }
.cat-3:hover { border-color: #10b981; box-shadow: 0 0 20px rgba(16,185,129,0.1); }
.cat-4:hover { border-color: var(--purple-bright); box-shadow: 0 0 20px rgba(168,85,247,0.1); }
.cat-5:hover { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245,158,11,0.1); }
.cat-6:hover { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(59,130,246,0.1); }
.cat-7:hover { border-color: #ec4899; box-shadow: 0 0 20px rgba(236,72,153,0.1); }
.cat-8:hover { border-color: #22c55e; box-shadow: 0 0 20px rgba(34,197,94,0.1); }

/* ══════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 5px 12px;
  border-radius: 100px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 1;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: -20px;
  margin-bottom: 36px;
}

.section-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  white-space: nowrap;
  transition: gap 0.2s;
}
.section-link:hover { color: var(--text-primary); }

/* ══════════════════════════════════════════════
   FEATURED ARTICLES
══════════════════════════════════════════════ */
.featured-section {
  padding: var(--section-pad) 0;
}

.articles-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.articles-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.article-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.article-img-wrap.small { height: 100px; }

.article-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.article-card:hover .article-img-placeholder {
  transform: scale(1.03);
}

/* AI Image Placeholders */
.ai-img-1 { background: linear-gradient(135deg, #0d1a2e 0%, #1a0d2e 40%, #0d2a1a 100%); }
.ai-img-2 { background: linear-gradient(135deg, #0a1628 0%, #1c1028 100%); }
.ai-img-3 { background: linear-gradient(135deg, #0d2010 0%, #102010 100%); }
.ai-img-4 { background: linear-gradient(135deg, #1a0d28 0%, #0d1828 100%); }
.ai-img-5 { background: linear-gradient(135deg, #0d1020 0%, #1a1030 100%); }
.ai-img-6 { background: linear-gradient(135deg, #101830 0%, #180d28 100%); }
.ai-img-7 { background: linear-gradient(135deg, #201028 0%, #102030 100%); }
.ai-img-8 { background: linear-gradient(135deg, #0d2010 0%, #101828 100%); }
.ai-img-9 { background: linear-gradient(135deg, #20100d 0%, #101828 100%); }
.ai-img-10 { background: linear-gradient(135deg, #102818 0%, #0d1a28 100%); }
.ai-news-1 { background: linear-gradient(135deg, #0d1020 0%, #201030 100%); }
.ai-news-2 { background: linear-gradient(135deg, #101828 0%, #1a2810 100%); }
.ai-news-3 { background: linear-gradient(135deg, #181028 0%, #101828 100%); }

/* Add circuit/grid pattern to images */
.ai-img-1::before, .ai-img-2::before, .ai-img-3::before, .ai-img-4::before,
.ai-img-5::before, .ai-img-6::before, .ai-img-7::before, .ai-img-8::before,
.ai-img-9::before, .ai-img-10::before, .ai-news-1::before, .ai-news-2::before, .ai-news-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.ai-img-1::after {
  content: '🤖';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 3rem;
  opacity: 0.3;
  filter: drop-shadow(0 0 20px #00d4ff);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,14,26,0.9) 0%, transparent 50%);
}

.img-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.article-category-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 12px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.article-content {
  padding: 24px;
}

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

.meta-fire {
  font-size: 0.78rem;
  color: var(--cyan);
  font-family: var(--font-ui);
  font-weight: 600;
}

.meta-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-title {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-title a {
  color: var(--text-primary);
  transition: color 0.2s;
}
.article-title a:hover { color: var(--cyan); }

.small-title {
  font-size: 0.95rem;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px; height: 28px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
}

/* Small article variant */
.article-small {
  display: flex;
  gap: 0;
  flex-direction: column;
}

/* ══════════════════════════════════════════════
   AD BANNERS
══════════════════════════════════════════════ */
.ad-banner-wrap {
  padding: 20px 0;
}

.ad-placeholder {
  background: var(--bg-card);
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ad-leaderboard { height: 90px; }
.ad-rect { width: 300px; height: 250px; margin: 0 auto; }

.ad-label {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   TOOLS SECTION
══════════════════════════════════════════════ */
.tools-section {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.tools-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0,212,255,0.08);
  border-color: var(--cyan);
  color: var(--cyan);
}

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

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tool-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  background: var(--bg-card-hover);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tool-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.chatgpt-logo { background: linear-gradient(135deg, #10a37f, #0d8a6e); }
.claude-logo { background: linear-gradient(135deg, #d4612b, #b5501f); }
.midjourney-logo { background: linear-gradient(135deg, #1a1a2e, #16213e); border: 1px solid rgba(255,255,255,0.1); }
.cursor-logo { background: linear-gradient(135deg, #000, #1a1a1a); border: 1px solid rgba(255,255,255,0.1); }
.sora-logo { background: linear-gradient(135deg, #0a0a14, #10a37f); }
.notion-logo { background: linear-gradient(135deg, #1a1a1a, #2d2d2d); border: 1px solid rgba(255,255,255,0.1); }

.tool-info { flex: 1; }
.tool-name { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; }
.tool-company { font-size: 0.75rem; color: var(--text-muted); }

.tool-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.03em;
}

.tool-badge.free { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.tool-badge.paid { background: rgba(124,58,237,0.1); color: var(--purple-bright); border: 1px solid rgba(124,58,237,0.2); }
.tool-badge.freemium { background: rgba(0,212,255,0.08); color: var(--cyan); border: 1px solid rgba(0,212,255,0.15); }

.tool-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tool-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tool-tags span {
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars { color: #f59e0b; font-size: 0.8rem; }
.rating-num { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }

.btn-tool {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  transition: all 0.2s;
}
.btn-tool:hover { color: var(--text-primary); letter-spacing: 0.01em; }

/* ══════════════════════════════════════════════
   ARTICLES GRID V2
══════════════════════════════════════════════ */
.articles-section {
  padding: var(--section-pad) 0;
}

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

.article-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-img {
  width: 100%; height: 100%;
  transition: transform 0.4s ease;
}

.article-card-v2:hover .card-img { transform: scale(1.05); }

.card-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.card-body { padding: 20px; }

.card-title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.card-title a { color: var(--text-primary); transition: color 0.2s; }
.card-title a:hover { color: var(--cyan); }

.card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-tags {
  display: flex;
  gap: 6px;
}
.card-tags span {
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

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

/* ══════════════════════════════════════════════
   CONTENT + SIDEBAR
══════════════════════════════════════════════ */
.content-with-sidebar {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* News list */
.news-list { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.news-item:last-child { border-bottom: none; }

.news-img {
  height: 90px;
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.news-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.news-content h3 {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-content h3 a { color: var(--text-primary); transition: color 0.2s; }
.news-content h3 a:hover { color: var(--cyan); }

.news-cat {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(0,212,255,0.08);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
}

.news-content p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }

.news-meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 6px; align-items: center; }

/* SIDEBAR */
.sidebar { position: sticky; top: calc(var(--nav-height) + 34px + 20px); display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 20px;
}

.widget-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: trending;
}

.trending-list li {
  display: flex;
  gap: 12px;
  counter-increment: trending;
  align-items: flex-start;
}

.trending-list li::before {
  content: counter(trending, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

.trending-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color 0.2s;
}
.trending-list a:hover { color: var(--cyan); }

.newsletter-widget { text-align: center; }
.newsletter-widget .widget-icon { font-size: 2rem; margin-bottom: 8px; }
.newsletter-widget p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }

.widget-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.widget-input:focus { border-color: var(--cyan); }

.widget-btn {
  width: 100%;
  padding: 10px;
  background: var(--grad-brand);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
}
.widget-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.affiliate-widget { text-align: center; }
.aff-label { font-size: 0.68rem; letter-spacing: 0.1em; color: #f59e0b; font-family: var(--font-display); font-weight: 700; margin-bottom: 10px; }
.aff-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px;
  background: linear-gradient(135deg, #10a37f, #0d8a6e);
  border-radius: 10px;
  margin: 0 auto 12px;
  display: inline-block;
  color: white;
}
.affiliate-widget p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }
.aff-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.aff-price span { font-size: 0.9rem; color: var(--text-muted); }

.btn-aff {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--grad-brand);
  color: white;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
  transition: all 0.2s;
}
.btn-aff:hover { opacity: 0.9; transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════════════════ */
.comparison-section {
  padding: var(--section-pad) 0;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-elevated);
}

.comparison-table th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child { color: var(--text-muted); }
.col-chatgpt { color: #10b981 !important; }
.col-claude { color: #d4612b !important; }
.col-gemini { color: #4285f4 !important; }

.th-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  margin-right: 8px;
}

.chatgpt-logo-sm { background: linear-gradient(135deg, #10a37f, #0d8a6e); }
.claude-logo-sm { background: linear-gradient(135deg, #d4612b, #b5501f); }
.gemini-logo-sm { background: linear-gradient(135deg, #4285f4, #0d5bcf); }

.comparison-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:last-child { border-right: none; }
.comparison-table tr:hover td { background: rgba(0,212,255,0.02); }

.check { color: var(--cyan) !important; font-size: 0.82rem !important; }

.rating-cell { min-width: 140px; }

.r-bar {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  padding-bottom: 4px;
}

.r-bar::after {
  content: '';
  display: block;
  height: 4px;
  background: rgba(0,212,255,0.15);
  border-radius: 100px;
  margin-top: 4px;
  position: relative;
}

.r-bar::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--grad-brand);
  border-radius: 100px;
  width: var(--w);
  margin-top: 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 8px rgba(0,212,255,0.3);
}

.claude-bar { color: #d4612b; }
.claude-bar::before { background: linear-gradient(90deg, #d4612b, #f59e0b); box-shadow: 0 0 8px rgba(212,97,43,0.3); }

.gemini-bar { color: #4285f4; }
.gemini-bar::before { background: linear-gradient(90deg, #4285f4, #0ea5e9); box-shadow: 0 0 8px rgba(66,133,244,0.3); }

/* ══════════════════════════════════════════════
   PROMPTS SECTION
══════════════════════════════════════════════ */
.prompts-section {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.prompts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.prompt-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.prompt-cat {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 14px;
}

.prompt-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  background: rgba(0,0,0,0.2);
  padding: 14px;
  border-radius: 10px;
  border-left: 3px solid var(--cyan);
  margin-bottom: 16px;
}

.prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-model {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.copy-btn {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--cyan);
  font-size: 0.78rem;
  font-family: var(--font-ui);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.copy-btn:hover { background: rgba(0,212,255,0.12); }

.prompts-cta { text-align: center; }

/* ══════════════════════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════════════════════ */
.newsletter-section {
  padding: var(--section-pad) 0;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content { position: relative; z-index: 1; }
.newsletter-icon { font-size: 3rem; margin-bottom: 16px; }

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.newsletter-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--cyan); }

.newsletter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--grad-brand);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-neon); }

.newsletter-note { font-size: 0.78rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   AFFILIATE SECTION
══════════════════════════════════════════════ */
.affiliate-section {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.aff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aff-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.featured-aff {
  border-color: rgba(0,212,255,0.2);
  background: linear-gradient(135deg, var(--bg-card), rgba(0,212,255,0.03));
}

.featured-aff::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
}

.aff-badge-top {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f59e0b;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.15);
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.aff-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.aff-logo-lg {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.aff-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
}

.aff-stars {
  color: #f59e0b;
  font-size: 0.85rem;
}
.aff-stars span { color: var(--text-muted); font-size: 0.8rem; }

.aff-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.aff-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.aff-features li::first-letter { color: var(--cyan); }

.aff-pricing {
  margin-bottom: 16px;
}

.aff-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aff-period { color: var(--text-muted); font-size: 0.9rem; }

.btn-aff-large {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--grad-brand);
  color: white;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.btn-aff-large:hover { transform: translateY(-2px); box-shadow: var(--shadow-neon); }

.btn-aff-medium {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--cyan);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.2s;
}
.btn-aff-medium:hover { background: rgba(0,212,255,0.12); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 200px;
  background: radial-gradient(ellipse at top, rgba(0,212,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { }
.footer-logo { margin-bottom: 16px; display: inline-flex; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-link svg { width: 16px; height: 16px; }

.social-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-disclaimer { font-style: italic; }

/* ══════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 46px; height: 46px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0,212,255,0.08);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--text-primary);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .affiliate-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .articles-grid-main { grid-template-columns: 1fr; }
  .articles-side { grid-column: 1; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .comparison-table th, .comparison-table td { padding: 12px; font-size: 0.8rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px; }

  .hero { padding-top: calc(var(--nav-height) + 34px + 40px); }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }

  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 14px 8px; }

  .articles-grid-3 { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .prompts-grid { grid-template-columns: 1fr; }
  .affiliate-grid { grid-template-columns: 1fr; }

  .newsletter-card { padding: 36px 24px; }
  .newsletter-form { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-card span { font-size: 0.65rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
}

/* Mobile nav open state */
@media (max-width: 900px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(2,4,8,0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 999;
  }
  .news-ticker { top: var(--nav-height); }
   /* ── CORREÇÕES DE CONTRASTE ACESSIBILIDADE ── */
.sidebar-num{color:rgba(0,212,255,0.35)}
.sidebar-time{color:#8899aa}
.news-card-time,.news-card-read{color:#8899aa}
.trending-rank{color:rgba(0,212,255,0.25)}
.trending-rank.top{color:rgba(0,212,255,0.45)}
.trending-meta{color:#8899aa}
.comp-vs{color:#8899aa}
.aff-disclaimer{color:#8899aa}
.footer-copyright,.footer-affiliate-note{color:#8899aa}
.authority-desc{color:#8899aa}
.hero-time,.hero-read,.hero-source{color:#8899aa}
}

