/* ═════════════════════════════════════════════════════════════════════
   DIGIRISE INDIA — COMPLETE REDESIGN  (redesign.css)
   NEW DESIGN LANGUAGE: "Midnight Gold Luxury"
   Deep espresso black · Rich gold glow · Space Grotesk display
   Oversized typography · Glass cards · Neon-gold accents
   Loads LAST — completely replaces the old cream visual identity.
   ═════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

/* ─────────────────────────────────────────────
   1 · NEW PALETTE — dark is the DEFAULT identity
   ───────────────────────────────────────────── */
:root, [data-theme="dark"] {
  --gold: #f0a825;
  --gold-mid: #ffbe3d;
  --gold-light: #ffd76a;
  --gold-deep: #b87b0a;
  --gold-pale: rgba(240, 168, 37, 0.08);
  --gold-pale2: rgba(240, 168, 37, 0.16);
  --bg: #080604;
  --bg2: #0f0c08;
  --bg3: #171209;
  --card: #120e08;
  --white: #120e08;
  --border: rgba(240, 168, 37, 0.22);
  --border2: rgba(255, 255, 255, 0.07);
  --divider: rgba(255, 255, 255, 0.06);
  --text: #f5efe2;
  --text2: #d9cdb4;
  --muted: #97865f;
  --muted2: #6f6045;
  --green: #34d399;
  --blue: #60a5fa;
  --red: #f87171;
  --hard-border: rgba(240, 168, 37, 0.55);
  --hard-shadow: rgba(240, 168, 37, 0.28);
  --hard-border-hover: var(--gold);
  --mesh1: rgba(240, 168, 37, 0.14);
  --mesh2: rgba(180, 100, 20, 0.16);
  --mesh3: rgba(255, 190, 61, 0.08);
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --glow-gold: 0 0 40px rgba(240, 168, 37, 0.25);
  --glow-gold-strong: 0 0 60px rgba(240, 168, 37, 0.45);
}
/* Light mode becomes the SECONDARY option — warm premium paper */
[data-theme="light"] {
  --gold: #b87b0a;
  --gold-mid: #d4920c;
  --gold-light: #f0a825;
  --gold-deep: #8a5c06;
  --gold-pale: rgba(184, 123, 10, 0.08);
  --gold-pale2: rgba(184, 123, 10, 0.14);
  --bg: #f7f2e9;
  --bg2: #efe8db;
  --bg3: #e7ddcc;
  --card: #fdfaf4;
  --white: #ffffff;
  --border: rgba(184, 123, 10, 0.2);
  --border2: rgba(0, 0, 0, 0.07);
  --divider: rgba(0, 0, 0, 0.07);
  --text: #1a1409;
  --text2: #3c3020;
  --muted: #6f5d42;
  --muted2: #907d5f;
  --hard-border: #1a1a1a;
  --hard-shadow: rgba(26, 26, 26, 0.35);
  --hard-border-hover: #000;
  --glow-gold: 0 12px 36px rgba(184, 123, 10, 0.22);
  --glow-gold-strong: 0 16px 48px rgba(184, 123, 10, 0.3);
}

/* ─────────────────────────────────────────────
   2 · TYPOGRAPHY — new personality
   ───────────────────────────────────────────── */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 168, 37, 0.06), transparent 60%),
    var(--bg) !important;
  letter-spacing: -0.01em;
}
h1, h2, h3, .sec-title, .hero h1 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
}

/* Kill old noise overlay in dark (we use gradient wash instead) */
[data-theme="dark"] body::before { opacity: 0.015 !important; }

/* Global selection */
::selection { background: rgba(240, 168, 37, 0.3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─────────────────────────────────────────────
   3 · NAVBAR — new identity strip
   ───────────────────────────────────────────── */
#mainNav {
  background: rgba(10, 8, 5, 0.75) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border: 1px solid rgba(240, 168, 37, 0.14) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}
[data-theme="light"] #mainNav {
  background: rgba(253, 250, 244, 0.8) !important;
  box-shadow: 0 12px 36px rgba(90, 62, 15, 0.14) !important;
}
.nav-links a { font-weight: 600 !important; letter-spacing: 0.01em; }
.nav-links a:hover { color: var(--gold-light) !important; }

/* Nav CTA — glowing capsule */
#mainNav a[class*="btn"], #mainNav .nav-cta {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)) !important;
  color: #0a0704 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(240, 168, 37, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  border: none !important;
}

/* ─────────────────────────────────────────────
   4 · HERO — cinematic oversized rebuild
   ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 60% 45% at 70% 12%, rgba(240, 168, 37, 0.13), transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(180, 100, 20, 0.1), transparent 55%),
    var(--bg) !important;
}
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 60% 45% at 70% 12%, rgba(184, 123, 10, 0.1), transparent 60%),
    var(--bg) !important;
}

/* Oversized display headline */
.hero h1 {
  font-size: clamp(40px, 7vw, 84px) !important;
  line-height: 1.02 !important;
  font-weight: 700 !important;
}
.hero h1 .acc {
  background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-light) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rdGoldSweep 5s ease-in-out infinite;
}
@keyframes rdGoldSweep { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero h1 .shine-word {
  color: var(--text) !important;
  font-size: 0.55em;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  opacity: 0.85;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px) !important;
  color: var(--text2) !important;
  max-width: 640px;
}

/* Hero pill — glass chip */
.hero-pill {
  background: rgba(240, 168, 37, 0.07) !important;
  border: 1px solid rgba(240, 168, 37, 0.25) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px);
}
.hero-pill .ptxt span { color: var(--text) !important; }
.hero-pill .ptxt span[style*="b91c1c"] { color: var(--gold) !important; }

/* Hero ticker — refined strip */
.hero-ticker {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border2) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px);
}

/* Aside cards — floating glass tokens */
.aside-card {
  background: rgba(18, 14, 8, 0.65) !important;
  border: 1px solid rgba(240, 168, 37, 0.2) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
[data-theme="light"] .aside-card {
  background: rgba(253, 250, 244, 0.8) !important;
  box-shadow: 0 14px 36px rgba(90, 62, 15, 0.16) !important;
}
.aside-card .acl { color: var(--text) !important; font-weight: 800 !important; }
.aside-card .acs { color: var(--muted) !important; }

/* Slots banner — urgency neon strip */
.slots-banner {
  background: linear-gradient(90deg, rgba(240, 168, 37, 0.12), rgba(240, 168, 37, 0.04)) !important;
  border: 1px solid rgba(240, 168, 37, 0.3) !important;
  border-radius: 12px !important;
}

/* Hero stats — big numeric identity */
.hero-stats .num {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(26px, 3.4vw, 40px) !important;
  font-weight: 700 !important;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .lbl { color: var(--muted) !important; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10.5px !important; }

/* ─────────────────────────────────────────────
   5 · BUTTON SYSTEM — full replacement
   ───────────────────────────────────────────── */
.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 55%, var(--gold-mid) 100%) !important;
  color: #0a0704 !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  padding: 16px 30px !important;
  box-shadow: 0 8px 28px rgba(240, 168, 37, 0.38), inset 0 1.5px 0 rgba(255, 255, 255, 0.4) !important;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, filter 0.16s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(240, 168, 37, 0.5), inset 0 1.5px 0 rgba(255, 255, 255, 0.4) !important;
  filter: brightness(1.06);
}
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-secondary, a.btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text) !important;
  border: 1.5px solid rgba(240, 168, 37, 0.35) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 15px 28px !important;
  backdrop-filter: blur(8px);
  transition: all 0.16s ease !important;
}
.btn-secondary:hover {
  border-color: var(--gold) !important;
  background: rgba(240, 168, 37, 0.1) !important;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}
[data-theme="light"] .btn-secondary { background: rgba(255,255,255,0.6) !important; }

/* ─────────────────────────────────────────────
   6 · SECTION SYSTEM — new rhythm
   ───────────────────────────────────────────── */
section { position: relative; }
.sec-title {
  font-size: clamp(30px, 4.6vw, 52px) !important;
  line-height: 1.06 !important;
}
.sec-eyebrow, [class*="eyebrow"] {
  color: var(--gold) !important;
  letter-spacing: 0.16em !important;
  font-weight: 800 !important;
}
.sec-sub { color: var(--muted) !important; font-size: 15.5px !important; }

/* Section divider glow lines between major sections */
section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(520px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 168, 37, 0.35), transparent);
}

/* ─────────────────────────────────────────────
   7 · CARDS — universal glass-gold language
   ───────────────────────────────────────────── */
[class*="card"]:not(.aside-card):not(.ng-exit-modal),
.svc-item, .pkg-card, .faq-item, .blog-card, .tg-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)) , var(--card) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease !important;
}
[data-theme="light"] [class*="card"]:not(.aside-card),
[data-theme="light"] .svc-item, [data-theme="light"] .pkg-card,
[data-theme="light"] .faq-item, [data-theme="light"] .blog-card {
  background: var(--card) !important;
  box-shadow: 0 8px 28px rgba(90, 62, 15, 0.1) !important;
}
[class*="card"]:hover, .svc-item:hover, .pkg-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 168, 37, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-gold) !important;
}

/* Kill old neo-brutalist hard shadows — replaced by glow language */
.svc-item, [data-theme="dark"] .svc-item {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid var(--border2) !important;
}
.svc-item:hover, [data-theme="dark"] .svc-item:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-gold) !important;
  border-color: rgba(240, 168, 37, 0.45) !important;
}

/* ─────────────────────────────────────────────
   8 · PACKAGES — pricing theater rebuild
   ───────────────────────────────────────────── */
#packages .pkg-card, #packages [class*="price"] {
  border-radius: var(--r-xl) !important;
  overflow: hidden;
}
#packages .pkg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
#packages .pkg-card { position: relative; }
#packages .pkg-card:hover::before { opacity: 1; }
#packages [class*="price"] strong, #packages .pkg-price {
  font-family: 'Space Grotesk', sans-serif !important;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─────────────────────────────────────────────
   9 · FAQ — clean dark accordion
   ───────────────────────────────────────────── */
.faq-item { border-radius: var(--r-md) !important; margin-bottom: 10px; }
.faq-item summary, .faq-q { font-weight: 700 !important; color: var(--text) !important; }
.faq-item:hover { border-color: rgba(240, 168, 37, 0.35) !important; }

/* ─────────────────────────────────────────────
   10 · FOOTER — deep space
   ───────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, var(--bg), #050302) !important;
  border-top: 1px solid rgba(240, 168, 37, 0.15) !important;
}
[data-theme="light"] footer { background: var(--bg2) !important; }

/* ─────────────────────────────────────────────
   11 · MARQUEE — neon strip
   ───────────────────────────────────────────── */
.marquee-band {
  background: linear-gradient(90deg, rgba(240,168,37,0.06), rgba(240,168,37,0.12), rgba(240,168,37,0.06)) !important;
  border-top: 1px solid rgba(240, 168, 37, 0.2) !important;
  border-bottom: 1px solid rgba(240, 168, 37, 0.2) !important;
}
.marquee-item { color: var(--text2) !important; font-weight: 700 !important; }

/* ─────────────────────────────────────────────
   12 · INPUTS — dark glass fields
   ───────────────────────────────────────────── */
input[type="text"], input[type="number"], input[type="email"],
input[type="search"], select, textarea, .roi-select {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1.5px solid var(--border2) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.7) !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(240, 168, 37, 0.14) !important;
  outline: none !important;
}

/* ─────────────────────────────────────────────
   13 · BADGES / CHIPS — unified pill language
   ───────────────────────────────────────────── */
[class*="badge"], [class*="chip"], [class*="tag"] {
  border-radius: 999px !important;
}

/* ─────────────────────────────────────────────
   14 · NEXTGEN LAYER RETUNE (widgets on dark)
   ───────────────────────────────────────────── */
.ng-wa-panel { background: #120e08 !important; border-color: rgba(240,168,37,0.25) !important; }
[data-theme="light"] .ng-wa-panel { background: var(--card) !important; }
.ng-exit-modal { background: #120e08 !important; border-color: rgba(240,168,37,0.3) !important; }
[data-theme="light"] .ng-exit-modal { background: var(--card) !important; }
.ng-grid-floor { opacity: 0.5; }
.ng-footer-watermark { -webkit-text-stroke-color: rgba(240, 168, 37, 0.12) !important; }
.ng-dot.active { background: var(--gold) !important; }

/* ─────────────────────────────────────────────
   15 · MOBILE POLISH
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px) !important; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
}

/* ─────────────────────────────────────────────
   16 · REDUCED MOTION
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .acc { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
