/* Shared first-screen composition. The homepage remains the visual source of truth. */
@keyframes hero-main-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes hero-main-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-new {
  --hero-ink: #071426;
  --hero-soft-ink: #7a8698;
  --hero-muted: #67768d;
  --hero-line: rgba(8, 28, 48, .09);
  --hero-green: #059669;
  --hero-green-strong: #00a66c;
  --hero-card-shadow: 0 22px 52px rgba(15, 39, 65, .12);
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 4rem;
  background:
    radial-gradient(circle at 4% 34%, rgba(5, 150, 105, .12) 0, rgba(5, 150, 105, 0) 13rem),
    radial-gradient(circle at 84% 106%, rgba(5, 150, 105, .18) 0, rgba(5, 150, 105, 0) 24rem),
    linear-gradient(135deg, #fcfeff 0%, #f7fbfd 50%, #eef8f3 100%);
  color: var(--hero-ink);
  isolation: isolate;
}

.hero-new__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: clamp(2.4rem, 4.8vh, 3rem) 1.5rem clamp(2.8rem, 8vh, 5rem);
}

.hero-main-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, 32.5rem);
  gap: clamp(3rem, 6.5vw, 5.6rem);
  align-items: start;
}

.hero-copy {
  width: 100%;
  max-width: 39rem;
  min-width: 0;
  padding-top: clamp(.5rem, 1.5vh, 1rem);
}

.hero-badges {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(3.9rem, 8.8vh, 5.35rem);
}

.hero-new .badge {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(8, 28, 48, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  padding: .55rem 1.08rem;
  color: var(--hero-green);
  box-shadow: 0 10px 28px rgba(15, 39, 65, .09);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-new .badge-electric,
.hero-new .badge-hot { color: #41506a; }

.hero-title {
  margin: 0 0 1.75rem;
  color: var(--hero-ink);
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: clamp(2.55rem, 3.05vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.07;
}

.hero-title span { display: block; }
.hero-title__accent { color: var(--hero-green); }
.hero-title__muted { color: var(--hero-soft-ink); }

.hero-subtitle {
  max-width: 36.5rem;
  margin: 0 0 2rem;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.16vw, 1.14rem);
  font-weight: 650;
  line-height: 1.72;
}

.hero-subtitle .hint { color: var(--hero-green); font-weight: 850; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.45rem;
}

.hero-button {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  border-radius: .95rem;
  padding: 0 1.75rem;
  font-size: 1.02rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.hero-button:hover { transform: translateY(-2px); }
.hero-button:focus-visible { outline: 3px solid rgba(5, 150, 105, .3); outline-offset: 3px; }

.hero-button--primary {
  min-width: 20rem;
  background: linear-gradient(135deg, var(--hero-green-strong), #009767);
  color: #fff;
  box-shadow: 0 18px 34px rgba(5, 150, 105, .22);
}

.hero-button--primary:hover { box-shadow: 0 22px 44px rgba(5, 150, 105, .28); }

.hero-button--secondary {
  min-width: 13.5rem;
  border: 1px solid rgba(8, 28, 48, .08);
  background: rgba(255, 255, 255, .78);
  color: var(--hero-ink);
  box-shadow: 0 14px 30px rgba(15, 39, 65, .08);
}

.hero-button__play {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hero-green);
  border-radius: 999px;
  color: var(--hero-green);
}

.hero-code-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: clamp(3.2rem, 6.7vh, 4.8rem);
}

.hero-code-card {
  position: relative;
  min-height: 27.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(5, 150, 105, .08), transparent 18rem), linear-gradient(145deg, #0c1722, #142634);
  padding: clamp(1.5rem, 2.1vw, 2.1rem);
  color: #dbe7ef;
  box-shadow: 0 28px 60px rgba(12, 23, 34, .25);
}

.hero-code-card__chrome { display: flex; align-items: center; gap: .72rem; margin-bottom: 1.45rem; }
.hero-code-card__dot { width: 1rem; height: 1rem; border-radius: 999px; }
.hero-code-card__dot--red { background: #ff6b5e; }
.hero-code-card__dot--yellow { background: #ffd95a; }
.hero-code-card__dot--green { background: #67e987; }
.hero-code-card__domain { margin-left: .78rem; color: #c5d4df; font-family: var(--font-mono, monospace); font-size: .92rem; font-weight: 600; }
.hero-code-card pre { margin: 0; color: #dbe7ef; font-family: var(--font-mono, monospace); font-size: clamp(.82rem, .96vw, 1.02rem); line-height: 1.8; white-space: pre-wrap; }
.hero-code-card .text-slate-light { color: #9fb0bf !important; }
.hero-code-card .text-slate-dim { color: #8091a2 !important; }
.hero-code-card .text-accent { color: #53e7a5 !important; }
.hero-code-card .text-electric { color: #b895ff !important; }
.hero-code-card .text-yellow-300 { color: #ffd44f !important; }
.hero-code-card .text-orange-300 { color: #ffbf5b !important; }

.hero-main-media { height: 27.2rem; margin: 0; padding: 0; background: #e8f0ec; isolation: isolate; }
.hero-main-media::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(145deg, rgba(238, 251, 245, .12), transparent 42%, rgba(5, 150, 105, .08)); content: ''; pointer-events: none; }
.hero-main-media::after { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 46%; background: linear-gradient(to bottom, transparent, rgba(7, 20, 38, .18)); content: ''; pointer-events: none; }
.hero-main-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.hero-visual-wrap:hover .hero-main-media img { transform: scale(1.025); }
.hero-main-media__label { position: absolute; z-index: 2; top: 1.15rem; right: 1.15rem; display: flex; width: min(19rem, calc(100% - 2.3rem)); align-items: center; gap: .8rem; border: 1px solid rgba(255, 255, 255, .8); border-radius: 1rem; background: rgba(255, 255, 255, .84); padding: .9rem 1rem; color: var(--hero-ink); box-shadow: 0 14px 32px rgba(15, 39, 65, .13); backdrop-filter: blur(16px); }
.hero-main-media__label > span { width: .65rem; height: .65rem; flex: 0 0 auto; border: 2px solid #55e59b; border-radius: 50%; box-shadow: 0 0 0 .35rem rgba(5, 150, 105, .1); }
.hero-main-media__label div { display: grid; gap: .18rem; }
.hero-main-media__label strong { color: var(--hero-ink); font-size: .86rem; }
.hero-main-media__label small { color: var(--hero-soft-ink); font-size: .72rem; }

.hero-deploy-card {
  position: absolute;
  bottom: -6.25rem;
  left: -2.05rem;
  display: flex;
  width: min(25.2rem, calc(100% - 1rem));
  min-height: 7.55rem;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid rgba(8, 28, 48, .08);
  border-radius: 1.18rem;
  background: rgba(255, 255, 255, .92);
  padding: 1.45rem 1.65rem;
  box-shadow: 0 24px 48px rgba(15, 39, 65, .16);
  backdrop-filter: blur(18px);
  animation: hero-main-float 5s ease-in-out 1s infinite;
}

.hero-deploy-card__icon { display: flex; width: 3.65rem; height: 3.65rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 999px; background: rgba(5, 150, 105, .12); color: var(--hero-green); }
.hero-deploy-card__title { color: var(--hero-ink); font-size: 1.08rem; font-weight: 850; line-height: 1.2; }
.hero-deploy-card__meta { margin-top: .7rem; color: var(--hero-soft-ink); font-size: .95rem; font-weight: 650; }
.hero-deploy-card__meta strong { color: var(--hero-green); font-weight: 850; }

.hero-proofbar { display: grid; min-width: 0; grid-template-columns: minmax(0, 36.5rem) 1fr; align-items: center; gap: clamp(2.2rem, 5.2vw, 4.6rem); margin-top: clamp(4.2rem, 9vh, 6.1rem); }
.hero-proof-card { display: flex; min-width: 0; min-height: 6.3rem; align-items: center; gap: 1.7rem; border: 1px solid rgba(8, 28, 48, .08); border-radius: .95rem; background: rgba(255, 255, 255, .84); padding: 1.3rem 1.85rem; box-shadow: var(--hero-card-shadow); backdrop-filter: blur(16px); }
.hero-avatars { display: flex; flex: 0 0 auto; margin-right: .15rem; }
.hero-avatar { display: flex; width: 2.55rem; height: 2.55rem; align-items: center; justify-content: center; border: 2px solid #fff; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 850; box-shadow: 0 6px 16px rgba(15, 39, 65, .13); }
.hero-avatar + .hero-avatar { margin-left: -.62rem; }
.hero-avatar--blue { background: linear-gradient(135deg, #3157d4, #4bb4e8); }
.hero-avatar--cyan { background: linear-gradient(135deg, #22c7c7, #8ff0de); }
.hero-avatar--orange { background: linear-gradient(135deg, #ff8f4d, #ff6b7d); }
.hero-avatar--green { background: linear-gradient(135deg, #00a66c, #32c48d); }
.hero-proof-text strong, .hero-rating strong { display: block; color: var(--hero-ink); font-size: 1rem; font-weight: 900; line-height: 1.15; }
.hero-proof-text span, .hero-rating span { display: block; margin-top: .36rem; color: var(--hero-soft-ink); font-size: .95rem; font-weight: 650; }
.hero-proof-divider { width: 1px; min-height: 3.2rem; align-self: stretch; background: rgba(8, 28, 48, .12); }
.hero-stars { display: flex; gap: .18rem; margin-bottom: .18rem; color: var(--hero-green); }
.hero-rating { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: .7rem; }
.hero-rating .hero-stars { grid-row: 1; grid-column: 1; margin-bottom: 0; }
.hero-rating strong { grid-row: 1; grid-column: 2; }
.hero-rating span { grid-column: 1 / -1; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.35rem; }
.hero-tag-pill { display: inline-flex; min-height: 3.85rem; align-items: center; justify-content: center; gap: .9rem; border: 1px solid rgba(8, 28, 48, .08); border-radius: .9rem; background: rgba(255, 255, 255, .82); padding: 0 1.45rem; color: var(--hero-ink); box-shadow: 0 14px 32px rgba(15, 39, 65, .09); font-weight: 850; backdrop-filter: blur(16px); }
.hero-tag-pill svg, .hero-button svg, .hero-new .badge svg { flex: 0 0 auto; }

.hero-wave, .hero-dot-grid, .hero-pearl { position: absolute; z-index: 0; pointer-events: none; }
.hero-wave { border: 1px solid rgba(5, 150, 105, .12); border-radius: 46% 54% 50% 50%; opacity: .8; }
.hero-wave::before, .hero-wave::after { position: absolute; border: 1px solid rgba(5, 150, 105, .11); border-radius: inherit; content: ''; }
.hero-wave::before { inset: 1.05rem; }
.hero-wave::after { inset: 2.15rem; }
.hero-wave--left { top: -10rem; left: -13.5rem; width: 34rem; height: 49rem; background: linear-gradient(100deg, rgba(5, 150, 105, .12), rgba(5, 150, 105, 0)); transform: rotate(8deg); }
.hero-wave--right { right: -15rem; bottom: -18rem; width: 52rem; height: 42rem; background: linear-gradient(135deg, rgba(5, 150, 105, 0), rgba(5, 150, 105, .14)); transform: rotate(-18deg); }
.hero-dot-grid { top: 5.05rem; right: 7.8%; width: 23rem; height: 18rem; background-image: radial-gradient(rgba(5, 150, 105, .34) 1.2px, transparent 1.35px); background-size: 1.38rem 1.38rem; opacity: .48; mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .86) 62%, transparent); }
.hero-pearl { top: 26%; left: 3.5rem; width: 3.2rem; height: 3.2rem; border-radius: 999px; background: radial-gradient(circle at 30% 24%, #fff, #f3fbf7 38%, rgba(5, 150, 105, .22)); box-shadow: 0 16px 28px rgba(5, 150, 105, .12); }

.hero-main--service .hero-badges { animation: hero-main-slide-up .6s ease forwards; }
.hero-main--service .hero-title { opacity: 0; animation: hero-main-slide-up .8s ease .1s forwards; }
.hero-main--service .hero-subtitle, .hero-main--service .hero-code-wrap { opacity: 0; animation: hero-main-slide-up .8s ease .2s forwards; }
.hero-main--service .hero-actions { opacity: 0; animation: hero-main-slide-up .8s ease .3s forwards; }
.hero-main--service .hero-proofbar { opacity: 0; animation: hero-main-slide-up .8s ease .45s forwards; }

@media (min-width: 1800px) and (min-height: 1000px) {
  .hero-new { min-height: min(100svh, 56rem); }
  .hero-new__inner { padding-top: clamp(2.15rem, 3.4vh, 3rem); padding-bottom: clamp(3rem, 5vh, 4.75rem); }
  .hero-main-grid { gap: clamp(3.5rem, 5vw, 6rem); }
  .hero-proofbar { margin-top: clamp(2.8rem, 4.8vh, 4.5rem); }
}

@media (max-width: 1180px) {
  .hero-main-grid { grid-template-columns: 1fr; }
  .hero-code-wrap { display: none; }
  .hero-copy { max-width: 44rem; padding-top: 0; }
  .hero-badges { margin-bottom: 2.8rem; }
  .hero-proofbar { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 3rem; }
  .hero-tags { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .hero-new { min-height: auto; padding-top: 4rem; }
  .hero-new__inner { padding: 2.15rem 1.25rem 3rem; }
  .hero-badges { gap: .65rem; margin-bottom: 2.15rem; }
  .hero-new .badge { min-height: 2.25rem; flex: 0 1 auto; padding: .48rem .72rem; font-size: .64rem; }
  .hero-title { margin-bottom: 1.25rem; font-size: clamp(2.15rem, 9.4vw, 2.55rem); line-height: 1.07; }
  .hero-subtitle { margin-bottom: 1.65rem; font-size: .98rem; line-height: 1.7; }
  .hero-actions { gap: .8rem; }
  .hero-button { width: 100%; min-width: 0; min-height: 3.55rem; padding: 0 1.1rem; font-size: .95rem; }
  .hero-proof-card { min-height: auto; flex-wrap: wrap; gap: 1rem; padding: 1.15rem; }
  .hero-rating { width: 100%; }
  .hero-proof-divider { width: 100%; height: 1px; min-height: 1px; }
  .hero-tags { display: grid; grid-template-columns: 1fr; gap: .75rem; }
  .hero-tag-pill { min-height: 3.25rem; justify-content: flex-start; padding: 0 1rem; }
  .hero-dot-grid { top: 4rem; right: -6rem; opacity: .25; }
  .hero-pearl { display: none; }
  .hero-wave--left { top: -13rem; left: -18rem; width: 30rem; height: 44rem; }
  .hero-wave--right { right: -19rem; bottom: -20rem; width: 38rem; height: 34rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-main--service .hero-badges,
  .hero-main--service .hero-title,
  .hero-main--service .hero-subtitle,
  .hero-main--service .hero-actions,
  .hero-main--service .hero-code-wrap,
  .hero-main--service .hero-proofbar,
  .hero-deploy-card { opacity: 1; animation: none; transform: none; }
}
