/* ===== Rocky Mountain Airlines — Theme & Base Styles ===== */

:root {
  /* Brand palette */
  --brand-primary: #0b1731;
  --brand-indigo: #3e54d3;
  --brand-blue: #4f80e2;
  --brand-teal: #15cdca;
  --brand-mint: #4fe0b6;

  /* Light theme (default) */
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #0b1731 0%, #1a3a5c 50%, #2a5a8a 100%);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a9a;
  --accent: #3e54d3;
  --accent-hover: #4f80e2;
  --accent-blue: #4f80e2;
  --accent-blue-hover: #3e54d3;
  --accent-teal: #15cdca;
  --accent-mint: #4fe0b6;
  --nav-bg: #0b1731;
  --nav-text: #ffffff;
  --footer-bg: #0b1731;
  --footer-text: #c8d0dc;
  --border: #e2e8f0;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
  --hero-text: #ffffff;
  --toggle-bg: #dde4ee;
  --toggle-knob: #0b1731;
  --section-alt-bg: #eef1f7;
  --badge-bg: #e4eaf5;
  --badge-text: #3e54d3;
  --accordion-hover: #f0f4f8;
  --scrollbar-thumb: #c0c8d4;
  --icon-color: #3e54d3;
  --transition: 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
}

[data-theme="dark"] {
  --bg-body: #0d1117;
  --bg-surface: #161b22;
  --bg-card: #1c2333;
  --bg-hero: linear-gradient(135deg, #060a10 0%, #0f1d30 50%, #142840 100%);
  --text-primary: #e6edf3;
  --text-secondary: #9eaab8;
  --text-muted: #6e7a88;
  --accent: #4f80e2;
  --accent-hover: #6b9bef;
  --accent-blue: #4f80e2;
  --accent-blue-hover: #6b9bef;
  --accent-teal: #15cdca;
  --accent-mint: #4fe0b6;
  --nav-bg: #010409;
  --nav-text: #e6edf3;
  --footer-bg: #010409;
  --footer-text: #8b949e;
  --border: #30363d;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.4);
  --hero-text: #e6edf3;
  --toggle-bg: #30363d;
  --toggle-knob: #4f80e2;
  --section-alt-bg: #111820;
  --badge-bg: #1a2940;
  --badge-text: #4f80e2;
  --accordion-hover: #1a2230;
  --scrollbar-thumb: #30363d;
  --icon-color: #4f80e2;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition), color var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.3;
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

main {
  flex: 1;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--nav-text);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand img {
  height: 38px;
  width: 38px;
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--nav-text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Theme Toggle */
.theme-toggle {
  background: var(--toggle-bg);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  transition: background-color var(--transition), transform 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: flex;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: flex;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.is-active {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1.5rem;
    width: 100%;
    border-radius: 0;
  }

  .theme-toggle {
    margin: 0.5rem 1.5rem;
    align-self: flex-start;
  }
}

/* ===== Spacer for fixed nav ===== */
.nav-spacer {
  height: 65px;
}

/* ===== Hero Section ===== */
.hero {
  background: var(--bg-hero);
  color: var(--hero-text);
  text-align: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/background.png') center center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--hero-text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: #fff;
  color: #0b1731;
}

.btn-primary:hover {
  background-color: #e8eef5;
  color: #0b1731;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* ===== Page Header (non-home pages) ===== */
.page-header {
  background: var(--bg-hero);
  color: var(--hero-text);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/background.png') center center / cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.4rem;
  color: var(--hero-text);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Section Styles ===== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--section-alt-bg);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.stat-icon {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--icon-color);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Feature Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.card-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--icon-color);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Two-Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== Content Prose ===== */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.prose ul, .prose ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--text-primary);
}

/* ===== Accordion ===== */
.accordion {
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color var(--transition);
  text-align: left;
  gap: 1rem;
}

.accordion-header:hover {
  background-color: var(--accordion-hover);
}

.accordion-header .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion-header .accordion-title-text {
  flex: 1;
}

.accordion-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.accordion-chevron svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-item.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.accordion-content p {
  margin-bottom: 0.75rem;
}

.accordion-content h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.accordion-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.accordion-content li {
  margin-bottom: 0.35rem;
}

.accordion-content .core-standard {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Fleet Grid ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.fleet-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.fleet-card .fleet-icon {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-card .fleet-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--icon-color);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleet-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.fleet-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Hub List ===== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--card-shadow);
}

.hub-card .hub-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card .hub-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hub-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Steps (Join Page) ===== */
.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: -1rem;
  width: 2px;
  background: var(--border);
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

[data-theme="dark"] .step-number {
  background: var(--accent);
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-content a {
  font-weight: 600;
}

/* ===== Info Banner ===== */
.info-banner {
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.info-banner h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.info-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== News List ===== */
.news-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.news-item {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-teal);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 0.75rem;
  box-shadow: var(--card-shadow);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.news-item-has-image {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.news-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.news-item-text {
  flex: 1;
  min-width: 0;
}

.news-item-link {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.news-item-link:hover strong {
  color: var(--accent);
}

.news-item:hover {
  border-left-color: var(--accent);
  cursor: pointer;
}

/* News Detail Page */
.news-detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

/* BBCode Content Styles */
.bb-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0.75rem 0;
  display: block;
}

.bb-quote {
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
}

.bb-quote cite {
  display: block;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.bb-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.bb-list {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.bb-list li {
  margin-bottom: 0.25rem;
}

.bb-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.bb-heading {
  margin: 1rem 0 0.5rem;
  color: var(--text-primary);
}

.bb-link {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-brand img {
  height: 42px;
  width: 42px;
  border-radius: 4px;
}

.footer-brand .brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: var(--footer-text);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .brand-name {
    justify-content: center;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .nav-brand span {
    font-size: 1rem;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

/* ===== Utilities ===== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
