/* ============================================================
   Hero + feature strip
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 42px) 0 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.hero__glow--left {
  top: 80px;
  left: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.24), transparent 68%);
}

.hero__glow--right {
  top: 20px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.2), transparent 66%);
}

.hero__ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 32px;
  min-height: 566px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 18px 0 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 11px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.13), rgba(124, 58, 237, 0.04));
  color: #ded3ef;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.9);
}

.badge__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 50%;
  animation: badgePulse 2.6s ease-out infinite;
}

@keyframes badgePulse {
  0% { opacity: 0.8; transform: scale(0.6); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}

.hero__title {
  margin: 22px 0 20px;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.075;
  letter-spacing: -0.052em;
}

.hero__title .gradient-text {
  display: inline-block;
  white-space: nowrap;
}

.hero__text {
  max-width: 515px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

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

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  color: #8e849e;
  font-size: 11.5px;
  font-weight: 500;
}

.hero__notes li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__notes .icon {
  width: 13px;
  height: 13px;
  color: #a78bfa;
  stroke-width: 2.4;
}

/* ---------- hero visual ---------- */
.hero__visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-glow {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 570px;
  height: 430px;
  transform: translate(-50%, -42%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.26), transparent 65%);
  filter: blur(55px);
}

.laptop-scene {
  --mx: 0px;
  --my: 0px;
  position: relative;
  width: min(100%, 570px);
  margin-left: auto;
  perspective: 1200px;
  translate: var(--mx) var(--my);
  transition: translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: translate;
}

.laptop {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 24px;
  transform: rotateX(2deg) rotateY(-9deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
}

.laptop__lid {
  position: relative;
  width: 86%;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px 19px 10px 10px;
  background: linear-gradient(145deg, #4a3c5c 0%, #241a31 38%, #100a18 75%, #09050e 100%);
  box-shadow:
    0 35px 65px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.laptop__lid::before {
  content: "";
  position: absolute;
  inset: 4px 4px auto;
  height: 1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.laptop__camera {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 2;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0b0711;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.3);
}

.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px 10px 5px 5px;
  background:
    radial-gradient(ellipse at 70% 38%, rgba(168, 85, 247, 0.28), transparent 54%),
    radial-gradient(ellipse at 24% 80%, rgba(109, 40, 217, 0.3), transparent 56%),
    linear-gradient(145deg, #1b0c2c 0%, #0c0615 48%, #050208 100%);
}

.screen-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 68% 30%, rgba(192, 132, 252, 0.3), transparent 34%),
    radial-gradient(ellipse at 40% 76%, rgba(109, 40, 217, 0.32), transparent 42%);
  filter: blur(26px);
  opacity: 0.9;
}

.screen-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.screen-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -52%);
  color: #fff;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.32));
}

.screen-brand__mark {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.55));
}

.screen-brand span {
  font-size: clamp(15px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.screen-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.075) 0%, transparent 26%, transparent 72%, rgba(255, 255, 255, 0.025) 100%);
  pointer-events: none;
}

.laptop__base {
  position: relative;
  width: 100%;
  height: 22px;
  margin-top: -2px;
  border-radius: 2px 2px 13px 13px;
  background: linear-gradient(180deg, #655477 0%, #3b2d4c 28%, #1b1226 72%, #08040d 100%);
  box-shadow:
    0 26px 42px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
}

.laptop__base::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 34%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.laptop__notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, #22172e, #0c0712);
}

.laptop__hinge {
  position: absolute;
  top: -3px;
  left: 7%;
  right: 7%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.laptop__shadow {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 0;
  width: 76%;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  filter: blur(26px);
}

/* ---------- floating cards ---------- */
.float-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 19, 47, 0.9), rgba(12, 8, 20, 0.94));
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: cardDrift 6.5s ease-in-out infinite;
}

@keyframes cardDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.float-card--code {
  top: 2%;
  left: -3%;
  width: 166px;
  padding: 12px;
  transform: rotate(-5deg);
  animation-delay: -1.2s;
}

.float-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.code-icon {
  color: #c084fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.float-card__dots {
  display: flex;
  gap: 3px;
}

.float-card__dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.code-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
}

.code-lines > span {
  display: flex;
  align-items: center;
  gap: 4px;
  width: var(--w);
}

.code-lines i {
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.17);
}

.code-lines i:first-child {
  flex: 0 0 24%;
}

.code-lines i.c-purple { background: rgba(168, 85, 247, 0.8); }
.code-lines i.c-blue { background: rgba(96, 165, 250, 0.75); }
.code-lines i.c-pink { background: rgba(232, 121, 249, 0.72); }

.float-card--quality {
  top: 9%;
  right: -2%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  transform: rotate(4deg);
  animation-delay: -3.4s;
}

.quality-check {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(216, 180, 254, 0.3), rgba(124, 58, 237, 0.18));
  color: #f3e8ff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
}

.quality-check .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.float-card--quality strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.float-card--quality span:not(.quality-check) {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.float-card--browser {
  right: -5%;
  bottom: 17%;
  width: 162px;
  padding: 7px;
  transform: rotate(-3deg);
  animation-delay: -5s;
}

.browser-card__bar {
  display: flex;
  gap: 3px;
  padding: 2px 2px 7px;
}

.browser-card__bar span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.browser-card__art {
  position: relative;
  height: 86px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #8b5cf6 0%, #6d28d9 48%, #2e1065 100%);
}

.browser-card__sun {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e9d5ff;
  box-shadow: 0 0 22px rgba(233, 213, 255, 0.8);
}

.browser-card__mountains {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 58%;
  background: linear-gradient(150deg, #4c1d95, #1e0b38);
  clip-path: polygon(0 100%, 0 62%, 20% 30%, 36% 58%, 55% 18%, 72% 48%, 88% 28%, 100% 54%, 100% 100%);
}

.browser-card__lines {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 42%;
}

.browser-card__lines i {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.browser-card__lines i:nth-child(2) { width: 72%; }
.browser-card__lines i:nth-child(3) { width: 48%; }

/* ---------- feature strip ---------- */
.features-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 92px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 19px 19px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01));
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  background:
    linear-gradient(145deg, rgba(124, 58, 237, 0.09), rgba(255, 255, 255, 0.018));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: #b07cff;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.45));
}

.feature-card__icon .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.65;
}

.feature-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
