/* ============================================================
   FutureBatao — home.css
   Styles specific to the homepage preview (Batch 1 visual lock).
   Reusable section primitives may graduate into components.css later.
   ============================================================ */

/* ---------- HERO (full-screen cosmic night → marigold glow) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(3rem, 7vw, 5rem);
  color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(110,46,91,.85) 0%, transparent 55%),
    radial-gradient(120% 100% at 50% 125%, rgba(180,77,0,.9) 0%, transparent 52%),
    linear-gradient(165deg, #160C2B 0%, #271442 45%, #3A1E52 100%);
}
.hero .container-fb { position: relative; z-index: 2; }
.hero__glow { display: none; }
.hero__stars {
  display: block; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.6px 1.6px at 78% 14%, rgba(255,221,148,.95), transparent),
    radial-gradient(1px 1px at 42% 8%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.6px 1.6px at 88% 40%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 25% 62%, rgba(255,221,148,.6), transparent),
    radial-gradient(1px 1px at 65% 78%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 33% 88%, rgba(255,255,255,.45), transparent);
}
.hero__title { color: #fff; font-size: var(--fs-hero); font-weight: var(--fw-black); letter-spacing: -0.03em; line-height: .98; margin-top: var(--s-2); }
.hero .text-grad {
  background: linear-gradient(95deg, #FFE0A0 0%, #FFB42E 40%, #FF8A5C 70%, #FFE0A0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}

/* twinkling starfield */
.hero__stars { animation: hero-stars-twinkle 5s ease-in-out infinite; }
@keyframes hero-stars-twinkle { 0%,100% { opacity: .55; } 50% { opacity: .9; } }

/* drifting soft orbs */
.hero__orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__orbs .orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.orb--a { width: 340px; height: 340px; top: -8%; right: 6%; background: radial-gradient(circle, rgba(255,154,40,.7), transparent 70%); animation: orb-drift-a 18s ease-in-out infinite; }
.orb--b { width: 300px; height: 300px; bottom: -10%; left: -4%; background: radial-gradient(circle, rgba(124,70,201,.6), transparent 70%); animation: orb-drift-b 22s ease-in-out infinite; }
.orb--c { width: 240px; height: 240px; top: 30%; left: 40%; background: radial-gradient(circle, rgba(225,82,71,.45), transparent 70%); animation: orb-drift-c 26s ease-in-out infinite; }
@keyframes orb-drift-a { 0%,100% { transform: translate(0) scale(1); } 50% { transform: translate(6vw,5vh) scale(1.15); } }
@keyframes orb-drift-b { 0%,100% { transform: translate(0) scale(1); } 50% { transform: translate(-7vw,6vh) scale(1.1); } }
@keyframes orb-drift-c { 0%,100% { transform: translate(0) scale(1); } 50% { transform: translate(5vw,-5vh) scale(1.2); } }

/* floating sparkles */
.hero__sparkle { position: absolute; z-index: 2; color: var(--c-yellow-300); opacity: .8; pointer-events: none; }
.hero__sparkle--1 { top: 24%; left: 46%; font-size: 1.1rem; animation: float-left 7s ease-in-out infinite; }
.hero__sparkle--2 { top: 64%; left: 8%; font-size: .9rem; color: #fff; animation: float-right 9s ease-in-out infinite; }
.hero__sparkle--3 { top: 16%; right: 42%; font-size: 1.3rem; color: #C9A8FF; animation: float-right 8s ease-in-out .5s infinite; }
@keyframes gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float-left { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes float-right { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero__sub { max-width: 44ch; margin: var(--s-5) 0; font-size: var(--fs-md); color: rgba(255,255,255,.86); }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .muted { color: rgba(255,255,255,.66) !important; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__cta .btn-fb--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hero__cta .btn-fb--ghost:hover { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.hero__trust { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.hero__trust strong { color: #fff; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px;
  border: 2.5px solid #2A1745; background-size: cover; background-position: center;
}

/* wheel rendered for the dark hero */
.hero .wheel-ring { stroke: rgba(255,255,255,.3); }
.hero .wheel-glyph { fill: rgba(255,236,200,.95); }
.hero .wheel-spoke { stroke: var(--c-yellow-400); stroke-opacity: .85; }
.hero .twinkle { fill: #FFE9B8; }
.hero .planet--marigold { fill: var(--c-yellow-400); }
.hero .planet--purple { fill: #C9A8FF; }
.hero .planet--white { fill: #fff; }

/* scroll cue */
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: var(--fs-xs); letter-spacing: .15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.hero__scroll span { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: var(--r-pill); position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: hero-scroll 1.6s var(--ease) infinite; }
@keyframes hero-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span[style*="--i:1"] { background: var(--g-gold); }
.hero__avatars span[style*="--i:2"] { background: linear-gradient(135deg,#7A3AE0,#3A2456); }
.hero__avatars span[style*="--i:3"] { background: linear-gradient(135deg,#2E9E6B,#1c6b48); }

/* Hero floating cards */
.hero__cards { position: relative; min-height: 320px; }
.hero-astro {
  position: relative; z-index: 2; padding: var(--s-5);
  max-width: 420px; margin-inline: auto;
  animation: fb-float 6s var(--ease) infinite;
}
@keyframes fb-float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.hero-astro__top { display: flex; align-items: center; gap: var(--s-3); }
.hero-astro__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
  padding: 2px; background: var(--c-green-500);
}
.hero-astro__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; display: block; }
.hero-astro__name { font-size: var(--fs-md); margin: 0; }
.hero-astro__meta { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.hero-astro__top .pill { margin-left: auto; align-self: flex-start; }
.hero-astro__stats { display: flex; flex-wrap: wrap; gap: .4rem; margin: var(--s-4) 0; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.hero-astro__foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.hero-astro__price s { color: var(--c-muted); font-size: var(--fs-sm); }
.hero-astro__price b { color: var(--c-saffron-700); font-size: var(--fs-md); }

.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; border-radius: var(--r-md); box-shadow: var(--sh-lg);
  font-size: var(--fs-sm); background: var(--c-surface);
}
.hero-chip__ic { font-size: 1.3rem; }
.hero-chip b { display: block; color: var(--c-plum-900); }
.hero-chip small { color: var(--c-muted); }
.hero-chip--1 { top: 8%; left: -2%; animation: fb-float 5s var(--ease) infinite; }
.hero-chip--2 { bottom: 4%; right: 0%; animation: fb-float 7s var(--ease) .5s infinite; }

@media (max-width: 992px) {
  .hero__cards { margin-top: var(--s-6); }
  .hero-chip--1 { left: 2%; }
}
@media (max-width: 480px) {
  .hero-chip { display: none; }
}

/* ---------- HERO ZODIAC WHEEL ---------- */
.hero-wheel { position: relative; max-width: 540px; margin-inline: auto; }
.hero-wheel svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-wheel .wheel-ring { fill: none; stroke: var(--c-plum-300); stroke-opacity: .5; }
.hero-wheel .wheel-dotted { stroke-dasharray: 1 7; stroke-linecap: round; }
.hero-wheel .wheel-glyph { fill: var(--c-plum-700); font-family: var(--font-body); font-weight: 600; }
.hero-wheel .wheel-spoke { stroke: var(--c-saffron-400); stroke-opacity: .7; stroke-width: 1.5; }
.hero-wheel .wheel-node { fill: var(--c-saffron-500); }
.hero-wheel .wheel-node--alt { fill: var(--c-coral-500); }
.hero-wheel .wheel-node--cool { fill: var(--c-purple-500); }
.hero-wheel .planet { stroke: rgba(255,255,255,.45); stroke-width: .5; }

/* --- Motion, inspired by Astrotalk's "taramandal": the wheel spins while the
   sign glyphs counter-rotate to stay upright; planets orbit at different
   speeds/directions; sun pulses; stars twinkle; a meteor streaks across.
   All paused for users with prefers-reduced-motion (global rule). --- */
.hero-wheel .wheel-spin,
.hero-wheel .orbit { transform-box: view-box; transform-origin: 240px 240px; }
.hero-wheel .wheel-spin { animation: taramandal-spin 110s linear infinite; }
.hero-wheel .wheel-glyph text { transform-box: fill-box; transform-origin: center; animation: taramandal-counter 110s linear infinite; }
.hero-wheel .orbit--a { animation: taramandal-spin 22s linear infinite; }
.hero-wheel .orbit--b { animation: taramandal-counter 34s linear infinite; }
.hero-wheel .orbit--c { animation: taramandal-spin 58s linear infinite; }
.hero-wheel .wheel-sun { transform-box: fill-box; transform-origin: center; animation: glow-pulse 3.6s ease-in-out infinite; }
.hero-wheel .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.hero-wheel .twinkle:nth-of-type(2n) { animation-delay: .9s; }
.hero-wheel .twinkle:nth-of-type(3n) { animation-delay: 1.6s; }
.hero-wheel .wheel-constellation { animation: constellation-line 4.5s ease-in-out infinite; }
.hero-wheel .wheel-meteor { animation: wheel-meteor 9s ease-in infinite; animation-delay: 3s; }

@keyframes taramandal-spin { to { transform: rotate(360deg); } }
@keyframes taramandal-counter { to { transform: rotate(-360deg); } }
@keyframes glow-pulse { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255,154,40,.5)); } 50% { filter: drop-shadow(0 0 22px rgba(255,200,80,.95)); } }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes constellation-line { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@keyframes wheel-meteor { 0% { opacity: 0; transform: translate(0,0); } 8% { opacity: 1; } 80% { opacity: .8; } 100% { opacity: 0; transform: translate(240px,150px); } }
@media (max-width: 992px) { .hero-wheel { max-width: 420px; margin-top: var(--s-5); } }

/* ---------- SPECIALTIES MARQUEE ---------- */
.marquee { overflow: hidden; background: var(--c-cream-2); border-block: 1px solid var(--c-line); padding-block: var(--s-4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: var(--s-4); white-space: nowrap; animation: marquee-left 40s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-weight: var(--fw-x); font-size: clamp(1.1rem, 2.4vw, 1.9rem); color: var(--c-plum-900); letter-spacing: -0.01em; }
.marquee__star { color: var(--c-yellow-500); font-size: 1rem; }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* ---------- TRUST STRIP ---------- */
.trust-strip { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.trust-strip__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: var(--s-6); text-align: center;
}
.trust-stat { padding-inline: var(--s-3); }
.trust-stat + .trust-stat { border-left: 1px solid var(--c-line); }
.trust-stat__num { display: block; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-2xl); color: var(--c-saffron-600); line-height: 1; }
.trust-stat__label { font-size: var(--fs-sm); color: var(--c-muted); }
@media (max-width: 700px) {
  .trust-strip__row { grid-template-columns: 1fr 1fr; gap: var(--s-5) 0; }
  .trust-stat:nth-child(odd) { border-left: 0; }
  .trust-stat:nth-child(3), .trust-stat:nth-child(4) { padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
}

/* ---------- SERVICE CARDS ---------- */
.service-card { display: block; height: 100%; padding: var(--s-5); color: inherit; }
.service-card:hover { color: inherit; }
.service-card__ic {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  font-size: 1.5rem; background: var(--ic, var(--c-saffron-50));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03); margin-bottom: var(--s-4);
}
.service-card h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.service-card p { font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.service-card__go { font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--c-saffron-700); }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container-fb { position: relative; z-index: 2; }
.cta-band .om-divider { color: var(--c-gold-400); font-size: 1.4rem; }

/* Zodiac strip styles moved to components.css (shared: home + horoscope index). */

/* ---------- TESTIMONIALS ---------- */
.testimonial { height: 100%; padding: var(--s-5); margin: 0; display: flex; flex-direction: column; }
.testimonial__stars { color: var(--c-gold-500); letter-spacing: 2px; font-size: var(--fs-sm); margin-bottom: var(--s-3); }
.testimonial__stars-dim { color: var(--c-line); }
.testimonial__text { font-size: var(--fs-sm); color: var(--c-ink-soft); line-height: var(--lh-base); margin: 0 0 var(--s-4); }
.testimonial__who { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-bold); font-size: var(--fs-sm); color: #fff; background: var(--g-saffron); flex: 0 0 auto; }
.testimonial__who b { display: block; font-size: var(--fs-sm); color: var(--c-plum-900); }
.testimonial__who small { color: var(--c-muted); font-size: var(--fs-xs); }

/* ---------- MOBILE STICKY CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 880px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
    display: flex; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255,249,242,.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-line); box-shadow: 0 -6px 24px rgba(64,28,12,.10);
  }
  .sticky-cta__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .85rem 1rem; border-radius: var(--r-pill); font-weight: var(--fw-semi); font-size: var(--fs-base);
  }
  .sticky-cta__btn--chat { background: var(--g-saffron); color: #fff; box-shadow: var(--sh-glow); }
  .sticky-cta__btn--call { background: #fff; color: var(--c-saffron-700); box-shadow: inset 0 0 0 1.5px var(--c-saffron-300); }
  /* keep the sticky bar from covering the footer's last content */
  body { padding-bottom: 76px; }
}
