/* ═══════════════════════════════════════════════════
   NumerologyJyotish.com — Home Page Styles
   ═══════════════════════════════════════════════════ */

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-mandala {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  opacity: 0.07;
  animation: mandala-spin 80s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes mandala-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-mandala-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, 55vw);
  height: min(380px, 55vw);
  opacity: 0.05;
  animation: mandala-spin 40s linear infinite reverse;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.hero-om {
  font-size: 42px;
  margin-bottom: 20px;
  display: block;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 42px;
  font-style: italic;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(18,13,36,0.7);
  backdrop-filter: blur(12px);
}
.hero-stat {
  flex: 1;
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ── TRUST BAR ──────────────────────────────────── */
.trust-bar {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 52px;
}
.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
}
.trust-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PRODUCTS SECTION ───────────────────────────── */
.products-section {
  padding: 96px 52px;
  position: relative;
  z-index: 1;
}
.products-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.products-header .gold-rule { margin-bottom: 24px; }
.products-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(201,168,76,0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.3);
  border-color: rgba(201,168,76,0.4);
  background: var(--bg-card-hover);
}
.product-card:hover::before { opacity: 1; }
.product-icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: block;
}
.product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.product-name-hindi {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gold-dim);
  margin-bottom: 12px;
  font-style: italic;
}
.product-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}
.price-tag sup {
  font-size: 13px;
  vertical-align: super;
  font-weight: 400;
}
.price-cta {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card:hover .price-cta { opacity: 1; }

/* ── HOW IT WORKS ───────────────────────────────── */
.how-section {
  padding: 96px 52px;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-header .gold-rule { margin-bottom: 24px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-step {
  background: var(--bg-mid);
  padding: 40px 30px;
  position: relative;
  transition: background 0.25s;
}
.how-step:hover { background: var(--bg-card); }
.step-number {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 700;
}
.step-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.step-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.step-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── TESTIMONIALS ───────────────────────────────── */
.testi-section {
  padding: 96px 52px;
  position: relative;
  z-index: 1;
}
.testi-inner { max-width: 1100px; margin: 0 auto; }
.testi-header { text-align: center; margin-bottom: 64px; }
.testi-header .gold-rule { margin-bottom: 24px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testi-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--bg-card));
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.testi-location {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-dim);
}

/* ── CTA BAND ────────────────────────────────────── */
.cta-section {
  padding: 96px 52px;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}
.cta-section .section-heading { margin-bottom: 16px; }
.cta-section .section-sub { margin: 0 auto 38px; text-align: center; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .products-section,
  .how-section,
  .testi-section,
  .cta-section { padding: 64px 20px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .trust-bar { padding: 16px 20px; }
  .trust-inner { gap: 20px; }

}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
}