/* ============================================================
   ScenarioQ — Nature-Inspired Theme
   Warm cream · Forest green · Teal · Subtle blue accents
   ============================================================ */

/* ─── Global Palette & Base Overrides ─── */
:root {
  --nature-bg: #f5f2eb;
  --nature-cream: #faf8f4;
  --nature-cream-dark: #eee9dc;
  --nature-panel: #ffffff;
  --nature-panel-trans: rgba(255, 255, 255, 0.92);
  
  --forest-dark: #143724;
  --forest-primary: #1e5235;
  --forest-medium: #2a734a;
  --forest-light: #48a670;
  --forest-dim: rgba(30, 82, 53, 0.10);
  
  --teal-accent: #2c7a7b;
  --teal-soft: #319795;
  --teal-dim: rgba(44, 122, 123, 0.12);
  
  --nature-blue: #2b6cb0;
  --nature-blue-soft: #4299e1;
  
  --nature-text: #132419;
  --nature-text-soft: #2e4334;
  --nature-muted: #536959;
  
  --nature-border: rgba(30, 82, 53, 0.14);
  --nature-border-hover: rgba(30, 82, 53, 0.32);
  --nature-shadow: 0 14px 38px rgba(20, 55, 36, 0.07);
}

/* ─── Background Strategy ─── */
html,
body {
  background-color: #f5f2eb !important;
  background-image: url('/images/naturebackgroundimage.webp'), url('../images/naturebackgroundimage.webp') !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: var(--nature-text) !important;
  min-height: 100vh;
}

/* Ensure background works across all paths */
body {
  background-image: url('/images/naturebackgroundimage.webp'), url('../images/naturebackgroundimage.webp') !important;
}

/* Transparent main container so background image shows through clearly */
.home-main {
  position: relative !important;
  background: transparent !important;
  min-height: 100vh;
}

.home-main::before {
  display: none !important;
}

/* ─── Header Navigation ─── */
.app-header {
  background: rgba(253, 252, 249, 0.94) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
  border-bottom: 1px solid var(--nature-border) !important;
  box-shadow: 0 4px 20px rgba(20, 55, 36, 0.05) !important;
}

.top-nav a {
  color: var(--nature-text-soft) !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.top-nav a:hover {
  color: var(--forest-primary) !important;
  background: var(--forest-dim) !important;
}

.top-nav a.active {
  color: var(--forest-dark) !important;
  background: rgba(30, 82, 53, 0.12) !important;
  font-weight: 600;
}

.top-nav a.active::after {
  background: var(--forest-primary) !important;
  height: 2px !important;
}

/* Watch on YouTube button in Header */
.btn-youtube-header {
  background: #cc181e !important;
  color: #ffffff !important;
  border: 1px solid #b31217 !important;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(204, 24, 30, 0.25);
  text-decoration: none !important;
}

.btn-youtube-header:hover {
  background: #b31217 !important;
  border-color: #990f14 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(204, 24, 30, 0.35);
}

.btn-youtube-header svg {
  color: #ffffff;
}

/* Auth Buttons in Header */
.nav-actions .btn-primary {
  background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-dark) 100%) !important;
  color: #ffffff !important;
  border: 1px solid var(--forest-dark) !important;
  box-shadow: 0 3px 10px rgba(20, 55, 36, 0.2) !important;
}

.nav-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--forest-medium) 0%, var(--forest-primary) 100%) !important;
  transform: translateY(-1px);
}

.nav-actions .btn-orange {
  background: linear-gradient(135deg, var(--teal-accent) 0%, #234e52 100%) !important;
  color: #ffffff !important;
  border: 1px solid #1d4044 !important;
  box-shadow: 0 3px 10px rgba(44, 122, 123, 0.2) !important;
}

.nav-actions .btn-orange:hover {
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--teal-accent) 100%) !important;
  transform: translateY(-1px);
}

.nav-actions .btn-ghost {
  color: var(--nature-text-soft) !important;
  border-color: var(--nature-border) !important;
}

.nav-actions .btn-ghost:hover {
  color: var(--forest-dark) !important;
  background: var(--forest-dim) !important;
  border-color: var(--nature-border-hover) !important;
}

.user-pill {
  background: rgba(30, 82, 53, 0.08) !important;
  border: 1px solid var(--nature-border) !important;
  color: var(--nature-text) !important;
}

.user-avatar {
  background: linear-gradient(135deg, var(--forest-primary), var(--teal-accent)) !important;
}

/* ─── Hero Section ─── */
.hero {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--nature-border) !important;
  border-radius: 28px !important;
  box-shadow: var(--nature-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero::before {
  background: radial-gradient(circle, rgba(44, 122, 123, 0.12), transparent 68%) !important;
  top: -180px !important;
  right: -100px !important;
}

.hero::after {
  background: radial-gradient(circle, rgba(42, 115, 74, 0.12), transparent 70%) !important;
  bottom: -200px !important;
  left: -120px !important;
}

.hero-copy h1 {
  color: var(--forest-dark) !important;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy h1 .gradient-text {
  background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-medium) 40%, var(--teal-accent) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-copy > p {
  color: var(--nature-text-soft) !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Hero CTA Row */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-cta-row .btn-primary {
  background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-dark) 100%) !important;
  color: #ffffff !important;
  border: 1px solid var(--forest-dark) !important;
  border-radius: 12px;
  padding: 0.85rem 1.6rem;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(20, 55, 36, 0.28) !important;
  transition: all 0.25s ease;
}

.hero-cta-row .btn-primary:hover {
  background: linear-gradient(135deg, var(--forest-medium) 0%, var(--forest-primary) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 55, 36, 0.38) !important;
}

.btn-youtube {
  background: #cc181e !important;
  color: #ffffff !important;
  border: 1px solid #b31217 !important;
  border-radius: 12px;
  padding: 0.85rem 1.6rem;
  font-size: 0.96rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 22px rgba(204, 24, 30, 0.22) !important;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-youtube:hover {
  background: #b31217 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 24, 30, 0.32) !important;
}

.btn-youtube i {
  font-size: 1.1rem;
}

/* Hero Stats Counter */
.hero-stats {
  border-top: 1px solid var(--nature-border) !important;
}

.hero-stat-value {
  color: var(--forest-primary) !important;
  font-weight: 800;
}

.hero-stat-label {
  color: var(--nature-muted) !important;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ─── Hero Visual & Laptop Preview Panel ─── */
.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  background: linear-gradient(180deg, rgba(44, 122, 123, 0.16), rgba(72, 166, 112, 0.14) 54%, rgba(30, 82, 53, 0.12) 100%) !important;
  box-shadow: 0 20px 50px rgba(20, 55, 36, 0.08) !important;
  border: 1px solid var(--nature-border) !important;
}

.hero-visual::before {
  background: rgba(72, 166, 112, 0.25) !important;
}

.hero-visual::after {
  background: rgba(44, 122, 123, 0.25) !important;
}

.hero-floating-badge {
  background: linear-gradient(135deg, var(--forest-primary), var(--teal-accent)) !important;
  box-shadow: 0 10px 24px rgba(20, 55, 36, 0.25) !important;
  color: #ffffff !important;
}

.hero-dashboard-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--nature-border) !important;
  box-shadow: 0 16px 30px rgba(20, 55, 36, 0.08) !important;
  backdrop-filter: blur(10px) !important;
}

.dash-head {
  color: var(--forest-dark) !important;
}

.dash-dot {
  background: #38a169 !important;
  box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.2) !important;
}

.dash-metric {
  background: rgba(30, 82, 53, 0.05) !important;
  color: var(--nature-text) !important;
}

.dash-metric.primary {
  background: linear-gradient(135deg, rgba(30, 82, 53, 0.12), rgba(44, 122, 123, 0.10)) !important;
}

.dash-metric span {
  color: var(--forest-dark) !important;
}

.dash-metric small {
  color: var(--nature-muted) !important;
}

.hero-laptop {
  border: 8px solid var(--forest-dark) !important;
  box-shadow: 0 20px 45px rgba(20, 55, 36, 0.18) !important;
}

.hero-mascot {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(167, 243, 208, 0.85) 30%, rgba(72, 166, 112, 0.35) 100%) !important;
  border: 4px solid rgba(255,255,255,0.85) !important;
  box-shadow: 0 16px 30px rgba(20, 55, 36, 0.18) !important;
}

.mascot-core {
  background: linear-gradient(135deg, var(--forest-dark), var(--forest-primary) 50%, var(--teal-accent)) !important;
  box-shadow: 0 10px 20px rgba(20, 55, 36, 0.28) !important;
  color: #ffffff !important;
}

.mascot-orbit {
  border-color: rgba(30, 82, 53, 0.2) !important;
}

.mascot-orbit.orbit-two {
  border-color: rgba(44, 122, 123, 0.2) !important;
}

/* ─── Platform Statistics Strip ─── */
.home-main .platform-stats-wrap {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.home-main .platform-stats {
  background: var(--nature-panel-trans) !important;
  border: 1px solid var(--nature-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--nature-shadow) !important;
  backdrop-filter: blur(8px);
}

.home-main .platform-stat-icon {
  background: var(--forest-dim) !important;
  color: var(--forest-primary) !important;
  border-radius: 12px !important;
}

.home-main .platform-stat strong {
  color: var(--forest-dark) !important;
  font-weight: 800;
}

.home-main .platform-stat span {
  color: var(--nature-muted) !important;
}

/* ─── Platform Benefits (Features Strip) ─── */
.features-strip-wrap {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1.1rem;
  background: var(--nature-panel-trans);
  border: 1px solid var(--nature-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(20, 55, 36, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.feature-strip-item:hover {
  transform: translateY(-2px);
  border-color: var(--nature-border-hover);
  box-shadow: 0 10px 25px rgba(20, 55, 36, 0.08);
  background: #ffffff;
}

.feature-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest-dim);
  color: var(--forest-primary);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.feature-strip-item:hover .feature-strip-icon {
  background: var(--forest-primary);
  color: #ffffff;
}

.feature-strip-item h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--forest-dark);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.feature-strip-item p {
  font-size: 0.8rem;
  color: var(--nature-muted);
  margin: 0;
  line-height: 1.4;
}

/* ─── Practice Areas Section & Nature Cards ─── */
.home-main .section-block {
  margin-top: 2rem;
}

.home-main .sections-grid,
.sections-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

/* Reusable Nature Section Card Component */
.nature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fdfbf7;
  border: 1px solid rgba(30, 82, 53, 0.16);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 30px rgba(20, 55, 36, 0.05);
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
  min-height: 190px;
  box-sizing: border-box;
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.38s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease;
}

.nature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(20, 55, 36, 0.12);
  border-color: rgba(30, 82, 53, 0.38);
}

.nature-card:focus-visible {
  outline: 2px solid var(--forest-primary);
  outline-offset: 3px;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(20, 55, 36, 0.14);
}

/* Left Icon Container */
.nature-card-icon-wrap {
  flex-shrink: 0;
  z-index: 2;
}

.nature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(30, 82, 53, 0.08);
  border: 1px solid rgba(30, 82, 53, 0.15);
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.35s ease;
}

.nature-card:hover .nature-card-icon,
.nature-card:focus-visible .nature-card-icon {
  background: var(--forest-primary);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(20, 55, 36, 0.22);
}

/* Content Area */
.nature-card-info {
  flex: 1 1 auto;
  min-width: 0;
  z-index: 2;
  padding-right: 140px; /* Protect text area from overlapping artwork on bottom-right */
  display: flex;
  flex-direction: column;
}

.nature-card-badge-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.35rem;
}

.nature-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  background: rgba(48, 166, 112, 0.12);
  color: var(--forest-primary);
  border: 1px solid rgba(48, 166, 112, 0.25);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nature-card-badge i {
  font-size: 0.75rem;
  color: var(--forest-medium);
}

.nature-card-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1.3;
  margin: 0.2rem 0 0.45rem 0;
  transition: color 0.2s ease;
}

.nature-card:hover .nature-card-title,
.nature-card:focus-visible .nature-card-title {
  color: var(--forest-primary);
}

.nature-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--nature-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Decorative Background Artwork Panel */
.nature-card-art-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 44%;
  min-width: 170px;
  max-width: 320px;
  overflow: hidden;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 15%, black 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 15%, black 45%);
}

.nature-card-bg-artwork {
  position: absolute;
  inset: -8px -14px -8px -18px;
  background-image: url('/images/scenarioq-section-card-bg.webp'), url('../images/scenarioq-section-card-bg.webp');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.nature-card:hover .nature-card-bg-artwork,
.nature-card:focus-visible .nature-card-bg-artwork {
  transform: translateX(12px) scale(1.02);
}

/* Navigation Arrow Circle in Bottom-Right Landscape Area */
.nature-card-arrow-circle {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 55, 33, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(10, 35, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  z-index: 3;
  transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.nature-card-arrow-icon {
  color: #ffffff !important;
  transition: transform 0.38s ease;
}

.nature-card:hover .nature-card-arrow-circle,
.nature-card:focus-visible .nature-card-arrow-circle {
  transform: translateX(10px);
  background: var(--forest-primary);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 20px rgba(10, 35, 20, 0.45);
}

.nature-card:hover .nature-card-arrow-icon,
.nature-card:focus-visible .nature-card-arrow-icon {
  transform: translateX(3px);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .nature-card,
  .nature-card-bg-artwork,
  .nature-card-arrow-circle,
  .nature-card-arrow-icon,
  .nature-card-icon {
    transition: none !important;
    transform: none !important;
  }
}

/* Legacy Card Fallback & Skeleton */
.home-main .section-card,
.section-card {
  background: #fdfbf7 !important;
  border: 1px solid var(--nature-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(20, 55, 36, 0.05) !important;
}

/* Skeleton Loading in Theme */
.skeleton-card,
.home-main .skeleton-card {
  min-height: 190px !important;
  height: auto !important;
  border-radius: 20px !important;
  background: #fdfbf7 !important;
  border: 1px solid rgba(30, 82, 53, 0.12) !important;
}
  border: 1px solid var(--nature-border) !important;
  border-radius: 18px !important;
}

.skeleton-card::after {
  background: linear-gradient(90deg, transparent, rgba(42, 115, 74, 0.08), transparent) !important;
}

/* ─── Certification Banner ─── */
.home-main .cert-banner-wrap {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.home-main .cert-banner {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-primary) 45%, var(--teal-accent) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 26px !important;
  box-shadow: 0 24px 60px rgba(20, 55, 36, 0.25) !important;
}

.home-main .cert-banner::before {
  background: rgba(255, 255, 255, 0.05) !important;
}

.home-main .cert-banner-copy h2 {
  color: #ffffff !important;
  font-weight: 800;
}

.home-main .cert-banner-copy p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.home-main .cert-banner-copy .section-kicker.light {
  color: #a7f3d0 !important;
}

.home-main .cert-features li {
  color: rgba(255, 255, 255, 0.95) !important;
}

.home-main .cert-features li::before {
  color: #6ee7b7 !important;
}

.home-main .mountain {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.home-main .cert-card {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(10px) !important;
}

.home-main .cert-card strong {
  color: #ffffff !important;
}

.home-main .btn-light {
  background: #ffffff !important;
  color: var(--forest-dark) !important;
  border: 1px solid #ffffff !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.home-main .btn-light:hover {
  background: var(--nature-cream) !important;
  color: var(--forest-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

/* ─── Footer ─── */
.app-footer {
  background: #11281a !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.app-footer::before {
  background: linear-gradient(90deg, transparent, var(--forest-light), var(--teal-soft), transparent) !important;
}

.footer-brand-logo span {
  color: #ffffff !important;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65) !important;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-social a:hover {
  background: var(--forest-primary) !important;
  border-color: var(--forest-medium) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #81e6d9 !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-col a:hover {
  color: #a7f3d0 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-copy a {
  color: #a7f3d0 !important;
}

.footer-bottom-links a,
.footer-version {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ─── Mobile Bottom Nav ─── */
.mobile-bottom-nav {
  background: rgba(17, 40, 26, 0.96) !important;
  border-top: 1px solid rgba(72, 166, 112, 0.25) !important;
}

.mobile-nav-item {
  color: rgba(255, 255, 255, 0.72) !important;
}

.mobile-nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(42, 115, 74, 0.35), rgba(44, 122, 123, 0.35)) !important;
  box-shadow: inset 0 0 0 1px rgba(129, 230, 217, 0.25) !important;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 1024px) {
  .home-main .sections-grid,
  .sections-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .nature-card {
    padding: 1.6rem 1.8rem;
  }
}

@media (max-width: 960px) {
  .home-main .platform-stats,
  #platform-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .features-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .yt-btn-label {
    display: inline;
  }
}

@media (max-width: 640px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Platform Stats Phone Optimization */
  .home-main .platform-stats-wrap {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
  }

  .home-main .platform-stats,
  #platform-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    border-radius: 18px !important;
  }

  .home-main .platform-stat,
  .platform-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: auto !important;
    padding: 0.85rem 0.5rem !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid var(--nature-border) !important;
    border-radius: 14px !important;
    gap: 0.4rem !important;
  }

  .home-main .platform-stat-icon,
  .platform-stat-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
    margin: 0 auto 0.15rem auto !important;
  }

  .home-main .platform-stat strong,
  .platform-stat strong {
    font-size: 1.2rem !important;
    line-height: 1.15 !important;
  }

  .home-main .platform-stat span,
  .platform-stat span {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
    margin-top: 0.15rem !important;
    color: var(--nature-muted) !important;
    display: block !important;
  }
  
  .features-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Nature Card Phone Responsive */
  .home-main .sections-grid,
  .sections-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .nature-card {
    padding: 1.25rem 1.15rem !important;
    gap: 0.95rem !important;
    min-height: 140px !important;
    border-radius: 16px !important;
  }

  .nature-card-icon-wrap {
    align-self: flex-start;
  }

  .nature-card-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
  }

  .nature-card-info {
    padding-right: 60px !important; /* Keep text clear of bottom-right artwork & arrow */
  }

  .nature-card-title {
    font-size: 1.12rem !important;
    margin: 0.2rem 0 0.35rem 0 !important;
  }

  .nature-card-desc {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2 !important;
  }

  .nature-card-art-panel {
    width: 36% !important;
    min-width: 100px !important;
  }

  .nature-card-arrow-circle {
    right: 12px !important;
    bottom: 12px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.88rem !important;
  }
}

/* ============================================================
   ScenarioQ — Nature-Inspired Section Hero & Topic Cards
   ============================================================ */

/* ─── Breadcrumbs Overrides for Nature Theme ─── */
.seo-breadcrumbs {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--nature-border) !important;
  border-radius: 12px !important;
  color: var(--nature-muted) !important;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.04) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.seo-breadcrumbs a {
  color: var(--forest-primary) !important;
  font-weight: 600;
}

.seo-breadcrumbs a:hover {
  color: var(--forest-dark) !important;
  text-decoration: underline;
}

.seo-breadcrumbs .current {
  color: var(--forest-dark) !important;
  font-weight: 700;
}

/* ─── Nature Section Hero & Brushstroke Banner ─── */
.nature-section-hero {
  position: relative;
  text-align: center;
  padding: 3rem 1.75rem 2.25rem 1.75rem;
  margin-bottom: 2.25rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--nature-border);
  box-shadow: 0 16px 40px rgba(20, 55, 36, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.nature-hero-topography {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: 
    radial-gradient(circle at 18% 25%, rgba(30, 82, 53, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(44, 122, 123, 0.22) 0%, transparent 50%),
    repeating-radial-gradient(ellipse at 50% 120%, transparent 0, transparent 24px, rgba(30, 82, 53, 0.12) 25px, transparent 26px);
  z-index: 0;
}

.nature-hero-kicker-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.nature-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-primary);
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.28);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(20, 55, 36, 0.04);
}

.nature-kicker-pill i {
  color: var(--forest-medium);
  font-size: 0.85rem;
}

/* Painted Brushstroke Banner Container */
.nature-brushstroke-wrapper {
  position: relative;
  display: inline-block;
  max-width: 96%;
  margin: 0.35rem auto 1.35rem auto;
  padding: 0.85rem 3.2rem;
  z-index: 1;
}

.nature-brushstroke-bg {
  position: absolute;
  inset: -6px -18px;
  background: linear-gradient(108deg, #0d281a 0%, #143724 25%, #1e5235 65%, #2a6944 100%);
  /* Painted brushstroke organic silhouette */
  border-radius: 255px 25px 235px 25px / 28px 235px 26px 255px;
  box-shadow: 
    0 12px 30px rgba(13, 40, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(-0.6deg);
  z-index: -1;
  transition: transform 0.3s ease;
}

.nature-brushstroke-bg::before {
  content: '';
  position: absolute;
  inset: -3px -10px;
  background: rgba(30, 82, 53, 0.45);
  border-radius: 240px 32px 260px 20px / 22px 250px 24px 240px;
  transform: rotate(1.2deg);
  z-index: -2;
  filter: blur(1px);
}

.nature-brushstroke-bg::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  opacity: 0.8;
}

.nature-section-headline {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.32) !important;
  position: relative;
}

.nature-section-lead {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--nature-muted);
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 1.75rem auto;
}

/* Hero Stats Strip */
.nature-stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.nature-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nature-stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 55, 36, 0.08);
}

.nature-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf6ee;
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.nature-stat-data {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nature-stat-data strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-dark);
  line-height: 1.1;
}

.nature-stat-data span {
  font-size: 0.78rem;
  color: var(--nature-muted);
  font-weight: 600;
}

/* Subheadings */
.nature-section-subhead-row {
  margin-bottom: 0.5rem;
}

.nature-subhead-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-primary);
  margin-bottom: 0.25rem;
}

.nature-subhead-title {
  color: var(--forest-dark) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ─── Nature Topics List & Topic Cards ─── */
.nature-topics-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.topics-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.nature-topic-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 55, 36, 0.06);
  overflow: hidden;
  position: relative;
  min-height: 110px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease;
  text-decoration: none;
}

.nature-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(20, 55, 36, 0.1);
  border-color: rgba(48, 166, 112, 0.42);
}

/* 1. Left Area — Icon inside Pale-Green Rounded Square */
.topic-card-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.65rem 1.25rem 1.35rem;
  text-decoration: none;
  flex-shrink: 0;
}

.topic-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf6ee 0%, #d8ede0 100%);
  border: 1px solid rgba(48, 166, 112, 0.28);
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 3px 10px rgba(20, 55, 36, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nature-topic-card:hover .topic-icon-box {
  transform: scale(1.06);
  color: var(--forest-dark);
  background: linear-gradient(135deg, #def0e5 0%, #cce6d6 100%);
}

/* 2. Middle Area — Topic Information */
.topic-card-info-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.25rem 1.25rem 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.topic-card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.35rem;
}

.topic-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--forest-primary);
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  line-height: 1.2;
}

.topic-count-pill i {
  font-size: 0.72rem;
  color: var(--forest-medium);
}

.topic-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.nature-topic-card:hover .topic-card-title,
.topic-card-info-link:hover .topic-card-title {
  color: var(--forest-medium);
}

.topic-card-desc {
  font-size: 0.88rem;
  color: #4e6757;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 3. Right Area — Full-Height Action Panel (2 Stacked Buttons) */
.topic-actions-panel {
  display: flex;
  flex-direction: column;
  width: 200px;
  min-width: 200px;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(48, 166, 112, 0.2);
}

.topic-action-btn {
  flex: 1 1 50%;
  height: 50%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  margin: 0;
  border: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
  user-select: none;
}

.topic-action-btn .btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: none; /* Text remains stable on hover */
}

.topic-action-btn .btn-label {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.topic-action-btn .btn-count {
  font-size: 0.78rem;
  opacity: 0.82;
  font-weight: 600;
}

/* Top Button: MCQ Practice (Dark forest green) */
.topic-action-btn.btn-mcq {
  background: #143724;
  color: #ffffff !important;
  border-top-right-radius: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topic-action-btn.btn-mcq .btn-arrow {
  color: #ffffff;
}

.topic-action-btn.btn-mcq:hover {
  background: #1b4b31;
  color: #ffffff !important;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.15);
}

/* Bottom Button: Scenario Studies (Pale green) */
.topic-action-btn.btn-scenario {
  background: #d8f3dc;
  color: #143724 !important;
  border-bottom-right-radius: 17px;
}

.topic-action-btn.btn-scenario .btn-arrow {
  color: #143724;
}

.topic-action-btn.btn-scenario:hover {
  background: #c5ebd0;
  color: #0d281a !important;
  box-shadow: inset 0 0 12px rgba(20, 55, 36, 0.08);
}

/* Arrow Slide Animation (8–12px on hover) */
.topic-action-btn .btn-arrow {
  font-size: 0.95rem;
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.topic-action-btn:hover .btn-arrow {
  transform: translateX(10px);
}

/* Disabled State */
.topic-action-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Accessible Focus States */
.topic-action-btn:focus-visible,
.topic-card-info-link:focus-visible,
.topic-card-icon-link:focus-visible {
  outline: 2px solid var(--forest-primary);
  outline-offset: -2px;
}

/* Bottom CTA Banner (Nature Theme) */
.nature-cert-cta-banner {
  background: linear-gradient(135deg, #143724 0%, #1e5235 60%, #2a6944 100%);
  border-radius: 22px;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 36px rgba(20, 55, 36, 0.18);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.nature-cert-cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.nature-cert-cta-banner h2 {
  color: #ffffff !important;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.nature-cert-cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
  font-size: 1rem;
}

.nature-cert-cta-banner .btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--forest-dark);
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nature-cert-cta-banner .btn-cta-white:hover {
  transform: translateY(-2px);
  background: #faf8f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ─── Responsive Adjustments for Topic Cards ─── */
@media (max-width: 768px) {
  .nature-section-hero {
    padding: 2.25rem 1.15rem 1.75rem 1.15rem;
    border-radius: 20px;
  }

  .nature-brushstroke-wrapper {
    padding: 0.75rem 1.6rem;
    max-width: 100%;
  }

  .nature-section-headline {
    font-size: 1.65rem !important;
  }

  .nature-stats-strip {
    gap: 0.65rem;
  }

  .nature-stat-pill {
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
  }

  .nature-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.92rem;
  }

  .nature-stat-data strong {
    font-size: 1.1rem;
  }

  .nature-stat-data span {
    font-size: 0.72rem;
  }

  /* Stack card vertically on tablet / mobile */
  .nature-topic-card {
    flex-direction: column;
    min-height: auto;
    border-radius: 16px;
  }

  .topic-card-icon-link {
    padding: 1.15rem 1.15rem 0.35rem 1.15rem;
    justify-content: flex-start;
  }

  .topic-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 12px;
  }

  .topic-card-info-link {
    padding: 0.35rem 1.15rem 1.15rem 1.15rem;
  }

  .topic-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .topic-card-desc {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  /* Full-width action panel at card bottom */
  .topic-actions-panel {
    width: 100%;
    min-width: 100%;
    border-left: none;
    border-top: 1px solid rgba(48, 166, 112, 0.18);
  }

  .topic-action-btn {
    min-height: 48px;
    height: 48px;
    padding: 0 1.15rem;
    font-size: 0.84rem;
  }

  .topic-action-btn.btn-mcq {
    border-top-right-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .topic-action-btn.btn-scenario {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nature-topic-card,
  .topic-icon-box,
  .topic-action-btn,
  .topic-action-btn .btn-arrow,
  .nature-stat-pill,
  .btn-cta-white {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 380px) {
  .home-main .platform-stats,
  #platform-stats {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .home-main .platform-stat,
  .platform-stat {
    flex-direction: row !important;
    text-align: left !important;
    justify-content: flex-start !important;
    padding: 0.75rem 0.85rem !important;
    gap: 0.85rem !important;
  }

  .home-main .platform-stat-icon,
  .platform-stat-icon {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
}

/* ============================================================
   ScenarioQ — Nature-Inspired Topic Page & Practice Mode Cards
   ============================================================ */

.nature-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.nature-mode-card {
  background: #ffffff;
  border: 1.5px solid rgba(48, 166, 112, 0.22);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: 0 10px 30px rgba(20, 55, 36, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nature-mode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 55, 36, 0.1);
  border-color: rgba(48, 166, 112, 0.45);
}

.nature-mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #143724 0%, #1e5235 50%, #2a6944 100%);
}

.nature-mode-card.scenario::before {
  background: linear-gradient(90deg, #176B43 0%, #2c7a7b 50%, #319795 100%);
}

.nature-mode-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.nature-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-primary);
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.4rem;
}

.nature-mode-badge.teal {
  color: #1d6a6b;
  background: #e6f6f6;
  border-color: rgba(44, 122, 123, 0.28);
}

.nature-mode-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf6ee 0%, #d8ede0 100%);
  border: 1px solid rgba(48, 166, 112, 0.28);
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 55, 36, 0.05);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nature-mode-card:hover .nature-mode-icon-box {
  transform: scale(1.08);
  background: linear-gradient(135deg, #def0e5 0%, #cce6d6 100%);
}

.nature-mode-icon-box.teal {
  background: linear-gradient(135deg, #e6f6f6 0%, #d0eded 100%);
  border-color: rgba(44, 122, 123, 0.28);
  color: #2c7a7b;
}

.nature-mode-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--forest-dark);
  margin: 0.2rem 0 0.5rem 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.nature-mode-desc {
  font-size: 0.94rem;
  color: #4a6353;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nature-mode-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(48, 166, 112, 0.16);
  flex-wrap: wrap;
}

.nature-mode-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--forest-primary);
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.btn-nature-mode-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #143724;
  color: #ffffff !important;
  font-weight: 750;
  font-size: 0.92rem;
  padding: 0.75rem 1.55rem;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.18);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-nature-mode-cta:hover {
  background: #1e5235;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 55, 36, 0.25);
}

.btn-nature-mode-cta .btn-arrow {
  transition: transform 0.25s ease;
}

.btn-nature-mode-cta:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-nature-mode-cta.secondary {
  background: #eaf6ee;
  color: #143724 !important;
  border: 1.5px solid rgba(48, 166, 112, 0.35);
  box-shadow: none;
}

.btn-nature-mode-cta.secondary:hover {
  background: #d8ede0;
  border-color: #143724;
}

.btn-nature-mode-cta.disabled {
  opacity: 0.55;
  background: #94a39a;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ─── Topic Page Key Concepts, Previews, FAQs Overrides ─── */
.seo-section-block h2 {
  color: var(--forest-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seo-concept-item {
  background: #ffffff !important;
  border: 1px solid rgba(48, 166, 112, 0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.04) !important;
}

.seo-concept-bullet {
  background: #eaf6ee !important;
  color: var(--forest-primary) !important;
  border-radius: 8px !important;
}

.seo-preview-card {
  background: #ffffff !important;
  border: 1px solid rgba(48, 166, 112, 0.22) !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 20px rgba(20, 55, 36, 0.05) !important;
}

.seo-preview-title {
  color: var(--forest-dark) !important;
  font-weight: 800 !important;
}

.seo-tag {
  background: #eaf6ee !important;
  color: var(--forest-primary) !important;
  border: 1px solid rgba(48, 166, 112, 0.22) !important;
}

.seo-faq-item {
  background: #ffffff !important;
  border: 1px solid rgba(48, 166, 112, 0.2) !important;
  border-radius: 14px !important;
}

.seo-faq-summary {
  color: var(--forest-dark) !important;
  font-weight: 700 !important;
}

.seo-related-card {
  background: #ffffff !important;
  border: 1px solid rgba(48, 166, 112, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.04) !important;
  transition: all 0.25s ease !important;
}

.seo-related-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(48, 166, 112, 0.4) !important;
  box-shadow: 0 10px 24px rgba(20, 55, 36, 0.08) !important;
}

.seo-related-title {
  color: var(--forest-dark) !important;
  font-weight: 800 !important;
}

.seo-related-action {
  color: var(--forest-primary) !important;
  font-weight: 700 !important;
}
