:root {
  color-scheme: dark;
  --bg: #0d0b16;
  --bg-deep: #171225;
  --text: #f5f7fb;
  --muted: rgba(224, 230, 241, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d0bcff;
  --accent-strong: #b79cff;
  --accent-deep: #381e72;
  --accent-soft: rgba(208, 188, 255, 0.24);
  --accent-secondary: #ccc2dc;
  --accent-tertiary: #efb8c8;
  --surface: rgba(255, 255, 255, 0.06);
  --shadow-strong: 0 40px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(208, 188, 255, 0.24), transparent 34%),
    radial-gradient(circle at left center, rgba(239, 184, 200, 0.14), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg-deep) 58%, #22173f);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 88%);
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(380px, 600px);
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100svh;
  padding: clamp(32px, 5vw, 64px);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  justify-self: end;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(208, 188, 255, 0.18);
  border-radius: 999px;
  background: rgba(208, 188, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  color: rgba(245, 247, 251, 0.88);
}

.brand-chip__icon {
  display: block;
  width: 28px;
  height: 28px;
}

.hero__copy {
  margin-top: 28px;
}

.hero__title {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.hero__title-icon {
  width: clamp(48px, 4.2vw, 68px);
  height: clamp(48px, 4.2vw, 68px);
  flex-shrink: 0;
  filter:
    drop-shadow(0 18px 28px rgba(56, 30, 114, 0.28))
    drop-shadow(0 0 20px rgba(208, 188, 255, 0.18));
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: "Sora", "Avenir Next", "SF Pro Display", "PingFang SC", sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  background: linear-gradient(135deg, #f8f5ff 4%, var(--accent) 38%, var(--accent-secondary) 68%, var(--accent-tertiary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 8px 30px rgba(208, 188, 255, 0.12);
}

.hero__lead {
  max-width: 32rem;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.9;
  color: var(--muted);
}

.hero__meta {
  margin: 18px 0 0;
  color: rgba(245, 247, 251, 0.56);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 176px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid rgba(208, 188, 255, 0.22);
  background: linear-gradient(180deg, rgba(208, 188, 255, 0.16), rgba(208, 188, 255, 0.08));
  backdrop-filter: blur(16px);
  box-shadow:
    0 18px 38px rgba(38, 28, 72, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 251, 0.94);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(38, 28, 72, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  filter: saturate(1.03);
}

.action-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
}

.action-button__icon svg {
  width: 20px;
  height: 20px;
}

.action-button__icon--image img {
  display: block;
  width: 22px;
  height: 22px;
}

.action-button--primary {
  background: linear-gradient(180deg, rgba(208, 188, 255, 0.18), rgba(208, 188, 255, 0.1));
}

.action-button--primary .action-button__icon {
  background: rgba(208, 188, 255, 0.18);
}

.action-button--ghost {
  background: linear-gradient(180deg, rgba(208, 188, 255, 0.14), rgba(208, 188, 255, 0.08));
}

.action-button--ghost .action-button__icon {
  background: rgba(208, 188, 255, 0.14);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  color: rgba(245, 247, 251, 0.78);
}

.hero__points li {
  position: relative;
  padding-left: 18px;
}

.hero__points li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  transform: translateY(-50%);
  content: "";
}

.hero__visual {
  position: relative;
  width: min(100%, 600px);
  margin: 0;
  justify-self: start;
  min-height: clamp(460px, 78vh, 860px);
}

.hero__visual::before {
  position: absolute;
  inset: 12% 10% 9% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(208, 188, 255, 0.28), transparent 45%),
    radial-gradient(circle at 70% 35%, rgba(239, 184, 200, 0.18), transparent 38%);
  filter: blur(20px);
  content: "";
}

.shot-card {
  --rotation: 0deg;
  position: absolute;
  width: clamp(178px, 20vw, 280px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transform-origin: center;
  transform: translate3d(0, 0, 0) rotate(var(--rotation));
  animation: float-card 7s ease-in-out infinite;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-card figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(32, 22, 58, 0.56);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shot-card--watch {
  top: 11%;
  left: 10%;
  z-index: 2;
  --rotation: -9deg;
}

.shot-card--search {
  top: 2%;
  right: 10%;
  z-index: 1;
  --rotation: 8deg;
  animation-delay: -1.4s;
}

.shot-card--settings {
  right: 26%;
  bottom: 8%;
  z-index: 3;
  --rotation: 5deg;
  animation-delay: -3.2s;
}

.shot-card--overlay {
  left: 23%;
  bottom: -2%;
  z-index: 4;
  --rotation: -4deg;
  animation-delay: -2.1s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--rotation));
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(var(--rotation));
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .hero__content {
    max-width: 680px;
    margin: 0 auto;
    justify-self: stretch;
  }

  .hero__visual {
    width: min(100%, 560px);
    justify-self: center;
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    gap: 18px;
    padding: 18px 16px 24px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero__title {
    gap: 10px;
    align-items: center;
  }

  .hero__title-icon {
    width: 40px;
    height: 40px;
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .hero__lead {
    max-width: none;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero__meta {
    margin-top: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: start;
    gap: 12px;
    margin-top: 28px;
  }

  .action-button {
    min-height: 54px;
    min-width: 0;
    width: auto;
    padding: 0 18px;
    justify-content: center;
  }

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

  .hero__points li {
    padding-left: 16px;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .hero__visual {
    width: 100%;
    max-width: 360px;
    min-height: 360px;
    margin-top: 6px;
  }

  .shot-card {
    width: clamp(126px, 38vw, 168px);
    border-radius: 20px;
  }

  .shot-card figcaption {
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    font-size: 0.68rem;
  }

  .shot-card--watch {
    top: 12%;
    left: 0;
  }

  .shot-card--search {
    top: 0;
    right: 0;
  }

  .shot-card--overlay {
    left: 10%;
    bottom: 0;
  }

  .shot-card--settings {
    right: 12%;
    bottom: 10%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 16px 14px 22px;
  }

  .brand-chip {
    gap: 10px;
    padding: 7px 12px 7px 9px;
    font-size: 0.92rem;
  }

  .brand-chip__icon {
    width: 24px;
    height: 24px;
  }

  .hero__copy {
    margin-top: 22px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 11vw, 2.7rem);
  }

  .hero__title-icon {
    width: 34px;
    height: 34px;
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__meta {
    font-size: 0.78rem;
  }

  .action-button {
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-button__icon {
    width: 34px;
    height: 34px;
  }

  .hero__visual {
    max-width: 320px;
    min-height: 320px;
  }

  .shot-card {
    width: clamp(112px, 37vw, 148px);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
