/* ==========================================================================
   AstroSampark - Connect With Your Stars
   Master Stylesheet (Poppins + Cinzel, Navy & Gold Palette, Glassmorphism, Animations)
   ========================================================================== */

/* -----------------------------
   1. CSS Variables & Tokens
   ----------------------------- */
:root {
  --primary-navy: #071a3d;
  --secondary-navy: #0d224d;
  --dark-cosmic: #060e20;
  --deep-space: #030814;
  --card-bg: rgba(13, 34, 77, 0.75);
  --card-glass: rgba(18, 38, 82, 0.65);
  --card-glass-hover: rgba(26, 52, 110, 0.85);
  --card-border: rgba(201, 151, 43, 0.25);
  --card-border-glow: rgba(201, 151, 43, 0.6);

  --gold-primary: #c9972b;
  --gold-light: #e5b847;
  --gold-bright: #ffd700;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #c9972b 50%, #9a6d12 100%);
  --gold-glow: 0 0 25px rgba(201, 151, 43, 0.45);
  --cosmic-glow: 0 0 35px rgba(66, 133, 244, 0.25);

  --text-light: #ffffff;
  --text-muted: #a0aec0;
  --text-gold: #f4d06f;
  --text-secondary: #f7f5ef;

  --accent-purple: #8a2be2;
  --accent-cyan: #00d2ff;
  --accent-rose: #ff4081;
  --accent-emerald: #00e676;

  --font-main: 'Poppins', sans-serif;
  --font-serif: 'Cinzel', serif;

  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* -----------------------------
   2. Base & Typography
   ----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--deep-space);
  color: var(--text-secondary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-light);
  letter-spacing: 0.5px;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--gold-primary);
  color: var(--deep-space);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--deep-space);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--gold-primary), var(--secondary-navy));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* -----------------------------
   3. Starfield & Cosmic Canvas
   ----------------------------- */
#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.cosmic-radial-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(20, 48, 105, 0.4) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(201, 151, 43, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(138, 43, 226, 0.15) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* -----------------------------
   4. Utility & Badge Classes
   ----------------------------- */
.text-gold {
  color: var(--gold-light) !important;
}

.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cosmic {
  background: linear-gradient(135deg, #00d2ff 0%, #c9972b 50%, #ff4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.bg-glass:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.badge-vedic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 43, 0.12);
  border: 1px solid rgba(201, 151, 43, 0.35);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(201, 151, 43, 0.2);
}

.badge-vedic i {
  color: var(--gold-bright);
}

.section-tag {
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.glow-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.glow-pill-gold {
  background: rgba(201, 151, 43, 0.2);
  color: var(--gold-bright);
  border: 1px solid var(--gold-primary);
}
.glow-pill-cyan {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.4);
}
.glow-pill-purple {
  background: rgba(138, 43, 226, 0.15);
  color: #c084fc;
  border: 1px solid rgba(138, 43, 226, 0.4);
}

/* -----------------------------
   5. Buttons & Interactive Elements
   ----------------------------- */
.btn-gold-primary {
  background: var(--gold-gradient);
  color: #050b18 !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 4px 20px rgba(201, 151, 43, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-bounce);
}

.btn-gold-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
  z-index: -1;
}

.btn-gold-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
  color: #000 !important;
}

.btn-gold-primary:hover::before {
  left: 100%;
}

.btn-cosmic-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 151, 43, 0.45);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-cosmic-outline:hover {
  background: rgba(201, 151, 43, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(201, 151, 43, 0.25);
}

.btn-sm-custom {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* -----------------------------
   6. Top Announcement Bar & Navbar
   ----------------------------- */
.top-bar {
  background: linear-gradient(90deg, #071a3d 0%, #15336c 50%, #071a3d 100%);
  border-bottom: 1px solid rgba(201, 151, 43, 0.25);
  font-size: 0.82rem;
  padding: 6px 0;
  position: relative;
  z-index: 1030;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.top-bar-marquee {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-links a {
  color: var(--gold-light);
  font-size: 0.82rem;
}
.top-bar-links a:hover {
  color: #fff;
}

/* Navbar */
.navbar-astrosampark {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1020;
  background: rgba(7, 26, 61, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 151, 43, 0.2);
  transition: var(--transition-smooth);
  padding: 12px 0;
}

.navbar-astrosampark.scrolled {
  background: rgba(5, 16, 38, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(201, 151, 43, 0.15);
  padding: 8px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(201, 151, 43, 0.4));
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo-img {
  transform: scale(1.05) rotate(2deg);
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.45rem;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  display: block;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.lang-selector-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 151, 43, 0.3);
  color: var(--text-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* -----------------------------
   7. Hero Section
   ----------------------------- */
.hero-section {
  position: relative;
  padding: 100px 0 80px 0;
  overflow: hidden;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 35px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.hero-feature-item i {
  color: var(--gold-bright);
  font-size: 1.1rem;
}

/* Hero Visual Box */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: radial-gradient(circle at center, rgba(13, 34, 77, 0.9) 0%, rgba(6, 14, 32, 0.95) 100%);
  border: 1px solid rgba(201, 151, 43, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 151, 43, 0.25);
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-banner-img {
  transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 26, 61, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(201, 151, 43, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatUpDown 4s ease-in-out infinite;
  z-index: 4;
}

.floating-badge-1 {
  top: 20px;
  left: -20px;
}

.floating-badge-2 {
  bottom: 25px;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge i {
  font-size: 1.4rem;
  color: var(--gold-bright);
}

.floating-badge-text h6 {
  font-family: var(--font-main);
  font-size: 0.82rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
}
.floating-badge-text small {
  font-size: 0.72rem;
  color: var(--gold-light);
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* -----------------------------
   8. Stats Counter Bar
   ----------------------------- */
.stats-counter-section {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  margin-bottom: 60px;
}

.stats-card-container {
  background: linear-gradient(135deg, rgba(13, 34, 77, 0.9) 0%, rgba(7, 26, 61, 0.95) 100%);
  border: 1px solid rgba(201, 151, 43, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(201, 151, 43, 0.15);
}

.stat-box {
  text-align: center;
  padding: 15px;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: rgba(201, 151, 43, 0.25);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 500;
  margin: 0;
}

/* -----------------------------
   9. Pillars & Offerings Section
   ----------------------------- */
.pillars-section {
  position: relative;
  padding: 80px 0;
  z-index: 2;
}

.service-card {
  height: 100%;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 151, 43, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(201, 151, 43, 0.2) 0%, rgba(13, 34, 77, 0.8) 100%);
  border: 1px solid rgba(201, 151, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: var(--gold-gradient);
  color: #050b18;
}

.service-card h4 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #fff;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.service-card ul li {
  font-size: 0.86rem;
  color: #e2e8f0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li i {
  color: var(--gold-bright);
  font-size: 0.8rem;
}

/* -----------------------------
   10. Interactive Kundli Engine Section
   ----------------------------- */
.kundli-engine-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(5, 14, 32, 0.6) 0%, rgba(7, 26, 61, 0.7) 100%);
  border-top: 1px solid rgba(201, 151, 43, 0.15);
  border-bottom: 1px solid rgba(201, 151, 43, 0.15);
  z-index: 2;
}

/* North Indian Kundli Chart Simulation */
.kundli-chart-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #091a3e 0%, #040a17 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 151, 43, 0.3);
  border-radius: var(--radius-md);
  padding: 10px;
}

.kundli-svg-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.kundli-svg-container svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-light);
  stroke-width: 1.5;
}

.house-polygon {
  fill: rgba(13, 34, 77, 0.35);
  cursor: pointer;
  transition: fill 0.3s ease, stroke-width 0.3s ease;
}

.house-polygon:hover,
.house-polygon.active-house {
  fill: rgba(201, 151, 43, 0.45);
  stroke: var(--gold-bright);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.7));
}

.house-label-text {
  fill: var(--text-light);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}

.planet-pill-tag {
  fill: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}

.house-detail-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  height: 100%;
}

.house-badge-pill {
  background: var(--gold-gradient);
  color: #050b18;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

/* -----------------------------
   11. AI Palmistry Scanner Section
   ----------------------------- */
.palmistry-section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.palm-scanner-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: #091a3e;
  border: 2px solid rgba(201, 151, 43, 0.4);
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.2);
}

.palm-vector-canvas {
  width: 100%;
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.palm-hand-svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-primary);
  fill: none;
}

/* Palm scanner laser line */
.palm-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d2ff, #ffd700, #00d2ff, transparent);
  box-shadow: 0 0 15px #00d2ff, 0 0 25px #ffd700;
  animation: scanLaser 3.5s ease-in-out infinite alternate;
  z-index: 5;
}

@keyframes scanLaser {
  0% {
    top: 5%;
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0.4;
  }
}

.palm-line-btn {
  background: rgba(13, 34, 77, 0.7);
  border: 1px solid rgba(201, 151, 43, 0.3);
  color: #e2e8f0;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.palm-line-btn:hover,
.palm-line-btn.active {
  background: rgba(201, 151, 43, 0.25);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(201, 151, 43, 0.3);
}

.palm-line-btn.active i {
  color: var(--gold-bright);
}

/* -----------------------------
   12. Daily Horoscopes & Zodiac Section
   ----------------------------- */
.horoscope-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(6, 14, 32, 0.8) 0%, rgba(7, 26, 61, 0.6) 100%);
  z-index: 2;
}

.zodiac-wheel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 35px;
}

@media (max-width: 991px) {
  .zodiac-wheel-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 576px) {
  .zodiac-wheel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.zodiac-card-btn {
  background: var(--card-glass);
  border: 1px solid rgba(201, 151, 43, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.zodiac-card-btn:hover,
.zodiac-card-btn.active {
  background: rgba(201, 151, 43, 0.25);
  border-color: var(--gold-bright);
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(201, 151, 43, 0.35);
}

.zodiac-symbol {
  font-size: 1.8rem;
  color: var(--gold-bright);
}

.zodiac-name-en {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
}

.zodiac-name-sa {
  font-size: 0.72rem;
  color: var(--text-gold);
  margin: 0;
}

.zodiac-guidance-display {
  background: var(--card-glass);
  border: 1px solid var(--card-border-glow);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.guidance-stat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 151, 43, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
}

.guidance-stat-pill small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guidance-stat-pill span {
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 1.05rem;
}

/* -----------------------------
   13. 2-Page Vector PDF Showcase
   ----------------------------- */
.pdf-showcase-section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.pdf-preview-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 151, 43, 0.3);
  padding: 24px;
  color: #1a202c;
  min-height: 480px;
  border: 2px solid var(--gold-primary);
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
}

.pdf-preview-box:hover {
  transform: rotate(0deg) scale(1.02);
}

.pdf-header-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #071a3d;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.pdf-header-demo h5 {
  font-family: var(--font-serif);
  color: #071a3d;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.pdf-chart-mini {
  border: 1px solid #c9972b;
  background: #fdfbf7;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.pdf-section-title-mini {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #071a3d;
  border-left: 3px solid #c9972b;
  padding-left: 6px;
  margin: 10px 0 6px 0;
}

.pdf-text-snippet {
  font-size: 0.72rem;
  color: #4a5568;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* -----------------------------
   14. Instant Kundli Quick Form
   ----------------------------- */
.quick-calc-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(13, 34, 77, 0.95) 0%, rgba(7, 26, 61, 0.98) 100%);
  border-top: 1px solid rgba(201, 151, 43, 0.3);
  border-bottom: 1px solid rgba(201, 151, 43, 0.3);
  z-index: 2;
}

.calc-card-form {
  background: var(--card-glass);
  border: 1px solid var(--card-border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.form-control-custom,
.form-select-custom {
  background: rgba(6, 14, 32, 0.7);
  border: 1px solid rgba(201, 151, 43, 0.35);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control-custom:focus,
.form-select-custom:focus {
  background: rgba(9, 22, 50, 0.9);
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(201, 151, 43, 0.4);
  outline: none;
}

.form-control-custom::placeholder {
  color: #718096;
}

/* -----------------------------
   15. Pricing & Plans Section
   ----------------------------- */
.pricing-section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.pricing-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition-bounce);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(18, 48, 105, 0.9) 0%, rgba(7, 26, 61, 0.95) 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 151, 43, 0.35);
  transform: translateY(-8px);
}

.pricing-card:hover {
  transform: translateY(-12px);
  border-color: var(--gold-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #050b18;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(201, 151, 43, 0.4);
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin: 15px 0 20px 0;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features-list li {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li i {
  color: var(--gold-bright);
  font-size: 0.95rem;
}

/* -----------------------------
   16. Comparison Matrix
   ----------------------------- */
.comparison-section {
  position: relative;
  padding: 80px 0;
  background: rgba(5, 14, 32, 0.7);
  z-index: 2;
}

.table-cosmic {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.table-cosmic th,
.table-cosmic td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201, 151, 43, 0.15);
}

.table-cosmic th {
  background: rgba(13, 34, 77, 0.85);
  font-family: var(--font-serif);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.table-cosmic th.highlight,
.table-cosmic td.highlight {
  background: rgba(201, 151, 43, 0.12);
  font-weight: 600;
  color: #ffffff;
}

/* -----------------------------
   17. Testimonials & Real Stories
   ----------------------------- */
.testimonials-section {
  position: relative;
  padding: 90px 0;
  z-index: 2;
}

.testimonial-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 151, 43, 0.2);
}

.stars-rating {
  color: var(--gold-bright);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.user-profile-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #050b18;
  font-size: 1.1rem;
}

.user-details h6 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.user-details small {
  font-size: 0.78rem;
  color: var(--gold-light);
}

/* -----------------------------
   18. FAQ Accordion
   ----------------------------- */
.faq-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(6, 14, 32, 0.8) 0%, rgba(7, 26, 61, 0.9) 100%);
  z-index: 2;
}

.accordion-custom .accordion-item {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background: transparent;
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 24px;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(201, 151, 43, 0.15);
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 151, 43, 0.2);
}

.accordion-custom .accordion-button::after {
  filter: invert(1);
}

.accordion-custom .accordion-body {
  padding: 20px 24px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -----------------------------
   19. Footer & Brand Signature
   ----------------------------- */
.footer-astrosampark {
  position: relative;
  background: #040915;
  border-top: 1px solid rgba(201, 151, 43, 0.3);
  padding: 80px 0 30px 0;
  z-index: 2;
}

.footer-brand-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 15px;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.social-pill {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 151, 43, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: var(--transition-bounce);
  margin-right: 8px;
}

.social-pill:hover {
  background: var(--gold-gradient);
  color: #050b18;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(201, 151, 43, 0.4);
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(201, 151, 43, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: #718096;
  line-height: 1.6;
  margin-top: 40px;
  margin-bottom: 30px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
/* -----------------------------
   20. Comprehensive Multi-Device Responsive System
   ----------------------------- */

/* Global Fluid Sizing & Touch Safety */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.25rem;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .service-card {
    padding: 28px 20px;
  }
}

/* Tablets and Medium Devices (< 992px) */
@media (max-width: 991px) {
  /* Typography */
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-desc {
    font-size: 1.05rem;
    max-width: 100%;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  /* Header & Navigation */
  .navbar-astrosampark {
    padding: 10px 0;
  }
  .navbar-collapse {
    background: rgba(6, 14, 32, 0.98);
    border: 1px solid rgba(201, 151, 43, 0.35);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 14px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(201, 151, 43, 0.2);
  }
  .navbar-nav .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  .navbar-collapse .btn-gold-primary {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
  }

  /* Hero Section */
  .hero-section {
    padding: 60px 0 50px 0;
  }
  .floating-badge {
    position: static;
    margin: 12px auto 0 auto;
    width: fit-content;
    animation: none;
  }
  .floating-badge-1, .floating-badge-2 {
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
  }
  .hero-visual-card {
    margin-top: 30px;
    padding: 18px;
  }

  /* Stats Section */
  .stats-counter-section {
    margin-top: 0;
    margin-bottom: 40px;
  }
  .stat-box:not(:last-child)::after {
    display: none;
  }

  /* Kundli & Palmistry Modules */
  .kundli-engine-section,
  .palmistry-section,
  .pdf-showcase-section,
  .quick-calc-section,
  .testimonials-section,
  .faq-section {
    padding: 60px 0;
  }
  .kundli-chart-wrapper {
    max-width: 380px;
    margin-bottom: 30px;
  }
  .house-detail-card {
    margin-top: 20px;
  }
  .palm-scanner-visual {
    max-width: 100%;
    margin-bottom: 30px;
  }

  /* PDF Preview */
  .pdf-preview-box {
    transform: none !important;
    min-height: auto;
    margin-top: 30px;
  }

  /* Pricing Cards */
  .pricing-card.featured {
    transform: none;
    margin: 15px 0;
  }
}

/* Small Tablets & Large Phones (< 768px) */
@media (max-width: 767px) {
  /* Top Bar */
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  .top-bar-marquee {
    font-size: 0.78rem;
    justify-content: center;
  }

  /* Typography */
  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }
  .section-title {
    font-size: 1.75rem;
  }

  /* Hero Features List */
  .hero-features-list {
    flex-direction: column;
    gap: 12px;
  }

  /* Stats Counter Grid */
  .stats-card-container {
    padding: 20px 14px;
  }
  .stat-box {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 151, 43, 0.15);
  }
  .stat-number {
    font-size: 1.85rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }

  /* Kundli Chart */
  .kundli-chart-wrapper {
    max-width: 320px;
    padding: 6px;
  }
  .house-label-text {
    font-size: 10px;
  }
  .planet-pill-tag {
    font-size: 9px;
  }

  /* Palmistry Visual */
  .palm-vector-canvas {
    height: 300px;
  }

  /* Zodiac Grid */
  .zodiac-wheel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .zodiac-card-btn {
    padding: 12px 6px;
  }
  .zodiac-symbol {
    font-size: 1.5rem;
  }
  .zodiac-name-en {
    font-size: 0.8rem;
  }

  /* Form Container */
  .calc-card-form {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }
  .form-control-custom,
  .form-select-custom {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    padding: 10px 14px;
  }

  /* Table Custom Scrollbar */
  .table-responsive {
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 151, 43, 0.25);
    background: rgba(6, 14, 32, 0.8);
    -webkit-overflow-scrolling: touch;
  }
  .table-cosmic {
    min-width: 620px;
  }

  /* Footer */
  .footer-astrosampark {
    padding: 50px 0 20px 0;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Extra Small Mobile Devices (< 576px) */
@media (max-width: 575px) {
  /* Brand title in navbar */
  .brand-logo-img {
    height: 38px;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.8px;
  }

  /* Hero Section */
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-gold-primary, .btn-cosmic-outline {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  /* Badges & Pills */
  .badge-vedic {
    font-size: 0.72rem;
    padding: 5px 12px;
    letter-spacing: 0.5px;
  }

  /* Services Grid */
  .service-card {
    padding: 24px 18px;
  }
  .service-icon-wrap {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  .service-card h4 {
    font-size: 1.2rem;
  }

  /* Zodiac Grid on Small Mobile */
  .zodiac-wheel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .zodiac-guidance-display {
    padding: 20px 15px;
  }
  .guidance-stat-pill {
    padding: 8px 10px;
  }
  .guidance-stat-pill span {
    font-size: 0.9rem;
  }

  /* Kundli Quick Form */
  .calc-card-form {
    padding: 20px 12px;
  }

  /* Currency Selector */
  .pricing-section .btn-sm-custom {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Ultra-compact Mobile Phones (< 380px) */
@media (max-width: 379px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .zodiac-wheel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kundli-chart-wrapper {
    max-width: 290px;
  }
  .stat-number {
    font-size: 1.55rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
}

/* -----------------------------
   21. Floating WhatsApp Consultation Widget
   ----------------------------- */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 2px rgba(255, 215, 0, 0.4);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 0 3px rgba(255, 215, 0, 0.8);
  color: #ffffff !important;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: waPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-badge-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #030814;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.whatsapp-cta-tooltip {
  background: rgba(7, 26, 61, 0.95);
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(201, 151, 43, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: waTooltipBounce 3s infinite ease-in-out;
  backdrop-filter: blur(8px);
}

@keyframes waTooltipBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.whatsapp-cta-tooltip .online-dot {
  width: 8px;
  height: 8px;
  background-color: #00e676;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00e676;
}

@media (max-width: 768px) {
  .whatsapp-cta-tooltip {
    display: none;
  }
  .whatsapp-float-wrap {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

.social-pill-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  color: #fff !important;
  border-color: #fd5949 !important;
  transform: translateY(-3px) scale(1.08);
}

.social-pill-whatsapp:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
  transform: translateY(-3px) scale(1.08);
}


