/* SECTION 02: HERO */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(72px, 8vw, 118px) 0 clamp(76px, 8vw, 112px);
  background: var(--bg);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 16%, rgba(49, 94, 251, 0.12), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(49, 94, 251, 0.06), transparent 26%),
    linear-gradient(rgba(22, 23, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 23, 26, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

.hero__title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.25rem, 6.1vw, 5.85rem);
  font-weight: 830;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.button--secondary:hover {
  background: var(--surface);
  border-color: #d7dbe1;
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
}

.hero__signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #69707b;
  font-size: 12px;
  font-weight: 650;
}

.hero__signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero__visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.hero__visual-glow {
  position: absolute;
  width: min(520px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 94, 251, 0.15), rgba(49, 94, 251, 0) 66%);
  filter: blur(8px);
  transform: translate(7%, -1%);
}

.hero-browser {
  position: relative;
  width: min(100%, 690px);
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  border: 1px solid rgba(22, 23, 26, 0.11);
  border-radius: 26px;
  background: var(--surface);
  box-shadow:
    0 28px 80px rgba(22, 23, 26, 0.16),
    0 6px 18px rgba(22, 23, 26, 0.05);
  transform: rotate(1.3deg);
  animation: hero-browser-float 7s ease-in-out infinite;
}

.hero-browser__chrome {
  display: grid;
  grid-template-columns: repeat(3, 8px) 1fr;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfc;
}

.hero-browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7cbd1;
}

.hero-browser__url {
  justify-self: center;
  width: min(52%, 250px);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8a9098;
  background: #f3f4f6;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.hero-browser__page {
  position: absolute;
  inset: 44px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.hero-browser__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}

.hero-browser__brand {
  color: #191b21;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.hero-browser__nav-links {
  display: flex;
  gap: 8px;
}

.hero-browser__nav-links span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #e1e4e9;
}

.hero-browser__hero-block {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 18px;
  padding: 24px 28px 20px;
}

.hero-browser__copy {
  display: grid;
  align-content: center;
}

.hero-browser__mini-line,
.hero-browser__headline,
.hero-browser__body-line {
  display: block;
  border-radius: 999px;
}

.hero-browser__mini-line {
  width: 64px;
  height: 5px;
  margin-bottom: 13px;
  background: var(--accent);
}

.hero-browser__headline {
  height: 18px;
  background: #1d2026;
}

.hero-browser__headline--wide { width: 88%; }
.hero-browser__headline--short { width: 63%; margin-top: 8px; }

.hero-browser__body-line {
  width: 92%;
  height: 6px;
  margin-top: 16px;
  background: #d8dce2;
}

.hero-browser__body-line--short {
  width: 74%;
  margin-top: 7px;
}

.hero-browser__mock-button {
  display: block;
  width: 92px;
  height: 28px;
  margin-top: 18px;
  border-radius: 9px;
  background: #1e2025;
}

.hero-browser__visual-card {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.48), transparent 22%),
    linear-gradient(145deg, #dfe6ff 0%, #8ea6ff 48%, #315efb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.hero-browser__visual-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(1px);
}

.hero-browser__visual-orb--one {
  width: 72px;
  height: 72px;
  top: 18%;
  left: 18%;
}

.hero-browser__visual-orb--two {
  width: 124px;
  height: 124px;
  right: -14px;
  bottom: -24px;
  opacity: 0.42;
}

.hero-browser__visual-line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: left center;
}

.hero-browser__visual-line--one {
  width: 190px;
  top: 42%;
  left: 16%;
  transform: rotate(-12deg);
}

.hero-browser__visual-line--two {
  width: 150px;
  top: 55%;
  left: 28%;
  transform: rotate(16deg);
}

.hero-browser__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 28px 28px;
}

.hero-browser__cards span {
  min-height: 96px;
  border: 1px solid #eaedf1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 23, 26, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(22, 23, 26, 0.11);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-chip--top {
  top: 12%;
  left: -10px;
  animation: hero-chip-float 6s 0.6s ease-in-out infinite;
}

.hero-chip--bottom {
  right: -8px;
  bottom: 10%;
  animation: hero-chip-float 6s 1.2s ease-in-out infinite reverse;
}

.hero-chip__icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.hero-chip__icon--dark {
  color: #fff;
  background: var(--text);
  font-size: 9px;
}

.hero-chip strong,
.hero-chip small {
  display: block;
}

.hero-chip strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.hero-chip small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 650;
}

.hero-visual-label {
  position: absolute;
  right: 3%;
  bottom: 1%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(22, 23, 26, 0.48);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.hero-visual-label span:nth-child(2) {
  color: var(--accent);
}

@keyframes hero-browser-float {
  0%, 100% { transform: translateY(0) rotate(1.3deg); }
  50% { transform: translateY(-10px) rotate(0.7deg); }
}

@keyframes hero-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
    gap: 44px;
  }

  .hero__title {
    font-size: clamp(3.1rem, 6vw, 5rem);
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-chip--top { left: 0; }
  .hero-chip--bottom { right: 0; }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 62px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__content {
    max-width: 780px;
  }

  .hero__title {
    max-width: 860px;
  }

  .hero__lead {
    max-width: 720px;
  }

  .hero__visual {
    width: min(100%, 720px);
    min-height: 0;
    margin-inline: auto;
    padding: 18px 10px 36px;
  }

  .hero-browser {
    width: min(100%, 660px);
  }

  .hero-chip--top { left: -4px; }
  .hero-chip--bottom { right: -4px; }
}

@media (max-width: 640px) {
  .hero {
    padding: 50px 0 68px;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero__title {
    font-size: clamp(2.9rem, 14vw, 4.15rem);
    line-height: 0.94;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__signals {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .hero__visual {
    padding: 24px 0 42px;
  }

  .hero-browser {
    aspect-ratio: 0.96 / 1;
    border-radius: 20px;
    transform: none;
  }

  .hero-browser__chrome {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero-browser__page {
    inset: 38px 0 0;
  }

  .hero-browser__nav {
    padding: 14px 14px 10px;
  }

  .hero-browser__hero-block {
    grid-template-columns: 1fr;
    padding: 18px 16px 12px;
  }

  .hero-browser__visual-card {
    min-height: 148px;
  }

  .hero-browser__cards {
    gap: 8px;
    padding: 10px 16px 18px;
  }

  .hero-browser__cards span {
    min-height: 68px;
    border-radius: 12px;
  }

  .hero-chip {
    min-width: 0;
    max-width: 210px;
    padding: 10px 11px;
    border-radius: 13px;
  }

  .hero-chip--top {
    top: 5px;
    left: -3px;
  }

  .hero-chip--bottom {
    right: -3px;
    bottom: 6px;
  }

  .hero-chip strong { font-size: 10px; }
  .hero-chip small { font-size: 9px; }

  .hero-visual-label {
    right: 8px;
    bottom: -2px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-browser,
  .hero-chip--top,
  .hero-chip--bottom {
    animation: none;
  }
}
