:root {
  --bg: #08090c;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --muted: #8e939e;
  --subtle: #5c616b;
  --accent: #ffffff;
  --accent-ink: #09090b;
  --green: #34d399;
  --scroll-progress: 0%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 顶部深空渐变底光（移除所有点阵与粒子） */
body::before {
  content: "";
  position: fixed;
  top: -240px;
  left: 50%;
  width: 1320px;
  height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 62% 55% at 45% 40%, rgba(124, 58, 237, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 45% at 68% 48%, rgba(56, 189, 248, 0.1), transparent 68%);
  filter: blur(48px);
  pointer-events: none;
  z-index: -2;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* 顶部极简导航 + 阅读进度细线 */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 9, 12, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background: rgba(8, 9, 12, 0.86);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, rgba(99, 134, 255, 0.7), rgba(168, 85, 247, 0.8), rgba(52, 211, 153, 0.8));
  pointer-events: none;
}

.nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.28s ease;
}

.brand:hover img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 10px rgba(120, 150, 255, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.18s ease;
}

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

/* 居中杂志感 Hero */
.hero-center {
  position: relative;
  padding: 96px 0 56px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.kv-particles {
  position: absolute;
  top: -90px;
  left: 50%;
  width: min(1360px, 100vw);
  height: calc(100% + 190px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px) saturate(1.18);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 56%, rgba(0, 0, 0, 1) 32%, transparent 86%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 56%, rgba(0, 0, 0, 1) 32%, transparent 86%);
}

.eyebrow,
.hero-center h1,
.hero-sub,
.cta-group,
.hero-metrics {
  animation: heroReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow { animation-delay: 0.04s; }
.hero-center h1 { animation-delay: 0.12s; }
.hero-sub { animation-delay: 0.22s; }
.cta-group { animation-delay: 0.3s; }
.hero-metrics { animation-delay: 0.38s; }

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #c7cbd4;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.eyebrow-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulseRing 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.85;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hero-center h1 {
  font-size: clamp(38px, 5.8vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 25%, rgba(255, 255, 255, 0.66) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 34px;
  font-weight: 400;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.28s ease;
}

.btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes ringSpin {
  to {
    --ring-angle: 360deg;
  }
}

.cta-group .btn:not(.btn-ghost) {
  overflow: visible;
  isolation: isolate;
}

.cta-group .btn:not(.btn-ghost)::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ring-angle),
    #67e8f9,
    #3b82f6,
    #8b5cf6,
    #e879f9,
    #60a5fa,
    #67e8f9
  );
  filter: blur(14px);
  opacity: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.cta-group .btn:not(.btn-ghost)::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--ring-angle),
    #67e8f9,
    #3b82f6,
    #8b5cf6,
    #e879f9,
    #60a5fa,
    #67e8f9
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.cta-group .btn:not(.btn-ghost):hover {
  background: rgba(13, 16, 28, 0.92);
  border-color: transparent;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cta-group .btn:not(.btn-ghost):hover::before {
  opacity: 0.78;
  animation: ringSpin 2.6s linear infinite;
}

.cta-group .btn:not(.btn-ghost):hover::after {
  opacity: 1;
  animation: ringSpin 2.6s linear infinite;
}

.btn-white {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.14);
}

.btn-ver {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-white .btn-ver {
  background: rgba(9, 9, 11, 0.09);
  color: rgba(9, 9, 11, 0.72);
}

.cta-group .btn:not(.btn-ghost):hover .btn-ver {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.modal-btn-primary .btn-ver {
  margin-left: 6px;
  background: rgba(9, 9, 11, 0.09);
  color: rgba(9, 9, 11, 0.72);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 0 14px;
}

.btn-ghost:hover {
  background: transparent;
  border-color: transparent;
  color: var(--text);
}

.hero-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: var(--subtle);
}

.hero-metrics strong {
  color: #d1d5db;
  font-weight: 500;
}

/* 产品大图舞台（无边框，仅背后柔和光晕 + 3D 视差） */
.stage {
  padding: 12px 0 88px;
  perspective: 1400px;
}

.stage-frame {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-frame::before {
  content: "";
  position: absolute;
  inset: 6% 8% -4%;
  background:
    radial-gradient(ellipse at 35% 45%, rgba(99, 134, 255, 0.24), transparent 62%),
    radial-gradient(ellipse at 68% 55%, rgba(168, 85, 247, 0.18), transparent 60%);
  filter: blur(52px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.72;
  animation: stageGlow 8s ease-in-out infinite alternate;
  transition: opacity 0.4s ease;
}

.stage-frame:hover::before {
  opacity: 0.98;
}

@keyframes stageGlow {
  0% {
    transform: scale(0.97) translateY(4px);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.03) translateY(-4px);
    opacity: 0.85;
  }
}

.stage-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.stage-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--subtle);
  letter-spacing: 0.01em;
}

/* 通用段落 */
section {
  padding: 72px 0;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 44px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}

.section-intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-intro p {
  font-size: 15.5px;
  color: var(--muted);
}

/* 滚动渐入动画 */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Bento 特性布局 + 鼠标聚光灯 */
.bento-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.bento-bottom {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(130, 165, 255, 0.11),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.34),
    transparent 45%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.bento-card:hover::before,
.bento-card:hover::after {
  opacity: 1;
}

.bento-label {
  font-size: 12px;
  color: var(--subtle);
  margin-bottom: 14px;
  font-weight: 500;
}

.bento-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.bento-highlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text);
}

.stat-item span {
  font-size: 12px;
  color: var(--subtle);
}

/* 精致交互预览卡片 */
.popover-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(20, 22, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pop-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pop-title img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.pop-title h4 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}

.pop-title span {
  font-size: 11px;
  color: var(--muted);
}

.pop-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.pop-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 8px var(--green);
  animation: statusBreath 2s ease-in-out infinite;
}

.pop-status.idle i {
  background: #71717a;
  box-shadow: none;
  animation: none;
}

@keyframes statusBreath {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.pop-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 12px 0;
}

.pop-btn-main {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #dc3b32;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.pop-btn-main:hover {
  filter: brightness(1.08);
}

.pop-btn-main:active {
  transform: scale(0.98);
}

.pop-btn-main.idle {
  background: #2563eb;
}

.pop-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.pop-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  font-size: 11.5px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

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

.pop-btn:active,
.pop-btn.flash {
  transform: scale(0.96);
  background: rgba(99, 134, 255, 0.22);
  border-color: rgba(99, 134, 255, 0.45);
}

.pop-log {
  margin-top: 10px;
  background: rgba(9, 10, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.55;
  display: none;
  max-height: 76px;
  overflow-y: auto;
}

.pop-log.open {
  display: block;
  animation: logSlide 0.22s ease;
}

@keyframes logSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pop-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--subtle);
  margin-top: 10px;
}

.pop-footer button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.pop-footer button:hover {
  color: var(--text);
}

/* 极简三步引导 */
.steps-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-col {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.step-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(130, 165, 255, 0.85), rgba(52, 211, 153, 0.6), transparent);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.step-col.is-visible::before {
  width: 100%;
}

.step-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--subtle);
  margin-bottom: 12px;
}

.step-col h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

/* 极简分割线 FAQ */
.faq-clean {
  border-top: 1px solid var(--border);
}

.faq-clean details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: border-color 0.2s ease;
}

.faq-clean details:hover {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.faq-clean summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.18s ease;
}

.faq-clean summary:hover {
  color: #fff;
}

.faq-clean summary::after {
  content: "+";
  font-size: 18px;
  color: var(--subtle);
  font-weight: 400;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.faq-clean details[open] summary::after {
  transform: rotate(45deg);
  color: var(--text);
}

.faq-clean details p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  max-width: 720px;
  animation: faqReveal 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.inline-link {
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.inline-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* 页脚 */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0 56px;
  color: var(--subtle);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

@media (max-width: 900px) {
  .bento-top,
  .bento-bottom,
  .steps-line {
    grid-template-columns: 1fr;
  }
  .hero-center {
    padding: 64px 0 40px;
  }
  .nav-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Windows 测试提示弹窗 */
.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.modal-backdrop.open {
  opacity: 1;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(18, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.7);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.24);
  margin-bottom: 14px;
}

.modal-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.modal-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.modal-btn:active {
  transform: scale(0.98);
}

.modal-btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.modal-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
}

.modal-btn-primary {
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
}

.modal-btn-primary:hover {
  background: #eaeaea;
}
