/* ============================================
   THE CATALYST MAGAZINE - Glassmorphism Theme
   Futuristic, Beautiful, Aesthetic
   ============================================ */

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

:root {
  /* Light Background Gradient - Grayscale (magazine-inspired) */
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eef1f5 45%, #e5e7eb 100%);
  --bg-white: #ffffff;
  --bg-light: #f4f6f8;

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-bg-light: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-subtle: rgba(15, 23, 42, 0.04);
  --glass-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  --glass-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);

  /* Accent Colors - Monochrome */
  --accent-primary: #0f172a;
  --accent-secondary: #1f2937;
  --accent-light-blue: #6b7280;
  --accent-coral: #9ca3af;
  --accent-gold: #e5e7eb;
  --accent-sky: #94a3b8;
  --accent-gradient: linear-gradient(135deg, #0f172a 0%, #1f2937 50%, #334155 100%);
  --accent-gradient-hover: linear-gradient(135deg, #111827 0%, #1f2937 50%, #475569 100%);

  /* Text Colors */
  --text-dark: #0b1220;
  --text-body: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Category Colors (desaturated) */
  --cat-feature: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
  --cat-profile: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  --cat-interview: linear-gradient(135deg, #111827 0%, #334155 100%);
  --cat-oped: linear-gradient(135deg, #2e3645 0%, #4b5563 100%);
  --cat-editorial: linear-gradient(135deg, #1f2937 0%, #475569 100%);

  /* Spacing */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(15, 23, 42, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

figure {
  display: block;
  margin: 0;
}

figcaption {
  display: block;
}

/* ============================================
   IMAGE OPTIMIZATION - Fast Loading & Progressive
   ============================================ */
/* Optimize image rendering for speed */
img {
  content-visibility: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Progressive image wrapper - shows instantly */
.progressive-image-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e5e7eb 100%);
}

/* Skeleton shimmer animation */
.progressive-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
  z-index: 1;
}

.progressive-image-wrapper.loaded::before {
  display: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Low quality placeholder - blurred and scaled */
.progressive-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.4s ease-out;
  z-index: 2;
}

.progressive-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Full quality image - fades in on top */
.progressive-full {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: 3;
}

.progressive-full.loaded {
  opacity: 1;
}

.progressive-full.lqip {
  filter: blur(16px);
  transform: scale(1.04);
  opacity: 1;
  transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.progressive-image-wrapper.loaded .progressive-full {
  filter: none;
  transform: none;
}

/* Instant card skeleton - no image dependency */
.card-skeleton {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e5e7eb 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.card-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

.skeleton-card {
  pointer-events: none;
  user-select: none;
}

.skeleton-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line,
.skeleton-pill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e5e7eb 100%);
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
}

.skeleton-line.short { width: 60%; }
.skeleton-line.tiny { width: 38%; }
.skeleton-line.long { width: 88%; }

.skeleton-pill {
  height: 24px;
  width: 120px;
  border-radius: 999px;
  display: inline-block;
}

.skeleton-line::after,
.skeleton-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

/* Lazy background image placeholder - subtle pulse */
.lazy-bg {
  background-color: #f3f4f6;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e5e7eb 100%);
  animation: subtle-pulse 2.5s ease-in-out infinite;
  transition: background-image 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.lazy-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

.lazy-bg.bg-loaded {
  animation: none;
  background-size: cover;
  background-position: center;
}

.lazy-bg.bg-loaded::before {
  display: none;
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Ensure images inside progressive wrappers behave correctly */
.progressive-image-wrapper img.progressive-full {
  display: block;
}

/* Hardware acceleration for image containers */
.featured-card,
.article-card,
.magazine-article,
.featured-story-card,
.magazine-cover-grid,
.team-member-card {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg-gradient);
  background-attachment: fixed;
}

/* Animated Background Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Subtle grid overlay for magazine aesthetic */
.bg-blobs::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.06) 0, rgba(15, 23, 42, 0.06) 32%, transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.04) 0,
      rgba(15, 23, 42, 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.04) 0,
      rgba(15, 23, 42, 0.04) 1px,
      transparent 1px,
      transparent 28px
    );
  mix-blend-mode: multiply;
}

.bg-blobs::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.06) 0, rgba(15, 23, 42, 0.06) 32%, transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.04) 0,
      rgba(15, 23, 42, 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.04) 0,
      rgba(15, 23, 42, 0.04) 1px,
      transparent 1px,
      transparent 28px
    );
  mix-blend-mode: multiply;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #e5e7eb, #cbd5e1);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  top: 50%;
  right: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #d1d5db, #cbd5e1);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

.blob-4 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  top: 30%;
  left: 10%;
  animation-delay: -15s;
}

/* DC-inspired silhouette */
.dc-silhouette {
  position: absolute;
  bottom: -80px;
  right: 5%;
  width: 220px;
  height: 420px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.05));
  clip-path: polygon(50% 0%, 62% 12%, 62% 100%, 38% 100%, 38% 12%);
  filter: blur(0.5px);
  opacity: 0.55;
}

.dc-capitol {
  position: absolute;
  bottom: -34px;
  left: 4%;
  width: min(36vw, 420px);
  aspect-ratio: 4 / 3;
  background: url('../capitol.svg') no-repeat center;
  background-size: contain;
  filter: drop-shadow(0 26px 48px rgba(15, 23, 42, 0.28)) saturate(0.85) blur(0.35px);
  opacity: 0.38;
  mix-blend-mode: multiply;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    transform: translate(20px, 50px) scale(1.05);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   GLASSMORPHISM CARD
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1400px;
  z-index: 1000;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.15));
}

.brand-logo-mobile {
  display: none;
}

.brand-logo-desktop {
  display: block;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.2));
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.header .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-primary);
  background: rgba(13, 71, 161, 0.1);
}

.nav-link.active {
  color: var(--text-white);
  background: var(--accent-gradient);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-white);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.2),
    0 4px 12px rgba(15, 23, 42, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-3px);
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.26),
    0 6px 16px rgba(15, 23, 42, 0.16),
    inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--text-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.14),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.btn-glass:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Newsletter Button */
.mobile-newsletter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  margin: 0;
}

.mobile-newsletter-btn:hover {
  transform: scale(1.1);
  color: var(--accent-primary);
}

/* Newsletter Modal */
.newsletter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: modalFadeIn 0.3s ease-out;
}

.newsletter-modal.active {
  display: block;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.newsletter-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.newsletter-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.newsletter-modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: rotate(90deg);
}

.newsletter-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-align: center;
}

.newsletter-modal-subtitle {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 28px;
}

/* Modal Form Specific Styles */
.newsletter-modal-content .newsletter-form-glass {
  max-width: 100%;
  gap: 16px;
}

.newsletter-modal-content .newsletter-form-grid {
  gap: 12px;
}

.newsletter-modal-content .form-input-glass {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-radius: 16px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.newsletter-modal-content .btn-glass {
  padding: 16px 28px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 95vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(148, 163, 184, 0.15) 0%,
    rgba(203, 213, 225, 0.1) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(229, 231, 235, 0.2) 0%,
    rgba(243, 244, 246, 0.1) 50%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 32px;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #0f172a, #1f2937);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(15, 23, 42, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 16px rgba(15, 23, 42, 0.5);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
    box-shadow: 0 0 24px rgba(15, 23, 42, 0.7);
  }
}

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

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

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 32px;
  padding: 12px 0;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3em;
  overflow: visible;
  width: 100%;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px) rotateX(-90deg);
  transform-origin: center bottom;
  perspective: 1000px;
}

.hero-word-1 {
  animation: dramaticEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.hero-word-2 {
  animation: dramaticEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.hero-word-3 {
  animation: dramaticEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

.hero-word-4 {
  animation: dramaticEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

.hero-word-5 {
  animation: dramaticEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards,
             shimmerGlow 3s ease-in-out 2s infinite;
}

@keyframes dramaticEntry {
  0% {
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg) scale(0.5);
    filter: blur(10px);
  }
  50% {
    transform: translateY(-10px) rotateX(5deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
    filter: blur(0px);
  }
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--accent-gradient);
  opacity: 0;
  filter: blur(20px);
  z-index: -1;
  border-radius: 8px;
  animation: glowPulse 3s ease-in-out 2s infinite;
}

@keyframes shimmerGlow {
  0%, 100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.2) saturate(1.3);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Hero Featured Grid */
.hero-featured {
  position: relative;
  margin-top: 64px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.16),
    0 12px 32px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
}

/* Progressive image wrapper for featured cards */
.featured-card-image-wrapper {
  width: 100%;
  height: 200px;
  position: relative;
}

.featured-card-image-wrapper .progressive-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: filter var(--transition-slow), transform var(--transition-slow), opacity 0.4s ease-out;
  contain: layout paint;
}

.featured-card:hover .featured-card-image-wrapper .progressive-full {
  filter: saturate(1.15) brightness(1.05);
  transform: scale(1.05);
}

/* Legacy support for direct img */
.featured-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(1.05);
  transition: filter var(--transition-slow), transform var(--transition-slow);
  contain: layout paint;
}

.featured-card:hover .featured-card-image {
  filter: saturate(1.15) brightness(1.05);
  transform: scale(1.05);
}

.featured-card-overlay {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.featured-card-category {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.featured-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
  .hero-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(15, 23, 42, 0.06);
}

/* Featured Stories Grid */
.featured-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.featured-story-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.featured-story-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 400px;
}

.featured-story-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.16),
    0 12px 32px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.65);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
}

.featured-story-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.featured-story-card:first-child .featured-story-image {
  width: 50%;
  height: 100%;
}

.featured-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

.featured-story-card:hover .featured-story-image::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.08) 100%
  );
}

.featured-story-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.featured-story-card:first-child .featured-story-content {
  width: 50%;
  padding: 48px;
  justify-content: center;
}

.featured-story-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.featured-story-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0;
}

.featured-story-card:first-child .featured-story-title {
  font-size: 2rem;
}

.featured-story-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-story-card:first-child .featured-story-excerpt {
  font-size: 1.1rem;
  -webkit-line-clamp: 4;
}

.featured-story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin-top: auto;
}

.featured-story-author {
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .featured-stories-grid {
    grid-template-columns: 1fr;
  }

  .featured-story-card:first-child {
    grid-column: 1;
    flex-direction: column;
  }

  .featured-story-card:first-child .featured-story-image {
    width: 100%;
    height: 280px;
  }

  .featured-story-card:first-child .featured-story-content {
    width: 100%;
    padding: 32px;
  }

  .featured-story-card:first-child .featured-story-title {
    font-size: 1.6rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 12px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.05));
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

@media (min-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.1),
    0 8px 20px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.14),
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.65);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
}

.article-card:hover .article-image img,
.article-card:hover .article-image .progressive-full.loaded {
  transform: scale(1.1);
  filter: brightness(1.05) saturate(1.1);
}

.article-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  contain: layout paint;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity 0.4s ease-out;
  contain: layout paint;
}

/* Progressive image support for article cards */
.article-image.progressive-image-wrapper .progressive-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity 0.4s ease-out;
  contain: layout paint;
}

.article-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  z-index: 2;
}

.article-category.feature { background: var(--cat-feature); }
.article-category.profile { background: var(--cat-profile); }
.article-category.interview { background: var(--cat-interview); }
.article-category.op-ed { background: var(--cat-oped); }
.article-category.editorial { background: var(--cat-editorial); }

.article-category {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-title {
  color: var(--accent-primary);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.article-author {
  font-weight: 600;
  color: var(--text-dark);
}

.article-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.article-read-btn:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.filter-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.filter-btn.active {
  background: var(--accent-gradient);
  border-color: rgba(15, 23, 42, 0.3);
  color: white;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */
.article-page {
  padding: 120px 0 60px;
}

.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail-header {
  margin-bottom: 40px;
}

.article-detail-category {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.article-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  color: var(--text-muted);
}

.article-detail-author {
  font-weight: 600;
  color: var(--text-dark);
}

.article-detail-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--glass-shadow-lg);
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 9;
}

.article-detail-image img,
.article-detail-image .progressive-full {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.article-detail-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.article-detail-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 24px;
  text-align: justify;
}

.article-detail-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
}

.article-detail-content h2:first-child {
  margin-top: 0;
}

.article-detail-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 36px 0 18px;
  color: var(--text-dark);
}

.article-detail-content blockquote {
  padding: 24px 32px;
  margin: 32px 0;
  background: var(--glass-bg);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-dark);
}

.article-detail-content ul,
.article-detail-content ol {
  margin: 24px 0;
  padding-left: 32px;
  line-height: 1.9;
  color: var(--text-body);
}

.article-detail-content li {
  margin-bottom: 12px;
}

.article-detail-content strong {
  font-weight: 700;
  color: var(--text-dark);
}

.article-detail-content em {
  font-style: italic;
}

.article-detail-content a {
  color: var(--accent-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.article-detail-content a:hover {
  color: var(--accent-secondary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 12px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.back-link:hover {
  background: var(--glass-bg-strong);
  transform: translateX(-4px);
}

/* ============================================
   FORMS & PANELS
   ============================================ */
.panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.panel {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.panel-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow);
}

.panel-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.panel-description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Form Inputs */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(15, 23, 42, 0.3);
  box-shadow:
    0 0 0 4px rgba(15, 23, 42, 0.08),
    0 6px 20px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236a7a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tag:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-dark);
  transform: translateY(-1px);
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.1),
    0 6px 20px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: all var(--transition-normal);
}

.search-box:focus-within {
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow:
    0 0 0 4px rgba(15, 23, 42, 0.08),
    0 20px 56px rgba(15, 23, 42, 0.14),
    0 8px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
}

.search-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-right: 16px;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  padding: 14px 0;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.search-clear {
  background: rgba(15, 23, 42, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  margin-left: 12px;
}

.search-clear:hover {
  background: rgba(15, 23, 42, 0.15);
  transform: scale(1.1);
}

.search-clear svg {
  color: var(--text-muted);
}

.search-results-count {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.03));
  border-radius: var(--radius-full);
  display: inline-block;
  width: 100%;
}

/* ============================================
   BRAIN TEASER SECTION
   ============================================ */
.brain-teaser-section {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.02) 0%, rgba(13, 71, 161, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.brain-teaser-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 18s ease-in-out infinite;
}

.brain-teaser-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(40px) saturate(120%);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 2px 8px rgba(15, 23, 42, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brain-teaser-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

.brain-teaser-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(13, 71, 161, 0.08);
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.brain-teaser-icon svg {
  color: rgba(13, 71, 161, 0.8);
}

.brain-teaser-question {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.brain-teaser-reveal {
  margin-bottom: 24px;
}

.brain-teaser-answer {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.12), rgba(13, 71, 161, 0.08));
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(66, 165, 245, 0.2);
  animation: slideDown 0.4s ease-out;
}

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

.brain-teaser-answer-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 500;
}

.brain-teaser-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.brain-teaser-link:hover {
  color: var(--accent-secondary);
  transform: translateX(4px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animations for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-member-card {
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.1),
    0 8px 20px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
  text-align: center;
}

/* Subtle colorful background gradients for team cards - no purple */
.team-member-card:nth-child(1) { background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(2) { background: linear-gradient(135deg, rgba(250, 112, 154, 0.1) 0%, rgba(254, 225, 64, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(3) { background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(4) { background: linear-gradient(135deg, rgba(255, 184, 108, 0.1) 0%, rgba(255, 224, 130, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(5) { background: linear-gradient(135deg, rgba(129, 236, 236, 0.1) 0%, rgba(85, 239, 196, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(6) { background: linear-gradient(135deg, rgba(255, 118, 117, 0.1) 0%, rgba(255, 168, 168, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(7) { background: linear-gradient(135deg, rgba(116, 185, 255, 0.1) 0%, rgba(162, 210, 255, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(8) { background: linear-gradient(135deg, rgba(253, 203, 110, 0.1) 0%, rgba(255, 234, 167, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(9) { background: linear-gradient(135deg, rgba(85, 239, 196, 0.1) 0%, rgba(129, 236, 236, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(10) { background: linear-gradient(135deg, rgba(255, 121, 121, 0.1) 0%, rgba(255, 177, 153, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(11) { background: linear-gradient(135deg, rgba(72, 219, 251, 0.1) 0%, rgba(116, 185, 255, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(12) { background: linear-gradient(135deg, rgba(255, 159, 67, 0.1) 0%, rgba(254, 202, 87, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(13) { background: linear-gradient(135deg, rgba(0, 206, 201, 0.1) 0%, rgba(85, 239, 196, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(14) { background: linear-gradient(135deg, rgba(250, 177, 160, 0.1) 0%, rgba(255, 195, 160, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.team-member-card:nth-child(15) { background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.08) 100%), rgba(255, 255, 255, 0.88); }

.team-member-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.14),
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Intensify gradient on hover */
.team-member-card:nth-child(1):hover { background: linear-gradient(135deg, rgba(79, 172, 254, 0.18) 0%, rgba(0, 242, 254, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(2):hover { background: linear-gradient(135deg, rgba(250, 112, 154, 0.18) 0%, rgba(254, 225, 64, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(3):hover { background: linear-gradient(135deg, rgba(67, 233, 123, 0.18) 0%, rgba(56, 249, 215, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(4):hover { background: linear-gradient(135deg, rgba(255, 184, 108, 0.18) 0%, rgba(255, 224, 130, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(5):hover { background: linear-gradient(135deg, rgba(129, 236, 236, 0.18) 0%, rgba(85, 239, 196, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(6):hover { background: linear-gradient(135deg, rgba(255, 118, 117, 0.18) 0%, rgba(255, 168, 168, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(7):hover { background: linear-gradient(135deg, rgba(116, 185, 255, 0.18) 0%, rgba(162, 210, 255, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(8):hover { background: linear-gradient(135deg, rgba(253, 203, 110, 0.18) 0%, rgba(255, 234, 167, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(9):hover { background: linear-gradient(135deg, rgba(85, 239, 196, 0.18) 0%, rgba(129, 236, 236, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(10):hover { background: linear-gradient(135deg, rgba(255, 121, 121, 0.18) 0%, rgba(255, 177, 153, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(11):hover { background: linear-gradient(135deg, rgba(72, 219, 251, 0.18) 0%, rgba(116, 185, 255, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(12):hover { background: linear-gradient(135deg, rgba(255, 159, 67, 0.18) 0%, rgba(254, 202, 87, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(13):hover { background: linear-gradient(135deg, rgba(0, 206, 201, 0.18) 0%, rgba(85, 239, 196, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(14):hover { background: linear-gradient(135deg, rgba(250, 177, 160, 0.18) 0%, rgba(255, 195, 160, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.team-member-card:nth-child(15):hover { background: linear-gradient(135deg, rgba(79, 172, 254, 0.18) 0%, rgba(0, 242, 254, 0.14) 100%), rgba(255, 255, 255, 0.92); }

.team-member-image {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.5), rgba(250, 250, 250, 0.3));
  transition: all var(--transition-slow);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: scale(0.85);
  padding: 10px 0;
}

.team-member-card:hover .team-member-image {
  transform: scale(0.9);
  filter: brightness(1.03) saturate(1.05);
}

.team-member-info {
  padding: 24px;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.team-member-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.team-member-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.team-member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: all var(--transition-fast);
}

.team-member-social a:hover {
  background: var(--accent-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.team-member-social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEWSLETTER - ENHANCED GLASSMORPHISM
   ============================================ */
.newsletter {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.82) 100%
  );
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 36px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.15),
    0 15px 40px rgba(15, 23, 42, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(15, 23, 42, 0.02);
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.04) 25%,
    transparent 50%
  );
  animation: rotate 30s linear infinite;
}

.newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.newsletter-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.newsletter-form {
  display: flex;
  gap: 14px;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-form .form-input {
  flex: 1;
}

/* Glassmorphism Newsletter Form - Absolutely Stunning Edition */
.newsletter-form-glass {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  animation: formFloatIn 1s ease-out;
}

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

.newsletter-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  animation: fadeInUp 0.7s ease-out;
}

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

.form-input-glass {
  padding: 20px 30px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: 'Poppins', sans-serif;
  box-shadow:
    0 10px 40px rgba(15, 23, 42, 0.09),
    0 4px 12px rgba(15, 23, 42, 0.05),
    inset 0 2px 5px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
}

.form-input-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: left 0.8s ease;
}

.form-input-glass:hover::before {
  left: 100%;
}

.form-input-glass::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.form-input-glass:hover {
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow:
    0 14px 50px rgba(15, 23, 42, 0.12),
    0 6px 16px rgba(15, 23, 42, 0.07),
    inset 0 3px 6px rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

.form-input-glass:focus {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
  border-color: rgba(15, 23, 42, 0.3);
  box-shadow:
    0 18px 56px rgba(15, 23, 42, 0.16),
    0 10px 28px rgba(15, 23, 42, 0.1),
    0 0 0 6px rgba(15, 23, 42, 0.04),
    inset 0 3px 6px rgba(255, 255, 255, 1),
    inset 0 -2px 5px rgba(15, 23, 42, 0.02);
  transform: translateY(-3px) scale(1.01);
}

.btn-glass {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
  padding: 20px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 1) 0%,
    rgba(30, 41, 59, 1) 50%,
    rgba(15, 23, 42, 1) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 48px rgba(15, 23, 42, 0.28),
    0 8px 24px rgba(15, 23, 42, 0.18),
    inset 0 1px 3px rgba(255, 255, 255, 0.18),
    inset 0 -1px 2px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
}

.btn-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-glass:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 24px 72px rgba(15, 23, 42, 0.4),
    0 12px 36px rgba(15, 23, 42, 0.25),
    inset 0 1px 4px rgba(255, 255, 255, 0.25);
  background-position: 100% 50%;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover::after {
  opacity: 1;
}

.btn-glass:active {
  transform: translateY(-2px) scale(1);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.3),
    0 6px 18px rgba(15, 23, 42, 0.18);
}

.btn-glass svg {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.btn-glass:hover svg {
  transform: translateX(6px);
}

.newsletter-response {
  margin-top: 20px;
  padding: 18px 28px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  display: none;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  animation: slideInUp 0.5s ease-out;
  letter-spacing: 0.015em;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.newsletter-response.success {
  display: block;
  background: linear-gradient(135deg,
    rgba(34, 197, 94, 0.22) 0%,
    rgba(34, 197, 94, 0.15) 100%
  );
  border: 2px solid rgba(34, 197, 94, 0.4);
  color: #166534;
  box-shadow:
    0 10px 40px rgba(34, 197, 94, 0.18),
    0 4px 16px rgba(34, 197, 94, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.newsletter-response.error {
  display: block;
  background: linear-gradient(135deg,
    rgba(239, 68, 68, 0.22) 0%,
    rgba(239, 68, 68, 0.15) 100%
  );
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #991b1b;
  box-shadow:
    0 10px 40px rgba(239, 68, 68, 0.18),
    0 4px 16px rgba(239, 68, 68, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

/* ============================================
   CATEGORY EXPLORE SECTION
   ============================================ */
.category-explore-section {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.03) 0%, rgba(66, 165, 245, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.category-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.25));
  backdrop-filter: blur(40px) saturate(120%);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.03),
    0 2px 8px rgba(15, 23, 42, 0.02);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.3);
  border: none;
}

.category-features .category-icon {
  background: rgba(239, 83, 80, 0.06);
  color: rgba(229, 57, 53, 0.8);
}

.category-profiles .category-icon {
  background: rgba(13, 71, 161, 0.06);
  color: rgba(13, 71, 161, 0.8);
}

.category-interviews .category-icon {
  background: rgba(142, 36, 170, 0.06);
  color: rgba(123, 31, 162, 0.8);
}

.category-editorials .category-icon {
  background: rgba(255, 143, 0, 0.06);
  color: rgba(245, 124, 0, 0.8);
}

.category-card:hover .category-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.category-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0;
}

.category-card p {
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.6;
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0;
  flex: 1;
}

.category-arrow {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-arrow {
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.7);
  transform: translateX(3px);
}

/* ============================================
   ABOUT CARDS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.about-card {
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.1),
    0 6px 20px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
}

/* Subtle colorful background gradients for about cards - no purple */
.about-card:nth-child(1) { background: linear-gradient(135deg, rgba(79, 172, 254, 0.12) 0%, rgba(0, 242, 254, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.about-card:nth-child(2) { background: linear-gradient(135deg, rgba(250, 112, 154, 0.12) 0%, rgba(254, 225, 64, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.about-card:nth-child(3) { background: linear-gradient(135deg, rgba(67, 233, 123, 0.12) 0%, rgba(56, 249, 215, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.about-card:nth-child(4) { background: linear-gradient(135deg, rgba(255, 184, 108, 0.12) 0%, rgba(255, 224, 130, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.about-card:nth-child(5) { background: linear-gradient(135deg, rgba(129, 236, 236, 0.12) 0%, rgba(85, 239, 196, 0.08) 100%), rgba(255, 255, 255, 0.88); }
.about-card:nth-child(6) { background: linear-gradient(135deg, rgba(255, 118, 117, 0.12) 0%, rgba(255, 168, 168, 0.08) 100%), rgba(255, 255, 255, 0.88); }

.about-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.14),
    0 10px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Intensify gradient on hover */
.about-card:nth-child(1):hover { background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.about-card:nth-child(2):hover { background: linear-gradient(135deg, rgba(250, 112, 154, 0.2) 0%, rgba(254, 225, 64, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.about-card:nth-child(3):hover { background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.about-card:nth-child(4):hover { background: linear-gradient(135deg, rgba(255, 184, 108, 0.2) 0%, rgba(255, 224, 130, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.about-card:nth-child(5):hover { background: linear-gradient(135deg, rgba(129, 236, 236, 0.2) 0%, rgba(85, 239, 196, 0.14) 100%), rgba(255, 255, 255, 0.92); }
.about-card:nth-child(6):hover { background: linear-gradient(135deg, rgba(255, 118, 117, 0.2) 0%, rgba(255, 168, 168, 0.14) 100%), rgba(255, 255, 255, 0.92); }

.about-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

/* ============================================
   TEAM STATS
   ============================================ */
.team-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 48px;
}

.team-stat {
  text-align: center;
  padding: 32px 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 12px 40px rgba(79, 172, 254, 0.12),
    0 4px 16px rgba(0, 206, 201, 0.08);
}

/* Colorful stat cards */
.team-stat:nth-child(1) {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.12) 0%, rgba(0, 242, 254, 0.08) 100%), rgba(255, 255, 255, 0.9);
}

.team-stat:nth-child(2) {
  background: linear-gradient(135deg, rgba(0, 206, 201, 0.12) 0%, rgba(85, 239, 196, 0.08) 100%), rgba(255, 255, 255, 0.9);
}

.team-stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe 0%, #00cec9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.team-stat-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .team-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .team-stat {
    padding: 24px 40px;
    width: 100%;
    max-width: 280px;
  }

  .team-stat-number {
    font-size: 2.8rem;
  }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   MAGAZINE STYLE - ARTICLES PAGE
   ============================================ */
.magazine-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    rgba(13, 71, 161, 0.02) 0%,
    rgba(66, 165, 245, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 140px 0 60px;
}

.magazine-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle,
    rgba(13, 71, 161, 0.03) 0%,
    transparent 60%
  );
  border-radius: 50%;
  opacity: 0.5;
}

.magazine-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.magazine-issue {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: linear-gradient(135deg,
    rgba(13, 71, 161, 0.08),
    rgba(66, 165, 245, 0.08)
  );
  border-radius: 20px;
  border: 1px solid rgba(13, 71, 161, 0.15);
  backdrop-filter: blur(10px);
}

.magazine-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.magazine-hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-primary), #42A5F5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.magazine-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Magazine Cover Story */
.magazine-cover-story {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.12),
    0 12px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.magazine-cover-story:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.16),
    0 16px 40px rgba(15, 23, 42, 0.1),
    inset 0 1px 3px rgba(255, 255, 255, 0.7);
}

.magazine-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.magazine-cover-image {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  contain: layout paint;
}

.magazine-cover-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, transparent 100%);
}

.magazine-cover-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.magazine-cover-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.magazine-cover-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.magazine-cover-excerpt {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.magazine-cover-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Magazine Navigation */
/* E-Magazine Navigation Section */
.emagazine-nav-section {
  padding: 32px 0;
  background: linear-gradient(to bottom, rgba(248, 249, 250, 0.6), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.emagazine-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.magazine-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.magazine-nav-item {
  background: white;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.magazine-nav-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.magazine-nav-item:hover::before {
  transform: scaleX(1);
}

.nav-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.magazine-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.magazine-nav-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.magazine-nav-item:hover {
  background: rgba(13, 71, 161, 0.04);
  border-color: rgba(13, 71, 161, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.magazine-nav-item:hover .magazine-nav-icon,
.magazine-nav-item:hover .magazine-nav-label {
  color: var(--accent-primary);
}

.magazine-nav-item.active {
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.25);
}

.magazine-nav-item.active::before {
  transform: scaleX(1);
  background: white;
}

.magazine-nav-item.active .magazine-nav-icon,
.magazine-nav-item.active .magazine-nav-label {
  color: white;
}

/* Magazine Grid - Enhanced Professional Layout with Glassmorphism */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  animation: gridFadeIn 0.6s ease-out;
  grid-auto-flow: dense; /* Fill gaps automatically */
}

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

.magazine-article {
  /* Glassmorphism Background */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  /* Borders and Shadows */
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(13, 71, 161, 0.12),
    0 2px 8px rgba(13, 71, 161, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  /* Animation and Interaction */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-origin: center;
  animation: cardSlideIn 0.5s ease-out backwards;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Stagger animation for cards */
.magazine-article:nth-child(1) { animation-delay: 0.05s; }
.magazine-article:nth-child(2) { animation-delay: 0.1s; }
.magazine-article:nth-child(3) { animation-delay: 0.15s; }
.magazine-article:nth-child(4) { animation-delay: 0.2s; }
.magazine-article:nth-child(5) { animation-delay: 0.25s; }
.magazine-article:nth-child(6) { animation-delay: 0.3s; }
.magazine-article:nth-child(7) { animation-delay: 0.35s; }
.magazine-article:nth-child(8) { animation-delay: 0.4s; }
.magazine-article:nth-child(9) { animation-delay: 0.45s; }

/* Shimmer effect on card */
.magazine-article::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
  z-index: 1;
}

.magazine-article:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Accent border on hover */
.magazine-article::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-primary), #42A5F5) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.magazine-article:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(13, 71, 161, 0.2),
    0 8px 24px rgba(13, 71, 161, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(13, 71, 161, 0.2);
}

.magazine-article:hover::after {
  opacity: 0.6;
}

/* Magazine Grid Layouts - Flexible sizing for better alignment */
.magazine-article.large {
  grid-column: span 2;
  grid-row: span 2;
}

.magazine-article.medium {
  grid-column: span 2;
}

.magazine-article.small {
  grid-column: span 1;
}

/* Progressive image wrapper for magazine articles */
.magazine-article-image-wrapper {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.magazine-article-image-wrapper .progressive-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
  contain: layout paint;
}

.magazine-article.large .magazine-article-image-wrapper {
  height: 100%;
  min-height: 400px;
}

.magazine-article.medium .magazine-article-image-wrapper {
  height: 280px;
}

.magazine-article:hover .magazine-article-image-wrapper .progressive-full {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

/* Legacy support */
.magazine-article-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg,
    rgba(13, 71, 161, 0.08),
    rgba(66, 165, 245, 0.08)
  );
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  contain: layout paint;
}

/* Image overlay gradient */
.magazine-article-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top,
    rgba(15, 23, 42, 0.3) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.magazine-article:hover .magazine-article-image::after {
  opacity: 1;
}

.magazine-article.large .magazine-article-image {
  height: 100%;
  min-height: 400px;
}

.magazine-article.medium .magazine-article-image {
  height: 280px;
}

.magazine-article:hover .magazine-article-image {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

.magazine-article-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.magazine-article.large .magazine-article-content {
  padding: 40px;
  gap: 18px;
}

.magazine-article-category {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg,
    rgba(13, 71, 161, 0.1),
    rgba(66, 165, 245, 0.1)
  );
  border-radius: 20px;
  border: 1px solid rgba(13, 71, 161, 0.2);
  width: fit-content;
  transition: all 0.3s ease;
}

.magazine-article:hover .magazine-article-category {
  background: linear-gradient(135deg,
    rgba(13, 71, 161, 0.15),
    rgba(66, 165, 245, 0.15)
  );
  transform: translateX(4px);
}

.magazine-article-category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.magazine-article-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-article:hover .magazine-article-title {
  color: var(--accent-primary);
  letter-spacing: -0.01em;
}

.magazine-article.large .magazine-article-title {
  font-size: 2.4rem;
  line-height: 1.2;
  -webkit-line-clamp: 4;
}

.magazine-article.medium .magazine-article-title {
  font-size: 1.7rem;
  -webkit-line-clamp: 3;
}

.magazine-article-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.magazine-article:hover .magazine-article-excerpt {
  opacity: 1;
}

.magazine-article.large .magazine-article-excerpt {
  font-size: 1.08rem;
  line-height: 1.75;
  -webkit-line-clamp: 4;
}

.magazine-article.medium .magazine-article-excerpt {
  -webkit-line-clamp: 3;
}

.magazine-article-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(13, 71, 161, 0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.magazine-article:hover .magazine-article-meta {
  color: var(--accent-primary);
  border-top-color: rgba(13, 71, 161, 0.2);
}

.magazine-article-meta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 6px var(--accent-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

@media (max-width: 1024px) {
  .magazine-cover-grid {
    grid-template-columns: 1fr;
  }

  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .magazine-article.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .magazine-article.medium {
    grid-column: span 2;
  }

  .magazine-article.small {
    grid-column: span 1;
  }

  .magazine-article.large .magazine-article-image,
  .magazine-article.large .magazine-article-image-wrapper {
    height: 320px;
    min-height: 320px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .magazine-hero {
    min-height: 30vh;
    padding: 100px 0 40px;
  }

  .magazine-issue {
    font-size: 0.65rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .magazine-hero-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
    margin-bottom: 12px;
  }

  .magazine-hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
    max-width: 90%;
  }

  .magazine-cover-content {
    padding: 40px 30px;
  }

  .magazine-cover-title {
    font-size: 2rem;
  }

  .emagazine-nav-section {
    padding: 24px 0;
  }

  .filter-title {
    font-size: 0.75rem;
  }

  .magazine-nav {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .magazine-nav::-webkit-scrollbar {
    display: none;
  }

  .magazine-nav-item {
    padding: 12px 20px;
    flex-shrink: 0;
  }

  .magazine-nav-icon {
    width: 18px;
    height: 18px;
  }

  .magazine-nav-label {
    font-size: 0.85rem;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .magazine-article.large,
  .magazine-article.medium,
  .magazine-article.small {
    grid-column: span 1;
    grid-row: span 1;
  }

  .magazine-article-image,
  .magazine-article-image-wrapper {
    height: 220px;
  }

  .magazine-article.large .magazine-article-image,
  .magazine-article.medium .magazine-article-image,
  .magazine-article.large .magazine-article-image-wrapper,
  .magazine-article.medium .magazine-article-image-wrapper {
    height: 260px;
    min-height: 260px;
  }

  .magazine-article-content {
    padding: 24px;
  }

  .magazine-article-title {
    font-size: 1.25rem;
    -webkit-line-clamp: 2;
  }

  .magazine-article.large .magazine-article-title,
  .magazine-article.medium .magazine-article-title {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 100px;
  padding: 60px 0 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 -12px 40px rgba(15, 23, 42, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

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

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-glow);
  border: none;
}

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

.scroll-top:hover {
  transform: translateY(-4px);
}

/* Load More */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

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

  .hero-content {
    order: -1;
  }

  .hero-featured {
    order: 1;
  }

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

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

@media (max-width: 768px) {
  /* ==========================================
     MOBILE HEADER - Clean Rebuild
     ========================================== */

  .header {
    width: calc(100% - 32px);
    top: 10px;
    padding: 8px 16px;
  }

  /* Hide desktop elements completely */
  .nav-cta,
  .brand-logo-desktop {
    display: none !important;
  }

  /* Position nav element for mobile dropdown */
  .nav-container > nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
  }

  /* Show mobile elements */
  .brand-logo-mobile {
    display: block;
  }

  /* ==========================================
     MOBILE NAV CONTAINER - CSS Grid Layout
     3 columns: [mail icon] [logo] [hamburger]
     ========================================== */
  .nav-container {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 12px;
    height: 48px;
  }

  /* ==========================================
     MAIL ICON (Left) - Column 1
     ========================================== */
  .mobile-newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    order: 1;
  }

  .mobile-newsletter-btn svg {
    width: 22px;
    height: 22px;
  }

  /* ==========================================
     LOGO (Center) - Column 2
     ========================================== */
  .nav-container .brand {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    order: 2;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    max-width: none;
  }

  .brand-name {
    font-size: 1.2rem;
    font-weight: 900;
  }

  /* ==========================================
     HAMBURGER MENU (Right) - Column 3
     ========================================== */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    gap: 5px;
    background: none;
    border: none;
    order: 3;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
  }

  /* ==========================================
     MOBILE NAV MENU (Dropdown)
     ========================================== */
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    text-align: center;
  }

  /* Other mobile adjustments */
  .dc-capitol {
    width: min(60vw, 300px);
    bottom: -20px;
    opacity: 0.32;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
  }

  .hero-content {
    padding: 40px 24px;
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 20px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

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

  .newsletter {
    padding: 50px 28px;
    border-radius: 28px;
  }

  .newsletter-title {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }

  .newsletter-subtitle {
    font-size: 1.05rem;
    margin-bottom: 36px;
  }

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

  .newsletter-form-glass {
    gap: 18px;
    max-width: 100%;
  }

  .newsletter-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-input-glass {
    padding: 18px 26px;
    font-size: 0.96rem;
  }

  .btn-glass {
    padding: 18px 36px;
    font-size: 1.02rem;
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }

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

  .article-detail-content {
    padding: 32px 24px;
  }
}

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

  .header {
    width: calc(100% - 24px);
    padding: 6px 12px;
  }

  /* Smaller header elements for small screens */
  .nav-container {
    grid-template-columns: 36px 1fr 36px;
    gap: 10px;
    height: 44px;
  }

  .mobile-newsletter-btn {
    width: 36px;
    height: 36px;
  }

  .mobile-newsletter-btn svg {
    width: 20px;
    height: 20px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .brand-name {
    font-size: 1.25rem;
    font-weight: 900;
  }

  .hero {
    padding: 115px 0 50px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 115px;
  }

  .hero-content {
    padding: 32px 20px;
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
    margin-bottom: 20px;
    gap: 0.2em;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 16px;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .featured-card-image,
  .featured-card-image-wrapper {
    height: 300px;
  }

  .panel {
    padding: 28px;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .newsletter {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .newsletter-title {
    font-size: 1.9rem;
    letter-spacing: -0.02em;
  }

  .newsletter-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .form-input-glass {
    padding: 16px 22px;
    font-size: 0.94rem;
    border-radius: 16px;
  }

  .btn-glass {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 16px;
  }
}

/* Extra small mobile devices (360px and below) */
@media (max-width: 360px) {
  .header {
    padding: 5px 10px;
  }

  /* Even smaller for tiny screens */
  .nav-container {
    grid-template-columns: 32px 1fr 32px;
    gap: 8px;
    height: 40px;
  }

  .mobile-newsletter-btn {
    width: 32px;
    height: 32px;
  }

  .mobile-newsletter-btn svg {
    width: 18px;
    height: 18px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1rem;
    font-weight: 900;
  }

  .menu-toggle {
    width: 32px;
    height: 32px;
  }

  .menu-toggle span {
    width: 18px;
  }

  .hero {
    padding: 110px 0 40px;
    min-height: 100vh;
    padding-top: 110px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 14vw, 3rem);
    gap: 0.15em;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

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

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

/* ============================================
   PROFESSIONAL MAGAZINE ENHANCEMENTS
   ============================================ */

/* Magazine-style masthead text */
.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Enhanced section headers with magazine styling */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Featured article badge */
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  background: var(--accent-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  z-index: 3;
}

/* Enhanced article card hover effects */
.article-card {
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  z-index: 10;
}

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

/* Reading time indicator style */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

.reading-time svg {
  width: 14px;
  height: 14px;
}

/* Structured article blocks */
.article-detail-content .article-block {
  margin-bottom: 28px;
}

.article-detail-content .article-block.section-header {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 42px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(13, 71, 161, 0.15);
}

.article-detail-content .article-block.section-subheader {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 14px;
  text-transform: none;
}

.article-detail-content .article-block.paragraph:first-of-type::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 1;
  padding-right: 10px;
  font-weight: 700;
  color: var(--accent-primary);
}

.article-detail-content figure.image-placeholder {
  background: var(--glass-bg);
  border: 1px dashed rgba(13, 71, 161, 0.3);
  border-radius: var(--radius-lg);
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.image-placeholder-box {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.15), rgba(66, 165, 245, 0.25));
  border-radius: var(--radius-md);
  color: var(--accent-primary);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-detail-content figure.image-placeholder figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-detail-content figure.article-image {
  margin: 36px auto !important;
  padding: 0 !important;
  max-width: 720px !important;
  width: fit-content !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  overflow: visible !important;
  position: relative !important;
  contain: none !important;
}

.article-detail-content figure.article-image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  overflow: visible !important;
  background: #f8fafc;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  position: relative !important;
}

.article-detail-content figure.article-image img:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.article-detail-content figure.article-image figcaption {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  padding: 10px 16px !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  color: rgba(51, 65, 85, 0.95) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  background: linear-gradient(to bottom, #f1f5f9, #f8fafc) !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
  text-align: center !important;
  transition: all 0.3s ease;
}

.article-detail-content figure.article-image:hover figcaption {
  background: linear-gradient(to bottom, #e2e8f0, #f1f5f9) !important;
  color: rgba(30, 41, 59, 1) !important;
}

.article-detail-content figure.article-image figcaption a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-detail-content figure.article-image figcaption a:hover {
  color: var(--accent-secondary);
}

.article-detail-content figure.article-embed {
  margin: 48px auto;
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.article-detail-content .embed-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.article-detail-content .embed-frame iframe {
  display: block;
  width: 100% !important;
  border: none;
}

.article-detail-content .embed-caption {
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Mobile responsive images and captions */
@media (max-width: 768px) {
  .article-detail-content figure.article-image {
    margin: 28px auto !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .article-detail-content figure.article-image img {
    border-radius: 8px 8px 0 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .article-detail-content figure.article-image figcaption {
    padding: 8px 14px !important;
    font-size: 0.75rem !important;
    border-radius: 0 0 8px 8px !important;
  }

  .article-detail-content figure.article-embed {
    margin: 40px auto;
    gap: 12px;
  }

  .article-detail-content .embed-caption {
    padding: 12px 16px;
    font-size: 0.8125rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .article-detail-content figure.article-image {
    margin: 24px auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .article-detail-content figure.article-image img {
    border-radius: 6px 6px 0 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .article-detail-content figure.article-image figcaption {
    padding: 6px 12px !important;
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    border-radius: 0 0 6px 6px !important;
  }

  .article-detail-content figure.article-embed {
    margin: 30px auto;
    gap: 10px;
  }

  .article-detail-content .embed-caption {
    padding: 10px 14px;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 6px;
  }
}

/* Embedded game styling */
.article-detail-content .article-game {
  margin: 56px 0;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.article-detail-content .article-game:hover {
  box-shadow: none;
  border-color: transparent;
}

.article-detail-content .article-game iframe {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .article-detail-content .article-game {
    display: none;
  }
}

.article-detail-content .video-placeholder {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.article-detail-content .placeholder-caption {
  margin-top: 12px;
  color: var(--text-muted);
}

.article-detail-content blockquote.pull-quote {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(66, 165, 245, 0.12));
  border-left: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

/* Magazine-style pull quotes */
.pull-quote {
  position: relative;
  padding: 32px 40px;
  margin: 40px 0;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.6;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--accent-primary);
  opacity: 0.2;
  line-height: 1;
}

/* Author byline styling */
.author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 24px 0;
}

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

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Category navigation tabs */
.category-nav {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--glass-bg);
  border-radius: var(--radius-full);
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

/* Enhanced filter buttons */
.filter-btn {
  white-space: nowrap;
  position: relative;
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Magazine issue/edition badge */
.edition-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(13, 71, 161, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Article series indicator */
.series-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--cat-feature);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Table of contents styling */
.toc {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  color: var(--text-body);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.toc-list a:hover {
  color: var(--accent-primary);
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

/* Related articles section */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.related-articles-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

/* Sticky sidebar for desktop */
@media (min-width: 1024px) {
  .article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
  }

  .article-sidebar {
    position: sticky;
    top: 100px;
  }
}

/* Progress bar for article reading */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Magazine-style dropcap */
.dropcap::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 8px;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: Georgia, serif;
}

/* Better image captions */
.image-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 12px 16px;
  background: var(--glass-bg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: -4px;
}

/* Improved blockquote styling */
.article-detail-content blockquote {
  position: relative;
  padding: 28px 36px 28px 48px;
  margin: 36px 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05) 0%, rgba(66, 165, 245, 0.05) 100%);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.article-detail-content blockquote::before {
  content: '"';
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--accent-primary);
  opacity: 0.3;
  line-height: 1;
}

/* Tags with better styling */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.article-tag {
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.article-tag:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

/* Hover state improvements for better UX */
.article-card:hover .article-category {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-category {
  transition: all var(--transition-fast);
}

/* Print styles for articles */
@media print {
  .header, .footer, .scroll-top, .share-buttons, .related-articles {
    display: none !important;
  }

  .article-detail-content {
    background: white;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  body {
    background: white;
  }
}

/* ============================================
   CATALYST ANIMATION - Clean & Professional
   Smooth, elegant entrance animation
   ============================================ */

/* Issue Label - Elegant fade up */
.catalyst-issue-label {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeSlideDown 0.6s ease-out 0.1s forwards;
}

/* Title container */
.catalyst-title {
  overflow: visible;
}

/* Each word animates in sequence */
.catalyst-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: wordReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.catalyst-word-1 {
  animation-delay: 0.2s;
}

.catalyst-word-2 {
  animation-delay: 0.35s;
  font-weight: 800;
}

.catalyst-word-3 {
  animation-delay: 0.5s;
}

/* Subtitle - Simple fade in */
.catalyst-subtitle {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeSlideUp 0.6s ease-out 0.8s forwards;
}

/* Hide sparks - removing for cleaner look */
.catalyst-sparks {
  display: none;
}

/* ============================================================
   Editorial Workspace Chrome (writers/editors/admins)
   ============================================================ */
.editorial-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.editorial-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  min-height: 56px;
}

.editorial-shell.minimal {
  padding: 8px 16px;
}

.editorial-shell.compact {
  gap: 12px;
}

.editorial-header.shrunk .editorial-shell {
  padding-top: 6px;
  padding-bottom: 6px;
}

.editorial-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editorial-brand.compact .editorial-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.editorial-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.editorial-logo img {
  display: block;
  height: 26px;
  width: auto;
}

.editorial-logo:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.editorial-logo-text {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
}

.editorial-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.editorial-mark img {
  width: 28px;
  height: auto;
}

.editorial-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.editorial-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.editorial-copy {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.editorial-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  color: var(--text-body);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--transition-fast);
  line-height: 1;
}

.editorial-link:hover {
  color: var(--text-dark);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.editorial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.editorial-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}

.editorial-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  background: #38a169;
  box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.12);
}

.editorial-cta {
  padding: 8px 12px;
  background: var(--accent-gradient);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: none;
  font-size: 13px;
}

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

.editorial-brand,
.editorial-meta {
  align-items: center;
}

.editorial-meta > *,
.editorial-link,
.editorial-status,
.autosave-indicator,
.user-menu-btn {
  align-items: center;
  min-height: 32px;
  line-height: 1;
}

.editorial-logo-text {
  line-height: 1;
}

.requires-auth,
.requires-editor {
  display: none;
}

body[data-authenticated="true"] .requires-auth {
  display: inline-flex;
}

body[data-page="editorial-studio"] .requires-editor {
  display: inline-flex;
}

.user-dropdown {
  position: relative;
}

.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-menu-btn:hover {
  background: #f3f4f6;
}

.user-menu-btn svg {
  color: #6b7280;
  transition: transform 0.2s;
}

.user-dropdown.active .user-menu-btn svg {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 1000;
}

.user-dropdown.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-user-info {
  padding: 12px 16px;
}

.dropdown-user-info .user-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.dropdown-user-info .user-role {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: #f9fafb;
}

.dropdown-item svg {
  color: #6b7280;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111827, #374151);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
}

.autosave-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.autosave-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  transition: all 0.3s;
}

.autosave-indicator.saving .autosave-dot {
  background: #f59e0b;
  animation: pulse 1.5s ease-in-out infinite;
}

.autosave-indicator.saved .autosave-dot {
  background: #10b981;
}

.autosave-indicator.error .autosave-dot {
  background: #ef4444;
}

.editorial-subnav {
  background: var(--bg-light);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.editorial-sub-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subnav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--bg-white);
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.subnav-links a:hover {
  border-color: var(--accent-primary);
  color: var(--text-dark);
}

.subnav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.subnav-chip {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.editorial-footer {
  margin-top: 48px;
  background: radial-gradient(circle at 8% 20%, rgba(15, 23, 42, 0.06), transparent 24%), rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.06);
}

.editorial-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.footer-block {
  display: grid;
  gap: 8px;
}

.footer-block .editorial-title {
  font-size: 17px;
}

.footer-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-block a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer-block a:hover {
  color: var(--text-dark);
  border-color: var(--glass-border);
}

.footer-status {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38a169;
  box-shadow: 0 0 0 6px rgba(56, 161, 105, 0.12);
}

.editorial-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 24px;
  border-top: 1px solid var(--glass-border);
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.tiny-note {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .editorial-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .editorial-nav,
  .editorial-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .editorial-sub-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .editorial-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .editorial-header {
    position: relative;
  }

  .editorial-shell {
    padding: 16px 18px;
  }

  .editorial-cta {
    width: 100%;
    text-align: center;
  }
}

/* === KEYFRAMES === */

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .catalyst-issue-label,
  .catalyst-word,
  .catalyst-subtitle {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
