/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1e2d5a;
  --navy-dark: #141d3e;
  --teal: #1a9fa8;
  --purple: #3d2d8c;
  --gradient: linear-gradient(135deg, #3d2d8c 0%, #1a9fa8 100%);
  --gradient-hero: linear-gradient(105deg, rgba(30,45,90,0.92) 0%, rgba(26,159,168,0.55) 100%);
  --white: #ffffff;
  --off-white: #f7f8fc;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(30,45,90,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(30,45,90,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; line-height: 1.2; }

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

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

/* ===== READING PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 2000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

/* Homepage transparent header */
.site-header.transparent {
  background: transparent;
}

/* Article page: always scrolled style */
.site-header.scrolled,
.site-header.article-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
  top: 3px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.site-header.transparent .header-logo { color: white; }
.site-header.scrolled .header-logo,
.site-header.article-header .header-logo { color: var(--navy); }

.header-logo img {
  height: 52px;
  width: auto;
  transition: filter var(--transition);
}

.site-header.transparent .header-logo img { filter: brightness(0) invert(1); }
.site-header.scrolled .header-logo img,
.site-header.article-header .header-logo img { filter: none; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.header-nav li a,
.header-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.site-header.transparent .header-nav li a,
.site-header.transparent .header-nav a {
  color: rgba(255,255,255,0.88);
}
.site-header.transparent .header-nav li a:hover,
.site-header.transparent .header-nav a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}
.site-header.scrolled .header-nav li a,
.site-header.scrolled .header-nav a,
.site-header.article-header .header-nav li a,
.site-header.article-header .header-nav a {
  color: var(--text);
}
.site-header.scrolled .header-nav li a:hover,
.site-header.scrolled .header-nav a:hover,
.site-header.article-header .header-nav li a:hover,
.site-header.article-header .header-nav a:hover {
  color: var(--navy);
  background: var(--off-white);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  background: var(--gradient) !important;
  color: white !important;
  transition: opacity var(--transition), transform var(--transition) !important;
}
.btn-nav-cta:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  background: var(--gradient) !important;
}

/* ===== HOMEPAGE HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  animation: heroBgScale 8s ease-out forwards;
}

@keyframes heroBgScale {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: white;
  max-width: 700px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.4s;
  opacity: 0;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.6s;
  opacity: 0;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.8s;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--gradient);
  color: white;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px rgba(61,45,140,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61,45,140,0.45);
  opacity: 0.95;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both 1.2s;
  opacity: 0;
}

.scroll-arrow {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ===== SECTION WRAPPER ===== */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.container-md { max-width: 960px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(61,45,140,0.08), rgba(26,159,168,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1;
}
.trust-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== FEATURED ARTICLE ===== */
.featured-section { background: var(--off-white); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}

.featured-image {
  background: var(--gradient);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-image-emoji {
  font-size: 5rem;
  opacity: 0.7;
  position: relative;
  z-index: 2;
}

.featured-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.featured-title {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.featured-excerpt {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

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

.meta-sep { color: var(--border); }

.btn-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--gradient);
  color: white;
  transition: transform var(--transition), box-shadow var(--transition);
  align-self: flex-start;
}
.btn-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,45,140,0.3);
}

/* ===== CATEGORY GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,159,168,0.2);
}

.category-card:hover::after { transform: scaleX(1); }

.category-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.category-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== ARTICLES GRID ===== */
.articles-section { background: var(--off-white); }

.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.article-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 3rem;
}

.card-image-gradient-1 { background: linear-gradient(135deg, #3d2d8c, #6b5de0); }
.card-image-gradient-2 { background: linear-gradient(135deg, #1a9fa8, #0d7a82); }
.card-image-gradient-3 { background: linear-gradient(135deg, #1e2d5a, #3d2d8c); }
.card-image-gradient-4 { background: linear-gradient(135deg, #0d7a82, #1a9fa8); }
.card-image-gradient-5 { background: linear-gradient(135deg, #3d2d8c, #1e2d5a); }
.card-image-gradient-6 { background: linear-gradient(135deg, #1a9fa8, #3d2d8c); }

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

.card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

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

.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}
.article-card:hover .card-read-more { gap: 0.5rem; }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--text);
}

.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
}

.about-stats-card {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.stats-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stats-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.cta-banner .container { position: relative; z-index: 2; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: white;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  background: white;
  color: var(--purple);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo img { height: 32px; filter: brightness(0) invert(1); }

.footer-about {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== ARTICLE PAGE STYLES ===== */

/* Breadcrumb */
.breadcrumb-bar {
  margin-top: 75px;
  padding: 0.9rem 2rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--teal); }

.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* Article Hero */
.article-hero {
  background: linear-gradient(135deg, #1e2d5a 0%, #1a9fa8 100%);
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.article-hero .container {
  max-width: 1280px;
  position: relative;
  z-index: 2;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  max-width: 780px;
  line-height: 1.2;
}

/* Meta Bar */
.meta-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.meta-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.meta-author-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.avatar-md {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

.meta-sep { color: var(--border); font-size: 1.2rem; line-height: 1; }

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.meta-item svg { color: var(--teal); }

.meta-updated {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Article Layout */
.article-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

/* Article Content */
.article-content {
  min-width: 0;
}

.article-body {
  font-size: 1.04rem;
  line-height: 1.85;
  color: #2d2d3a;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: 'DM Serif Display', serif;
  font-size: 4.2rem;
  line-height: 0.82;
  margin: 0.06em 0.12em 0 0;
  color: var(--navy);
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-left: 1.1rem;
  border-left: 4px solid;
  border-image: var(--gradient) 1;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.8rem 0 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

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

.article-body li {
  margin-bottom: 0.5rem;
}

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

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.article-body a:hover { color: var(--navy); }

/* Pull Quote */
.pull-quote {
  border-left: 4px solid var(--navy);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(30,45,90,0.04), rgba(26,159,168,0.04));
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}

/* FAQ Accordion */
.faq-section {
  margin: 2rem 0;
}

.faq-section h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-left: 1.1rem;
  border-left: 4px solid;
  border-image: var(--gradient) 1;
}

details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

details.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

details.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,159,168,0.3);
}

summary.faq-question {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}

summary.faq-question::-webkit-details-marker { display: none; }

summary.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-weight: 300;
  line-height: 1;
}

details.faq-item[open] summary.faq-question {
  background: linear-gradient(135deg, rgba(30,45,90,0.03), rgba(26,159,168,0.03));
}

details.faq-item[open] summary.faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Sources Box */
.sources-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.sources-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sources-box ul {
  list-style: none;
  padding: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.sources-box ul li {
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.sources-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* Author Box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(30,45,90,0.04), rgba(26,159,168,0.04));
  border: 1px solid rgba(26,159,168,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3rem 0;
}

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

.author-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.author-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Related Articles */
.related-section {
  margin: 3rem 0 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.related-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.related-card-body {
  padding: 1.1rem;
}

.related-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.related-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 0.97rem;
  color: var(--navy);
  line-height: 1.3;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-box {
  border-radius: var(--radius);
  overflow: hidden;
}

/* TL;DR Box */
.tldr-box {
  background: linear-gradient(135deg, rgba(30,45,90,0.05), rgba(26,159,168,0.07));
  border: 1px solid rgba(26,159,168,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.tldr-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.tldr-label::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.tldr-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.tldr-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Sidebar Articles Box */
.sidebar-articles-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-articles-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sidebar-article-link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform var(--transition);
}
.sidebar-article-link:last-child { border-bottom: none; }
.sidebar-article-link:hover { transform: translateX(3px); }

.sidebar-article-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.sidebar-article-text {
  font-size: 0.87rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition);
}
.sidebar-article-link:hover .sidebar-article-text { color: var(--teal); }

/* CTA Sidebar Box */
.sidebar-cta-box {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 60%);
}

.sidebar-cta-box > * { position: relative; z-index: 2; }

.sidebar-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.sidebar-cta-box p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.btn-sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  background: white;
  color: var(--purple);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-sidebar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--border); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrapper { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .article-wrapper { grid-template-columns: 1fr; }
  .article-sidebar { position: static; order: -1; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 1.25rem; }
  .header-nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-image { min-height: 260px; }
  .articles-grid { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats-card { left: 0.5rem; bottom: -1rem; }
  .article-hero { padding: 2.5rem 1.25rem 2rem; }
  .article-wrapper { padding: 2rem 1.25rem 3rem; }
  .breadcrumb-bar { padding: 0.75rem 1.25rem; }
  .meta-bar { padding: 0 1.25rem; }
  .meta-updated { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 1.65rem; }
  .article-body h2 { font-size: 1.45rem; }
  .author-box { flex-direction: column; }
}
