:root {
  color-scheme: dark;
  --bg: #111014;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f1ea;
  --muted: rgba(246, 241, 234, 0.68);
  --quiet: rgba(246, 241, 234, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff7447;
  --accent-2: #9feaff;
  --green: #78e0a2;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(160deg, rgba(91, 45, 34, 0.5), transparent 34%),
    linear-gradient(12deg, rgba(34, 31, 54, 0.96), rgba(15, 14, 18, 0.98) 54%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #151217;
  background: linear-gradient(135deg, var(--accent-2), #ffffff);
  box-shadow: 0 12px 36px rgba(159, 234, 255, 0.18);
}

.site-nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

main {
  overflow: hidden;
}

.hero,
.feature-band,
.workflow,
.pricing,
.download {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 48px 0 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 126px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.55;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  color: #171017;
  background: linear-gradient(135deg, #ffb35f, var(--accent));
  box-shadow: 0 18px 48px rgba(255, 116, 71, 0.25);
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.secondary-action:disabled {
  color: var(--quiet);
  cursor: not-allowed;
}

.hero-note,
.pricing-note {
  margin-top: 18px;
  color: var(--quiet);
  line-height: 1.6;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.screen-card,
.floating-card,
.feature-grid article,
.workflow-step,
.price-card,
.download {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.screen-card {
  position: absolute;
  inset: 70px 10px 44px 28px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 22px;
  padding: 28px;
  border-radius: 32px;
  transform: rotateY(-12deg) rotateX(6deg);
  animation: screenFloat 7s ease-in-out infinite;
}

.screen-toolbar {
  display: flex;
  gap: 8px;
}

.screen-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.screen-toolbar span:nth-child(2) {
  background: #ffcc48;
}

.screen-toolbar span:nth-child(3) {
  background: var(--green);
}

.screen-title {
  font-size: 28px;
  font-weight: 900;
}

.wave-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 148px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 11, 18, 0.72);
  overflow: hidden;
}

.wave-row span {
  height: var(--h, 48px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), rgba(159, 234, 255, 0.1));
  animation: wavePulse 1.8s ease-in-out infinite;
}

.wave-row span:nth-child(1) { --h: 44px; animation-delay: 0s; }
.wave-row span:nth-child(2) { --h: 82px; animation-delay: 0.1s; }
.wave-row span:nth-child(3) { --h: 116px; animation-delay: 0.2s; }
.wave-row span:nth-child(4) { --h: 74px; animation-delay: 0.3s; }
.wave-row span:nth-child(5) { --h: 126px; animation-delay: 0.4s; }
.wave-row span:nth-child(6) { --h: 62px; animation-delay: 0.5s; }
.wave-row span:nth-child(7) { --h: 98px; animation-delay: 0.6s; }
.wave-row span:nth-child(8) { --h: 132px; animation-delay: 0.7s; }
.wave-row span:nth-child(9) { --h: 86px; animation-delay: 0.8s; }
.wave-row span:nth-child(10) { --h: 110px; animation-delay: 0.9s; }
.wave-row span:nth-child(11) { --h: 68px; animation-delay: 1s; }
.wave-row span:nth-child(12) { --h: 92px; animation-delay: 1.1s; }

.subtitle-card {
  padding: 18px;
  border-radius: 18px;
  color: rgba(246, 241, 234, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  line-height: 1.5;
}

.progress-strip {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-strip span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #97b6ff, var(--accent-2));
  animation: progressSweep 2.4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
}

.floating-card strong {
  font-size: 20px;
}

.floating-card span {
  color: var(--muted);
  font-weight: 700;
}

.card-asr {
  top: 20px;
  left: 0;
}

.card-voice {
  right: 8px;
  top: 112px;
}

.card-export {
  left: 80px;
  bottom: 0;
}

.feature-band,
.workflow,
.pricing {
  padding: 98px 0 40px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.feature-grid,
.workflow-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.workflow-step,
.price-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
}

.feature-grid article span,
.workflow-step span {
  color: var(--accent-2);
  font-weight: 900;
}

.feature-grid article p,
.workflow-step p,
.price-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

.price-card {
  position: relative;
  overflow: hidden;
}

.price-card.highlighted {
  border-color: rgba(255, 255, 255, 0.82);
}

.price-badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 8px;
  color: #111014;
  background: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 14px 0;
  color: var(--text);
  font-size: 54px;
  font-weight: 900;
}

.price span {
  font-size: 22px;
}

.download {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 68px;
  padding: 32px;
  border-radius: 30px;
}

.download p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--quiet);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-page h1,
.legal-page h2 {
  color: var(--text);
}

.legal-page h1 {
  font-size: clamp(38px, 7vw, 72px);
}

.legal-page a {
  color: var(--accent-2);
}

@keyframes screenFloat {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(6deg) translateY(0);
  }
  50% {
    transform: rotateY(-9deg) rotateX(4deg) translateY(-18px);
  }
}

@keyframes wavePulse {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.62;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes progressSweep {
  0%,
  100% {
    width: 48%;
  }
  50% {
    width: 84%;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stage {
    min-height: 500px;
  }

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

  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .feature-band,
  .workflow,
  .pricing,
  .download,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .screen-card {
    inset: 50px 0 34px 0;
    padding: 20px;
  }

  .floating-card {
    padding: 14px 16px;
  }

  .card-voice {
    right: 0;
    top: 88px;
  }

  .card-export {
    left: 18px;
  }

  .feature-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
