/* ═══════════════════════════════════════════════════════
   TAARA — Global Stylesheet v3.0 · Mystical Premium
   Midnight ink + celestial gold. Mobile-first.
   Same class names & variables as v2 — drop-in upgrade.
═══════════════════════════════════════════════════════ */

/* ── Reset & Variables ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1130;
  --navy-deep:  #07091f;
  --navy-card:  #12173a;
  --navy-lift:  #1a2048;
  --gold:       #d4af6a;
  --gold-light: #f0cf8e;
  --gold-dim:   #a8884e;
  --lavender:   #b9aede;
  --rose:       #e088a0;
  --teal:       #56cfc7;
  --white:      #ffffff;
  --off-white:  #f0ede8;
  --grey:       #9a97b8;
  --border:     rgba(212,175,106,0.22);
  --border-soft:rgba(255,255,255,0.08);
  --glass:      rgba(18,23,58,0.72);
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 18px 50px rgba(0,0,0,0.5);
  --shadow-gold:0 4px 30px rgba(212,175,106,0.22);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 300;
  background:
    radial-gradient(ellipse 75% 50% at 50% -10%, rgba(139,126,200,0.14), transparent),
    var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.18; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: rgba(212,175,106,0.35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: rgba(212,175,106,0.3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,106,0.5); }

/* ── Stars Canvas ─────────────────────────────────────── */
#stars-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.65;
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(7,9,31,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,106,0.14);
  transition: var(--transition);
}
.nav.scrolled {
  padding: 13px 48px;
  background: rgba(7,9,31,0.96);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.nav-logo { display: flex; flex-direction: column; }
.nav-logo-main {
  font-family: 'Tiro Devanagari Hindi', 'Playfair Display', serif;
  font-size: 25px; font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-logo-sub {
  font-size: 9.5px; letter-spacing: 4.5px; color: var(--grey);
  text-transform: uppercase; margin-top: -1px;
}

.nav-links {
  display: flex; align-items: center; gap: 34px; list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,0.68);
  transition: var(--transition); letter-spacing: 0.4px;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-ghost {
  background: rgba(212,175,106,0.04);
  border: 1px solid var(--border);
  color: var(--gold-light);
  padding: 9px 22px; border-radius: 100px;
  font-size: 12.5px; letter-spacing: 0.8px;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212,175,106,0.1);
  box-shadow: 0 0 24px rgba(212,175,106,0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #c9a55c 0%, var(--gold-light) 100%);
  color: #191000;
  padding: 11px 26px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  border: none; transition: var(--transition);
  letter-spacing: 0.4px;
  box-shadow: 0 4px 20px rgba(212,175,106,0.28);
}
.btn-primary:hover {
  box-shadow: 0 8px 34px rgba(212,175,106,0.45);
  transform: translateY(-2px);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,175,106,0.25), 0 0 0 0 rgba(212,175,106,0); }
  50%       { box-shadow: 0 4px 20px rgba(212,175,106,0.25), 0 0 0 10px rgba(212,175,106,0.12); }
}
.btn-primary-lg {
  background: linear-gradient(135deg, #c9a55c 0%, var(--gold-light) 100%);
  color: #191000;
  padding: 17px 40px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  border: none; transition: var(--transition);
  animation: pulse-glow 3s ease infinite;
  display: inline-flex; align-items: center; gap: 9px;
  letter-spacing: 0.3px;
}
.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(212,175,106,0.5);
  animation: none;
}

/* ── Hamburger Mobile ─────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; padding: 6px;
}
.nav-hamburger span {
  width: 23px; height: 2px; background: var(--gold);
  border-radius: 2px; transition: var(--transition);
}

/* ── Mobile Nav ───────────────────────────────────────── */
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,126,200,0.16), transparent),
    var(--navy-deep);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 30px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Playfair Display', serif;
  font-size: 26px; color: var(--white); letter-spacing: 1px;
}
.nav-mobile a:hover { color: var(--gold-light); }
.nav-mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 26px; color: var(--grey); background: none; border: none;
}

/* ── Section Layout ───────────────────────────────────── */
.section { position: relative; z-index: 1; padding: 104px 0; }
.section-sm { padding: 64px 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ── Section Headers ──────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '✦'; font-size: 8px; color: var(--gold);
  width: auto; height: auto; background: none;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 600;
  color: var(--white); margin-bottom: 18px;
}
.section-title em, .section-title .gold {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-dim));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 16px; color: var(--grey); line-height: 1.75; max-width: 580px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: linear-gradient(160deg, var(--navy-lift), var(--navy-card) 60%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212,175,106,0.1);
}

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Gold divider ─────────────────────────────────────── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto; width: 80%; opacity: 0.45;
}

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px;
  padding: 6px 14px; border-radius: 100px; text-transform: uppercase;
}
.badge-gold    { background: rgba(212,175,106,0.12); color: var(--gold-light); border: 1px solid rgba(212,175,106,0.32); }
.badge-red     { background: rgba(224,136,160,0.12); color: var(--rose);  border: 1px solid rgba(224,136,160,0.3); }
.badge-teal    { background: rgba(86,207,199,0.1);  color: var(--teal);  border: 1px solid rgba(86,207,199,0.25); }
.badge-popular {
  background: linear-gradient(135deg, #c9a55c, var(--gold-light));
  color: #191000; border: none; font-weight: 700;
  box-shadow: 0 2px 14px rgba(212,175,106,0.35);
}

/* ── Forms ────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 11.5px; font-weight: 600;
  color: var(--grey); letter-spacing: 1.6px; text-transform: uppercase;
  margin-bottom: 9px;
}
.form-input {
  width: 100%; padding: 14px 17px;
  background: rgba(7,9,31,0.6);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-sm);
  color: var(--white); font-size: 14.5px;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,175,106,0.05);
  box-shadow: 0 0 0 3px rgba(212,175,106,0.12);
}
.form-input::placeholder { color: rgba(255,255,255,0.28); }

.form-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Star rating ──────────────────────────────────────── */
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2.5px; text-shadow: 0 0 12px rgba(212,175,106,0.5); }

/* ── FOMO toast ───────────────────────────────────────── */
#fomo-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 2000;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  max-width: 320px;
  box-shadow: var(--shadow);
  transform: translateX(-200%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
#fomo-toast.show { transform: translateX(0); }
.fomo-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--lavender));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.fomo-text { font-size: 13px; color: rgba(255,255,255,0.88); line-height: 1.4; }
.fomo-time { font-size: 11px; color: var(--grey); margin-top: 2px; }

/* ── Scroll animations ────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 72px 0; }
  .form-input-row { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-primary-lg { padding: 15px 26px; font-size: 14px; width: 100%; justify-content: center; }
}

/* ── Language Switcher ─────────────────────────────────── */
.lang-switcher {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 3px 4px; margin-right: 8px;
}
.lang-btn {
  padding: 3px 11px; border-radius: 100px; border: none;
  background: transparent; color: rgba(255,255,255,0.55);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.02em;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn-active {
  background: linear-gradient(135deg, #c9a55c, var(--gold-light)) !important;
  color: #191000 !important;
}

.nav-logo-star{ -webkit-text-fill-color: initial; background: none; color: var(--gold); font-size: 14px; vertical-align: 6px; }
