/* ==========================================================================
   Diviine Healing - Application Stylesheet
   Dark cosmic theme. Mobile-first. Bootstrap 5 extended.
   ========================================================================== */

:root {
  --brand-primary:   #6c3483;
  --brand-secondary: #9b59b6;
  --brand-light:     #f5eef8;
  --brand-dark:      #4a235a;
  --gold:            #d4a843;
  --gold-light:      #f0c96e;
  --text-dark:       #1a1a2e;
  --text-muted:      #6b7280;
  --border-color:    #e5e7eb;
  --card-shadow:     0 2px 12px rgba(0,0,0,.07);
  --radius:          12px;
  --radius-sm:       8px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-brand     { color: var(--brand-primary) !important; }
.text-gold      { color: var(--gold) !important; }
.bg-brand       { background-color: var(--brand-primary) !important; }
.bg-brand-light { background-color: var(--brand-light) !important; }

.btn-brand {
  background-color: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  transition: background .2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-brand:hover { background-color: var(--brand-dark); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  min-height: 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.btn-gold:hover { opacity: .92; transform: translateY(-1px); color: #1a1a2e; }

.btn-wa {
  background-color: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .6rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-wa:hover { background-color: #1da851; color: #fff; }

/* --------------------------------------------------------------------------
   Navbar - transparent over hero, white on scroll
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent !important;
  transition: background .3s, box-shadow .3s, padding .3s;
}

.site-nav.scrolled {
  background: rgba(10, 5, 30, 0.95);
  backdrop-filter: blur(8px);
  padding: .6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.site-nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.site-nav .logo .logo-symbol {
  color: var(--gold);
  font-size: 1.4rem;
}

.site-nav .logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Hero - Full bleed, left-aligned content, form top-right
   -------------------------------------------------------------------------- */
.hero-fullbleed {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 4, 25, 0.88) 0%,
    rgba(8, 4, 25, 0.70) 50%,
    rgba(8, 4, 25, 0.45) 100%
  );
  z-index: 1;
}

.hero-fullbleed-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;   /* clear fixed navbar */
  padding-bottom: 3rem;
  width: 100%;
}

/* Left side — headline */
.hero-left {
  max-width: 560px;
  position: relative;
  z-index: 5;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-fullbleed-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.hero-fullbleed-content h1 .highlight {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

/* Zodiac strip at bottom of hero */
.hero-zodiac {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(212,168,67,.2);
  padding: .9rem 0;
  overflow: hidden;
}

.hero-zodiac-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.hero-zodiac span {
  color: rgba(212,168,67,.55);
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Enquiry form - compact card overlaid on hero (right side on desktop)
   -------------------------------------------------------------------------- */
.hero-form-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}

.hero-form-card h3 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-form-card h3::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-form-card .form-input {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font-size: .88rem;
  color: #fff;
  margin-bottom: .65rem;
  height: 42px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.hero-form-card .form-input::placeholder {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
}

.hero-form-card .form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.15);
}

.hero-form-card .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a1a2e;
  border: none;
  border-radius: var(--radius-sm);
  height: 42px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: .25rem;
}

.hero-form-card .btn-submit:hover { opacity: .9; }

.hero-form-card .form-note {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-top: .6rem;
  line-height: 1.4;
}

/* Mobile: stack hero layout */
@media (max-width: 767px) {
  .hero-fullbleed {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-fullbleed-content {
    padding-top: 90px;
  }

  .hero-left {
    margin-bottom: 1.5rem;
  }

  .hero-fullbleed-content h1 {
    font-size: 2.1rem;
  }

  .hero-form-card {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-zodiac { display: none; }
}

/* --------------------------------------------------------------------------
   Section layout
   -------------------------------------------------------------------------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--brand-light); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: .75rem auto 2rem;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.service-card .icon { font-size: 2.25rem; margin-bottom: .75rem; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}

.testimonial-card .stars { color: var(--gold); font-size: 1.1rem; }

.testimonial-card p.review {
  font-size: .95rem;
  color: var(--text-muted);
  font-style: italic;
  margin: .75rem 0;
  line-height: 1.6;
}

.testimonial-card .author { font-size: .875rem; font-weight: 600; }
.testimonial-card .location { font-size: .8rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background: var(--brand-light);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   WhatsApp float button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: .75rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  text-decoration: none;
}
.wa-float:hover { background: #1da851; color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0419;
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0 1.5rem;
  font-size: .9rem;
}

.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: var(--gold); }

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-right: .4rem;
  font-size: 1rem;
  transition: background .2s;
}
.site-footer .social-links a:hover { background: var(--brand-primary); }

/* --------------------------------------------------------------------------
   Toast notifications
   -------------------------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 280px;
  max-width: 90vw;
}

.toast-msg {
  background: #1a1a2e;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .9rem 1.25rem;
  margin-top: .5rem;
  font-size: .95rem;
  animation: fadeInUp .3s ease;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.toast-msg.success { background: #059669; }
.toast-msg.error   { background: #dc2626; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Customer Profile Form
   -------------------------------------------------------------------------- */
.profile-page {
  min-height: 100vh;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.profile-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--card-shadow);
}

.profile-card .brand-header { text-align: center; margin-bottom: 1.75rem; }
.profile-card .brand-header h1 { font-size: 1.4rem; font-weight: 700; color: var(--brand-primary); }
.profile-card .brand-header p { font-size: .9rem; color: var(--text-muted); }

.profile-card label { font-size: .875rem; font-weight: 600; color: var(--text-dark); margin-bottom: .25rem; }

.profile-card .form-control,
.profile-card .form-select {
  border-radius: var(--radius-sm);
  min-height: 48px;
  border-color: var(--border-color);
}

.profile-card .form-control:focus,
.profile-card .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(108, 52, 131, .15);
}

.profile-card .read-only-field {
  background: #f9fafb;
  border-color: var(--border-color);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Admin styles
   -------------------------------------------------------------------------- */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: #0a0419;
  color: #fff;
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  transition: transform .25s;
}

.admin-sidebar .sidebar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
  display: block;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.25rem;
  color: rgba(255,255,255,.6);
  font-size: .93rem;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(255,255,255,.07);
  color: #fff;
}

.admin-sidebar nav a.active { border-left: 3px solid var(--gold); }

.admin-content {
  margin-left: 230px;
  flex: 1;
  padding: 1.5rem;
  background: #f5f5f7;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-topbar h1 { font-size: 1.3rem; font-weight: 700; margin: 0; }

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.stat-card .stat-number { font-size: 2rem; font-weight: 700; color: var(--brand-primary); line-height: 1; }
.stat-card .stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; }

.enquiry-table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.enquiry-table-wrap table { margin: 0; font-size: .9rem; }

.enquiry-table-wrap thead th {
  background: #f9fafb;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding: .75rem 1rem;
}

.enquiry-table-wrap tbody td {
  padding: .85rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.enquiry-table-wrap tbody tr:last-child td { border-bottom: none; }
.enquiry-table-wrap tbody tr:hover { background: #fafafa; }

/* Login page */
.login-page {
  min-height: 100vh;
  background: #0a0419;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(12px);
}

.login-card h1 { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: .25rem; }
.login-card label { color: rgba(255,255,255,.7); font-size: .875rem; }
.login-card .form-control {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
  min-height: 48px;
}
.login-card .form-control:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,.2);
  color: #fff;
}
.login-card .form-control::placeholder { color: rgba(255,255,255,.3); }

@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 49; }
  .admin-overlay.open { display: block; }
  .mobile-nav-toggle { display: flex !important; }
}

.mobile-nav-toggle { display: none; }

.settings-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.settings-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Cosmic Hero Animations
   ========================================================================== */

/* Canvas layer sits behind content but above the bg image overlay */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Twinkling star symbols */
.star {
  position: absolute;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Symbol stars (✦ ★ ✧) */
.star-symbol {
  background: none !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 6px rgba(255,255,255,0.5), 0 0 12px rgba(212,168,67,0.3);
  width: auto !important;
  height: auto !important;
}

@keyframes twinkle {
  0%, 100% { opacity: var(--min-op, 0.1); transform: scale(1) rotate(0deg); }
  50%       { opacity: var(--max-op, 0.9); transform: scale(1.25) rotate(15deg); }
}

/* Planet orbit wrap */
.planet-wrap {
  will-change: transform;
  transition: none;
}

/* Shooting star */
.shooting-star {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 50%, rgba(212,168,67,.6) 100%);
  border-radius: 2px;
  animation: shoot var(--shoot-dur, 2.5s) ease-in forwards;
  opacity: 0;
  transform-origin: left center;
}

@keyframes shoot {
  0%   { opacity: 0;   transform: translateX(0) scaleX(0); }
  5%   { opacity: 1; }
  70%  { opacity: .8; }
  100% { opacity: 0;   transform: translateX(400px) scaleX(1); }
}

/* Floating orb / planet */
.cosmic-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat var(--orb-dur, 18s) ease-in-out infinite;
}

.cosmic-orb.orb-1 {
  width: 180px;
  height: 180px;
  right: 5%;
  top: 12%;
  background: radial-gradient(circle at 38% 38%,
    rgba(155, 89, 182, 0.18) 0%,
    rgba(108, 52, 131, 0.08) 50%,
    transparent 70%
  );
  border: 1px solid rgba(155, 89, 182, 0.12);
  box-shadow:
    0 0 40px rgba(108,52,131,.12),
    0 0 80px rgba(108,52,131,.06),
    inset 0 0 30px rgba(155,89,182,.08);
  --orb-dur: 20s;
}

.cosmic-orb.orb-2 {
  width: 90px;
  height: 90px;
  left: 8%;
  bottom: 20%;
  background: radial-gradient(circle at 40% 35%,
    rgba(212,168,67,.15) 0%,
    rgba(212,168,67,.05) 50%,
    transparent 70%
  );
  border: 1px solid rgba(212,168,67,.1);
  box-shadow:
    0 0 30px rgba(212,168,67,.1),
    inset 0 0 20px rgba(212,168,67,.06);
  --orb-dur: 14s;
  animation-delay: -5s;
}

.cosmic-orb.orb-3 {
  width: 50px;
  height: 50px;
  left: 30%;
  top: 15%;
  background: radial-gradient(circle at 35% 35%,
    rgba(100,180,255,.2) 0%,
    rgba(100,180,255,.06) 50%,
    transparent 70%
  );
  border: 1px solid rgba(100,180,255,.1);
  box-shadow: 0 0 20px rgba(100,180,255,.1);
  --orb-dur: 11s;
  animation-delay: -3s;
}

@keyframes orbFloat {
  0%   { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25%  { transform: translateY(-18px) translateX(8px) rotate(2deg); }
  50%  { transform: translateY(-8px) translateX(-6px) rotate(-1deg); }
  75%  { transform: translateY(-22px) translateX(4px) rotate(1.5deg); }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

/* Floating cosmic dust particles */
.dust-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  animation: dustFloat var(--dust-dur, 12s) ease-in-out infinite var(--dust-delay, 0s);
}

@keyframes dustFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: var(--dust-op, 0.4); }
  90%  { opacity: var(--dust-op, 0.4); }
  100% { transform: translateY(-80px) translateX(var(--drift, 20px)); opacity: 0; }
}

/* Ring around main orb */
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(155,89,182,.1);
  pointer-events: none;
  animation: ringPulse 6s ease-in-out infinite;
}

.orb-ring-1 {
  width: 240px;
  height: 240px;
  right: calc(5% - 30px);
  top: calc(12% - 30px);
  animation-delay: 0s;
}

.orb-ring-2 {
  width: 310px;
  height: 310px;
  right: calc(5% - 65px);
  top: calc(12% - 65px);
  animation-delay: 1.5s;
  border-color: rgba(212,168,67,.06);
}

@keyframes ringPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%       { opacity: .8; transform: scale(1.04); }
}

/* Nebula glow patch */
.nebula-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: nebulaPulse 10s ease-in-out infinite;
}

.nebula-glow.nebula-1 {
  width: 350px;
  height: 350px;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle, rgba(108,52,131,.25) 0%, transparent 70%);
}

.nebula-glow.nebula-2 {
  width: 280px;
  height: 280px;
  left: 10%;
  bottom: 0;
  background: radial-gradient(circle, rgba(40,60,140,.2) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes nebulaPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.1); }
}

/* Hero form title - replaces h3 for correct heading hierarchy */
.hero-form-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-form-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Time-based Hero - Additional Keyframes & Elements
   ========================================================================== */

/* Sun pulse */
@keyframes sunPulse {
  0%, 100% { transform: scale(1);    box-shadow: inherit; }
  50%       { transform: scale(1.06); filter: brightness(1.1); }
}

/* Sun rays */
@keyframes rayPulse {
  0%, 100% { opacity: .4; transform-origin: bottom center; }
  50%       { opacity: .8; }
}

/* Moon glow */
@keyframes moonGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,248,200,.4), 0 0 50px rgba(255,248,200,.15), inset -8px -4px 0 rgba(180,180,160,.3); }
  50%       { box-shadow: 0 0 30px rgba(255,248,200,.6), 0 0 80px rgba(255,248,200,.25), inset -8px -4px 0 rgba(180,180,160,.3); }
}

/* Nebula pulse */
@keyframes nebulaPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.1); }
}

/* Cloud drift handled via JS transition */
.hero-cloud { will-change: left; }

/* Star symbol */
.star-symbol {
  background: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

@keyframes twinkle {
  0%, 100% { opacity: var(--min-op, 0.1); transform: scale(1) rotate(0deg); }
  50%       { opacity: var(--max-op, 0.9); transform: scale(1.25) rotate(15deg); }
}

/* Planet orbit wrap */
.planet-wrap { will-change: left, top; }

/* Hero form title (replaces h3) */
.hero-form-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-form-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   COSMIC FEATURES — 5 unique astrology elements
   ========================================================================== */

/* 1. Cosmic message bar (above hero) */
.cosmic-message-bar {
  background: linear-gradient(90deg, rgba(8,4,25,0.97) 0%, rgba(30,10,60,0.97) 50%, rgba(8,4,25,0.97) 100%);
  border-bottom: 1px solid rgba(212,168,67,0.25);
  padding: .5rem 1rem;
  position: relative;
  z-index: 99;
  overflow: hidden;
}

.cosmic-msg-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  font-size: .8rem;
}

.cosmic-planet-symbol {
  font-size: 1.2rem;
  color: var(--moon-color, #d4a843);
  animation: symbolPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes symbolPulse {
  0%,100% { opacity:.7; transform:scale(1); }
  50%      { opacity:1;  transform:scale(1.2); }
}

.cosmic-msg-text {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cosmic-day-lord {
  color: var(--gold);
  font-weight: 700;
  font-size: .82rem;
}

.cosmic-sep { color: rgba(255,255,255,.3); }

.cosmic-moon {
  color: var(--moon-color, #d4a843);
  font-weight: 600;
  font-size: .8rem;
}

.cosmic-wisdom {
  color: rgba(255,255,255,.6);
  font-style: italic;
  font-size: .78rem;
}

.cosmic-mantra {
  color: rgba(212,168,67,.5);
  font-size: .72rem;
  letter-spacing: .05em;
  flex-shrink: 0;
}

/* 2. Kundli Wheel container */
.kundli-wheel-container {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  z-index: 1;
  opacity: .18;
  pointer-events: none;
}

@media (max-width: 991px) {
  .kundli-wheel-container {
    width: min(80vw, 320px);
    height: min(80vw, 320px);
    right: 50%;
    transform: translate(50%, -50%);
    opacity: .08;
  }
}

/* 3. Nakshatra strip */
.nakshatra-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .78rem;
  padding: .1rem 0;
}

.naks-label {
  color: rgba(212,168,67,.6);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.naks-name {
  color: #d4a843;
  font-weight: 700;
  font-size: .82rem;
}

.naks-sep { color: rgba(255,255,255,.25); }

.naks-deity {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}

.naks-quality {
  color: rgba(255,255,255,.4);
  font-style: italic;
  font-size: .75rem;
}

/* 4. Sun sign selector */
.sign-selector-wrap {
  margin-top: 1.5rem;
}

.sign-selector-label {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}

.sign-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .35rem;
  max-width: 380px;
}

.sign-btn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: .45rem .2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  transition: all .2s;
  outline: none;
  backdrop-filter: blur(4px);
}

.sign-btn:hover {
  background: rgba(212,168,67,.2);
  border-color: rgba(212,168,67,.6);
  transform: translateY(-2px);
}

.sign-btn.active {
  background: rgba(212,168,67,.22);
  border-color: var(--sign-color, #d4a843);
  box-shadow: 0 0 14px rgba(212,168,67,.3);
}

.sign-symbol {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 8px rgba(212,168,67,.5);
}

.sign-btn.active .sign-symbol {
  color: var(--sign-color, #d4a843);
}

.sign-name {
  font-size: .55rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
  font-weight: 500;
}

.sign-btn.active .sign-name {
  color: #fff;
  font-weight: 700;
}

/* 5. Daily mantra box */
.daily-mantra-box {
  margin-top: 1.25rem;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(212,168,67,.15);
  border-left: 3px solid rgba(212,168,67,.5);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1rem;
  max-width: 420px;
}

.mantra-symbol {
  font-size: 1.3rem;
  color: #d4a843;
  line-height: 1;
  margin-bottom: .25rem;
}

.mantra-text {
  font-size: .82rem;
  color: rgba(212,168,67,.8);
  font-style: italic;
  letter-spacing: .03em;
  margin-bottom: .35rem;
}

.mantra-wisdom {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  margin-bottom: .35rem;
}

.mantra-moon {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .sign-selector-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 100%;
  }
  .sign-name { font-size: .48rem; }
  .sign-symbol { font-size: .95rem; }
  .daily-mantra-box { max-width: 100%; }
  .kundli-wheel-container { display: none; }
}

/* ==========================================================================
   DAILY COSMIC BRIEF CARD
   ========================================================================== */

/* Daily brief now lives outside hero as its own section */
#daily-brief-panel {
  background: linear-gradient(135deg, #0a0419 0%, #1a0835 100%);
  border-top: 1px solid rgba(212,168,67,0.2);
  border-bottom: 1px solid rgba(212,168,67,0.2);
  padding: 2rem 0;
}

.daily-brief-panel-wrap {
  margin-top: .75rem;
  max-width: 420px;
  animation: briefSlideIn .4s ease;
  position: relative;
  z-index: 10;
}

@keyframes briefSlideIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

.brief-card {
  background: #08021a;
  border: 1px solid var(--sign-accent, rgba(212,168,67,0.4));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 30px rgba(212,168,67,0.06);
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto;
}

.brief-card * { box-sizing: border-box; }
.brief-card .brief-item-value  { color: #ffffff; }
.brief-card .brief-item-label  { color: rgba(212,168,67,0.75); }
.brief-card .brief-item-sub    { color: rgba(255,255,255,0.55); }
.brief-card .brief-aff-text    { color: rgba(212,168,67,0.95); }
.brief-card .brief-footer-note { color: rgba(255,255,255,0.45); }
.brief-card .brief-sign-name   { color: #ffffff; }
.brief-card .brief-title       { color: rgba(212,168,67,0.65); }

.brief-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  background: linear-gradient(90deg, rgba(212,168,67,0.1), transparent);
  border-bottom: 1px solid rgba(212,168,67,0.1);
}

.brief-sign-symbol {
  font-size: 1.8rem;
  color: var(--sign-accent, #d4a843);
  line-height: 1;
  flex-shrink: 0;
}

.brief-header-text { flex: 1; }

.brief-title {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(212,168,67,.6);
  margin-bottom: .1rem;
}

.brief-sign-name {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}

.brief-close {
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.4);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.brief-close:hover { background: rgba(255,255,255,.15); color:#fff; }

.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.brief-item {
  padding: .7rem .85rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.05);
}

.brief-item:nth-child(even) { border-right: none; }
.brief-item:nth-last-child(-n+2) { border-bottom: none; }

.brief-item-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  margin-bottom: .2rem;
}

.brief-item-value {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .15rem;
}

.brief-item-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

.color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}

.brief-affirmation {
  padding: .85rem 1rem;
  background: rgba(212,168,67,.04);
  border-top: 1px solid rgba(212,168,67,.1);
}

.brief-aff-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(212,168,67,.5);
  margin-bottom: .3rem;
}

.brief-aff-text {
  font-size: .82rem;
  color: rgba(212,168,67,.9);
  font-style: italic;
  line-height: 1.5;
}

.brief-footer {
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.brief-footer-note {
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  line-height: 1.4;
}

.brief-wa-btn {
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .5rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: opacity .2s;
  width: 100%;
  justify-content: center;
}
.brief-wa-btn:hover { opacity: .9; }

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher { position: relative; }

.lang-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 6px;
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.18); }
.site-nav.scrolled .lang-btn { border-color: rgba(255,255,255,.25); }

.lang-dropdown {
  min-width: 180px;
  background: #0a0419;
  border: 1px solid rgba(212,168,67,.25);
  border-radius: 8px;
  padding: .35rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: background .15s;
}
.lang-item:hover { background: rgba(212,168,67,.1); color: #fff; }
.lang-item.active { color: #d4a843; font-weight: 700; }

.lang-en-name {
  color: rgba(255,255,255,.35);
  font-size: .72rem;
  margin-left: auto;
}
.lang-item.active .lang-en-name { color: rgba(212,168,67,.5); }

/* ==========================================================================
   Daily Brief — Expanded detailed layout
   ========================================================================== */

/* Day rating in header */
.brief-day-rating {
  text-align: center;
  margin-right: .25rem;
  flex-shrink: 0;
}
.brief-rating-stars {
  color: #f59e0b;
  font-size: .9rem;
  letter-spacing: .05em;
  line-height: 1;
}
.brief-rating-label {
  font-size: .62rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .15rem;
}

/* Quick stats bar */
.brief-quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brief-quick-item {
  flex: 1 1 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .6rem .5rem;
  border-right: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-align: center;
  min-width: 0;
}

.brief-quick-item:nth-child(3n) { border-right: none; }

.bqi-icon {
  font-size: .9rem;
  line-height: 1;
  margin-bottom: .1rem;
}
.bqi-label {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(212,168,67,.6);
  margin-bottom: .15rem;
}
.bqi-val {
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-content: center;
}

/* Expanded sections */
.brief-section {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brief-section-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  color: rgba(212,168,67,.85);
}

.bsh-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.bsh-title {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.brief-section-body {
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin: 0 0 .5rem;
}

.brief-section-tip {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  padding: .5rem .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin-top: .4rem;
}

.tip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .3rem;
}

/* Two column layout for color + number */
.brief-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brief-col {
  border-bottom: none !important;
}

.brief-col:first-child {
  border-right: 1px solid rgba(255,255,255,.06);
}

/* Color display */
.brief-color-display {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brief-color-swatch-large {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255,255,255,.1);
}

/* Number display */
.brief-number-display {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brief-number-big {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  text-shadow: 0 0 20px currentColor;
}

/* Affirmation practice box */
.brief-aff-practice {
  margin-top: .75rem;
  padding: .6rem .85rem;
  background: rgba(212,168,67,.04);
  border-left: 2px solid rgba(212,168,67,.3);
  border-radius: 0 6px 6px 0;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 520px) {
  .brief-two-col {
    grid-template-columns: 1fr;
  }
  .brief-col:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
  }
  .brief-quick-item {
    flex: 1 1 50%;
  }
  .brief-quick-item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.05); }
  .brief-quick-item:nth-child(2n) { border-right: none; }
}

/* ==========================================================================
   DARK COSMIC THEME — Full page redesign
   ========================================================================== */

body.dark-theme {
  background: #06030f;
  color: rgba(255,255,255,.85);
}

/* Section base */
.dark-section {
  background: #06030f;
  padding: 5rem 0;
  position: relative;
}

.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,52,131,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Cosmic section header */
.cosmic-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cosmic-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.cosmic-section-header .cosmic-eyebrow { justify-content: center; }

.cosmic-section-header h2,
.cosmic-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: .5rem;
}

.cosmic-subtitle {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  max-width: 520px;
  margin: .5rem auto 0;
  line-height: 1.6;
}

.cosmic-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

.cosmic-body-text {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   CONCERN SELECTOR
   ========================================================================== */
.concern-section {
  background: linear-gradient(180deg, #06030f 0%, #0e0520 50%, #06030f 100%);
  padding: 5rem 0;
  position: relative;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .concern-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}
@media (max-width: 480px) {
  .concern-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
}

.concern-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.concern-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--concern-color, #d4a843), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}

.concern-card:hover, .concern-card.active {
  border-color: var(--concern-color, #d4a843);
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px rgba(212,168,67,.1);
}

.concern-card:hover::before, .concern-card.active::before { opacity: .08; }

.concern-card.active { border-color: var(--concern-color); box-shadow: 0 0 0 1px var(--concern-color), 0 8px 32px rgba(0,0,0,.3); }

.concern-icon {
  font-size: 2.25rem;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.concern-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
  position: relative;
  z-index: 1;
}

.concern-card p {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.concern-cta {
  font-size: .72rem;
  font-weight: 700;
  color: var(--concern-color, #d4a843);
  text-transform: uppercase;
  letter-spacing: .08em;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .2s;
}

.concern-card:hover .concern-cta,
.concern-card.active .concern-cta { opacity: 1; }

/* ==========================================================================
   COSMIC SERVICE CARDS
   ========================================================================== */
.cosmic-service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.cosmic-service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand-primary));
  transform: scaleX(0);
  transition: transform .3s;
}

.cosmic-service-card:hover {
  border-color: rgba(212,168,67,.3);
  background: rgba(255,255,255,.07);
  transform: translateY(-4px);
}

.cosmic-service-card:hover::after { transform: scaleX(1); }

.csvc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.cosmic-service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.cosmic-service-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.csvc-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-bottom: .75rem;
  opacity: .5;
}

.csvc-link {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.csvc-link:hover { color: var(--gold-light); }

/* ==========================================================================
   ASTROLOGER PROFILE
   ========================================================================== */
.profile-section {
  background: linear-gradient(135deg, #0a0220 0%, #10052a 50%, #0a0220 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.profile-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,52,131,.12) 0%, transparent 70%);
  right: -100px; top: -100px;
  pointer-events: none;
}

.astrologer-profile-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,168,67,.15);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.ap-photo-wrap { position: relative; margin-bottom: 1.25rem; }

.ap-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212,168,67,.4);
  box-shadow: 0 0 30px rgba(108,52,131,.3);
}

.ap-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108,52,131,.3), rgba(212,168,67,.2));
  border: 3px solid rgba(212,168,67,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 3rem;
  color: var(--gold);
}

.ap-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: .3rem .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-top: .75rem;
}

.ap-available-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}

.ap-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}

.ap-title {
  font-size: .85rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.ap-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ap-stat { text-align: center; }
.ap-num { display: block; font-size: 1.3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.ap-lbl { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }

.ap-tradition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.tradition-tag {
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.2);
  border-radius: 50px;
  padding: .3rem .85rem;
  font-size: .75rem;
  color: rgba(212,168,67,.8);
  font-weight: 600;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-section { background: #06030f; }

.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all .25s;
}

.why-card:hover {
  border-color: rgba(212,168,67,.2);
  background: rgba(255,255,255,.06);
}

.why-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--gold);
}

.why-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.why-card p {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(180deg, #06030f 0%, #0e0520 100%);
  padding: 5rem 0;
}

.cosmic-testimonial {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all .25s;
  position: relative;
}

.cosmic-testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 4rem;
  color: rgba(212,168,67,.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.cosmic-testimonial:hover {
  border-color: rgba(212,168,67,.2);
  background: rgba(255,255,255,.06);
}

.ct-stars { color: var(--gold); font-size: 1rem; margin-bottom: .75rem; }

.ct-review {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.ct-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.ct-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.ct-name { font-size: .88rem; font-weight: 700; color: #fff; }
.ct-location { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .1rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.cosmic-accordion { display: flex; flex-direction: column; gap: .6rem; }

.ca-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.ca-item:has(.ca-btn:not(.collapsed)) {
  border-color: rgba(212,168,67,.3);
}

.ca-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}

.ca-btn:not(.collapsed) { color: var(--gold); }

.ca-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  color: rgba(212,168,67,.6);
  transition: transform .2s;
}

.ca-btn:not(.collapsed) .ca-icon { color: var(--gold); }

.ca-body {
  padding: 0 1.25rem 1.1rem;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: #06030f;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(108,52,131,.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,168,67,.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.cta-desc {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER (dark redesign)
   ========================================================================== */
.site-footer {
  background: #030210;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3.5rem 0 1.5rem;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: .5rem;
}

.footer-tagline {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(212,168,67,.7);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  margin-bottom: .4rem;
}

.footer-legal {
  display: flex;
  gap: .75rem;
  font-size: .75rem;
}

.footer-legal a { color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: var(--gold); }
.footer-legal span { color: rgba(255,255,255,.2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}
