/* Homepage: hero slider, illustration animations, sections. */
.hero { position: relative; padding: .5rem 0 2.5rem; }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .75rem; }
html[lang="hi"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.hero h1, .hero h2 { background: linear-gradient(120deg, #fff 30%, var(--gold-2) 70%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.lead { font-size: 1.15rem; }

/* Slider: without JavaScript only the first slide shows; with it (.is-ready) slides cross-fade. */
.slides { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fade-in .6s ease both; }
.hero:not(.is-ready) .slide:not(:first-child) { display: none; }
.is-ready .slide { display: block; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.is-ready .slide.is-active { position: relative; opacity: 1; visibility: visible; animation: none; }
.slider-controls, .slider-progress { display: none; }
.is-ready .slider-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.is-ready .slider-progress { display: block; height: 2px; background: var(--line); border-radius: 2px; margin-top: 1rem; overflow: hidden; }
.slider-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--gold)); }
.slider-progress i.run { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.slider-paused .slider-progress i { animation-play-state: paused; }
.slider-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--glass); color: var(--ink); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.slider-btn:hover { border-color: var(--gold); background: rgba(246, 198, 91, .14); transform: scale(1.08); }
.slider-dots { display: flex; gap: .5rem; align-items: center; }
.slider-dot { width: .7rem; height: .7rem; padding: 0; border-radius: 1rem; border: 0; background: rgba(150, 170, 255, .35); transition: width .3s ease, background .3s ease; }
.slider-dot.is-active { width: 1.9rem; background: var(--gold); }
.ico-pause { width: .8rem; height: .8rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; display: block; box-sizing: border-box; }
.slider-pause[aria-pressed="true"] .ico-pause { border: 0; border-left: .8rem solid currentColor; border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; width: 0; height: 0; margin-left: .15rem; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* Illustrations */
.art { position: relative; max-width: 420px; margin: 0 auto; aspect-ratio: 1; }
.art-svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 0 28px rgba(122, 107, 255, .35)); }
.art-wheel-stack { display: grid; place-items: center; }
.art-wheel-stack > * { grid-area: 1 / 1; }
.hero-chart { width: 58%; animation: float 7s ease-in-out infinite; }
.hero-chart .kc-chart { filter: drop-shadow(0 0 14px rgba(246, 198, 91, .35)); }
.aw-line { fill: none; stroke: rgba(246, 198, 91, .5); stroke-width: 1.2; }
.aw-dash { stroke-dasharray: 2 7; stroke: rgba(116, 208, 255, .6); }
.aw-tick { stroke: var(--gold); stroke-width: 1.6; }
.aw-gem { fill: var(--gold-2); }
.aw-dot { fill: var(--cyan); }
.aw-outer { transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.aw-inner { transform-origin: 200px 200px; animation: spin 60s linear infinite reverse; }
.aw-gem, .aw-dot { animation: twinkle 4s ease-in-out infinite; }

.ao-ring { fill: none; stroke: rgba(150, 170, 255, .22); stroke-width: 1; stroke-dasharray: 1 5; }
.orbit { transform-origin: 200px 200px; }
.o-moon { animation: spin 9s linear infinite; }
.o-mercury { animation: spin 16s linear infinite; }
.o-venus { animation: spin 25s linear infinite; }
.o-sun { animation: spin 38s linear infinite; }
.o-mars { animation: spin 52s linear infinite; }
.o-jupiter { animation: spin 75s linear infinite; }
.o-saturn { animation: spin 110s linear infinite; }
.ao-sun { filter: drop-shadow(0 0 8px rgba(246, 198, 91, .9)); }

.an-bg { fill: none; stroke: rgba(150, 170, 255, .16); stroke-width: 1; }
.an-arc { fill: none; stroke: rgba(116, 208, 255, .5); stroke-width: 1.4; }
.an-dots { fill: rgba(246, 198, 91, .85); animation: twinkle 5s ease-in-out infinite; }
.an-line { fill: none; stroke: rgba(246, 198, 91, .7); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 6s ease-in-out infinite alternate; }
.an-line2 { stroke: rgba(169, 165, 255, .7); animation-delay: 1.2s; }
.an-stars { fill: #fff; animation: twinkle 3.2s ease-in-out infinite; }
.an-moon { fill: #f4f1e4; filter: drop-shadow(0 0 14px rgba(255, 244, 214, .7)); animation: float 6s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ad-hair { fill: none; stroke: rgba(150, 170, 255, .25); stroke-width: 1; }
.ad-dash { stroke-dasharray: 2 6; }
.ad-arc { fill: none; stroke-width: 16; opacity: 0; animation: fade-in .8s ease forwards; }
.ad-arc:nth-child(1) { animation-delay: .1s; } .ad-arc:nth-child(2) { animation-delay: .25s; } .ad-arc:nth-child(3) { animation-delay: .4s; }
.ad-arc:nth-child(4) { animation-delay: .55s; } .ad-arc:nth-child(5) { animation-delay: .7s; } .ad-arc:nth-child(6) { animation-delay: .85s; }
.ad-arc:nth-child(7) { animation-delay: 1s; } .ad-arc:nth-child(8) { animation-delay: 1.15s; } .ad-arc:nth-child(9) { animation-delay: 1.3s; }
.ad-marker { transform-origin: 200px 200px; animation: spin 24s linear infinite; }
.ad-pin { fill: var(--gold); filter: drop-shadow(0 0 8px var(--gold)); }
.ad-center { fill: var(--gold-2); font-family: var(--font-display); font-size: 44px; text-anchor: middle; }

/* Sections */
.home-section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.home-section h2 { margin-bottom: 1rem; }
.need-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; max-width: 46rem; }
.need-list li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.need-list li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .55rem; height: .55rem; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 10px var(--gold); }
.feature-card { padding: 1.3rem 1.35rem; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(246, 198, 91, .5); box-shadow: 0 14px 44px rgba(2, 4, 20, .7), 0 0 0 1px rgba(246, 198, 91, .2); }
.icon-box { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: .8rem; border-radius: .85rem; color: var(--gold); background: linear-gradient(145deg, rgba(246, 198, 91, .16), rgba(116, 208, 255, .1)); border: 1px solid rgba(246, 198, 91, .28); }
.feature-card:hover .icon-box { animation: pulse 1.6s ease-in-out infinite; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 3rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--saffron)); color: #1b1203; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 18px rgba(246, 198, 91, .45); }
.steps li::after { content: ""; position: absolute; top: 1.1rem; left: 2.8rem; right: 0; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.steps li:last-child::after { display: none; }
.trust { background: linear-gradient(135deg, rgba(20, 32, 82, .7), rgba(12, 21, 52, .5)); border: 1px solid var(--line-strong); border-radius: 1.2rem; padding: 1.75rem; margin: 1rem 0; }
.home-cta { padding: 3rem 0 1rem; border-top: 1px solid var(--line); }

@media (max-width: 991.98px) { .art { max-width: 300px; } .is-ready .slide { position: absolute; } .is-ready .slide.is-active { position: relative; } }
@media (prefers-reduced-motion: reduce) { .slider-progress { display: none !important; } }
