/* ============================================
   MONEYPULSE — Design System
   Personal Finance Niche Site
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors — Dark Mode (default) */
  --bg-primary: #0a0f1c;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2234;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(26, 34, 52, 0.9);
  --bg-glass: rgba(17, 24, 39, 0.5);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-inverse: #0a0f1c;

  --accent-green: #10b981;
  --accent-green-light: #34d399;
  --accent-green-dark: #059669;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-purple: #8b5cf6;

  --gradient-hero: linear-gradient(135deg, #0a0f1c 0%, #111827 50%, #0d1520 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-card: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.15);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.15);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.06);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #f1f5f9;

  --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  --gradient-card: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.1);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border-glass);
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-right: var(--space-sm);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green-light);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-light);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-base);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
}

.nav-logo .logo-pulse {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--fs-sm);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.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-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-glass);
}

.theme-toggle:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  margin-top: var(--nav-height);
  overflow: hidden;
  position: relative;
}

.news-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--space-lg);
  background: var(--accent-red);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.news-ticker-label::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.ticker-content {
  display: flex;
  animation: ticker-scroll 60s linear infinite;
  padding-left: 120px;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  white-space: nowrap;
  padding: 0 var(--space-2xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ticker-item .ticker-dot {
  width: 4px;
  height: 4px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.ticker-item a {
  color: var(--text-secondary);
}

.ticker-item a:hover {
  color: var(--accent-green);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  animation: float-orb 15s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  animation: float-orb 20s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

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

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero p {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent-green);
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-card-stack {
  position: relative;
  height: 440px;
}

.hero-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}

.hero-card:nth-child(1) {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}

.hero-card:nth-child(2) {
  width: 90%;
  top: 30px;
  left: 5%;
  z-index: 2;
  opacity: 0.6;
}

.hero-card:nth-child(3) {
  width: 80%;
  top: 60px;
  left: 10%;
  z-index: 1;
  opacity: 0.3;
}

.hero-card .card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.hero-card .card-balance {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
}

.hero-card .card-trend {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--accent-green);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: var(--space-lg);
}

.mini-chart .bar {
  flex: 1;
  background: var(--gradient-accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.5;
  animation: grow-bar 1.5s ease both;
}

.mini-chart .bar:nth-child(odd) { opacity: 0.3; }
.mini-chart .bar:last-child { opacity: 1; }

@keyframes grow-bar {
  from { height: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card .card-image {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  position: relative;
}

.article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.article-card .card-image .read-time {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.article-card .card-category {
  margin-bottom: var(--space-sm);
}

.article-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover h3 {
  color: var(--accent-green);
}

.article-card .card-excerpt {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

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

.card-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.card-author .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
}

.card-author .author-name {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.card-date {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* Category cards */
.category-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.category-card .category-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  margin: 0 auto var(--space-lg);
  transition: transform var(--transition-base);
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(-5deg);
}

.category-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.category-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.category-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.category-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.category-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.category-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.category-icon.red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

/* ============================================
   NEWS FEED
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card .news-image {
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: var(--bg-tertiary);
}

.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-card .news-source {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.news-card .news-source .source-name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card .news-source .news-time {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.news-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-filters {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.news-filter-btn {
  padding: 8px 20px;
  border-radius: var(--border-radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--accent-green);
  color: #fff;
  border-color: var(--accent-green);
}

.news-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.news-skeleton .skeleton-image {
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-md);
  background: var(--bg-tertiary);
  margin-bottom: var(--space-md);
}

.news-skeleton .skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  margin-bottom: var(--space-sm);
}

.news-skeleton .skeleton-line.short { width: 40%; }
.news-skeleton .skeleton-line.medium { width: 70%; }

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.load-more-container {
  text-align: center;
  margin-top: var(--space-3xl);
}

.auto-refresh-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-xl);
}

.auto-refresh-indicator .refresh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-xl);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent);
  border-radius: 50%;
}

.newsletter-section h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
}

.newsletter-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--border-radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.newsletter-form input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-form input:focus {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow-green);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  margin-top: calc(var(--nav-height) + var(--space-3xl));
}

.article-main {
  max-width: 100%;
}

.article-header {
  margin-bottom: var(--space-3xl);
}

.article-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-xl);
}

.article-header .breadcrumb a {
  color: var(--text-tertiary);
}

.article-header .breadcrumb a:hover {
  color: var(--accent-green);
}

.article-header h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-lg);
}

.article-header .article-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.article-header .article-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.article-hero-image {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--text-primary);
}

.article-body h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-glass);
}

.article-body h3 {
  font-size: var(--fs-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-body ul {
  list-style: disc;
}

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

.article-body li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
}

.article-body blockquote {
  border-left: 4px solid var(--accent-green);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--bg-card);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body .info-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.article-body .info-box h4 {
  color: var(--accent-green);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-body .warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.article-body .warning-box h4 {
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

/* Article sidebar */
.article-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.toc-card {
  margin-bottom: var(--space-xl);
}

.toc-card h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.toc-list a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  border-left: 2px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--accent-green);
  border-left-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.05);
}

/* Author box */
.author-box {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
}

.author-box .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-box .author-info h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-xs);
}

.author-box .author-info p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Related articles */
.related-articles {
  margin-top: var(--space-4xl);
}

.related-articles h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xl);
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
}

.share-buttons span {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  font-weight: 600;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: var(--fs-md);
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.twitter:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.share-btn.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.linkedin:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.share-btn.copy:hover { background: var(--accent-green); color: #fff; border-color: var(--accent-green); }

/* ============================================
   AD ZONES
   ============================================ */
.ad-zone {
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-glass);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}

.ad-zone-header {
  width: 100%;
  height: 90px;
  margin: var(--space-md) 0;
}

.ad-zone-sidebar {
  width: 100%;
  height: 250px;
  margin-bottom: var(--space-xl);
}

.ad-zone-sidebar-tall {
  width: 100%;
  height: 600px;
  margin-bottom: var(--space-xl);
}

.ad-zone-in-article {
  width: 100%;
  height: 280px;
  margin: var(--space-2xl) 0;
}

.ad-zone-footer {
  width: 100%;
  height: 90px;
  margin: var(--space-xl) 0;
}

/* ============================================
   PAGE HEADERS (non-homepage)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06), transparent);
}

.page-header h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-header p {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   FORMS (Contact, etc.)
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-green);
  color: #fff;
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--text-tertiary);
}

.footer-bottom a:hover {
  color: var(--accent-green);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-lg) var(--space-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 700px;
}

.cookie-consent p a {
  color: var(--accent-green);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--space-lg);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: var(--space-xl);
}

.search-input-wrapper input {
  width: 100%;
  padding: 20px 20px 20px 56px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  font-size: var(--fs-lg);
  color: var(--text-primary);
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: var(--fs-xl);
}

.search-results {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.search-result-item {
  display: block;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--bg-card);
}

.search-result-item h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.search-result-item p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-4xl);
}

.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  color: var(--accent-green);
}

.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--fs-base);
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.legal-content .last-updated {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-2xl);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: var(--fs-xl);
  background: rgba(16, 185, 129, 0.1);
}

.value-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .article-sidebar {
    display: none;
  }

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

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

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.8rem;
    --fs-4xl: 2.2rem;
    --fs-3xl: 1.8rem;
    --fs-2xl: 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: var(--fs-lg);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }

  .article-header h1 {
    font-size: var(--fs-2xl);
  }

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

  .about-grid {
    gap: var(--space-2xl);
  }
}

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

  .hero h1 {
    font-size: var(--fs-3xl);
  }

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

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--border-subtle);
}

.comments-section h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.comment-form {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
}

.comment-form .form-group {
  margin-bottom: var(--space-md);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.comment {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-fast);
}

.comment:hover {
  border-color: rgba(16, 185, 129, 0.2);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.comment-meta {
  flex: 1;
}

.comment-author {
  font-size: var(--fs-sm);
  display: block;
}

.comment-time {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.comment-body {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.no-comments {
  text-align: center;
  color: var(--text-tertiary);
  padding: var(--space-2xl);
  font-size: var(--fs-sm);
}

/* ============================================
   FORM FEEDBACK & NEWSLETTER FEEDBACK
   ============================================ */
.form-feedback,
.comment-feedback,
.newsletter-feedback {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  text-align: center;
}

.form-feedback.success,
.comment-feedback.success,
.newsletter-feedback.success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.form-feedback.error,
.comment-feedback.error,
.newsletter-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
