/* ═══════════════════════════════════════════════════════════
   SHARED DESIGN SYSTEM — shared.css
   Global styles imported on every page.
   ═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --black:       #000000;
  --purple:      #9333ea;
  --pink:        #ec4899;
  --grey:        #888888;
  --card-bg:     #111111;
  --white:       #ffffff;
  --card-border: #333333;
  --gradient:    linear-gradient(135deg, #9333ea, #ec4899);
  --silver:      linear-gradient(180deg, #e5e5e5, #888888);
}

/* ── CSS RESET & BASE ──────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── SIMPLE BLACK BACKGROUND ───────────────────────────── */
body {
  background-color: #111111;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 2px,
    rgba(255,255,255,0.035) 2px,
    rgba(255,255,255,0.035) 4px
  );
  background-size: 6px 6px;
  animation: moveLines 4s linear infinite;
  will-change: background-position;
  color: #ffffff;
  overflow-x: hidden;
  font-family: 'Space Mono', monospace;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 0;
}

@keyframes moveLines {
  from { background-position: 0 0; }
  to   { background-position: 0 -60px; }
}

/* Vignette overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(30,30,30,0.05) 0%,
    rgba(0,0,0,0.72) 100%
  );
  pointer-events: none;
  z-index: 0;
}

img {
  object-fit: cover;
}

/* ── METALLIC SILVER HEADING ───────────────────────────── */
.heading-silver {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: #e5e5e5; /* Fallback color */
}

.hero-line {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ── SCROLL REVEAL SYSTEM ──────────────────────────────── */
.reveal {
  opacity: 0;
  transition-property: opacity, transform, filter, clip-path;
  transition-duration: 1.2s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.reveal-left { transform: translateX(-120px); }
.reveal-right { transform: translateX(120px); }
.reveal-up { transform: translateY(70px); }

.reveal-smooth-up {
  transform: translateY(100px) scale(0.98);
  filter: blur(15px);
}

.reveal-text {
  clip-path: inset(0 100% 0 0);
}

.reveal.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0% 0 0);
}

/* ── SHARED BUTTON STYLES ──────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(236, 72, 153, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 14px 36px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 50px rgba(147, 51, 234, 0.6),
              0 0 100px rgba(147, 51, 234, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(1.05) translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 10px 28px;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: black;
  border-color: white;
}

/* ── SHARED NAV ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

/* ── HAMBURGER MENU ────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10000; /* Higher than nav-links */
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── SHARED FOOTER ─────────────────────────────────────── */
footer {
  border-top: 1px solid #1a1a1a;
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
}

footer p {
  color: var(--grey);
  font-size: 12px;
  font-family: 'Space Mono', monospace;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  color: var(--grey);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: white;
}

/* ── POLICY BOX ────────────────────────────────────────── */
.policy-box {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.5);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  color: #c084fc;
  font-family: 'Space Mono', monospace;
  margin-top: 20px;
  line-height: 1.8;
}

/* ── INDIA NOTICE BANNER ───────────────────────────────── */
.india-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 13px;
  color: white;
  font-family: 'Space Mono', monospace;
}

/* ── TAG PILLS ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #333;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--grey);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* ── YOU ARE HERE BADGE ────────────────────────────────── */
.you-are-here {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid #9333ea;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  color: #c084fc;
  margin-left: 10px;
  letter-spacing: 1px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — shared across all pages
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000 !important;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 28px; /* Slightly smaller for better fit */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open a {
    transform: translateY(0);
    opacity: 1;
  }

  /* Staggered link animations */
  .nav-links.open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.25s; }

  .nav-links a.active {
    color: #ffffff;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }
}
