/* ==========================================================================
   PAGEORA DESIGN SYSTEM — THE FIRST TRADE BLUEPRINT LANDING PAGE
   Theme: Executive Midnight Theme (Default) + Seamless Clean Light Mode Support
   Typography: Plus Jakarta Sans, Space Grotesk & Noto Sans Devanagari (मराठी / हिंदी)
   ========================================================================== */

:root {
  /* CLEAN MINIMALIST LIGHT / STUDIO WHITE (#F8FAFC) */
  --bg-deep: #F1F5F9;
  --bg-main: #F8FAFC;
  --bg-alt: #FFFFFF;
  --bg-surface: #E2E8F0;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --border-main: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-accent: #CBD5E1;

  --indigo-accent: #4F46E5;
  --indigo-light: #6366F1;
  --indigo-dark: #3730A3;
  --indigo-bg: rgba(79, 70, 229, 0.08);
  --indigo-border: rgba(79, 70, 229, 0.25);
  --indigo-glow: rgba(79, 70, 229, 0.15);

  --cyan-accent: #0284C7;
  --cyan-light: #0EA5E9;
  --cyan-bg: rgba(2, 132, 199, 0.08);
  --cyan-border: rgba(2, 132, 199, 0.25);
  --cyan-glow: rgba(2, 132, 199, 0.15);

  --navy-deep: #0F172A;
  --navy-slate: #1E293B;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --text-light: #0F172A;

  --gold: #D97706;
  --gold-light: #F59E0B;
  --gold-dark: #B45309;
  --gold-bg: rgba(217, 119, 6, 0.08);
  --gold-border: rgba(217, 119, 6, 0.25);
  --gold-glow: rgba(217, 119, 6, 0.15);

  --bull-green: #059669;
  --bull-green-light: #047857;
  --bull-green-bg: #ECFDF5;
  --bull-green-border: #A7F3D0;
  --bull-green-glow: rgba(16, 185, 129, 0.15);

  --bear-red: #DC2626;
  --bear-red-light: #B91C1C;
  --bear-red-bg: #FEF2F2;
  --bear-red-border: #FECACA;
  --bear-red-glow: rgba(239, 68, 68, 0.15);

  --blue-accent: #0284C7;
  --blue-bg: #EFF6FF;
  --blue-border: #BFDBFE;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-indigo: 0 8px 30px rgba(79, 70, 229, 0.15);
  --shadow-gold: 0 8px 30px rgba(217, 119, 6, 0.15);

  --nav-bg: rgba(248, 250, 252, 0.92);
  --reader-bg: #F1F5F9;
}

/* EXECUTIVE DARK MODE OVERRIDES */
[data-theme="dark"] {
  --bg-deep: #070B12;
  --bg-main: #0D131F;
  --bg-alt: #111827;
  --bg-surface: #151F32;
  --bg-card: rgba(18, 26, 43, 0.72);
  --bg-card-hover: rgba(26, 38, 62, 0.88);
  --border-main: rgba(99, 102, 241, 0.20);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(56, 189, 248, 0.35);

  --indigo-accent: #6366F1;
  --indigo-light: #818CF8;
  --indigo-dark: #4F46E5;
  --indigo-bg: rgba(99, 102, 241, 0.12);
  --indigo-border: rgba(99, 102, 241, 0.35);
  --indigo-glow: rgba(99, 102, 241, 0.28);

  --cyan-accent: #38BDF8;
  --cyan-light: #7DD3FC;
  --cyan-bg: rgba(56, 189, 248, 0.10);
  --cyan-border: rgba(56, 189, 248, 0.30);
  --cyan-glow: rgba(56, 189, 248, 0.22);

  --navy-deep: #0D131F;
  --navy-slate: #1F2A44;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-light: #FFFFFF;

  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --gold-dark: #D97706;
  --gold-bg: rgba(245, 158, 11, 0.12);
  --gold-border: rgba(245, 158, 11, 0.38);
  --gold-glow: rgba(245, 158, 11, 0.25);

  --bull-green: #10B981;
  --bull-green-light: #34D399;
  --bull-green-bg: rgba(16, 185, 129, 0.12);
  --bull-green-border: rgba(16, 185, 129, 0.35);
  --bull-green-glow: rgba(16, 185, 129, 0.25);

  --bear-red: #EF4444;
  --bear-red-light: #F87171;
  --bear-red-bg: rgba(239, 68, 68, 0.12);
  --bear-red-border: rgba(239, 68, 68, 0.35);
  --bear-red-glow: rgba(239, 68, 68, 0.25);

  --blue-accent: #38BDF8;
  --blue-bg: rgba(56, 189, 248, 0.10);
  --blue-border: rgba(56, 189, 248, 0.30);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.65);
  --shadow-indigo: 0 8px 30px rgba(99, 102, 241, 0.28);
  --shadow-gold: 0 8px 30px rgba(245, 158, 11, 0.25);

  --nav-bg: rgba(13, 19, 31, 0.88);
  --reader-bg: #070B12;
}

/* DEVANAGARI TYPOGRAPHY OVERRIDES (मराठी & हिंदी) */
html[lang="mr"], html[lang="hi"] {
  --font-sans: 'Noto Sans Devanagari', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.68;
}
html[lang="mr"] h1, html[lang="mr"] h2, html[lang="mr"] h3, html[lang="mr"] h4,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 {
  font-family: 'Noto Sans Devanagari', 'Space Grotesk', sans-serif;
  line-height: 1.35;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: radial-gradient(ellipse at 50% 0%, #FFFFFF 0%, #F8FAFC 55%, #F1F5F9 100%);
  background-attachment: fixed;
  background-color: #F8FAFC;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background: radial-gradient(ellipse at 50% 0%, #17243B 0%, #0D131F 55%, #070B12 100%);
  background-attachment: fixed;
  background-color: #0D131F;
}

/* Ambient Background Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.glow-1 {
  width: 650px;
  height: 650px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
}

.glow-2 {
  width: 580px;
  height: 580px;
  top: 35%;
  left: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07), transparent 70%);
}

.glow-3 {
  width: 520px;
  height: 520px;
  bottom: 8%;
  right: -80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05), transparent 70%);
}

[data-theme="dark"] .glow-1 { background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 70%); }
[data-theme="dark"] .glow-2 { background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%); }
[data-theme="dark"] .glow-3 { background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%); }

.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .bg-grid-pattern {
  background-image: linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gold-gradient {
  background: linear-gradient(135deg, #FFF1C5 0%, var(--gold-light) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

code {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--gold-dark);
}

[data-theme="dark"] code {
  color: var(--gold-light);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-main);
  padding: 0.55rem 1.25rem;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  height: 26px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover .logo-mark {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--navy-deep);
}

[data-theme="dark"] .brand-name {
  color: #FFFFFF;
}

.brand-tagline {
  display: block;
  font-size: 0.56rem;
  color: var(--gold);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover {
  color: var(--text-main);
  background: var(--bg-alt);
}

.nav-links a.nav-highlight {
  color: var(--gold-dark);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
}

[data-theme="dark"] .nav-links a.nav-highlight {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* TRILINGUAL LANGUAGE SWITCHER */
.lang-switch-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 2px 3px;
  gap: 2px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: var(--bg-main);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .lang-btn.active {
  background: var(--bg-card-hover);
  color: var(--gold-light);
}

.lang-btn .flag {
  font-size: 0.78rem;
  line-height: 1;
}

/* Theme Switcher Button */
.btn-theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-main);
  background: var(--bg-alt);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.guest-nav-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-sm {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 6px !important;
  white-space: nowrap;
}

/* Responsive Navigation Bar */
@media (max-width: 1200px) {
  .brand-tagline {
    display: none;
  }
  .nav-links {
    gap: 0.2rem;
  }
  .nav-links a {
    font-size: 0.78rem;
    padding: 0.3rem 0.45rem;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
}

/* Hero Section (Executive Financial Master Redesign) */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4.5rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.badge-series {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.pill-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(197, 155, 39, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pill-gold-border {
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .pill-gold-border {
  color: var(--gold-light);
}

.pill-green-border {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin-bottom: 1.25rem;
  color: var(--navy-deep);
}

[data-theme="dark"] .hero-title {
  color: #FFFFFF;
}

.gold-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  max-width: 620px;
}

.stat-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-chip .chip-icon {
  font-size: 0.95rem;
}

/* Hero & Banner CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.8rem;
}

.cta-banner .hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Strictly constrain all button SVG icons */
.cta-download .icon,
.cta-online-read .icon,
.hero-ctas .icon,
.cta-banner .icon,
svg.icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0 !important;
  display: inline-block;
  vertical-align: middle;
}

.btn-primary.cta-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.95rem 1.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.btn-primary.cta-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
}

.btn-secondary.cta-online-read,
.btn-primary.cta-online-read {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.95rem 1.7rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-secondary.cta-online-read:hover,
.btn-primary.cta-online-read:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.2);
}

.cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-label {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.cta-sub {
  font-size: 0.72rem;
  opacity: 0.92;
  font-weight: 500;
  color: #FEF3C7;
}

.cta-online-read .cta-sub {
  color: #CBD5E1;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
}

.hero-trust-bar .htb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust-bar .htb-icon {
  font-size: 0.85rem;
}

.hero-trust-bar .htb-dot {
  opacity: 0.4;
}

/* ==========================================================================
   ENLARGED 3D BOOK SHOWCASE (HERO VISUAL MASTER SPECIFICATION)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0 2rem 0;
}

.book-stage {
  position: relative;
  width: 500px;
  max-width: 100%;
  perspective: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-card-3d {
  position: relative;
  width: 100%;
  border-radius: 16px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: -22px 30px 75px rgba(0, 0, 0, 0.85), 0 0 50px rgba(217, 119, 6, 0.18);
  cursor: pointer;
}

.book-card-3d:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.02);
  box-shadow: -28px 36px 90px rgba(0, 0, 0, 0.92), 0 0 70px rgba(217, 119, 6, 0.28);
}

.cover-3d-img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  filter: contrast(1.05) brightness(1.02);
}

.book-pedestal-shadow {
  position: absolute;
  bottom: -22px;
  left: 6%;
  width: 88%;
  height: 32px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(217, 119, 6, 0.15) 35%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.floating-badge {
  position: absolute;
  background: rgba(15, 21, 35, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
  transition: transform 0.2s ease;
}

[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.floating-badge:hover {
  transform: translateY(-2px);
}

.badge-top-right {
  top: 20px;
  right: -25px;
  border-color: rgba(217, 119, 6, 0.5);
}

.badge-bottom-left {
  bottom: 45px;
  left: -25px;
  border-color: rgba(16, 185, 129, 0.5);
}

.badge-bottom-right {
  bottom: 25px;
  right: -15px;
  border-color: rgba(2, 132, 199, 0.5);
}

.badge-accent {
  background: var(--gold);
  color: #FFFFFF;
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.motion-badge-wrapper {
  margin-top: 2rem;
  text-align: center;
  z-index: 5;
}

.motion-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.motion-badge:hover {
  background: var(--bg-alt);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--bull-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--bull-green);
}

/* ==========================================================================
   GLOBAL SECTION WRAPPER & HEADERS
   ========================================================================== */
.section-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.bg-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
}

.bg-card-surface {
  background: var(--bg-main);
  border-top: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.pill-badge-warning {
  display: inline-block;
  background: var(--bear-red-bg);
  color: var(--bear-red);
  border: 1px solid var(--bear-red-border);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.pill-badge-gold {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .pill-badge-gold {
  color: var(--gold-light);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MASTER TRADER DO'S & DON'TS MATRIX
   ========================================================================== */
.rules-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.rule-filter-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-main);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.rule-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--gold);
}

.rule-filter-btn.active {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.dos-donts-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rule-pair-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.rule-category-tag {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.rule-category-tag.bull {
  background: var(--bull-green-bg);
  color: var(--bull-green);
  border-bottom: 1px solid var(--bull-green-border);
}

.rule-category-tag.bear {
  background: var(--bear-red-bg);
  color: var(--bear-red);
  border-bottom: 1px solid var(--bear-red-border);
}

.rule-category-tag.break {
  background: var(--blue-bg);
  color: var(--blue-accent);
  border-bottom: 1px solid var(--blue-border);
}

.rule-category-tag.risk {
  background: var(--gold-bg);
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-border);
}

[data-theme="dark"] .rule-category-tag.risk {
  color: var(--gold-light);
}

.rule-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rule-box {
  padding: 2rem;
}

.rule-box.do-box {
  background: rgba(16, 185, 129, 0.02);
  border-right: 1px solid var(--border-main);
}

.rule-box.dont-box {
  background: rgba(239, 68, 68, 0.02);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rule-icon-do {
  width: 28px;
  height: 28px;
  background: var(--bull-green);
  color: #FFFFFF;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}

.rule-box.do-box h4 {
  color: var(--bull-green);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.rule-icon-dont {
  width: 28px;
  height: 28px;
  background: var(--bear-red);
  color: #FFFFFF;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}

.rule-box.dont-box h4 {
  color: var(--bear-red);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.rule-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rule-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
}

.rule-bullets li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-subtle);
}

.rule-box.do-box .rule-bullets li strong {
  color: var(--bull-green);
}

.rule-box.dont-box .rule-bullets li strong {
  color: var(--bear-red);
}

/* ==========================================================================
   POSITION SIZING & 1% RISK CALCULATOR
   ========================================================================== */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.calc-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.input-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.badge-recom {
  font-size: 0.68rem;
  color: var(--bull-green);
  background: var(--bull-green-bg);
  border: 1px solid var(--bull-green-border);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

.input-with-prefix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-prefix .prefix {
  position: absolute;
  left: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-subtle);
}

.input-with-prefix input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.2s;
}

.input-with-prefix input:focus {
  border-color: var(--gold);
  background: var(--bg-main);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.calc-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.out-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.out-card.highlight {
  border-color: var(--border-main);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.out-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.out-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.out-val.gold { color: var(--gold); }
.out-val.green { color: var(--bull-green); }
.out-val.blue { color: var(--blue-accent); }

.out-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-rules-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-md);
}

.calc-rules-sidebar h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.mini-rule-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.mr-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.badge-do {
  background: var(--bull-green);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.badge-dont {
  background: var(--bear-red);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.mini-rule-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   30 CANDLESTICK PATTERN FIELD GUIDE
   ========================================================================== */
.pattern-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pattern-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pat-tab-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pat-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--gold);
}

.pat-tab-btn.active {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.pattern-search input {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-main);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  width: 290px;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.pattern-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.pattern-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.15rem;
}

.pat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.pat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.pat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.pat-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 800;
}

.pat-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.pat-badge-bullish {
  background: var(--bull-green-bg);
  color: var(--bull-green);
  border: 1px solid var(--bull-green-border);
}

.pat-badge-bearish {
  background: var(--bear-red-bg);
  color: var(--bear-red);
  border: 1px solid var(--bear-red-border);
}

.pat-badge-continuation {
  background: var(--blue-bg);
  color: var(--blue-accent);
  border: 1px solid var(--blue-border);
}

.pat-card-title {
  font-size: 1.15rem;
  margin-bottom: 0;
  color: var(--text-main);
  line-height: 1.35;
}

.pat-card-anatomy {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.pat-card-rules {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.pat-rule-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-main);
}

.pat-rule-row.do strong, .pat-rule-row.confirm strong { color: var(--bull-green); }
.pat-rule-row.dont strong, .pat-rule-row.inval strong { color: var(--bear-red); }

.pr-icon {
  font-weight: 900;
  font-size: 0.85rem;
}

.pat-rule-row.do .pr-icon, .pat-rule-row.confirm .pr-icon { color: var(--bull-green); }
.pat-rule-row.dont .pr-icon, .pat-rule-row.inval .pr-icon { color: var(--bear-red); }

.pat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
}

.pat-page-ref {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.btn-pat-inspect {
  background: transparent;
  border: none;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s;
}

[data-theme="dark"] .btn-pat-inspect {
  color: var(--gold-light);
}

.btn-pat-inspect:hover {
  color: var(--text-main);
}

/* ==========================================================================
   INTERACTIVE SCENARIO QUIZ (DO OR DON'T?)
   ========================================================================== */
.quiz-card-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.quiz-score-badge {
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .quiz-score-badge {
  color: var(--gold-light);
}

.scenario-box {
  margin-bottom: 2rem;
}

.scenario-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.8px;
  margin-bottom: 0.4rem;
}

.scenario-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.scenario-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.scenario-question {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
}

.quiz-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-quiz {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-main);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-quiz:hover {
  transform: translateY(-2px);
  background: var(--bg-main);
}

.btn-quiz.do-btn:hover {
  border-color: var(--bull-green);
  box-shadow: 0 4px 20px var(--bull-green-glow);
}

.btn-quiz.dont-btn:hover {
  border-color: var(--bear-red);
  box-shadow: 0 4px 20px var(--bear-red-glow);
}

.qb-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
}

.do-btn .qb-icon { background: var(--bull-green); }
.dont-btn .qb-icon { background: var(--bear-red); }

.qb-text strong {
  font-size: 1.05rem;
  color: var(--text-main);
  display: block;
}

.qb-text span {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: block;
}

.quiz-feedback {
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.feedback-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  color: #FFFFFF;
}

.feedback-badge.correct { background: var(--bull-green); }
.feedback-badge.wrong { background: var(--bear-red); }

.quiz-feedback p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   5-STAGE BLUEPRINT TIMELINE
   ========================================================================== */
.blueprint-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.step-marker {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
}

.step-meta {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.step-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
}

.s-rule {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-main);
}

.s-rule.do strong { color: var(--bull-green); }
.s-rule.dont strong { color: var(--bear-red); }

/* ==========================================================================
   10 UNBREAKABLE RULES MANIFESTO
   ========================================================================== */
.manifesto-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md), 0 0 25px rgba(197, 155, 39, 0.15);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.manifesto-col.do-col {
  border-right: 1px solid var(--border-main);
  padding-right: 2rem;
}

.col-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.do-col .col-title { color: var(--bull-green); }
.dont-col .col-title { color: var(--bear-red); }

.manifesto-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.manifesto-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.manifesto-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  transform: translateX(3px);
}

.manifesto-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.do-col .manifesto-num {
  background: var(--bull-green-bg);
  color: var(--bull-green);
  border: 1px solid var(--bull-green-border);
}

.dont-col .manifesto-num {
  background: var(--bear-red-bg);
  color: var(--bear-red);
  border: 1px solid var(--bear-red-border);
}

.manifesto-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.manifesto-text strong {
  font-weight: 700;
  margin-right: 0.25rem;
}

.do-col .manifesto-text strong {
  color: var(--bull-green);
}

.dont-col .manifesto-text strong {
  color: var(--bear-red);
}

.manifesto-list {
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.manifesto-list li {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.5;
}

.do-col .manifesto-list li strong { color: var(--bull-green); }
.dont-col .manifesto-list li strong { color: var(--bear-red); }

/* ==========================================================================
   MOCKUP GALLERY
   ========================================================================== */
.mockup-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mockup-item {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.mockup-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.mockup-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #FFFFFF;
  display: block;
}

.mockup-caption {
  padding: 1.25rem 1.5rem;
}

.mockup-caption h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.mockup-caption p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ONLINE READER MODAL & EMBEDDED FLIPBOOK
   ========================================================================== */
.reader-section {
  position: relative;
  z-index: 50;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
  padding: 2rem 1.5rem 3rem 1.5rem;
}

.reader-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #0E1E36;
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

.reader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #08101C;
  border-bottom: 1px solid #1E3A5F;
}

.reader-book-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reader-thumb {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.reader-title {
  font-size: 1.1rem;
  color: #FFFFFF;
}

.reader-meta {
  font-size: 0.8rem;
  color: var(--gold);
}

.reader-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E1E36;
  border: 1px solid #1E3A5F;
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--gold);
  color: #08101C;
}

.btn-close-reader:hover {
  background: var(--bear-red);
  color: #FFFFFF;
  border-color: var(--bear-red);
}

.page-jump-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.page-jump-group input {
  width: 50px;
  background: #08101C;
  border: 1px solid #1E3A5F;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: center;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  outline: none;
}

.reader-body {
  position: relative;
  display: flex;
  min-height: 720px;
  background: #04080F;
}

.toc-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 100%;
  background: #08101C;
  border-right: 1px solid #1E3A5F;
  z-index: 20;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.toc-sidebar.open {
  transform: translateX(0);
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #1E3A5F;
}

.toc-header h4 {
  color: #FFFFFF;
}

.btn-close-sm {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 1rem;
}

.toc-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.toc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.toc-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.toc-item.active {
  background: rgba(197, 155, 39, 0.15);
  border-left: 3px solid var(--gold);
}

.toc-pnum {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
}

.toc-info {
  display: flex;
  flex-direction: column;
}

.toc-title {
  font-size: 0.82rem;
  color: #FFFFFF;
  line-height: 1.3;
}

.toc-section {
  font-size: 0.7rem;
  color: #64748B;
}

.reader-canvas-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow: auto;
}

.reader-page-viewport {
  max-width: 600px;
  width: 100%;
  transition: max-width 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.reader-page-viewport.zoomed {
  max-width: 850px;
}

.reader-page-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.reader-footer {
  background: #08101C;
  border-top: 1px solid #1E3A5F;
  padding: 0.8rem 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 5px;
  background: #162B48;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.3s ease;
}

.reader-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748B;
}

.reader-footer-info strong {
  color: var(--gold-light);
}

kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #FFFFFF;
}

/* ==========================================================================
   ABOUT PUBLISHER / AUTHOR SECTION
   ========================================================================== */
.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.author-badge {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

[data-theme="dark"] .author-badge {
  color: var(--gold-light);
}

.author-name {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.author-tagline {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.author-bio-body p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: left;
}

.author-bio-body strong {
  color: var(--text-main);
}

.author-imprint {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.author-imprint strong {
  color: var(--gold);
}

/* ==========================================================================
   BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-slate) 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-banner-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.cta-banner .hero-ctas {
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-main);
  padding: 1.15rem 1.5rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand h4 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
  margin-bottom: 0.12rem;
}

[data-theme="dark"] .footer-brand h4 {
  color: #FFFFFF;
}

.footer-brand p {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.footer-copy p {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin: 0;
}

/* ==========================================================================
   MODALS (AUTH & PATTERN DETAIL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 25, 44, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.25s ease;
}

.pattern-modal-card {
  max-width: 900px;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-logo {
  height: 42px;
  margin-bottom: 0.75rem;
}

.modal-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-box {
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.demo-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.btn-demo {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: var(--shadow-gold);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 1.25rem 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-main);
}

.divider span {
  padding: 0 0.75rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
}

.form-group input:focus {
  border-color: var(--gold);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.modal-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.modal-footer a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 700;
}

/* Pattern Modal Inner Layout */
.modal-pattern-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-main);
  padding-bottom: 1rem;
}

.modal-pattern-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.modal-pat-preview {
  background: #08101C;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.modal-page-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.modal-pat-details h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.modal-anatomy {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.modal-rules-box {
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.modal-rules-box.do, .modal-rules-box.confirm {
  background: var(--bull-green-bg);
  border: 1px solid var(--bull-green-border);
}

.modal-rules-box.dont, .modal-rules-box.inval {
  background: var(--bear-red-bg);
  border: 1px solid var(--bear-red-border);
}

.modal-rules-box p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-main);
}

.modal-action-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* User Profile Nav */
.user-profile-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.user-avatar {
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-greeting {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--bear-red);
  font-size: 0.75rem;
  cursor: pointer;
  padding-left: 0.4rem;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle, .hero-rule-strip, .meta-row, .hero-ctas, .access-guarantee {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .badge-series {
    justify-content: center;
  }

  .rule-columns {
    grid-template-columns: 1fr;
  }

  .rule-box.do-box {
    border-right: none;
    border-bottom: 1px solid var(--border-main);
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-col.do-col {
    border-right: none;
    border-bottom: 1px solid var(--border-main);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .mockup-gallery {
    grid-template-columns: 1fr;
  }

  .modal-pattern-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .calc-input-grid, .calc-outputs, .quiz-buttons {
    grid-template-columns: 1fr;
  }

  .pattern-cards-grid {
    grid-template-columns: 1fr;
  }

  .step-rules {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }
}

/* ==========================================================================
   ALL UPDATED PDFS DOWNLOAD HUB & 58-PAGE GALLERY STYLES
   ========================================================================== */
/* ==========================================================================
   DEDICATED PDF PUBLICATIONS SHOWCASE (PROFESSIONAL LUXURY REDESIGN)
   ========================================================================== */
.pdf-showcase-section {
  padding: 4.5rem 0 4rem;
  background: var(--bg-main);
  position: relative;
  border-top: 1px solid var(--border-main);
  border-bottom: 1px solid var(--border-main);
}

.pdf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pdf-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.pdf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--gold)), transparent);
}

.pdf-card.card-en {
  --card-accent: #D97706;
  border-color: #FDE68A;
}

.pdf-card.card-mr {
  --card-accent: #10B981;
  border-color: #A7F3D0;
}

.pdf-card.card-hi {
  --card-accent: #0284C7;
  border-color: #BAE6FD;
}

.pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.pdf-card.card-en:hover { border-color: #D97706; }
.pdf-card.card-mr:hover { border-color: #10B981; }
.pdf-card.card-hi:hover { border-color: #0284C7; }

[data-theme="dark"] .pdf-card {
  background: rgba(18, 26, 43, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .pdf-card:hover {
  border-color: var(--card-accent, var(--gold));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Card Header & Badge */
.pdf-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  width: fit-content;
}

.badge-gold {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.badge-green {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.badge-blue {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

[data-theme="dark"] .badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .badge-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.35);
}

.pdf-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

[data-theme="dark"] .pdf-card-title {
  color: #FFFFFF;
}

/* Compact Height-Reduced Showcase Box */
.pdf-media-preview {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 0.75rem 0.65rem 0.55rem 0.65rem !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  min-height: 175px !important;
  max-height: 185px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="dark"] .pdf-media-preview {
  background: rgba(15, 23, 42, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Compact Book Cover Mockup */
.pdf-thumb-img {
  height: 120px !important;
  width: auto !important;
  max-width: 95px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 5px !important;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.16)) !important;
  transition: transform 0.25s ease !important;
  margin-bottom: 0.45rem !important;
}

[data-theme="dark"] .pdf-thumb-img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75)) !important;
}

.pdf-card:hover .pdf-thumb-img {
  transform: translateY(-2px) scale(1.02) !important;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.22)) !important;
}

/* Compact Tags Row & Chips */
.pdf-tags-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
  margin: 0 !important;
}

.pdf-tag-chip {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 0.18rem 0.5rem !important;
  border-radius: 9999px !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  line-height: 1 !important;
}

.pdf-tag-chip.gold {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border-color: #FCD34D !important;
}

.pdf-tag-chip.green {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border-color: #A7F3D0 !important;
}

.pdf-tag-chip.blue {
  background: #EFF6FF !important;
  color: #1E40AF !important;
  border-color: #BFDBFE !important;
}

[data-theme="dark"] .pdf-tag-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .pdf-tag-chip.gold {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #FBBF24 !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

[data-theme="dark"] .pdf-tag-chip.green {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34D399 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

[data-theme="dark"] .pdf-tag-chip.blue {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

/* Compact Summary Text */
.pdf-summary-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .pdf-summary-text {
  color: #94A3B8;
}

/* Compact Card Actions */
.pdf-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-download-pdf svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-download-gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.btn-download-gold:hover {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.btn-download-outline {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-download-outline:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .btn-download-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #F1F5F9;
}

[data-theme="dark"] .btn-download-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* 58-PAGE GALLERY SECTION */
.gallery-section {
  padding: 5rem 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-main);
}

.gallery-filters-wrap {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0 2.5rem;
}

.btn-gallery-filter {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gallery-filter:hover, .btn-gallery-filter.active {
  background: var(--gold);
  color: #060D17;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(197, 155, 39, 0.3);
}

.gallery-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.3rem;
}

.page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.page-card-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #FFFFFF;
  display: block;
}

.page-card-meta {
  padding: 0.65rem 0.8rem;
  background: rgba(6, 13, 23, 0.85);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.page-card-num {
  font-weight: 800;
  color: var(--gold);
}

.page-card-title {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 105px;
}

/* LIGHTBOX MODAL FOR FULL PAGE INSPECTION */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close-btn:hover {
  color: var(--text-light);
}

.lightbox-img-wrap {
  max-height: 72vh;
  overflow: auto;
  margin: 1rem 0;
  text-align: center;
  width: 100%;
}

.lightbox-img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 0.5rem;
}

/* ==========================================================================
   MULTI-STEP DOWNLOAD & CHECKOUT FUNNEL MODAL STYLES
   ========================================================================== */
.funnel-card {
  max-width: 580px;
  width: 100%;
  background: #0B1322 !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F8FAFC !important;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.funnel-step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.funnel-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.funnel-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-back-step {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.btn-back-step:hover {
  color: #FFE082;
  text-decoration: underline;
}

/* LANGUAGE SELECTION CARDS */
.lang-option-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.lang-option-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(6, 13, 23, 0.65);
  border: 1px solid var(--border-main);
  border-radius: 12px;
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.lang-option-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.lang-option-card:hover {
  background: rgba(14, 30, 54, 0.9);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.lang-option-card.selected {
  background: rgba(197, 155, 39, 0.08);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(197, 155, 39, 0.18);
}

.lang-card-content {
  flex: 1;
}

.lang-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.lang-card-header .flag-icon {
  font-size: 1.3rem;
}

.lang-card-header .lang-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1rem;
}

.lang-card-header .badge-status {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--bull-green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  margin-left: auto;
}

.lang-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* PAYMENT SUMMARY & METHODS */
.payment-summary-box {
  background: rgba(6, 13, 23, 0.8);
  border: 1px dashed var(--border-main);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.summary-line del {
  color: #64748B;
}

.discount-label {
  color: var(--bull-green-light);
}

.discount-val {
  color: var(--bull-green-light);
  font-weight: 700;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.total-price {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: var(--gold);
}

.payment-methods-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.pay-tab {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  background: rgba(30, 62, 98, 0.35);
  border: 1px solid var(--border-main);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-tab:hover {
  background: rgba(30, 62, 98, 0.6);
  color: var(--text-light);
}

.pay-tab.active {
  background: var(--gold);
  color: #060D17;
  border-color: var(--gold);
  font-weight: 700;
}

.pay-tab-content {
  background: rgba(6, 13, 23, 0.6);
  border: 1px solid var(--border-main);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.4rem;
}

.input-with-btn {
  display: flex;
  align-items: center;
  background: rgba(14, 30, 54, 0.8);
  border: 1px solid var(--border-main);
  border-radius: 8px;
  padding: 0.2rem 0.6rem;
  margin-top: 0.4rem;
}

.input-with-btn input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-light);
  padding: 0.6rem 0.4rem;
  font-size: 0.9rem;
  outline: none;
}

.upi-verified-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bull-green-light);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.upi-apps-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.upi-app-pill {
  padding: 0.3rem 0.6rem;
  background: rgba(30, 62, 98, 0.4);
  border: 1px solid var(--border-main);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.popular-banks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.6rem;
}

.bank-pill {
  padding: 0.5rem 0.6rem;
  text-align: center;
  background: rgba(30, 62, 98, 0.35);
  border: 1px solid var(--border-main);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.bank-pill.active, .bank-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 155, 39, 0.1);
}

.checkout-guarantee {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.btn-lg {
  padding: 1.05rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 800;
}

/* ==========================================================================
   STREAMLINED EXECUTIVE REDESIGN COMPONENTS
   ========================================================================== */

/* Hero Quick Stat Chips Row */
.stat-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.stat-chip:hover {
  border-color: var(--cyan-accent);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.stat-chip .chip-icon {
  font-size: 0.95rem;
}



/* Risk Calculator Rules Chips */
.calc-rules-chips {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.calc-rule-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.calc-rule-chip:hover {
  border-color: var(--indigo-accent);
  background: var(--bg-card-hover);
}

.calc-rule-chip-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.calc-rule-chip-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 5-STAGE BLUEPRINT INTERACTIVE STEPPER */
.stepper-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .stepper-nav {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

.step-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.step-tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--indigo-light);
  transform: translateY(-2px);
}

.step-tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-color: var(--indigo-accent);
  box-shadow: 0 0 20px var(--indigo-glow);
}

.step-tab-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan-accent);
  letter-spacing: 1px;
}

.step-tab-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.stepper-content {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.stepper-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-accent), var(--cyan-accent), var(--gold));
}

.step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-pane.active {
  display: block;
}

.step-pane-header {
  margin-bottom: 1.5rem;
}

.step-pane-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan-accent);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.step-pane-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-pane-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-pane-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .step-pane-rules {
    grid-template-columns: 1fr;
  }
}

.step-rule-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.step-rule-box.do {
  background: var(--bull-green-bg);
  border: 1px solid var(--bull-green-border);
}

.step-rule-box.dont {
  background: var(--bear-red-bg);
  border: 1px solid var(--bear-red-border);
}

.step-rule-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.step-rule-box.do .step-rule-head { color: var(--bull-green-light); }
.step-rule-box.dont .step-rule-head { color: var(--bear-red-light); }

.step-rule-body {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* 10 GOLDEN RULES TABBED SWITCHER */
.manifesto-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.manifesto-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-muted);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.manifesto-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--indigo-light);
}

.manifesto-tab-btn.active.tab-do {
  background: var(--bull-green-bg);
  color: var(--bull-green-light);
  border-color: var(--bull-green-border);
  box-shadow: 0 0 20px var(--bull-green-glow);
}

.manifesto-tab-btn.active.tab-dont {
  background: var(--bear-red-bg);
  color: var(--bear-red-light);
  border-color: var(--bear-red-border);
  box-shadow: 0 0 20px var(--bear-red-glow);
}

.manifesto-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.manifesto-pane.active {
  display: block;
}

.compact-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.compact-rule-item {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.compact-rule-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--indigo-accent);
  transform: translateY(-2px);
}

.compact-rule-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.tab-do .compact-rule-num {
  background: var(--bull-green-bg);
  color: var(--bull-green-light);
  border: 1px solid var(--bull-green-border);
}

.tab-dont .compact-rule-num {
  background: var(--bear-red-bg);
  color: var(--bear-red-light);
  border: 1px solid var(--bear-red-border);
}

.compact-rule-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-main);
}

.compact-rule-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text-light);
}

/* EXACT SCREENSHOT ACCORDION CARD (PILL BAR ACCORDION) */
.accordion-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

[data-theme="dark"] .accordion-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.accordion-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .accordion-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.accordion-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.6rem;
  background: transparent;
  border: none;
  color: #0F172A; /* VISIBLE, CRISP DARK TEXT */
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  user-select: none;
}

[data-theme="dark"] .accordion-toggle-btn {
  color: #F1F5F9;
}

.accordion-toggle-btn:hover {
  background: rgba(241, 245, 249, 0.6);
}

[data-theme="dark"] .accordion-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-toggle-btn .chevron {
  font-size: 0.95rem;
  color: #0284c7; /* EXACT VIVID BLUE CHEVRON IN SCREENSHOT */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  margin-left: 1rem;
}

.accordion-card.open .accordion-toggle-btn .chevron {
  transform: rotate(180deg);
}

.accordion-card.open {
  border-color: #93C5FD;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .accordion-card.open {
  border-color: rgba(56, 189, 248, 0.4);
}

.accordion-content {
  display: none;
  padding: 1.25rem 1.6rem 1.8rem 1.6rem;
  border-top: 1px solid #F1F5F9;
  animation: fadeIn 0.25s ease;
}

[data-theme="dark"] .accordion-content {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.accordion-card.open .accordion-content {
  display: block;
}





/* ==========================================================================
   APEX REDESIGNED CHECKOUT MODAL SYSTEM (STEP 2 OF 3)
   ========================================================================== */

/* Outer Modal Shell */
.funnel-card {
  max-width: 620px !important;
  width: 100% !important;
  background: linear-gradient(165deg, #0F172A 0%, #090E1A 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 24px !important;
  padding: 2.2rem 2.4rem !important;
  position: relative !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(217, 119, 6, 0.12) !important;
  color: #F8FAFC !important;
  overflow: hidden;
}

.funnel-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.funnel-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.funnel-step {
  position: relative;
  z-index: 1;
}

/* Top Navigation Bar & Stepper */
.checkout-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-back-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FBBF24;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  margin: 0;
}

.btn-back-step:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #FDE68A;
  border-color: #F59E0B;
  transform: translateX(-3px);
  text-decoration: none;
}

.checkout-stepper-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stepper-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}

.stepper-pill.done {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  cursor: pointer;
}

.stepper-pill.done:hover {
  background: rgba(16, 185, 129, 0.25);
}

.stepper-pill.current {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
  color: #FDE68A;
  border: 1px solid #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.stepper-pill:not(.done):not(.current) {
  background: rgba(255, 255, 255, 0.04);
  color: #64748B;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Titles */
.checkout-hero-title-box {
  margin-bottom: 1.2rem;
}

.funnel-card .funnel-title {
  font-family: var(--font-heading), 'Space Grotesk', sans-serif;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #F8FAFC !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.5px !important;
}

.funnel-subtitle-tag {
  font-size: 0.85rem;
  color: #94A3B8;
  margin: 0;
}

/* Selected Edition Card */
.checkout-edition-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.edition-book-cover-mini {
  position: relative;
  width: 44px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.edition-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.9);
  color: #FBBF24;
  font-size: 0.55rem;
  font-weight: 900;
  text-align: center;
  padding: 1px 0;
  letter-spacing: 0.5px;
}

.edition-card-body {
  flex: 1;
  min-width: 0;
}

.edition-header-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.edition-lang-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.edition-access-chip {
  font-size: 0.65rem;
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.5px;
}

.edition-title-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.15rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edition-meta-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edition-edit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.edition-edit-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  border-color: #F59E0B;
}

/* Luxury Pricing Summary Box */
.payment-summary-box {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 1.2rem 1.4rem !important;
  margin-bottom: 1.3rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.55rem !important;
  font-size: 0.88rem !important;
  color: #CBD5E1 !important;
}

.item-title {
  color: #E2E8F0;
  font-weight: 500;
}

.item-old-price del {
  color: #64748B;
  font-weight: 600;
  font-size: 0.95rem;
}

.summary-line.discount-highlight {
  color: #34D399 !important;
  font-weight: 600;
}

.discount-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #34D399 !important;
}

.discount-badge-icon {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}

.discount-val {
  color: #34D399 !important;
  font-weight: 700;
  font-size: 0.95rem;
}

.summary-line.free-delivery-line {
  font-size: 0.78rem !important;
  color: #94A3B8 !important;
  margin-bottom: 0.8rem !important;
}

.free-text {
  color: #38BDF8;
  font-weight: 700;
  font-size: 0.82rem;
}

.summary-divider-glow {
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.6), rgba(245, 158, 11, 0.1));
  margin: 0.8rem 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-text-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.total-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #F8FAFC;
}

.total-tax-inclusive {
  font-size: 0.72rem;
  color: #64748B;
}

.total-price-col {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.total-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F59E0B;
}

.total-price-large {
  font-family: var(--font-heading), 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #FBBF24;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Payment Method Selection */
.payment-methods-header-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 1.2px;
  margin-bottom: 0.6rem;
}

.payment-methods-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.pay-tab {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 0.75rem 0.6rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: center;
}

.pay-tab:hover {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-2px);
}

.pay-tab.active {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.95)) !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.tab-icon {
  font-size: 1.2rem;
}

.tab-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
}

.tab-subtext {
  display: block;
  font-size: 0.65rem;
  color: #94A3B8;
  line-height: 1.2;
}

.tab-recommended-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #10B981;
  color: #064E3B;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Payment Tab Body Content */
.pay-tab-content {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 1.2rem 1.4rem !important;
  margin-bottom: 1.3rem !important;
  animation: fadeIn 0.25s ease;
}

/* UPI Layout Grid */
.upi-layout-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 540px) {
  .upi-layout-grid {
    grid-template-columns: 1fr;
  }
}

.upi-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(11, 17, 30, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.6rem;
}

.qr-frame {
  position: relative;
  width: 100px;
  height: 100px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.qr-code-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
  animation: scanLine 2.2s infinite ease-in-out;
}

@keyframes scanLine {
  0% { top: 4px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 94px; opacity: 0; }
}

.qr-scan-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-top: 0.5rem;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.4rem;
}

.input-with-btn {
  display: flex !important;
  align-items: center !important;
  background: rgba(11, 17, 30, 0.95) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 10px !important;
  padding: 0.3rem 0.8rem !important;
  margin-bottom: 0.9rem !important;
  transition: all 0.2s ease;
}

.input-with-btn:focus-within {
  border-color: #F59E0B !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25) !important;
}

.upi-prefix-icon {
  font-size: 0.95rem;
  margin-right: 0.5rem;
  color: #F59E0B;
}

.input-with-btn input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  outline: none !important;
  padding: 0.5rem 0.2rem !important;
  font-family: inherit;
}

.upi-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34D399 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.upi-app-selection-heading {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
}

.upi-apps-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem !important;
}

.upi-app-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.7rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #E2E8F0 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upi-app-pill:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: #F59E0B !important;
  color: #FDE68A !important;
  transform: translateY(-2px);
}

.upi-app-pill.active {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: #F59E0B !important;
  color: #FDE68A !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25) !important;
}

.gpay-icon { color: #4285F4; font-weight: 900; }
.phonepe-icon { color: #6739B7; font-weight: 900; }
.paytm-icon { color: #00BAF2; font-weight: 900; }
.bhim-icon { font-size: 0.85rem; }
.cred-icon { color: #F59E0B; font-weight: 900; }

/* Cards Tab Form */
.card-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-brand-logos {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.card-logo-chip {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.card-logo-chip.visa { background: #1A1F71; color: #FFFFFF; }
.card-logo-chip.mastercard { background: #EB001B; color: #F79E1B; }
.card-logo-chip.rupay { background: #00704A; color: #FFFFFF; }

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .field-icon {
  position: absolute;
  left: 0.8rem;
  font-size: 0.95rem;
  pointer-events: none;
}

.input-with-icon input {
  width: 100%;
  background: rgba(11, 17, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.65rem 0.8rem 0.65rem 2.4rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-with-icon input:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.card-meta-row {
  display: flex;
  gap: 0.8rem;
}

.card-meta-row .form-group {
  flex: 1;
}

.card-meta-row .form-group input {
  width: 100%;
  background: rgba(11, 17, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
}

.cvv-hint {
  position: absolute;
  right: 0.8rem;
  font-size: 0.85rem;
  color: #64748B;
}

/* NetBanking Tab */
.netbanking-heading {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.8px;
  margin-bottom: 0.7rem;
}

.popular-banks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bank-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bank-pill:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #F59E0B;
  color: #FDE68A;
}

.bank-pill.active {
  background: rgba(245, 158, 11, 0.25);
  border-color: #F59E0B;
  color: #FDE68A;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.bank-emblem {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  color: #FFFFFF;
}

.bank-emblem.hdfc { background: #004C8F; }
.bank-emblem.icici { background: #B82C1E; }
.bank-emblem.sbi { background: #280071; }
.bank-emblem.axis { background: #97144D; }
.bank-emblem.kotak { background: #ED1C24; }
.bank-emblem.pnb { background: #A20A30; }

.bank-dropdown-select {
  width: 100%;
  background: rgba(11, 17, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  color: #CBD5E1;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* Trust & Security Strip */
.checkout-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.65rem 0.8rem;
  background: rgba(6, 11, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 1.3rem;
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}

/* Jaw-Dropping Pay CTA */
.btn-checkout-pay {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 45%, #D97706 100%) !important;
  border: 1px solid #FDE68A !important;
  color: #070B14 !important;
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 1.15rem 2rem !important;
  border-radius: 14px !important;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(245, 158, 11, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout-pay:hover {
  transform: translateY(-3px) scale(1.01) !important;
  box-shadow: 0 16px 45px rgba(245, 158, 11, 0.6), 0 0 30px rgba(253, 230, 138, 0.4) !important;
  background: linear-gradient(135deg, #FFFBEB 0%, #FBBF24 50%, #D97706 100%) !important;
}

.btn-checkout-pay:active {
  transform: translateY(0) scale(0.99) !important;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: sweepShine 3.5s infinite;
  pointer-events: none;
}

@keyframes sweepShine {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.btn-pay-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.3px;
}

.btn-bolt {
  font-size: 1.3rem;
  animation: pulseBolt 1.8s infinite;
}

@keyframes pulseBolt {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.checkout-footer-assurance {
  text-align: center;
  font-size: 0.7rem;
  color: #64748B;
  margin-top: 0.8rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   UNIFIED STEP 1 (LANGUAGE SELECTION) & MODAL VIEWPORT ENHANCEMENTS
   Ensures both Step 1 and Step 2 match the website's dark luxury aesthetic
   and fit comfortably within all screen sizes with smooth scrolling.
   ========================================================================== */

/* Modal overlay & scrollable wrapper */
.modal-overlay {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem !important;
  align-items: center !important;
}

.funnel-card {
  max-height: calc(100vh - 3rem) !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.4) rgba(15, 23, 42, 0.6);
}

.funnel-card::-webkit-scrollbar {
  width: 6px;
}

.funnel-card::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.funnel-card::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
}

.funnel-card::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.7);
}

/* Step 1 Language Selection Cards - High Contrast & Website Alignment */
#funnelStepLang .funnel-step-badge {
  color: #F59E0B !important;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
}

#funnelStepLang .funnel-title {
  color: #F8FAFC !important;
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.25 !important;
}

#funnelStepLang .funnel-subtitle {
  color: #94A3B8 !important;
  font-size: 0.88rem !important;
  margin-bottom: 1.4rem !important;
  line-height: 1.5 !important;
}

.lang-option-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.lang-option-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.1rem !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 1.15rem 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.lang-option-card:hover {
  background: rgba(24, 37, 65, 0.85) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.lang-option-card.selected {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Custom styled glowing radio button */
.lang-option-card input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  outline: none !important;
  margin-top: 3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  flex-shrink: 0 !important;
  background: rgba(11, 17, 30, 0.8) !important;
}

.lang-option-card input[type="radio"]:checked {
  border-color: #F59E0B !important;
  background: #F59E0B !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6) !important;
}

.lang-option-card input[type="radio"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #0B111E !important;
}

.lang-card-content {
  flex: 1;
  min-width: 0;
}

.lang-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  margin-bottom: 0.35rem !important;
}

.lang-card-header .flag-icon {
  font-size: 1.3rem !important;
  line-height: 1 !important;
}

.lang-card-header .lang-name {
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.2px !important;
  background: transparent !important;
}

.lang-card-header .badge-status {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 9999px !important;
  margin-left: auto !important;
  letter-spacing: 0.3px !important;
}

.lang-desc {
  font-size: 0.84rem !important;
  color: #CBD5E1 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.lang-option-card.selected .lang-desc {
  color: #E2E8F0 !important;
}

/* Step 1 Continue Button */
#btnContinuePayment {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 45%, #D97706 100%) !important;
  border: 1px solid #FDE68A !important;
  color: #070B14 !important;
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  padding: 1.1rem 1.8rem !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

#btnContinuePayment:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.5) !important;
  background: linear-gradient(135deg, #FFFBEB 0%, #FBBF24 50%, #D97706 100%) !important;
}

/* Mobile responsive padding refinement */
@media (max-width: 640px) {
  .funnel-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
  }
  
  .payment-methods-tabs {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.4rem;
  }

  .pay-tab {
    padding: 0.6rem 0.3rem !important;
  }

  .tab-subtext {
    display: none;
  }

  .tab-recommended-badge {
    display: none;
  }

  .popular-banks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   EXECUTIVE AUTH MODAL & ACCESS GATEWAY STYLES
   ========================================================================== */
#authModal .modal-card {
  max-width: 500px !important;
  width: 100% !important;
  background: linear-gradient(165deg, #0F172A 0%, #090E1A 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 22px !important;
  padding: 2.2rem 2.4rem !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(245, 158, 11, 0.12) !important;
  color: #F8FAFC !important;
}

#authModal .modal-header h3 {
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #F8FAFC !important;
  margin-bottom: 0.35rem !important;
}

#authModal .modal-header p {
  color: #94A3B8 !important;
  font-size: 0.88rem !important;
}

#authModal .form-group label {
  color: #E2E8F0 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.4rem !important;
  display: block;
}

#authModal .form-group input {
  width: 100% !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

#authModal .form-group input:focus {
  border-color: #F59E0B !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25) !important;
}

#authModal .divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin: 1.3rem 0;
}

#authModal .divider::before, #authModal .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#authModal .divider span {
  padding: 0 0.8rem;
}

#authSubmitBtn {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 45%, #D97706 100%) !important;
  border: 1px solid #FDE68A !important;
  color: #070B14 !important;
  font-family: var(--font-heading), 'Space Grotesk', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  padding: 0.95rem 1.5rem !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.25s ease !important;
  margin-top: 0.6rem !important;
  width: 100% !important;
}

#authSubmitBtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5) !important;
}

#authModal .modal-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 1.2rem;
}

#authModal .modal-footer a {
  color: #FBBF24 !important;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Auth Success & Credentials Notice Box */
.auth-notice-card {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  border-radius: 14px !important;
  padding: 1.2rem 1.4rem !important;
  margin-bottom: 1.2rem !important;
  text-align: left;
}

.auth-notice-card.warning-box {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.auth-notice-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #34D399;
  margin-bottom: 0.4rem;
}

.auth-notice-card.warning-box .auth-notice-title {
  color: #FBBF24;
}

.auth-notice-text {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

.auth-credentials-display {
  background: rgba(11, 17, 30, 0.95);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin: 0.8rem 0;
  font-family: var(--font-mono), monospace;
  font-size: 0.88rem;
  color: #FDE68A;
}

.auth-credentials-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.auth-credentials-row:last-child {
  margin-bottom: 0;
}

.auth-cred-label {
  color: #94A3B8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-cred-value {
  font-weight: 700;
  color: #34D399;
}




/* Risk Engine Quick Presets & Visual Asymmetry Gauge */
.calc-presets-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-presets-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-subtle);
}

.calc-presets-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.risk-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.risk-pill:hover {
  border-color: var(--gold);
  color: var(--text-main);
}

.risk-pill.active {
  background: var(--gold-bg);
  color: var(--gold-dark);
  border-color: var(--gold);
}

[data-theme="dark"] .risk-pill.active {
  color: var(--gold-light);
}

.rr-gauge-card {
  margin-top: 1.8rem;
  background: rgba(6, 13, 23, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

[data-theme="light"] .rr-gauge-card {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(226, 232, 240, 0.9);
}

.rr-gauge-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.rr-gauge-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.rr-gauge-badge {
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.rr-bar-track {
  display: flex;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rr-bar-risk {
  width: 33.33%;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}

.rr-bar-reward {
  width: 66.67%;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}

.rr-gauge-foot {
  margin-top: 0.65rem;
  font-size: 0.76rem;
  color: var(--text-subtle);
  line-height: 1.45;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .stat-chips-row {
    justify-content: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .book-stage {
    width: 100%;
    max-width: 440px;
  }
  .floating-badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  .badge-top-right { right: -5px; }
  .badge-bottom-left { left: -5px; }
  .badge-bottom-right { right: -5px; }
}


/* ==========================================================================
   HIGH-CONVERTING DIRECT-RESPONSE HERO SECTION (PERFECT CONTRAST & SIZING)
   ========================================================================== */
.dr-hero-section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4.5rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.dr-hero-container {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 3.5rem;
}

.dr-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #92400E;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.06);
}

[data-theme="dark"] .dr-trust-pill {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #F8FAFC;
}

.dr-stars {
  color: #D97706;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

[data-theme="dark"] .dr-stars {
  color: #F59E0B;
}

.dr-hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.6px;
  margin-bottom: 1.2rem;
  color: #0F172A; /* 100% VISIBLE CRISP DEEP NAVY */
}

[data-theme="dark"] .dr-hero-headline {
  color: #FFFFFF;
}

.dr-gold-gradient {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .dr-gold-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dr-hero-subhead {
  font-size: 1.15rem;
  color: #334155; /* HIGH-CONTRAST READABLE SLATE */
  line-height: 1.65;
  margin-bottom: 1.8rem;
  max-width: 600px;
}

[data-theme="dark"] .dr-hero-subhead {
  color: #94A3B8;
}

/* High-Converting Direct-Response Offer Card */
.dr-offer-card {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  margin-bottom: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 30px rgba(217, 119, 6, 0.08);
}

[data-theme="dark"] .dr-offer-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dr-offer-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #D97706;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .dr-offer-tag {
  color: #F59E0B;
}

.dr-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.dr-currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: #D97706;
}

[data-theme="dark"] .dr-currency {
  color: #F59E0B;
}

.dr-price-now {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #0F172A;
}

[data-theme="dark"] .dr-price-now {
  color: #FFFFFF;
}

.dr-price-mrp {
  font-size: 1.1rem;
  color: #64748B;
  margin-left: 0.2rem;
}

.dr-save-badge {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.dr-offer-note {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

.dr-offer-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid #E2E8F0;
  padding-left: 1.35rem;
}

[data-theme="dark"] .dr-offer-perks {
  border-left-color: rgba(255, 255, 255, 0.1);
}

.dr-perk-item {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
}

[data-theme="dark"] .dr-perk-item {
  color: #E2E8F0;
}

.dr-perk-item strong {
  color: #D97706;
}

[data-theme="dark"] .dr-perk-item strong {
  color: #F59E0B;
}

/* CTAs */
.dr-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.dr-btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  text-decoration: none;
  padding: 1.05rem 1.9rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.dr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
}

.dr-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dr-btn-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.dr-btn-sub {
  font-size: 0.72rem;
  opacity: 0.95;
  font-weight: 500;
  color: #FEF3C7;
}

.dr-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
  padding: 1.05rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.dr-btn-secondary:hover {
  border-color: #D97706;
  color: #D97706;
  background: #FFFBEB;
}

[data-theme="dark"] .dr-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

[data-theme="dark"] .dr-btn-secondary:hover {
  border-color: #F59E0B;
  color: #F59E0B;
}

.dr-guarantees-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

[data-theme="dark"] .dr-guarantees-strip {
  color: #94A3B8;
}

.dr-g-sep {
  opacity: 0.4;
}

/* ==========================================================================
   PERFECTLY SIZED & PROPORTIONAL 3D HERO BOOK SHOWCASE
   ========================================================================== */
.dr-hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.dr-book-wrap {
  position: relative;
  width: 100%;
  max-width: 440px; /* PERFECT PROPORTIONAL SIZE */
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1400px;
}

.dr-book-3d {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), filter 0.3s ease;
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.18));
  cursor: pointer;
}

[data-theme="dark"] .dr-book-3d {
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.85));
}

.dr-book-3d:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.02);
  filter: drop-shadow(0 25px 45px rgba(217, 119, 6, 0.25));
}

.dr-cover-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  user-select: none;
}

.dr-pedestal-shadow {
  position: absolute;
  bottom: 20px;
  left: 8%;
  width: 84%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.2) 0%, rgba(217, 119, 6, 0.08) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .dr-pedestal-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(217, 119, 6, 0.15) 40%, transparent 70%);
}

.dr-book-footer {
  margin-top: 1.5rem;
  z-index: 5;
}

.dr-turntable-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.dr-turntable-link:hover {
  color: #D97706;
  border-color: #D97706;
  background: #FFFBEB;
}

[data-theme="dark"] .dr-turntable-link {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

@media (max-width: 992px) {
  .dr-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .dr-hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .dr-offer-card {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .dr-offer-perks {
    border-left: none;
    border-top: 1px solid #E2E8F0;
    padding-left: 0;
    padding-top: 0.8rem;
  }
  .dr-cta-actions {
    justify-content: center;
  }
  .dr-guarantees-strip {
    justify-content: center;
  }
  .dr-book-wrap {
    max-width: 380px;
  }
}

/* ==========================================================================
   FULL-PAGE VISUAL PERFECTION & HIGH CONTRAST (LIGHT & DARK THEMES)
   ========================================================================== */

/* Light Mode Defaults for Sections & Cards */
.section-title {
  color: #0F172A;
}

[data-theme="dark"] .section-title {
  color: #F1F5F9;
}

.section-subtitle {
  color: #475569;
}

[data-theme="dark"] .section-subtitle {
  color: #94A3B8;
}


/* 1% Risk Engine Calculator */
.calc-panel {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .calc-panel {
  background: rgba(18, 26, 43, 0.72);
  border-color: rgba(99, 102, 241, 0.20);
}

.calc-rules-sidebar {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .calc-rules-sidebar {
  background: rgba(18, 26, 43, 0.72);
  border-color: rgba(99, 102, 241, 0.20);
}

.calc-rule-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

[data-theme="dark"] .calc-rule-chip {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.calc-rule-chip-desc {
  color: #334155;
}

[data-theme="dark"] .calc-rule-chip-desc {
  color: #94A3B8;
}

.input-field label {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="dark"] .input-field label {
  color: #CBD5E1;
}

.input-with-prefix {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
}

[data-theme="dark"] .input-with-prefix {
  background: rgba(11, 17, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
}

.input-with-prefix input {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="dark"] .input-with-prefix input {
  color: #FFFFFF;
}

.out-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

[data-theme="dark"] .out-card {
  background: rgba(11, 17, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.out-card.highlight {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
}

[data-theme="dark"] .out-card.highlight {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.out-lbl {
  color: #64748B;
}

.out-val {
  color: #0F172A;
}

[data-theme="dark"] .out-val {
  color: #FFFFFF;
}

.out-sub {
  color: #475569;
}

[data-theme="dark"] .out-sub {
  color: #94A3B8;
}

/* Candlestick Pattern Cards */
.pat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .pat-card {
  background: rgba(18, 26, 43, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.pat-card:hover {
  border-color: #D97706;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
  transform: translateY(-3px);
}

.pat-card-title {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="dark"] .pat-card-title {
  color: #F1F5F9;
}

.pat-tab-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-weight: 600;
}

.pat-tab-btn:hover {
  border-color: #D97706;
  color: #D97706;
}

.pat-tab-btn.active {
  background: #D97706;
  border-color: #D97706;
  color: #FFFFFF;
}

[data-theme="dark"] .pat-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

[data-theme="dark"] .pat-tab-btn.active {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #070B14;
}

#patternSearchInput {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  border-radius: 8px;
  padding: 0.65rem 1rem;
}

[data-theme="dark"] #patternSearchInput {
  background: rgba(11, 17, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* Quiz Card & Challenge */
.quiz-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .quiz-card {
  background: rgba(18, 26, 43, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.scenario-box h3 {
  color: #0F172A;
}

[data-theme="dark"] .scenario-box h3 {
  color: #FFFFFF;
}

.scenario-box p {
  color: #334155;
}

[data-theme="dark"] .scenario-box p {
  color: #94A3B8;
}

.scenario-question {
  color: #0F172A;
}

[data-theme="dark"] .scenario-question {
  color: #F1F5F9;
}

.btn-quiz {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
}

.btn-quiz:hover {
  background: #F8FAFC;
}

[data-theme="dark"] .btn-quiz {
  background: rgba(18, 26, 43, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

/* 10 Unbreakable Rules Manifesto Card */
.manifesto-card {
  background: #FFFFFF;
  border: 2px solid #F59E0B;
  box-shadow: 0 8px 30px rgba(217, 119, 6, 0.08);
}

[data-theme="dark"] .manifesto-card {
  background: rgba(18, 26, 43, 0.72);
  border-color: var(--gold);
}

.manifesto-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

[data-theme="dark"] .manifesto-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}

.manifesto-text {
  color: #334155;
}

[data-theme="dark"] .manifesto-text {
  color: #CBD5E1;
}

.manifesto-text strong {
  color: #0F172A;
}

[data-theme="dark"] .manifesto-text strong {
  color: #FFFFFF;
}

/* Editorial Compliance Box */
.author-bio-body p {
  color: #334155;
}

[data-theme="dark"] .author-bio-body p {
  color: #94A3B8;
}

.compliance-body p {
  color: #475569;
}

[data-theme="dark"] .compliance-body p {
  color: #64748B;
}

/* Footer Link & Text Visibility */
.pageora-footer {
  background: #080D1A;
  color: #94A3B8;
}

.footer-link {
  color: #94A3B8;
}

.footer-link:hover {
  color: #F59E0B;
}

/* ==========================================================================
   QR CODE PAYMENT OPTION SCREEN STYLES
   ========================================================================== */
.qr-payment-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.qr-step-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.qr-payment-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.12);
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.qr-image-wrapper {
  position: relative;
  display: inline-block;
  background: #FFFFFF;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.live-upi-qr {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qr-scanner-line {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F59E0B, transparent);
  box-shadow: 0 0 10px #F59E0B;
  border-radius: 2px;
  animation: scanLineAnim 2.8s ease-in-out infinite;
}

@keyframes scanLineAnim {
  0% { top: 14px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 234px; opacity: 0; }
}

.qr-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  border-radius: 30px;
}

.qr-amount-label {
  font-size: 0.85rem;
  color: #94A3B8;
}

.qr-amount-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FBBF24;
}

.qr-apps-strip {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.upi-logo-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
}

.upi-id-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
}

.upi-id-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upi-id-label {
  font-size: 0.8rem;
  color: #94A3B8;
}

.upi-id-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #38BDF8;
}

.btn-copy-upi {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-upi:hover {
  background: rgba(56, 189, 248, 0.3);
}

.mobile-pay-cta-wrap {
  margin-bottom: 1.2rem;
}

.btn-mobile-pay-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-mobile-pay-link:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
}

.utr-confirmation-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.utr-hint {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* ==========================================================================
   APEX REDESIGNED CHECKOUT MODAL & LIVE WORKING PAYMENT HUB
   ========================================================================== */

.checkout-ssl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}

.save-pill-tag {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  letter-spacing: 0.3px;
  animation: pulseDot 2.5s infinite;
}

/* Modern UPI Layout Grid */
.upi-layout-grid-modern {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.2rem;
}

@media (max-width: 620px) {
  .upi-layout-grid-modern {
    grid-template-columns: 1fr;
  }
}

.upi-qr-card-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 24, 0.98));
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 1rem 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.qr-target-box-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.qr-frame-modern {
  position: relative;
  width: 170px;
  height: 170px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.live-upi-qr-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Sci-fi scanner corners */
.qr-corner-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #F59E0B;
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.qr-corner-bracket.top-left {
  top: 4px;
  left: 4px;
  border-width: 2.5px 0 0 2.5px;
  border-top-left-radius: 4px;
}
.qr-corner-bracket.top-right {
  top: 4px;
  right: 4px;
  border-width: 2.5px 2.5px 0 0;
  border-top-right-radius: 4px;
}
.qr-corner-bracket.bottom-left {
  bottom: 4px;
  left: 4px;
  border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 4px;
}
.qr-corner-bracket.bottom-right {
  bottom: 4px;
  right: 4px;
  border-width: 0 2.5px 2.5px 0;
  border-bottom-right-radius: 4px;
}

.qr-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #F59E0B, #FBBF24, transparent);
  box-shadow: 0 0 8px #F59E0B;
  animation: scanBeam 2.2s infinite ease-in-out;
  pointer-events: none;
  z-index: 3;
}

@keyframes scanBeam {
  0% { top: 6px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 160px; opacity: 0; }
}

.qr-amount-chip {
  margin-top: 0.6rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FDE68A;
  font-size: 0.78rem;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}

.qr-scan-badge-modern {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-top: 0.45rem;
  text-align: center;
}

/* Right Column: UPI Apps & Inputs */
.upi-inputs-col-modern {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.upi-apps-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .upi-apps-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

.upi-app-btn-modern {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.5rem 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F1F5F9;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.upi-app-btn-modern:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  color: #FDE68A;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.app-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.gpay-c { background: #FFFFFF; color: #4285F4; }
.phonepe-c { background: #6739B7; color: #FFFFFF; }
.paytm-c { background: #00BAF2; color: #FFFFFF; }
.bhim-c { background: rgba(255, 255, 255, 0.15); }
.cred-c { background: #111827; color: #F59E0B; border: 1px solid #F59E0B; }

/* Copyable UPI ID Box */
.upi-id-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 13, 24, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  gap: 0.6rem;
}

.upi-id-copy-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.upi-label-small {
  font-size: 0.65rem;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.upi-vpa-highlight {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FDE68A;
  letter-spacing: 0.5px;
}

.btn-copy-vpa {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-copy-vpa:hover {
  background: #F59E0B;
  color: #000000;
  border-color: #F59E0B;
}

/* UTR input group */
.utr-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label-modern {
  font-size: 0.78rem;
  font-weight: 700;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.utr-opt-tag {
  color: #34D399;
  font-size: 0.7rem;
  font-weight: 600;
}

.input-with-icon-modern {
  display: flex;
  align-items: center;
  background: rgba(8, 13, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.3rem 0.8rem;
  transition: all 0.25s;
}

.input-with-icon-modern:focus-within {
  border-color: #F59E0B;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.field-prefix-icon {
  color: #F59E0B;
  font-size: 0.95rem;
  font-weight: 800;
  margin-right: 0.5rem;
}

.input-with-icon-modern input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  padding: 0.45rem 0;
  font-family: inherit;
}

/* Card & Bank Form Styling */
.card-mini-input {
  width: 100%;
  background: rgba(8, 13, 24, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  padding: 0.55rem 0.8rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  outline: none;
}
.card-mini-input:focus {
  border-color: #F59E0B !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.card-full-input {
  width: 100%;
  background: rgba(8, 13, 24, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  padding: 0.6rem 0.8rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  outline: none;
}
.card-full-input:focus {
  border-color: #F59E0B !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

/* Popular Banks Grid */
.popular-banks-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .popular-banks-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bank-pill-modern {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 700;
}

.bank-pill-modern:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.bank-pill-modern.active {
  background: rgba(245, 158, 11, 0.22);
  border: 1.5px solid #F59E0B;
  color: #FDE68A;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* Action button variations */
.btn-pay-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  margin-top: 0.5rem;
}

.btn-pay-card {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

.btn-pay-net {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   RAZORPAY & PAYPAL DUAL GATEWAY CHECKOUT STYLES
   ========================================================================== */
.delivery-inputs-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.delivery-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.delivery-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .delivery-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.delivery-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.delivery-input-group.full-width {
  grid-column: 1 / -1;
}

.delivery-input-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #CBD5E1;
}

.delivery-input-label .sub-hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94A3B8;
}

.delivery-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.delivery-input-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.8;
}

.delivery-input-field {
  width: 100%;
  background: rgba(8, 13, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 0.65rem 0.85rem 0.65rem 2.45rem;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.delivery-input-field:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
  background: rgba(11, 17, 32, 0.98);
}

/* Gateway Selector Tabs */
.gateway-tabs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 540px) {
  .gateway-tabs-container {
    grid-template-columns: 1fr;
  }
}

.gateway-tab-card {
  position: relative;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.gateway-tab-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(24, 34, 58, 0.9);
  transform: translateY(-2px);
}

.gateway-tab-card.active {
  border-color: #F59E0B;
  background: linear-gradient(145deg, rgba(26, 38, 66, 0.95), rgba(15, 23, 42, 0.98));
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.gateway-tab-card.active.rzp-active {
  border-color: #0284C7;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.gateway-tab-card.active.paypal-active {
  border-color: #FFC439;
  box-shadow: 0 8px 25px rgba(255, 196, 57, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.gateway-badge-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-rzp {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.badge-paypal {
  background: linear-gradient(135deg, #003087, #0079C1);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 121, 193, 0.4);
}

.gateway-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gateway-brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rzp-text {
  color: #38BDF8;
  letter-spacing: -0.5px;
}

.paypal-text {
  color: #60A5FA;
  letter-spacing: -0.5px;
}

.gateway-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gateway-tab-card.active .gateway-radio-dot {
  border-color: #F59E0B;
  background: #F59E0B;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.gateway-tab-card.active .gateway-radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000000;
}

.gateway-tab-card.active.rzp-active .gateway-radio-dot {
  border-color: #38BDF8;
  background: #38BDF8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.gateway-tab-card.active.paypal-active .gateway-radio-dot {
  border-color: #FFC439;
  background: #FFC439;
  box-shadow: 0 0 10px rgba(255, 196, 57, 0.5);
}

.gateway-card-desc {
  font-size: 0.77rem;
  color: #94A3B8;
  line-height: 1.35;
}

.gateway-amount-display {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FDE68A;
  margin-top: 0.2rem;
}

/* Gateway Details Panels */
.gateway-content-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(9, 14, 26, 0.98));
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.rzp-box {
  border-color: rgba(2, 132, 199, 0.35);
}

.paypal-box {
  border-color: rgba(255, 196, 57, 0.35);
}

.gateway-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.panel-trust-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.gateway-supported-strip {
  margin-bottom: 1.1rem;
}

.strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.supported-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.supported-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-upi { border-color: rgba(56, 189, 248, 0.35); color: #7DD3FC; }
.chip-cards { border-color: rgba(245, 158, 11, 0.35); color: #FDE68A; }
.chip-net { border-color: rgba(16, 185, 129, 0.35); color: #A7F3D0; }
.chip-paypal { border-color: rgba(96, 165, 250, 0.35); color: #93C5FD; }

.gateway-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.gateway-perk-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.perk-check {
  color: #10B981;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Action Buttons */
.btn-pay-razorpay {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 50%, #075985 100%) !important;
  color: #FFFFFF !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.btn-pay-razorpay:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%) !important;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55) !important;
  transform: translateY(-2px);
}

.btn-pay-paypal {
  background: linear-gradient(135deg, #FFC439 0%, #F59E0B 100%) !important;
  color: #003087 !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 25px rgba(255, 196, 57, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 196, 57, 0.6) !important;
}

.btn-pay-paypal:hover {
  background: linear-gradient(135deg, #FFD066 0%, #FFC439 100%) !important;
  box-shadow: 0 12px 30px rgba(255, 196, 57, 0.5) !important;
  transform: translateY(-2px);
}

.btn-paypal-icon {
  font-weight: 900;
  color: #003087;
  margin-left: 0.3rem;
}

.gateway-bottom-note {
  text-align: center;
  font-size: 0.73rem;
  color: #94A3B8;
  margin-top: 0.65rem;
}

