/* =========================================   V20 – MAX PREMIUM HOMEPAGE HERO   ========================================= */

.homeV20-section {
  position: relative;
  padding: 1.5rem 0 5.5rem;
  background: radial-gradient(circle at 0% 0%, #e9fff6 0, transparent 55%), radial-gradient(circle at 100% 100%, #e6f0ff 0, transparent 60%), linear-gradient(135deg, #f7fffb 0, #eef2ff 45%, #ffffff 100%);
  overflow: hidden;
}

/* Background FX */

.homeV20-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.homeV20-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.75;
  mix-blend-mode: soft-light;
  animation: homeV20Blob 16s ease-in-out infinite alternate;
}

.homeV20-blob.b1 {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -140px;
  background: #28a74533;
}

.homeV20-blob.b2 {
  width: 520px;
  height: 520px;
  bottom: -220px;
  right: -180px;
  background: #1c773f26;
  animation-duration: 20s;
}

.homeV20-blob.b3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 60%;
  background: #28a7451c;
  animation-duration: 22s;
}

@keyframes homeV20Blob {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(50px, 70px, 0) scale(1.08);
  }
}

/* Orbits */

.homeV20-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(40, 167, 69, 0.2);
  mix-blend-mode: soft-light;
  animation: homeV20Orbit 26s linear infinite;
}

.homeV20-orbit.o1 {
  width: 520px;
  height: 520px;
  top: 10%;
  left: -10%;
}

.homeV20-orbit.o2 {
  width: 420px;
  height: 420px;
  bottom: -5%;
  right: -5%;
}

@keyframes homeV20Orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Grid overlay */

.homeV20-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(transparent 95%, rgba(0, 0, 0, 0.05) 100%), linear-gradient(90deg, transparent 95%, rgba(0, 0, 0, 0.05) 100%);
  background-size: 40px 40px;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  animation: homeV20GridMove 30s linear infinite;
}

@keyframes homeV20GridMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-160px);
  }
}

/* Sweep light */

.homeV20-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(70deg, transparent 0%, rgba(255, 255, 255, 0.7) 40%, transparent 80%);
  mix-blend-mode: soft-light;
  opacity: 0.55;
  animation: homeV20Sweep 14s ease-in-out infinite;
}

@keyframes homeV20Sweep {
  0% {
    transform: translateX(-35%);
  }
  50% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(35%);
  }
}

/* Container / Content */

.homeV20-container {
  position: relative;
  z-index: 5;
}

.homeV20-content {
  max-width: 540px;
  animation: homeV20FadeUp 0.7s ease-out;
}

@keyframes homeV20FadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.homeV20-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1c3c26;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.homeV20-title {
  font-size: 2.9rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0e1b12;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}

.homeV20-title span {
  display: block;
}

.homeV20-rotating {
  color: #28a745;
  position: relative;
  padding-left: 2.2rem;
}

.homeV20-rotating::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #28a745);
  box-shadow: 0 0 24px rgba(40, 167, 69, 0.6);
}

.homeV20-subtext {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #3a454d;
  margin-bottom: 1.8rem;
}

/* Search */

.homeV20-search {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(229, 239, 242, 0.95);
  margin-bottom: 1.4rem;
  transition: box-shadow 0.23s ease, transform 0.23s ease, border-color 0.23s ease;
}

.homeV20-search-inner {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}

.homeV20-search-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.homeV20-search-input {
  border: none;
  box-shadow: none !important;
  background: transparent;
  padding-right: 72px;
  font-size: 0.98rem;
}

.homeV20-search-input:focus {
  outline: none;
  box-shadow: none;
}

.homeV20-tab-hint {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #9aa0a6;
  opacity: 0.85;
  display: none;
}

.homeV20-search-btn {
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #28a745, #35d378);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0 1.6rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(40, 167, 69, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.homeV20-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(40, 167, 69, 0.55);
  filter: brightness(1.03);
}

.homeV20-search:focus-within {
  border-color: #28a74555;
  box-shadow: 0 20px 50px rgba(40, 167, 69, 0.25);
  transform: translateY(-1px);
}

/* Suggestions container (your JS uses the ID) */

.homeV20-suggestions {
  margin-top: 0.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border: 1px solid #e5edf2;
  overflow: hidden;
}

/* Tags */

.homeV20-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.homeV20-tags .btn-tag {
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.82rem;
  border: 1px solid rgba(40, 167, 69, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #1f3a25;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Trust row */

.homeV20-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.homeV20-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.86rem;
  color: #28333b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.homeV20-pill svg {
  flex-shrink: 0;
}

.homeV20-footnote {
  font-size: 0.85rem;
  color: #5a6570;
}

/* Right visual */

.homeV20-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

.homeV20-visual-layer.back {
  position: absolute;
  inset: 10% 4%;
  border-radius: 26px;
  background: radial-gradient(circle at 20% 0%, #ffffffcc 0, transparent 55%), linear-gradient(135deg, #0a2213 0, #0b2d19 40%, #0f4122 80%, #0a2213 100%);
  opacity: 0.95;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(10px);
}

.homeV20-visual-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  border-radius: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  animation: homeV20CardFloat 8s ease-in-out infinite alternate;
}

@keyframes homeV20CardFloat {
  from {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }
  to {
    transform: rotateY(-6deg) rotateX(3deg) translateY(-14px);
  }
}

.homeV20-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Shine */

.homeV20-visual-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.homeV20-visual-shine::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 160%;
  height: 180%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  opacity: 0.65;
  transform: translateX(-100%);
  animation: homeV20Shine 9s infinite;
}

@keyframes homeV20Shine {
  0% {
    transform: translateX(-110%);
  }
  40% {
    transform: translateX(110%);
  }
  100% {
    transform: translateX(110%);
  }
}

/* Floating badges */

.homeV20-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(10, 28, 18, 0.86);
  color: #ffffff;
  font-size: 0.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.homeV20-badge-top {
  top: 14px;
  left: 12px;
  animation: homeV20BadgeFloat 7s ease-in-out infinite alternate;
}

.homeV20-badge-bottom {
  bottom: 16px;
  right: 14px;
  animation: homeV20BadgeFloat 9s ease-in-out infinite alternate;
}

@keyframes homeV20BadgeFloat {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4px, -10px, 0);
  }
}

.homeV20-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #28a745);
  box-shadow: 0 0 16px rgba(40, 167, 69, 0.85);
  flex-shrink: 0;
}

.homeV20-badge-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #28a745);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(40, 167, 69, 0.8);
  flex-shrink: 0;
}

.homeV20-badge-initials {
  letter-spacing: 0.06em;
}

.homeV20-badge-text {
  display: flex;
  flex-direction: column;
}

.homeV20-badge-label {
  opacity: 0.75;
}

.homeV20-badge-value {
  font-weight: 600;
}

/* Accent ring */

.homeV20-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(40, 167, 69, 0.3);
  right: -40px;
  top: -20px;
  mix-blend-mode: soft-light;
  animation: homeV20Orbit 26s linear infinite;
}

/* Responsiveness */

@media (max-width: 991.98px) {
  .homeV20-section {
    padding: 2.5rem 0 4.2rem;
  }
}

@media (max-width: 991.98px) {
  .homeV20-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 991.98px) {
  .homeV20-visual-layer.back {
    inset: 8% 10%;
  }
}

@media (max-width: 991.98px) {
  .homeV20-visual-card {
    max-width: 400px;
    margin: 0 auto;
    transform: rotateY(0deg) rotateX(0deg);
  }
}

@keyframes homeV20CardFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .homeV20-visual-wrap {
    margin-top: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .homeV20-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-inner {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-input {
    padding-right: 32px;
  }
}

@media (max-width: 575.98px) {
  .homeV20-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .homeV20-visual-layer.back {
    inset: 8% 5%;
  }
}

@media (max-width: 575.98px) {
  .homeV20-visual-card {
    max-width: 100%;
    border-radius: 24px;
  }
}

@media (max-width: 575.98px) {
  .homeV20-badge-top, .homeV20-badge-bottom {
    font-size: 0.78rem;
  }
}

@media (max-width: 575.98px) {
  .homeV20-ring {
    display: none;
  }
}

/* =========================================   FIX — KEEP DESKTOP LAYOUT ON MOBILE   ========================================= */

/* Keep input + button horizontal on all sizes */

@media (max-width: 575.98px) {
  .homeV20-search-inner {
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-main {
    flex: 1 1 auto !important;
    width: auto !important;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-btn {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 0 1.4rem !important;
    height: auto !important;
  }
}

@media (max-width: 575.98px) {
  .homeV20-search-input {
    padding-right: 72px !important;
  }
}

/* Tags should wrap same as desktop */

@media (max-width: 575.98px) {
  .homeV20-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
    justify-content: flex-start !important;
  }
}

/* Trust pills same as desktop */

@media (max-width: 575.98px) {
  .homeV20-trust {
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
  }
}

