:root {
  --zagao-navy: #07111f;
  --zagao-ink: #0b0f14;
  --zagao-panel: #111927;
  --zagao-orange: #f97316;
  --zagao-orange-dark: #c2410c;
  --zagao-teal: #0f9f8f;
  --zagao-gold: #f4b63f;
  --zagao-steel: #d7dde6;
  --zagao-muted: #697586;
}

body {
  color: #17202a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar {
  background: rgba(7, 17, 31, 0.98);
}

.brand-mark {
  align-items: center;
  color: white;
  display: inline-flex;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark:hover {
  color: white;
}

.brand-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(244, 182, 63, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.24);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: relative;
  width: 38px;
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
}

.brand-icon::before {
  border: 2px solid rgba(7, 17, 31, 0.58);
  border-radius: 4px;
  height: 18px;
  width: 22px;
}

.brand-icon::after {
  background: rgba(7, 17, 31, 0.58);
  height: 2px;
  left: 8px;
  top: 10px;
  width: 22px;
}

.brand-icon span {
  border-bottom: 6px solid transparent;
  border-left: 9px solid white;
  border-top: 6px solid transparent;
  margin-left: 3px;
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-size: 1.26rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.navbar-brand {
  margin-right: 1.5rem;
  padding: 0.35rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
}

.nav-link {
  font-weight: 600;
}

.hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98), rgba(7, 17, 31, 0.88) 52%, rgba(7, 17, 31, 0.52)),
    url("https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: white;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 850;
  line-height: 1.02;
}

.hero .lead {
  color: #d9e2ec;
  font-size: 1.22rem;
  max-width: 780px;
}

.hero-actions .btn,
.page-hero .btn {
  min-width: 178px;
}

.page-hero {
  padding: 4.5rem 0;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero .lead {
  max-width: 760px;
}

.hero-note {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 1.25rem;
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: white;
  margin-bottom: 0.35rem;
}

.hero-note span {
  color: #d7dde6;
}

.btn-accent {
  --bs-btn-bg: var(--zagao-orange);
  --bs-btn-border-color: var(--zagao-orange);
  --bs-btn-hover-bg: var(--zagao-orange-dark);
  --bs-btn-hover-border-color: var(--zagao-orange-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
}

.btn-outline-light,
.btn-outline-dark {
  font-weight: 700;
}

.section-dark {
  background: var(--zagao-navy);
  color: white;
}

.section-soft {
  background: #f5f7fb;
}

.section-rail {
  padding: 2rem 0;
}

.eyebrow {
  color: var(--zagao-orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-weight: 820;
}

.stat {
  border-left: 4px solid var(--zagao-orange);
  padding-left: 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.rail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.feature-tile {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}

.feature-tile h3 {
  font-size: 1.08rem;
  font-weight: 820;
  margin: 1rem 0 0.6rem;
}

.feature-tile p {
  color: var(--zagao-muted);
  margin-bottom: 0;
}

.tile-icon {
  align-items: center;
  background: #e9f7f5;
  border: 1px solid #ccebe7;
  border-radius: 999px;
  color: #08776c;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.video-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
  transform: translateY(-3px);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0b0f14;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

.video-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.video-filter .btn {
  border-radius: 999px;
}

.video-section {
  border-bottom: 1px solid #e8edf3;
  padding-bottom: 2rem;
}

.package-list li,
.benefit-list li {
  margin-bottom: 0.7rem;
}

.package-list li::marker,
.benefit-list li::marker {
  color: var(--zagao-orange);
}

.accent-bar {
  border-top: 4px solid var(--zagao-orange);
}

.category-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-chip {
  background: #f8fafc;
  border: 1px solid #dfe6ef;
  border-left: 4px solid var(--zagao-teal);
  border-radius: 8px;
  color: var(--zagao-ink);
  min-height: 112px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.category-chip:hover {
  border-color: var(--zagao-teal);
  color: var(--zagao-ink);
  transform: translateY(-2px);
}

.category-chip span,
.category-chip strong {
  display: block;
}

.category-chip span {
  color: var(--zagao-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-chip strong {
  font-size: 1.35rem;
  margin-top: 0.35rem;
}

.category-card .stretched-link {
  color: var(--zagao-orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.pathway-list {
  display: grid;
  gap: 1rem;
}

.pathway-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  text-decoration: none;
}

.pathway-item:hover {
  background: rgba(255, 255, 255, 0.13);
  color: white;
}

.pathway-item span {
  color: var(--zagao-gold);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pathway-item strong {
  font-size: 1.05rem;
}

.process-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-steps div {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  padding: 1.25rem;
}

.section-dark .process-steps div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.process-steps span {
  align-items: center;
  background: #fff3e8;
  border-radius: 999px;
  color: var(--zagao-orange-dark);
  display: inline-flex;
  font-weight: 850;
  height: 2rem;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 2rem;
}

.process-steps h3 {
  font-size: 1.05rem;
  font-weight: 820;
}

.process-steps p {
  color: var(--zagao-muted);
  margin-bottom: 0;
}

.section-dark .process-steps p {
  color: #d7dde6;
}

.sponsor-package-list {
  display: grid;
  gap: 1rem;
}

.sponsor-package-list div {
  border-left: 3px solid var(--zagao-teal);
  padding-left: 1rem;
}

.sponsor-package-list span {
  color: var(--zagao-teal);
  font-size: 0.8rem;
  font-weight: 850;
}

.sponsor-package-list strong {
  display: block;
  font-size: 1.05rem;
  margin: 0.2rem 0;
}

.sponsor-package-list p {
  color: var(--zagao-muted);
  margin-bottom: 0;
}

.check-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f8fafc;
  font-weight: 760;
  padding: 0.9rem 1rem;
}

.check-grid-light span {
  background: #f8fafc;
  border-color: #dfe6ef;
  color: var(--zagao-ink);
}

.package-panel {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
}

.contact-options {
  display: grid;
  gap: 0.7rem;
}

.contact-options a {
  background: #f8fafc;
  border: 1px solid #dfe6ef;
  border-left: 4px solid var(--zagao-orange);
  border-radius: 8px;
  color: var(--zagao-ink);
  font-weight: 800;
  padding: 0.9rem 1rem;
  text-decoration: none;
}

.contact-options a:hover {
  border-color: var(--zagao-orange);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 820;
  margin-top: 2rem;
}

.legal-content p {
  color: #364152;
  line-height: 1.75;
}

.form-control,
.form-select {
  border-radius: 6px;
  min-height: 48px;
}

textarea.form-control {
  min-height: 140px;
}

.footer {
  background: var(--zagao-ink);
  color: var(--zagao-steel);
}

.footer a {
  color: var(--zagao-steel);
  text-decoration: none;
}

.footer .brand-mark,
.footer .brand-mark:hover {
  color: white;
}

.footer a:hover {
  color: white;
}

.table {
  vertical-align: middle;
}

.admin-body {
  background: #eef2f7;
}

.admin-navbar {
  background: var(--zagao-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 58px);
}

.admin-sidebar {
  background: #0f1724;
  border-right: 1px solid #202b3a;
  color: white;
  padding: 1.25rem;
}

.admin-sidebar-title {
  color: #9aa8ba;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.admin-link {
  border-radius: 8px;
  color: #d7dde6;
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
}

.admin-link:hover,
.admin-link.active {
  background: rgba(249, 115, 22, 0.14);
  color: white;
}

.admin-main {
  padding: 2rem;
}

.admin-page-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  margin: 0;
}

.admin-panel,
.admin-metric {
  background: white;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.admin-panel {
  padding: 1.25rem;
}

.admin-panel-header {
  align-items: center;
  border-bottom: 1px solid #e6ebf2;
  display: flex;
  justify-content: space-between;
  margin: -1.25rem -1.25rem 1rem;
  padding: 1rem 1.25rem;
}

.admin-panel-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

.admin-metric {
  border-top: 4px solid var(--zagao-orange);
  padding: 1.25rem;
}

.admin-metric span {
  color: var(--zagao-muted);
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.admin-metric strong {
  color: var(--zagao-ink);
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.admin-table th {
  color: #364152;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lead-status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.42rem 0.58rem;
  white-space: nowrap;
}

.status-new {
  background: #e8edf5;
  color: #243244;
}

.status-needs-info {
  background: #fff1d6;
  color: #7a4a00;
}

.status-contacted {
  background: #dbeafe;
  color: #1e3a8a;
}

.status-qualified {
  background: #dcfce7;
  color: #166534;
}

.status-proposal-sent {
  background: #f3e8ff;
  color: #6b21a8;
}

.status-won {
  background: #ccfbf1;
  color: #115e59;
}

.status-lost {
  background: #fee2e2;
  color: #991b1b;
}

.admin-form-panel {
  max-width: 760px;
}

.admin-detail-list {
  display: grid;
  gap: 0.7rem 1rem;
  grid-template-columns: 120px minmax(0, 1fr);
  margin-bottom: 0;
}

.admin-detail-list dt {
  color: var(--zagao-muted);
  font-weight: 800;
}

.admin-detail-list dd {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.lead-message {
  line-height: 1.7;
  white-space: pre-wrap;
}

.auth-section {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.74)),
    url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1600&q=80") center / cover;
  min-height: calc(100vh - 86px);
  padding: 6rem 0;
}

.auth-card {
  border-top: 4px solid var(--zagao-orange);
}

.btn-google {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #dfe6ef;
  --bs-btn-color: #17202a;
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-border-color: #cfd8e5;
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.75rem;
  justify-content: center;
}

.google-g {
  align-items: center;
  border: 1px solid #dfe6ef;
  border-radius: 999px;
  color: #4285f4;
  display: inline-flex;
  font-weight: 900;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.auth-divider {
  align-items: center;
  color: var(--zagao-muted);
  display: flex;
  font-size: 0.85rem;
  font-weight: 800;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  background: #dfe6ef;
  content: "";
  flex: 1;
  height: 1px;
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.78)),
      url("https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?auto=format&fit=crop&w=1200&q=80") center / cover;
  }

  .hero .btn {
    width: 100%;
  }

  .rail-grid,
  .category-mosaic,
  .process-steps,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3rem 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.75rem;
  }

  .admin-sidebar-title {
    display: none;
  }

  .admin-link {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-page-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-detail-list {
    grid-template-columns: 1fr;
  }
}
