/* ==========================================================================
   Vihan Shuttle — Coming Soon
   Theme: Midnight Saffron (deep-navy hero · gold sun-burst · white detail base)
   Brand tokens sourced from branding/brand-guidelines.md
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0b1736;   /* deepest */
  --navy-800: #0e1d49;
  --navy-700: #152a63;   /* Vihan Deep Blue — base surface */
  --blue-600: #1e3a8a;   /* Vihan Royal Blue */
  --blue-500: #2b52c0;   /* Vihan Sky Blue */
  --gold-600: #d88912;   /* Amber Dark */
  --gold-500: #f5a623;   /* Vihan Gold */
  --gold-400: #fbbf4a;   /* Amber Light */
  --gold-300: #ffd680;

  --ink: #111827;
  --slate: #6b7280;
  --mist: #e5e7eb;
  --white: #ffffff;
  --wa: #25d366;         /* WhatsApp green */
  --wa-dk: #128c7e;

  /* Surface helpers on dark */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --hair: rgba(255, 255, 255, 0.14);
  --text-dim: rgba(255, 255, 255, 0.74);
  --text-dimmer: rgba(255, 255, 255, 0.55);

  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-serif: 'Cinzel', 'Trajan Pro', Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 880px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--ff-sans);
  color: var(--white);
  background:
    radial-gradient(120% 80% at 50% -10%, #1b3576 0%, var(--navy-700) 38%, var(--navy-800) 72%, var(--navy-900) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold-500);
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============================ Background FX ============================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Rotating sun-ray fan */
.bg-rays {
  position: absolute;
  top: -40vmax;
  left: 50%;
  width: 120vmax;
  height: 120vmax;
  margin-left: -60vmax;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(245, 166, 35, 0.10) 0deg 4deg,
    transparent 4deg 16deg
  );
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 70%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 70%);
  opacity: 0.7;
  animation: spin 90s linear infinite;
  will-change: transform;
}

/* Warm dawn glow */
.bg-glow {
  position: absolute;
  top: -22vmax;
  left: 50%;
  width: 70vmax;
  height: 70vmax;
  margin-left: -35vmax;
  background: radial-gradient(circle at 50% 50%, rgba(245, 166, 35, 0.42) 0%, rgba(245, 166, 35, 0.16) 32%, transparent 62%);
  filter: blur(18px);
  animation: pulse 7s var(--ease) infinite;
  will-change: transform, opacity;
}

.bg-particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-300);
  opacity: 0;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
  animation: rise linear infinite;
}

/* Faint road + drifting bus motif */
.bg-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 26px, transparent 26px 54px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.bg-bus {
  position: absolute;
  bottom: calc(8% + 2px);
  left: -120px;
  width: 120px;
  height: 60px;
  color: rgba(245, 166, 35, 0.18);
  animation: drive 26s linear infinite;
  will-change: transform;
}

/* Edge darkening to focus the centre */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(8, 16, 38, 0.55) 100%);
}

/* ============================ Shell / layout ============================ */
.shell {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 5vw, 40px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { display: block; width: 40px; height: 40px; }
.brand-name {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--white);
}
.brand-name-light { color: var(--gold-400); }
.header-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dimmer);
  border: 1px solid var(--hair);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================ Hero ============================ */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 26px);
  padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 3vw, 36px);
}

/* Official logo on a clean white "lightbox" card */
.logo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.4vw, 32px) clamp(26px, 4.5vw, 46px);
  box-shadow:
    0 0 0 1px rgba(245, 166, 35, 0.35),
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(245, 166, 35, 0.22);
  animation: float 6.5s var(--ease) infinite;
  will-change: transform;
}
.logo-card img {
  display: block;
  width: clamp(220px, 34vw, 360px);
  height: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-300);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
  animation: blink 2.6s ease-in-out infinite;
}

.headline {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.98;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.headline .accent {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-500);
}

.subhead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.65;
  color: var(--text-dim);
}

/* ============================ Store badges ============================ */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 166, 35, 0.45);
  background: rgba(11, 23, 54, 0.6);
  color: var(--white);
  font-family: var(--ff-sans);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  background: rgba(14, 29, 73, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(245, 166, 35, 0.18);
  outline: none;
}
.store-glyph { width: 26px; height: 26px; color: var(--gold-400); flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-text small { font-size: 11px; color: var(--text-dim); letter-spacing: 0.3px; }
.store-text strong { font-size: 17px; font-weight: 700; letter-spacing: 0.2px; }
.store-soon {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-800);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  padding: 3px 8px;
  border-radius: 999px;
}

/* ============================ Features ============================ */
.features {
  list-style: none;
  margin: clamp(8px, 1.6vw, 18px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 720px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--hair);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  background: var(--glass-strong);
  border-color: rgba(245, 166, 35, 0.4);
}
.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--gold-400);
  font-weight: 800;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon--rupee { font-size: 22px; font-family: var(--ff-sans); }
.feature-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feature-body strong { font-size: 15px; font-weight: 600; }
.feature-body small { font-size: 12.5px; color: var(--text-dim); line-height: 1.35; }

/* ============================ Contact ============================ */
.contact {
  margin-top: clamp(10px, 2vw, 22px);
  width: 100%;
  max-width: 620px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.contact-title {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  color: var(--blue-600);
}
.contact-rows { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: #fafbfc;
}
.contact-num {
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy-700);
}
.contact-actions { display: inline-flex; gap: 10px; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.contact-btn svg { width: 18px; height: 18px; }
.contact-btn--call { background: var(--blue-600); color: var(--white); }
.contact-btn--wa { background: var(--wa); color: #04361f; }
.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
  outline: none;
}

/* ============================ Footer ============================ */
.site-footer { text-align: center; margin-top: clamp(24px, 4vw, 44px); }
.promise {
  margin: 0 0 6px;
  font-family: var(--ff-serif);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-400);
  font-size: clamp(13px, 1.7vw, 15px);
}
.copyright { margin: 0; font-size: 12.5px; color: var(--text-dimmer); }

/* ============================ Toast ============================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  z-index: 50;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 166, 35, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ Reveal animations ============================ */
.reveal { opacity: 0; transform: translateY(22px); }
body.loaded .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
body.loaded .site-header { transition-delay: 0.05s; }
body.loaded .logo-card { transition-delay: 0.12s; }
body.loaded .eyebrow { transition-delay: 0.22s; }
body.loaded .headline { transition-delay: 0.3s; }
body.loaded .subhead { transition-delay: 0.4s; }
body.loaded .stores { transition-delay: 0.5s; }
body.loaded .features { transition-delay: 0.6s; }
body.loaded .contact { transition-delay: 0.7s; }
body.loaded .site-footer { transition-delay: 0.8s; }

/* ============================ Keyframes ============================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes drive {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  10% { opacity: 0.9; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-90vh) scale(1); }
}

/* ============================ Responsive ============================ */
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; max-width: 420px; }
  .feature { padding: 12px 14px; }
}
@media (max-width: 560px) {
  .header-tag { display: none; }
  .headline { font-size: clamp(2.6rem, 17vw, 4rem); }
  .stores { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-btn { flex: 1; justify-content: center; }
  .bg-bus { width: 92px; height: 46px; }
}

/* ============================ Motion / a11y ============================ */
@media (prefers-reduced-motion: reduce) {
  .bg-rays, .bg-glow, .bg-bus, .logo-card, .eyebrow-dot, .particle { animation: none !important; }
  .bg-glow { opacity: 0.9; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body.loaded .reveal { transition: none !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}
