/* ============================================
   REPOSITÓRIO EDUCACIONAL - ESTILO COMPLETO
   Design: NeoOrganiza — Clean, Moderno, Inovador
   ============================================ */

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1B4D8F;
  --primary-light: #2a6bc9;
  --primary-dark: #0f3666;
  --accent: #0D9488;
  --accent-light: #14b8a6;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --transition: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type colors */
  --pdf-color: #DC2626;
  --site-color: #0284C7;
  --planilha-color: #059669;
  --word-color: #1D4ED8;
  --formulario-color: #7C3AED;
  --video-color: #E11D48;
  --apresentacao-color: #D97706;
  --imagem-color: #0D9488;
  --whatsapp-color: #16A34A;
}

/* BASE - BLOQUEIO RIGOROSO DE MOVIMENTAÇÃO LATERAL */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HERO HEADER */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a6e 50%, #1B4D8F 100%);
  color: white;
  padding: 3rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-shapes::before,
.hero-bg-shapes::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero-bg-shapes::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
}

.hero-bg-shapes::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: 10%;
}

.hero-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.hero-logo {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}

.hero-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.25rem;
  text-align: center;
}

/* TABS */
.tabs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
}

.tab-btn:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}

.tab-count,
.count-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  padding: 0;
  border-radius: 50%;
  background: #E5E7EB;
  color: #4B5563;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  opacity: 1;
  vertical-align: middle;
}

.tab-count {
  margin-left: 0.2rem;
  background: rgba(255,255,255,0.78);
  color: #475569;
}

.tab-btn.active .tab-count {
  background: rgba(255,255,255,0.9);
  color: #334155;
}

/* HERO QUICK NAV */
.hero-quick-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* HERO IMAGE CONTAINER */
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 1.5rem auto 0;
  z-index: 2;
  display: block;
}

.strategy-image-wrapper {
  position: relative;
  border: 6px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  outline: 5px solid rgba(255, 255, 255, 0.96);
  outline-offset: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  max-width: 100%;
  margin-bottom: 20px;
  height: 243px;
}

.hero-image-container .strategy-image-wrapper img #head{ border: 4px #e3eae8;}

.strategy-image-wrapper:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.45);
}

.hero-featured-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.8s ease;
}

.strategy-image-wrapper:hover .hero-featured-img {
  transform: scale(1.035);
}

.strategy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.6));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.strategy-image-wrapper:hover .strategy-overlay {
  opacity: 1;
}

.strategy-badge {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

/* MAIN CONTENT */
.main-content {
  padding: 2rem 0 1rem;
}

/* SEARCH BAR */
.search-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.search-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27,77,143,0.1);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
}

#searchInput::placeholder {
  color: var(--text-muted);
}

.clear-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(27,77,143,0.08);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.clear-btn:hover {
  background: rgba(27,77,143,0.15);
}

/* ALPHABET FILTER */
.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.letter-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-btn:hover:not(.disabled) {
  transform: scale(1.1);
  background: rgba(27,77,143,0.08);
}

.letter-btn.active {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.letter-btn.disabled {
  color: var(--text-muted);
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.letter-btn.todos {
  width: auto;
  padding: 0 0.75rem;
  font-size: 0.7rem;
}

/* TYPE FILTER */
.type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

/* DEPARTMENT FILTER */
.department-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(27, 77, 143, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.type-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.875rem;
  border-radius: 8px;
  border: none;
  background: var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.type-btn:hover {
  background: var(--border);
}

.type-btn.active {
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.dept-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.dept-btn:hover {
  background: var(--border-light);
  border-color: var(--primary);
  color: var(--primary);
}

.dept-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(27, 77, 143, 0.2);
}

.type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* RESULTS INFO */
.results-info {
  margin-bottom: 1.5rem;
}

.results-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  align-items: stretch;
  gap: 0.875rem;
}

/* CARD */
.card {
  position: relative;
  display: block;
  min-width: 0;
  height: 168px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: cardEnter 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

.card:hover {
  transform: none;
  box-shadow: 0 10px 26px rgba(27, 77, 143, 0.18);
  border-color: #0284C7;
}

.card-whatsapp {
  cursor: pointer;
  border: 1px solid #BBF7D0;
}

.card-whatsapp:hover {
  border-color: #16A34A;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.16);
}

@keyframes cardEnter {
  to {
    opacity: 1;
  }
}

.card-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  height: 100%;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card-body {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.card-heading {
  display: block;
  min-width: 0;
}

.card-heading .card-title {
  min-width: 0;
  width: 100%;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  margin-top: 0.32rem;
}

.card-access-icon {
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: var(--primary);
  opacity: 0.85;
}

.card-hover-access {
  position: absolute;
  right: 0.9rem;
  bottom: 0.65rem;
  padding: 0.12rem 0.38rem;
  border-radius: 5px;
  background: rgba(27, 77, 143, 0.08);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity var(--transition), transform var(--transition);
}

.card-actionable:hover .card-hover-access,
.card-actionable:focus-visible .card-hover-access {
  opacity: 0.9;
  transform: translateY(0);
}

.card-title {
  visibility: visible;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.card-desc {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.empty-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.empty-btn {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: rgba(27,77,143,0.08);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.empty-btn:hover {
  background: rgba(27,77,143,0.15);
}

/* MIND MAP (SEM BARRAS DE ROLAGEM E 100% RESPONSIVO) */
.mindmap-section {
  position: relative;
  isolation: isolate;
  margin-top: 4rem;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.mindmap-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.mindmap-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.mindmap-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* AÇÕES DO MAPA MENTAL */
.mindmap-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mindmap-refresh-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.mindmap-refresh-btn:hover {
  background: var(--border-light);
  color: var(--primary);
  border-color: var(--primary);
}

.mindmap-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  padding: 0.5rem 0;
}

.mindmap-canvas-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  position: relative;
  margin: 0 auto;
  overflow: hidden !important;
}

.mindmap-canvas-container svg {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
}

/* MIND MAP CANVAS NODES */
.mind-node {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mind-leaf:not(.mind-leaf-clickable) {
  cursor: default;
}

.mind-leaf-clickable {
  outline: none;
}

.mind-leaf-clickable:focus-visible rect,
.mind-leaf-clickable:focus-visible circle {
  stroke: var(--primary);
  stroke-width: 2.5px;
}

.mind-leaf-clickable:hover text {
  fill: var(--primary);
  font-weight: 700;
}

.mind-node:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}

.mind-node rect {
  transition: fill 0.3s, stroke 0.3s;
}

.mind-node:hover rect {
  stroke-width: 2.5px;
}

.mind-connector {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 1.5s ease-out forwards;
  opacity: 0.6;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.node-appear {
  animation: nodeFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform-origin: center;
}

@keyframes nodeFadeIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.mind-label {
  pointer-events: auto;
  cursor: inherit;
  user-select: none;
  white-space: nowrap;
  paint-order: stroke;
  stroke-width: 1.5px;
  stroke-linejoin: round;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
  padding: 1.25rem 0;
  margin-top: 2rem;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-stats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* BACK TO TOP FLOATING BUTTON */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  z-index: 100;
  animation: fadeIn 0.2s ease;
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================
   RESPONSIVE — TABLET & DESKTOP
   ============================================ */
@media (max-width: 1180px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 176px;
  }
}

@media (max-width: 767px) {
  .mindmap-section {
    padding: 1.25rem 0.85rem;
    margin-top: 2rem;
  }

  .mindmap-header {
    flex-direction: column;
  }

  .mindmap-actions {
    width: 100%;
  }

  .mindmap-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    background: #fff;
    padding: 0.25rem 0;
  }

  .mindmap-canvas-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .mindmap-canvas-container svg {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 2rem 4rem;
  }

  .hero-image-container {
    max-width: 560px;
  }

  .hero-featured-img {
    max-height: 340px;
  }

  .strategy-image-wrapper {
    border-width: 8px;
    border-radius: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(360px, 460px) minmax(0, 500px);
    align-items: center;
    justify-content: center;
    column-gap: clamp(1.25rem, 2.5vw, 2.75rem);
    padding: 4rem max(2rem, 4vw);
  }

  .hero-content {
    display: contents;
  }

  .hero-top {
    justify-content: flex-start;
  }

  .hero-text h1,
  .hero-text p {
    text-align: left;
  }

  .tabs, .hero-quick-nav {
    justify-content: flex-start;
  }

  .hero-image-container {
    width: 100%;
    max-width: 460px;
    margin: 0;
    justify-self: center;
  }

  .hero-featured-img {
    max-height: 350px;
  }

  .strategy-image-wrapper {
    border-width: 8px;
    border-radius: 20px;
  }
}

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(400px, 460px) minmax(0, 500px);
    column-gap: clamp(1.5rem, 2.5vw, 3rem);
    padding: 4.5rem max(3rem, 5vw);
  }
}

/* MOBILE SMALL (<= 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem 2.5rem;
  }

  .hero-top {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-text h1 {
    font-size: 1.35rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .hero-logo {
    width: 48px;
    height: 48px;
  }

  .hero-image-container {
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .hero-featured-img {
    max-height: 240px;
  }

  .strategy-image-wrapper {
    border-width: 4px;
    border-radius: 12px;
    outline-width: 2px;
    outline-offset: 4px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 176px;
  }

  .card {
    height: 176px;
    padding: 0.7rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}