/* ==========================================================================
   Airtel Blackout — base
   Reset, document, navigation, section bands, footer, motion.
   Shared by index.html, 5g-scam.html, priority-postpaid.html.
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--airtel-black);
  background: var(--airtel-white);
  overflow-x: hidden;
}

/* ---- accessibility ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--airtel-white);
  color: var(--airtel-black);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.skip-link:focus-visible {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--airtel-red);
  outline-offset: 2px;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--airtel-black);
  z-index: 1000;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--airtel-white);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--airtel-red);
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--airtel-red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--airtel-gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--airtel-red);
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--airtel-white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--airtel-black);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }
}

/* ---- SECTION BANDS ---- */
section {
  padding: 6rem 2rem;
  scroll-margin-top: 90px;
}

.section-dark {
  background: var(--airtel-black);
  color: var(--airtel-white);
}

.section-light {
  background: var(--airtel-light-gray);
}

.section-red {
  background: var(--airtel-red);
  color: var(--airtel-white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D41920;
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: #FF4D4D;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--airtel-gray);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 300;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- FOOTER ---- */
footer {
  background: var(--airtel-black);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.75rem;
  line-height: 1.8;
}

.footer-disclaimer a {
  color: #FF4D4D;
  text-decoration: none;
}

.footer-tagline {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ---- MOTION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  section { padding: 4rem 1.25rem; }
}
