:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-2: #10141c;
  --card: rgba(18, 22, 30, 0.9);
  --muted: #9aa3b2;
  --text: #f2f4f7;
  --accent: #29d391;
  --accent-2: #19b37f;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.loaded .hero-copy,
body.loaded .hero-card,
body.loaded .hero-left,
body.loaded .hero-right,
body.loaded .section {
  opacity: 1;
  transform: translateY(0);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top right, rgba(41, 211, 145, 0.18), transparent 40%),
              radial-gradient(circle at 10% 20%, rgba(64, 130, 255, 0.14), transparent 45%),
              var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
}

.bg-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 { background: #29d391; top: -120px; left: 10%; }
.orb-2 { background: #4c6fff; bottom: -140px; right: 8%; }

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-logo {
  font-size: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(44, 199, 154, 0.14);
  border: 1px solid rgba(44, 199, 154, 0.45);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

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

.hero {
  padding: 40px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.hero-copy,
.hero-card,
.section,
.hero-left,
.hero-right {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero-card {
  transition-delay: 120ms;
}

.section:nth-of-type(1) { transition-delay: 140ms; }
.section:nth-of-type(2) { transition-delay: 200ms; }
.section:nth-of-type(3) { transition-delay: 260ms; }
.section:nth-of-type(4) { transition-delay: 320ms; }
.section:nth-of-type(5) { transition-delay: 380ms; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(41, 211, 145, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.hero-left h1 {
  margin: 0 0 10px;
  font-size: 40px;
}

.subtitle {
  color: var(--muted);
  line-height: 1.7;
}

.hero-metrics {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.metric {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: transform 200ms ease, border-color 200ms ease;
}

.metric:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 211, 145, 0.4);
}

.metric-value {
  font-weight: 700;
  font-size: 18px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 22px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.guarantee-mini {
  margin-top: 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.guarantee-title {
  font-size: 20px;
  font-weight: 700;
}

.guarantee-desc {
  color: var(--muted);
  font-size: 14px;
}

.plan-dark {
  width: min(400px, 92vw);
  background: #0c121e;
  color: #eef3f7;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 30px 60px rgba(8, 12, 20, 0.35);
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #cfe3ff;
}

.plan-dark h3 {
  margin: 16px 0 12px;
  font-size: 20px;
}

.plan-price-dark {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.plan-price-dark span {
  font-size: 14px;
  color: #a5b4c2;
  font-weight: 500;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #d6dee8;
}

.plan-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #9cd9c3;
  font-size: 13px;
}

.plan-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.card-title {
  font-weight: 600;
  margin-bottom: 14px;
}

.input-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}


.input-group input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
}

button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06110b;
  width: 100%;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(25, 179, 127, 0.35);
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary:hover,
.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.tip {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(41, 211, 145, 0.1);
  color: var(--accent);
  font-size: 13px;
}

.section {
  padding: 50px 0;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 8px;
}

.section-header p {
  color: var(--muted);
}

.plan-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.plan-price {
  color: var(--accent);
  font-weight: 700;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.plan-features li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

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

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 211, 145, 0.35);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(41, 211, 145, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
}

.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 211, 145, 0.3);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 211, 145, 0.25);
}

.faq-item p { color: var(--muted); }

.guarantee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}

.guarantee ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
  animation: fadeIn 200ms ease;
}

.modal.show { display: flex; }

.modal-card {
  background: #121621;
  border-radius: 20px;
  padding: 26px;
  width: min(420px, 92vw);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  animation: popIn 240ms ease;
}

.modal-wide {
  width: min(720px, 94vw);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.contact-lines .label {
  font-size: 12px;
  color: var(--muted);
}

.contact-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
}

.invite-wrap {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: none;
  gap: 8px;
}

.invite-title {
  font-weight: 600;
  font-size: 14px;
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.invite-row a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}

.invite-tip {
  font-size: 12px;
  color: var(--muted);
}

.invite-email {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.invite-steps {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.muted { color: var(--muted); font-size: 13px; }

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.stepper-item {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.stepper-item.active {
  background: rgba(41, 211, 145, 0.15);
  color: var(--accent);
}

.panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.pay-options {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.pay-option {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
}

.pay-option span { color: var(--muted); font-size: 12px; }

.pay-option.active { border-color: var(--accent); }

.qr-box {
  height: 220px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  margin: 16px 0;
  color: var(--muted);
  position: relative;
}

.qr-box img {
  width: 200px;
  height: 200px;
  display: none;
}

.qr-placeholder {
  position: absolute;
  color: var(--muted);
  font-size: 13px;
}

.qr-box.loading .qr-placeholder {
  display: block;
}

.qr-box:not(.loading) .qr-placeholder {
  display: none;
}

.price {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(12px, -18px); }
  100% { transform: translate(0, 0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .metrics-3 { grid-template-columns: 1fr; }
  .plan-dark { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .plan-features { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
