/* ==========================================================================
   飞喵Live 官网样式
   ========================================================================== */

:root {
  --bg: #0b0f1d;
  --bg-soft: #0e1426;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0ff;
  --text-dim: #9aa7c7;
  --text-faint: #66729a;
  --primary: #7c5cff;
  --primary-2: #22c3f0;
  --grad: linear-gradient(100deg, #7c5cff 0%, #22c3f0 100%);
  --grad-text: linear-gradient(100deg, #a78bff 0%, #54d6ff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --container: 1200px;
  --header-h: 72px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 100% - 48px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-light {
  background: #fff;
  color: #151a2e;
}

.btn-light:hover {
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.22);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
}

.play-icon {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  padding-left: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(11, 15, 29, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-name em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.75), transparent 68%);
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 460px;
  height: 460px;
  right: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(34, 195, 240, 0.55), transparent 68%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 75%);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.08);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

.dot-pulse,
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d6d;
  position: relative;
}

.dot-pulse::after,
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 109, 0.7);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  80%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 20px;
  max-width: 560px;
  color: var(--text-dim);
  font-size: 17px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-top: 28px;
  color: var(--text-faint);
  font-size: 14px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Hero console ---------- */

.hero-visual {
  position: relative;
}

.console {
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 23, 44, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.console-url {
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.console-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 32%, #232a5c, #0b0f26 78%);
}

.stage-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.38), transparent 70%);
  filter: blur(28px);
}

.avatar {
  width: 82%;
  height: auto;
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(10, 12, 28, 0.7);
  border: 1px solid rgba(255, 77, 109, 0.45);
  color: #ff6b85;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.stage-title {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(10, 12, 28, 0.72);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12.5px;
  text-align: center;
}

.chat {
  border-left: 1px solid var(--line);
  background: rgba(9, 12, 26, 0.55);
  display: flex;
  flex-direction: column;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.chat-count {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
}

.chat-list {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.msg {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 12px;
  animation: msgIn 0.5s ease both;
}

.msg:nth-child(2) {
  animation-delay: 0.6s;
}

.msg:nth-child(3) {
  animation-delay: 1.2s;
}

.msg:nth-child(4) {
  animation-delay: 1.8s;
}

.msg:nth-child(5) {
  animation-delay: 2.4s;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-user {
  display: block;
  color: #8fd3ff;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 2px;
}

.msg-user i {
  font-style: normal;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--grad);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  vertical-align: 1px;
}

.msg p {
  color: var(--text-dim);
  line-height: 1.5;
}

.msg-ai {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.1);
}

.console-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.mini-stat b {
  font-size: 15px;
  font-weight: 700;
}

.mini-stat span {
  color: var(--text-faint);
  font-size: 11px;
}

.live-now {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: #ff7d92;
  font-size: 12px;
  font-weight: 600;
}

.float-card {
  position: absolute;
  padding: 11px 16px;
  border-radius: 13px;
  background: rgba(18, 24, 47, 0.88);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.fc-1 {
  top: 78px;
  right: -22px;
  animation: floatCard 6s ease-in-out infinite;
}

.fc-2 {
  bottom: 110px;
  left: -30px;
  animation: floatCard 6s ease-in-out 1.2s infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Stats ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat span {
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.12);
  color: #b9a6ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 16px;
}

/* ---------- Feature cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.35);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- Scenarios ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scenario {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.09), rgba(34, 195, 240, 0.05) 60%, rgba(255, 255, 255, 0.03));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.scenario:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 195, 240, 0.4);
}

.scenario-emoji {
  font-size: 30px;
  margin-bottom: 14px;
}

.scenario h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scenario p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- How it works ---------- */

.how {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 70%),
    var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -16px;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.7), transparent);
}

.step-num {
  font-size: 15px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.popular {
  border-color: rgba(124, 92, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.14), rgba(34, 195, 240, 0.05)),
    var(--bg-card);
  box-shadow: 0 24px 60px rgba(124, 92, 255, 0.22);
}

.tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 19px;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 6px;
}

.price b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.price span {
  color: var(--text-faint);
  font-size: 14px;
}

.price-desc {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
}

.price-feats {
  list-style: none;
  flex: 1;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price-feats li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.price-feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:
    linear-gradient(#0e1426, #0e1426) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}

.price-feats li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */

.faq {
  padding-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.45);
  background: var(--bg-card-hover);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-size: 16px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: #fff;
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- CTA ---------- */

.cta {
  padding: 96px 0;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  border-radius: 26px;
  border: 1px solid rgba(124, 92, 255, 0.45);
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(124, 92, 255, 0.3), transparent 65%),
    linear-gradient(160deg, rgba(124, 92, 255, 0.16), rgba(34, 195, 240, 0.08)),
    var(--bg-soft);
  overflow: hidden;
}

.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.cta-inner::before {
  top: -120px;
  left: -80px;
  background: #7c5cff;
}

.cta-inner::after {
  bottom: -120px;
  right: -80px;
  background: #22c3f0;
}

.cta-inner h2,
.cta-inner p,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
}

.cta-inner p {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 300px;
  color: var(--text-faint);
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-col a,
.footer-col span {
  color: var(--text-faint);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 13px;
}

.footer-bottom .icp {
  transition: color 0.2s ease;
}

.footer-bottom .icp:hover {
  color: var(--text);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-cta,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .card-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 24px;
    background: rgba(11, 15, 29, 0.97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: calc(100% - 36px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .card-grid,
  .scenario-grid,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 340px;
  }

  .chat {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .chat-list {
    max-height: 230px;
  }

  .fc-1 {
    top: 56px;
    right: -8px;
  }

  .fc-2 {
    bottom: 60px;
    left: -8px;
  }

  .hero-cta .btn-lg {
    width: 100%;
  }

  .cta-inner {
    padding: 52px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
