/* SaathiAI unified chrome — matches the original landing nav + footer style
   (byte-compatible with pre-refactor visual design from commit 11c3ce1). */

/* ----- Nav ---------------------------------------------------------- */
.saathi-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(251,191,36,0.08);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.saathi-nav-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px; font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #fbbf24, #f97316, #fbbf24);
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: saathi-shimmer 4s ease-in-out infinite;
  text-decoration: none;
}
@keyframes saathi-shimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position:   0% 0; }
}

.saathi-nav-links {
  display: flex; gap: 28px; align-items: center;
}
.saathi-nav-link {
  font-family: 'Orbitron', sans-serif; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(226,232,240,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.saathi-nav-link:hover,
.saathi-nav-link.is-active {
  color: #fbbf24;
}

.saathi-nav-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 9px; letter-spacing: 1.5px;
  padding: 5px 14px;
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 4px;
  color: #fbbf24;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.saathi-nav-badge:hover {
  background: rgba(251,191,36,0.08);
  border-color: rgba(251,191,36,0.5);
}

/* Dropdown (Subjects menu) */
.saathi-nav-dropdown { position: relative; display: inline-block; }
.saathi-nav-dropdown-trigger {
  font-family: 'Orbitron', sans-serif; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(226,232,240,0.5); background: none; border: 0;
  padding: 0; cursor: pointer; transition: color 0.3s;
}
.saathi-nav-dropdown-trigger:hover { color: #fbbf24; }
.saathi-nav-dropdown-panel {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 180px; padding: 8px;
  background: rgba(5,5,16,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300;
}
.saathi-nav-dropdown:hover .saathi-nav-dropdown-panel,
.saathi-nav-dropdown.open .saathi-nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.saathi-nav-dropdown-panel a {
  display: block; padding: 8px 14px;
  font-family: 'Orbitron', sans-serif; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(226,232,240,0.7); text-decoration: none;
  border-radius: 4px; transition: all 0.2s;
}
.saathi-nav-dropdown-panel a:hover {
  color: #fbbf24; background: rgba(251,191,36,0.08);
}

/* Hamburger (mobile) */
.saathi-nav-hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.saathi-nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fbbf24; border-radius: 1px;
}

/* Mobile menu — slides in from right */
.saathi-mobile-menu {
  position: fixed; top: 0; right: 0; width: 280px; height: 100%;
  background: rgba(5,5,16,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: 60px 24px 24px; gap: 4px;
}
.saathi-mobile-menu[hidden] { display: none; }
.saathi-mobile-menu a {
  color: #e0e0e0; text-decoration: none;
  font-family: 'Exo 2', sans-serif; font-size: 16px;
  padding: 12px; border-radius: 6px;
  transition: 0.2s;
}
.saathi-mobile-menu a:hover {
  background: rgba(251,191,36,0.1); color: #fbbf24;
}
.saathi-mobile-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none;
  color: #fbbf24; font-size: 28px; cursor: pointer;
  width: 36px; height: 36px;
}

@media (max-width: 860px) {
  .saathi-nav-links { display: none; }
  .saathi-nav-hamburger { display: flex; }
}

/* ----- Content width constraint ------------------------------------ */
/* Applies to the landing + legacy sub-pages. Keeps hero/section content
   breathing away from the viewport edges on ≥1100px screens. */
.hero > *,
.section > * {
  max-width: 1120px; margin-left: auto; margin-right: auto;
}
.hero, .section { padding-left: max(24px, 4vw); padding-right: max(24px, 4vw); }

/* ----- Footer — matches original .footer style --------------------- */
.saathi-footer {
  position: relative; z-index: 1;
  padding: 60px 24px 40px;
  border-top: 1px solid rgba(251,191,36,0.1);
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}
.saathi-footer-top {
  display: block; max-width: 900px; margin: 0 auto 16px;
}
.saathi-footer-brand {
  font-family: 'Orbitron', sans-serif; font-weight: 800;
  font-size: 16px; letter-spacing: 2.5px;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.saathi-footer-logo {
  font-family: 'Orbitron', sans-serif; font-weight: 800;
  font-size: 16px; letter-spacing: 2.5px;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.saathi-footer-tag,
.saathi-footer-text {
  font-size: 12px; color: rgba(226,232,240,0.5);
  max-width: 500px; margin: 0 auto 24px; line-height: 1.6;
}
.saathi-footer-links {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin: 0 auto 12px;
}
.saathi-footer-links a {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(226,232,240,0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.saathi-footer-links a:hover { color: #fbbf24; }
.saathi-footer-contact {
  margin-top: 14px; font-size: 10px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(226,232,240,0.4);
}
.saathi-footer-contact a {
  color: rgba(226,232,240,0.4); text-decoration: none; transition: color 0.3s;
}
.saathi-footer-contact a:hover { color: #fbbf24; }
.saathi-footer-contact-label { display: inline; }
.saathi-footer-bottom {
  margin-top: 16px;
  font-size: 10px; color: rgba(226,232,240,0.3);
  letter-spacing: 1px;
}
