/* ============================================================
   SHIVORAA — hero.css  |  macOS Premium Theme
============================================================ */

#hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px; padding-bottom: 80px; overflow: hidden;
  background: #FFFFFF;
}

/* Subtle radial blue glow behind visual */
#hero::after {
  content: '';
  position: absolute; right: -10%; top: 10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,113,227,0.06) 0%, transparent 70%);
  pointer-events: none; border-radius: 50%;
}

.hero-bg-shape {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,113,227,0.05), transparent 70%);
  top: -200px; right: -100px;
  animation: shapeFloat 20s ease-in-out infinite;
}
.shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(88,86,214,0.04), transparent 70%);
  bottom: -100px; left: -80px;
  animation: shapeFloat 26s ease-in-out infinite reverse;
}
@keyframes shapeFloat {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(40px,-50px); }
}

.hero-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 64px; width: 100%;
}
@media (min-width: 900px) { .hero-wrap { flex-direction: row; align-items: center; gap: 64px; } }

.hero-text { flex: 1; min-width: 0; text-align: center; }
@media (min-width: 900px) { .hero-text { text-align: left; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--blue-bg);
  border-radius: 980px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 28px;
}
.dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52,199,89,0.6);
  animation: livePulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,199,89,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52,199,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); }
}

.hero-heading {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text2);
  margin-bottom: 20px; min-height: 1.7em; font-weight: 400;
}
.typed-cursor {
  display: inline-block; color: var(--blue);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 1.05rem; color: var(--text2); line-height: 1.8;
  max-width: 520px; margin: 0 auto 36px; font-weight: 400;
}
@media (min-width: 900px) { .hero-desc { margin-left: 0; } }

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 36px;
}
@media (min-width: 900px) { .hero-actions { justify-content: flex-start; } }

.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (min-width: 900px) { .hero-trust { justify-content: flex-start; } }
.trust-badge {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border2);
  border-radius: 980px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--text2);
}

/* ---------- HERO VISUAL ---------- */
.hero-visual {
  flex-shrink: 0; position: relative;
  width: 100%; max-width: 400px; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 900px) { .hero-visual { width: 420px; height: 480px; } }

.hero-badge-wrap {
  position: relative; z-index: 1;
  animation: floatIcon 5s ease-in-out infinite;
}
.hero-icon {
  filter: drop-shadow(0 24px 60px rgba(0,113,227,0.32)) drop-shadow(0 8px 20px rgba(0,0,0,0.1));
  border-radius: 44px;
}
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* Hero badge SVG sizing */
.hero-badge-img {
  width: 220px; height: 220px;
  filter: drop-shadow(0 24px 60px rgba(0,113,227,0.32)) drop-shadow(0 8px 20px rgba(0,0,0,0.10));
  display: block;
}
@media (min-width: 900px) { .hero-badge-img { width: 260px; height: 260px; } }

/* Animated S path inside hero icon */
.hero-s-draw {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: drawHeroS 2s cubic-bezier(0.4,0,0.2,1) 0.4s forwards;
}
@keyframes drawHeroS { to { stroke-dashoffset: 0; } }

.hero-dot-a { opacity: 0; animation: heroDotPop .3s ease 0.6s both; }
.hero-dot-b { opacity: 0; animation: heroDotPop .3s ease 0.8s both; }
@keyframes heroDotPop {
  from { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
  to   { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
}

.hero-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  animation: cardDrift 5s ease-in-out infinite;
}
.hc-icon  { font-size: 1.2rem; flex-shrink: 0; }
.hc-title { font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.hc-sub   { font-size: 0.7rem; color: var(--text3); white-space: nowrap; margin-top: 2px; }
.hc-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-left: 4px; }
.hc-dot.green { background: #34C759; box-shadow: 0 0 8px rgba(52,199,89,0.6); }
.hc-dot.blue  { background: var(--blue); box-shadow: 0 0 8px rgba(0,113,227,0.5); }
.hc-dot.amber { background: #FF9F0A; box-shadow: 0 0 8px rgba(255,159,10,0.5); }

.hc-1 { top: 8%;   left: -12%; animation-delay: 0s;    animation-duration: 5s; }
.hc-2 { top: 44%;  right: -10%; animation-delay: -2s;  animation-duration: 6s; }
.hc-3 { bottom: 6%; left: -4%; animation-delay: -3.5s; animation-duration: 5.5s; }
@keyframes cardDrift { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ring-a { width: 320px; height: 320px; border: 1px solid rgba(0,113,227,0.1); }
.ring-b {
  width: 420px; height: 420px;
  border: 1px solid rgba(0,113,227,0.06);
  animation: ringPulse 6s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.4; }
}

/* ---------- STATS ---------- */
#stats {
  padding: 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  padding: 48px 24px; text-align: center;
  border-right: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.stat:nth-child(2n)  { border-right: none; }
.stat:nth-child(n+3) { border-bottom: none; }
@media (min-width: 640px) {
  .stat { border-right: 1px solid var(--border2); border-bottom: none; }
  .stat:last-child { border-right: none; }
}
.stat-div { display: none; }
.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px;
  color: var(--blue);
}
.stat-label { font-size: 0.8rem; color: var(--text3); font-weight: 500; letter-spacing: 0.02em; }