/* ============================================================
   studenttechprojects.in — Premium Global Stylesheet v2
   Tech Knowledge Hub | SEO Blog
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS IMPORT + CSS CUSTOM PROPERTIES
   ============================================================ */


:root {
  /* Brand Colors */
  --color-primary:       #4f6ef7;
  --color-primary-dark:  #3451d1;
  --color-primary-light: #eef2ff;
  --color-accent:        #06b6d4;
  --color-accent-2:      #8b5cf6;

  /* Neutrals */
  --color-bg:            #f0f4ff;
  --color-surface:       #ffffff;
  --color-surface-2:     #f8faff;
  --color-border:        #e2e8f4;
  --color-text:          #0f172a;
  --color-text-muted:    #334155;
  --color-text-light:    #475569;

  /* Category Colors */
  --cat-ai:              #7c3aed;
  --cat-search:          #0891b2;
  --cat-deep:            #1d4ed8;
  --cat-gov:             #0f766e;
  --cat-research:        #b45309;
  --cat-student:         #16a34a;
  --cat-mystery:         #dc2626;

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

  /* Typography */
  --font-sans:  'Inter', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(79,110,247,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(79,110,247,0.10), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 12px 40px rgba(79,110,247,0.14), 0 6px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 60px rgba(79,110,247,0.18), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-glow:0 0 40px rgba(79,110,247,0.25);

  /* Radius */
  --radius-sm:  0.375rem;
  --radius-md:  0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full:9999px;

  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1240px;
  --sidebar-w: 310px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

ul, ol { padding-left: 1.5rem; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p  { margin-bottom: var(--space-md); }

blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-light);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

code {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: #f1f5f9;
  padding: 0.125rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--color-accent-2);
}

pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}
pre code { background: none; color: inherit; padding: 0; }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-content {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.site-content.no-sidebar { grid-template-columns: 1fr; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,110,247,0.4);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,110,247,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cat-ai       { background: #f3e8ff; color: #6d28d9; }
.cat-search   { background: #e0f7fa; color: #0369a1; }
.cat-deep     { background: #dbeafe; color: #1d4ed8; }
.cat-gov      { background: #ccfbf1; color: #0f766e; }
.cat-research { background: #fef3c7; color: #92400e; }
.cat-student  { background: #dcfce7; color: #15803d; }
.cat-mystery  { background: #fee2e2; color: #b91c1c; }

/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 244, 0.8);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(79, 110, 247, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 1px;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.site-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.site-logo:hover { text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
  text-decoration: none;
}

.site-nav .btn-primary {
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   6. HERO SECTION — Premium animated gradient
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a1f6e 0%, #2d4dbf 30%, #1565c0 55%, #0284c7 80%, #0e7490 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

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

/* Dot grid pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: fadeUp 0.7s ease 0.1s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero > .container > p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-actions .btn-white {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-weight: 700;
}
.hero-actions .btn-white:hover {
  background: #f0f4ff;
  color: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-actions .btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.7);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(12px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  animation: fadeUp 0.7s ease 0.4s both;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; }

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-stat .label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 0.2rem;
  display: block;
}

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

/* ============================================================
   7. SECTIONS & CATEGORY CARDS
   ============================================================ */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Category cards grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

/* Glossy top accent bar */
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-color, var(--color-primary));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Subtle gradient background glow on hover */
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(var(--cat-rgb, 79,110,247), 0.04), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  border-radius: inherit;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  text-decoration: none;
}

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

.cat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--cat-bg, var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

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

.cat-icon { font-size: 2rem; line-height: 1; }

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}
.category-card h3 a { color: inherit; }
.category-card h3 a:hover { color: var(--color-primary); text-decoration: none; }

.category-card > div > p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.category-card .cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}

.category-card .cat-arrow {
  font-size: 1.1rem;
  color: var(--color-text-light);
  transition: var(--transition);
}
.category-card:hover .cat-arrow { color: var(--color-primary); transform: translateX(4px); }

/* Feature cards (why section) */
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

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

.feature-card .feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   8. ARTICLE LIST (Category Pages)
   ============================================================ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  transform: translateX(5px);
  text-decoration: none;
}

.article-card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #e8edf8;
  min-width: 52px;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.05em;
}

.article-card-body { flex: 1; }

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.article-card h2, .article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.article-card h2 a, .article-card h3 a { color: var(--color-text); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--color-primary); text-decoration: none; }

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

.article-card .read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
.article-card .read-more:hover { text-decoration: none; gap: 0.5rem; }

/* ============================================================
   9. ARTICLE / BLOG POST
   ============================================================ */
.article-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.article-header h1 { margin-bottom: 1.25rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1e2d40;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
  margin-top: 2rem;
  color: var(--color-primary-dark);
}

.article-body ul, .article-body ol { margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.35rem; }

.article-body img {
  border-radius: var(--radius-xl);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-lg);
}

.intro-box {
  background: linear-gradient(135deg, #eef2ff, #f0f7ff);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.08rem;
  color: var(--color-primary-dark);
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   10. SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.sidebar-widget ul { list-style: none; padding: 0; }

.sidebar-widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget ul li a {
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  transition: var(--transition);
}
.sidebar-widget ul li a:hover { color: var(--color-primary); text-decoration: none; transform: translateX(3px); }

/* ============================================================
   11. FAQ SECTION
   ============================================================ */
.faq-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--color-border);
}

.faq-section h2 { margin-bottom: 2rem; }

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

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

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--color-primary); background: var(--color-primary-light); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-item.open .faq-question { color: var(--color-primary); background: var(--color-primary-light); }

.faq-answer {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--color-border);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   12. INTERNAL LINKS SECTION
   ============================================================ */
.internal-links-section {
  margin-top: 2.5rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.internal-links-section h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.internal-links-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.internal-links-section ul li a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  transition: var(--transition);
}
.internal-links-section ul li a:hover { color: var(--color-primary); text-decoration: none; transform: translateX(4px); }

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer {
  background: #0c1221;
  color: rgba(255,255,255,0.75);
  margin-top: 4rem;
  padding: 3.5rem 0 0;
}

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

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-col h5 {
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: rgba(255,255,255,0.9); text-decoration: none; }

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.breadcrumb ol li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb ol li:not(:last-child)::after { content: '›'; color: var(--color-text-light); }
.breadcrumb ol li a { color: var(--color-text-muted); font-weight: 500; }
.breadcrumb ol li a:hover { color: var(--color-primary); text-decoration: none; }

/* ============================================================
   15. LATEST ARTICLES SECTION (Homepage)
   ============================================================ */
.section-alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-content { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: 0.2rem;
    z-index: 199;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 1rem; border-radius: var(--radius-md); }
  .site-header { position: relative; }
  .nav-toggle { display: flex; }

  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; max-width: 100%; }
  .hero-stat { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }

  .categories-grid { grid-template-columns: 1fr; }
  .article-card { flex-direction: column; }
  .article-card-number { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 3rem 0; }
}

.article-body a { text-decoration: underline; font-weight: 500; color: var(--color-primary-dark); }
