/* ================= HERO V2 (Screenshot Layout) ================= */

.hero-v2 {
  background: #111214;
  color: #f5f5f5;
  min-height: 88vh;
  padding: 72px 20px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(244, 191, 87, 0.18), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(6, 199, 160, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}
@media (min-width: 901px) {
  .hero-v2 {
    padding-top: calc(72px - 36px); /* keep the hero close to the menu without hiding under it */
    margin-top: -36px;              /* physically pulls entire hero up */
  }
}

.hero-v2-inner {
  width: min(1120px, 100%);
  position: relative;
  z-index: 1;
}

/* Main body: text + image */
.hero-v2-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

/* Left side text */
.hero-v2-eyebrow {
  display:flex;
  align-items:center;
  gap:8px;
  color: #d7c685;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  font-size: 13px;
  margin-bottom: 20px;
  font-family: "Mada", sans-serif;
  font-weight: 700;
}

.hero-v2-eyebrow-flag {
  width:18px;
  height:12px;
  border-radius:2px;
  box-shadow:0 1px 3px rgba(0,0,0,.4);
}

/* desktop + mobile titles */
.hero-v2-title {
  margin: 0 0 18px;
  line-height: 1.08;
  font-weight: 700;
  color: #f4f4f4;
  font-family: "Mada", sans-serif;
  letter-spacing: 0;
}
.hero-v2-title-desktop {
  display:inline;
  font-size: clamp(40px, 4.8vw, 58px);
}
.hero-v2-title-mobile {
  display:none;
  font-size: 34px;
}

.hero-v2-subtitle {
  font-size: 18px;
  color: #cbc7c1;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 26px;
  font-family: "Mada", sans-serif;
}

/* === CTA ROW (3 buttons) === */

.hero-v2-ctas {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}

/* upload form ? keeps original wiring */
.hero-v2-upload-form {
  margin: 0;
}

/* PRIMARY CTA: upload (uses original .upload-button hook) */
.hero-v2 .upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  font-size: 15px;
  background: #06c7a0;
  color: #05332e;
  box-shadow:
    0 12px 30px rgba(0,0,0,.50),
    0 0 0 1px rgba(0,0,0,.5);
  text-shadow: none;
  font-family: "Mada", sans-serif;
}

.hero-v2 .upload-button:hover {
  filter: brightness(1.08);
}

.hero-v2-upload-icon {
  font-size: 18px;
}

/* SECONDARY CTAs: AI image + Art gallery */
.hero-v2-cta-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.7);
  background:transparent;
  color:#f5f5f5;
  font-size:13px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  text-decoration:none;
  white-space:nowrap;
  font-family: "Mada", sans-serif;
  font-weight: 700;
}
.hero-v2-cta-secondary:hover {
  background:rgba(255,255,255,0.06);
}

/* Trust row under buttons */
.trust-row{
  margin-top:14px;
  font-size:13px;
  color:rgba(255,255,255,.9);
  font-family: "Mada", sans-serif;
}
.trust-row-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  text-decoration:none;
  color:inherit;
  flex-wrap: wrap;
}
.trust-row-google{
  display:inline-flex;
  align-items:center;
}
.trust-row-stars{
  letter-spacing:2px;
  color:#FFC107;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  font-size: 16px;
}
.trust-row-copy{
  color: rgba(255,255,255,.95);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.trust-row-google-word{
  display:inline-flex;
  align-items:center;
  gap:0;
  letter-spacing:.1px;
}
.g-b{ color:#4285F4; }  .g-r{ color:#EA4335; }
.g-y{ color:#FBBC05; }  .g-g{ color:#34A853; }

/* === HERO SLIDESHOW ? FADE VERSION (CLS-SAFE) === */

.hero-v2-image-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-v2-slides {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  /* height is reserved via ::before to avoid CLS */
  filter: saturate(1.04);
}

/* Reserve a perfect square from first paint ? prevents layout shift */
.hero-v2-slides::before {
  content: "";
  display: block;
  padding-top: 100%;   /* 1:1 aspect ratio placeholder */
}

.hero-v2-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow:
    0 35px 70px rgba(0,0,0,0.8),
    0 0 0 1px rgba(0,0,0,0.7);
  transform: perspective(1100px) rotateY(-6deg);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-v2-slide.is-active {
  opacity: 1;
}

/* ========== MOBILE / TABLET ========== */
@media (max-width: 900px) {
  .hero-v2 {
    min-height: auto;
    padding: 28px 16px 24px;
  }

  .hero-v2-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .hero-v2-text {
    text-align: center;
    margin: 0 auto;
    max-width: 480px;
  }

  .hero-v2-eyebrow {
    margin-bottom: 12px;
  }

  .hero-v2-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
  }

  /* title swap for mobile */
  .hero-v2-title-desktop { display:none; }
  .hero-v2-title-mobile  { display:inline; }

  /* CTA layout: upload full width, 2 small buttons below */
  .hero-v2-ctas {
    justify-content:center;
  }
  .hero-v2-upload-form {
    flex:1 0 100%;
  }
  .hero-v2 .upload-button {
    width:100%;
    max-width:360px;
    margin:0 auto;
  }
  .hero-v2-cta-secondary {
    flex:1 0 calc(50% - 8px);
    font-size:12px;
    padding:8px 4px;
    justify-content:center;
  }

  .hero-v2-slides {
    max-width: 320px;
  }

  .hero-v2-slide {
    transform: perspective(900px) rotateY(-4deg);
  }
}

@media (max-width: 600px) {
  .hero-v2 .upload-button {
    max-width:none;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-v2-slide {
    transition: none;
  }
}
