/* ==========================================================
   HOME PAGE
   ========================================================== */

/* ---------- Entrance animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.95s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================
   1. HERO
   ========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, #11492a 0%, rgba(17, 73, 42, 0) 70%),
    radial-gradient(ellipse 50% 45% at 88% 62%, rgba(22, 163, 74, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 40% at 8% 75%, rgba(74, 222, 128, 0.07), transparent 70%),
    var(--bg-900);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
/* neeche se smooth fade, agle section se jodne ke liye */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(4, 11, 7, 0), var(--bg-900));
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(40px, 7vw, 80px) 36px;
}

/* ---------- Badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--silver-300);
  letter-spacing: 0.01em;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Text ---------- */
.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.7rem, 7.4vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero-sub {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--silver-100);
}
.hero-text {
  margin: 14px auto 0;
  max-width: 54ch;
  color: var(--silver-500);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* ---------- Form (Mercury-style pill) ---------- */
.hero-form {
  margin-top: 40px;
  width: min(100%, 540px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-form:focus-within {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16), var(--glow);
}
.hero-form .prefix {
  padding-left: 18px;
  color: var(--silver-300);
  font-weight: 500;
}
.hero-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 8px;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}
.hero-form input::placeholder { color: var(--silver-500); }

.hero-form-msg {
  min-height: 1.4em;
  margin-top: 10px;
  font-size: 0.88rem;
  color: #ff8b8b;
}
.hero-micro {
  font-size: 0.82rem;
  color: var(--silver-500);
}
.hero-micro a { color: var(--silver-300); text-decoration: underline; text-underline-offset: 3px; }
.hero-micro a:hover { color: var(--green-400); }

.hero-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Risk line (compliance) ---------- */
.hero-risk {
  align-self: center;
  margin: 0 20px 22px;
  padding: 9px 18px;
  max-width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--silver-500);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(4, 11, 7, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================
   2. TRUST BAR
   ========================================================== */
.trust-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  padding-block: 20px;
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--silver-300);
}
.trust-list svg { width: 18px; height: 18px; color: var(--green-400); flex: none; }

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  .hero-form {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    border-radius: 26px;
  }
  .hero-form .prefix { display: none; }
  .hero-form input { padding: 14px 16px; text-align: center; }
  .hero-form .btn { width: 100%; }
  .hero-links .btn { width: 100%; }
  .trust-list { gap: 10px 22px; justify-content: flex-start; }
}