/* =====================================================
   WAZIRWIN - Main Stylesheet
   Production-Ready Dark Gaming Theme
   ===================================================== */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --primary:       #35C46A;
  --primary-dark:  #2A9F58;
  --primary-dim:   rgba(53, 196, 106, 0.15);
  --primary-glow:  rgba(53, 196, 106, 0.35);

  /* Background Scale — Medium Dark (not pitch black) */
  --bg-base:       #161C22;
  --bg-surface:    #1C2530;
  --bg-card:       #212D3A;
  --bg-elevated:   #2A3848;
  --bg-overlay:    rgba(22, 28, 34, 0.88);

  /* Text */
  --text-primary:  #F0F4F8;
  --text-secondary:#9DB5C8;
  --text-muted:    #6B8499;
  --text-accent:   #35C46A;

  /* Borders */
  --border:        rgba(53, 196, 106, 0.15);
  --border-hover:  rgba(53, 196, 106, 0.45);
  --border-glass:  rgba(255, 255, 255, 0.09);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 20px rgba(53, 196, 106, 0.25);
  --shadow-glow-lg:0 0 40px rgba(53, 196, 106, 0.35);

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

  /* Spacing */
  --space-xs:      4px;
  --space-sm:      8px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      40px;
  --space-2xl:     64px;
  --space-3xl:     96px;

  /* Border Radius */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  /* Transitions */
  --transition-fast:  0.15s ease;
  --transition-base:  0.25s ease;
  --transition-slow:  0.4s ease;

  /* Layout */
  --container-max: 1280px;
  --navbar-height: 72px;
}

/* ---- CSS 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-body);
  background-color: #161C22;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.section {
  padding-block: 40px;
}

.section-sm {
  padding-block: 40px;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Typography Scale ---- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.6; }
.body-sm { font-size: 0.875rem; line-height: 1.5; }
.caption  { font-size: 0.75rem; line-height: 1.4; color: var(--text-muted); }

/* ---- Section Headers ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 950px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-inline: auto;
}

.section-header.center .section-label {
  justify-content: center;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255,255,255,0.06);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-dim);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* =====================================================
   GLASSMORPHISM CARDS
   ===================================================== */
.glass-card {
  background: rgba(33, 45, 58, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  transform: translateY(-4px);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-body {
  padding: var(--space-lg);
}

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

.card:hover .card-img {
  transform: scale(1.04);
}

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(22, 28, 34, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}

#navbar.scrolled {
  background: rgba(22, 28, 34, 0.97);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 42px;
  width: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-dim);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  color: var(--primary);
  background: var(--primary-dim);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: #1C2530;
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 999;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-dim);
  border-left-color: var(--primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(53, 196, 106, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, #1C2530 0%, #161C22 100%);
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53,196,106,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,196,106,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 30px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary-dim);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  /*font-size: clamp(3.5rem, 8vw, 7rem);*/
  font-size:60px;
  font-weight: 900;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero-title .line-accent {
  display: block;
  color: var(--primary);
  text-shadow: 0 0 40px rgba(53, 196, 106, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-bullets {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.hero-bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  backdrop-filter: blur(16px);
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.hero-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow-lg), var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  max-width: 580px;
  height: 400px;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,28,34,0.70) 0%, transparent 50%);
}

.hero-image-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: rgba(53, 196, 106, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* =====================================================
   CATEGORY CARDS
   ===================================================== */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.category-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.category-card:hover .category-card-img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,28,34,0.88) 0%, rgba(22,28,34,0.30) 50%, transparent 100%);
  transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(22,28,34,0.94) 0%, rgba(22,28,34,0.50) 60%, rgba(53,196,106,0.1) 100%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
}

.category-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.category-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: gap var(--transition-fast);
}

.category-card:hover .category-card-link {
  gap: 10px;
}

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-img-wrap {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

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

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--primary-dim);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(53, 196, 106, 0.2);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

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

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}

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

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.read-more:hover { gap: 10px; }

.blog-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Featured Blog Card */
.blog-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 320px;
}

.blog-card-featured .blog-card-img-wrap {
  height: auto;
  min-height: 320px;
}

/* =====================================================
   STATISTICS SECTION
   ===================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-card);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: background var(--transition-base);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-item:hover {
  background: var(--bg-elevated);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 20px rgba(53, 196, 106, 0.4);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-dim);
  border: 1px solid rgba(53, 196, 106, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

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

.testimonial-quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  user-select: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
  color: #FFB800;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
  margin-bottom: var(--space-sm);
}

.faq-item.open {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  transition: background var(--transition-fast);
  gap: var(--space-md);
}

.faq-question:hover {
  background: var(--bg-elevated);
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
  transition: all var(--transition-base);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  background: linear-gradient(135deg, rgba(53,196,106,0.08) 0%, transparent 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(53,196,106,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

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

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.breadcrumb-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-item:hover { color: var(--primary); }

.breadcrumb-item.current {
  color: var(--text-primary);
  pointer-events: none;
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.sidebar-post {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-fast);
}

.sidebar-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post:hover .sidebar-post-title {
  color: var(--primary);
}

.sidebar-post-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sidebar-post-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Category filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-pill {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
}

/* =====================================================
   SEARCH BAR
   ===================================================== */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 4px 4px var(--space-md);
  transition: border-color var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  min-width: 0;
}

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

.search-btn {
  padding: 10px 18px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.search-btn:hover { background: var(--primary-dark); }

/* =====================================================
   MODAL
   ===================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 28, 34, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: var(--space-2xl);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
  position: relative;
}

.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* =====================================================
   RISK LEVEL INDICATOR
   ===================================================== */
.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.risk-low {
  background: rgba(53, 196, 106, 0.15);
  border: 1px solid rgba(53, 196, 106, 0.4);
  color: #35C46A;
}

.risk-medium {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: #FFB800;
}

.risk-high {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #FF5050;
}

/* =====================================================
   FORM STYLES
   ===================================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

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

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--primary);
  background: rgb(3, 3, 3);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

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

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

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2335C46A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.toc-list {
  list-style: decimal;
  padding-left: var(--space-lg);
}

.toc-item {
  margin-bottom: 6px;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.toc-link:hover { color: var(--primary); }

/* =====================================================
   SHARE BUTTONS
   ===================================================== */
.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.share-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: scale(1.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
/* #footer styles moved above */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 38px;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { color: var(--primary); }

.footer-link::before {
  content: '›';
  color: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer-link:hover::before { opacity: 1; }

.footer-bottom {
  padding-block: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover { color: var(--primary); }

/* =====================================================
   STICKY WHATSAPP BUTTON
   ===================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-base);
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2.5s infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

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

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* =====================================================
   PAGE LOADER
   ===================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: #161C22;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo img {
  height: 48px;
  animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(53,196,106,0.5)); }
  50% { opacity: 0.6; filter: drop-shadow(0 0 20px rgba(53,196,106,0.8)); }
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-full);
  animation: loader-progress 1.5s ease-in-out infinite;
}

@keyframes loader-progress {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =====================================================
   PAGE HERO BANNERS
   ===================================================== */
.page-hero {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(53,196,106,0.10) 0%, transparent 70%),
    linear-gradient(180deg, #1C2530 0%, #161C22 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53,196,106,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,196,106,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black 0%, transparent 70%);
}

/* =====================================================
   MISC UTILITY COMPONENTS
   ===================================================== */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: var(--space-xl);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.badge-primary {
  background: var(--primary-dim);
  border: 1px solid rgba(53,196,106,0.3);
  color: var(--primary);
}

.badge-dark {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Neon glow text */
.neon-text {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(53,196,106,0.5), 0 0 30px rgba(53,196,106,0.3);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(53,196,106,0.15) 0%, rgba(42,159,88,0.08) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(53,196,106,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Map placeholder */
.map-placeholder {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 2rem;
}

.map-placeholder-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-muted);
}

/* Contact info card */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-dim);
  border: 1px solid rgba(53,196,106,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Strategy card */
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.strategy-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-4px);
}

.strategy-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(53,196,106,0.08);
  line-height: 1;
  user-select: none;
}

/* =====================================================
   PREV/NEXT NAVIGATION
   ===================================================== */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.post-nav-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.post-nav-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.post-nav-item.next { text-align: right; }

.post-nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
}

.post-nav-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.post-nav-item:hover .post-nav-title { color: var(--primary); }

/* =====================================================
   COMMENTS UI
   ===================================================== */
.comments-section {
  margin-top: var(--space-2xl);
}

.comment-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

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

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

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary);
}

.comment-name {
  font-weight: 600;
  font-size: 0.9rem;
}

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

.comment-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   TEAM CARDS
   ===================================================== */
.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-glow);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

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

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-2xl) 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

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

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

/* =====================================================
   404 PAGE
   ===================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--navbar-height);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  text-shadow: 0 0 60px rgba(53,196,106,0.3);
  opacity: 0.15;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  z-index: 0;
}

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

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   BACKGROUNDS & DECORATIVE
   ===================================================== */
.section-bg-alt {
  background: #1C2530;
}

/* Footer */
#footer {
  background: #1C2530;
  border-top: 1px solid var(--border);
  padding-top: var(--space-3xl);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #7AE5A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow line decorators */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin-block: var(--space-xs);
  opacity: 0.4;
}

/* Article body styles */
.article-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-2xl) 0 var(--space-md);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}

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

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

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

.article-body li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* =====================================================
   SEARCH RESULTS PAGE
   ===================================================== */
.search-results-header {
  padding: var(--space-md) 0 var(--space-xl);
}

.search-results-count {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.search-results-count span { color: var(--primary); font-weight: 700; }

/* =====================================================
   PROGRESS BAR (reading indicator)
   ===================================================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(53,196,106,0.6);
}

/* ---- Performance: content-visibility for below-fold sections ---- */
.section + .section,
.section-sm + .section,
.section + .section-sm {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* ---- Performance: image rendering optimization ---- */
.blog-card-img,
.category-card-img {
  will-change: auto;
}

/* ---- Performance: reduce paint complexity on cards ---- */
.blog-card,
.feature-card,
.strategy-card,
.prediction-card {
  isolation: isolate;
}
