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

.lang-toggle {
  position: fixed !important;
  top: 1rem !important;
  right: 1rem !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10001 !important;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border-radius: 2px;
  background: #0A0A0A;
}

.lang-btn {
  padding: 0.45rem 0.85rem;
  min-width: 2.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #666666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}

.lang-btn + .lang-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn:hover:not(.active) {
  color: #999999;
}

[data-lang] { display: none !important; }
html[lang="zh"] [data-lang="zh"] { display: revert !important; }
html[lang="en"] [data-lang="en"] { display: revert !important; }

.lang-block { display: none !important; }
html[lang="zh"] .lang-block[data-lang="zh"] { display: block !important; }
html[lang="en"] .lang-block[data-lang="en"] { display: block !important; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #0A0A0A;
  color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Architecture backdrop shared across all sub-pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.93) 0%, rgba(10,10,10,0.95) 55%, rgba(10,10,10,0.98) 100%),
    url('hero-architecture.jpg') center center / cover no-repeat;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.pricing-page .page {
  max-width: 1460px;
  padding-top: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #A0A0A0;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover { color: #00D4FF; }

.hero {
  text-align: center;
  padding: 32px 0 64px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00D4FF;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #A0A0A0;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

.card {
  position: relative;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-featured {
  background: linear-gradient(180deg, #1A1A1A 0%, #141414 100%);
  border: 2px solid #00D4FF;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.2), 0 24px 48px rgba(0, 212, 255, 0.08);
  transform: scale(1.03);
  z-index: 1;
}

.card-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 28px 56px rgba(0, 212, 255, 0.12);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00D4FF;
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.card-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A0A0A0;
  margin-bottom: 8px;
}

.card-price {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.card-price span {
  font-size: 16px;
  font-weight: 400;
  color: #666;
}

.card-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

.features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #A0A0A0;
  margin-bottom: 12px;
}

.features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.12);
  color: #00D4FF;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}

.card-featured .features li { color: #CCCCCC; }

.btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #FFFFFF;
}

.btn:hover {
  border-color: #00D4FF;
  color: #00D4FF;
  transform: translateY(-1px);
}

.btn-primary {
  background: #00D4FF;
  border-color: #00D4FF;
  color: #0A0A0A;
}

.btn-primary:hover {
  background: #33DDFF;
  border-color: #33DDFF;
  color: #0A0A0A;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.compare-wrap {
  overflow-x: auto;
  margin-bottom: 80px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141414;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.compare-table th {
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.03);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  color: #A0A0A0;
}

.compare-table th.col-pro {
  background: rgba(0, 212, 255, 0.08);
  color: #00D4FF;
}

.compare-table td.col-pro {
  background: rgba(0, 212, 255, 0.04);
}

.compare-table tr:last-child td { border-bottom: none; }

.check-yes { color: #00D4FF; font-weight: 600; }
.check-no { color: #444; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  padding: 40px 32px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr; }
}

.trust-item {
  text-align: center;
}

.trust-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  font-size: 20px;
}

.trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 13px;
  color: #666;
}

.checkout-note {
  max-width: 640px;
  margin: 0 auto 64px;
  padding: 20px 24px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 10px;
  text-align: center;
}

.checkout-note p:first-child {
  font-size: 14px;
  color: #CCCCCC;
  margin-bottom: 6px;
}

.checkout-note p:last-child {
  font-size: 13px;
  color: #666;
}

.site-footer {
  padding: 24px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #666;
  font-size: 13px;
}

.site-footer .footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.site-footer nav a {
  color: #A0A0A0;
  text-decoration: none;
  margin: 0;
  padding: 2px 6px;
  font-size: 13px;
  transition: color 0.2s;
}

.site-footer .footer-sep {
  color: #333;
  font-size: 11px;
  margin: 0 1px;
  user-select: none;
}

.site-footer nav a:hover { color: #00D4FF; }

.site-footer .copy {
  margin-top: 6px;
  font-size: 11px;
  color: #444;
}

/* ── Pricing page (Stripe-level layout) ── */

.pricing-page .hero-pricing {
  padding: 10px 0 16px;
  max-width: 800px;
}

.pricing-page .hero-label {
  margin-bottom: 10px;
}

.pricing-page .hero-tagline {
  font-size: 15px;
  color: #00D4FF;
  line-height: 1.5;
  text-align: center;
  margin: -6px auto 18px;
  max-width: 560px;
  letter-spacing: 0.01em;
}

.pricing-page .hero-pricing h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.pricing-page .hero-pricing p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #888;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-page .cards-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: 40px;
  padding: 8px 0;
}

@media (max-width: 1180px) {
  .pricing-page .cards-pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 960px) {
  .pricing-page .cards-pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    padding: 0;
  }

  .pricing-page .card-side,
  .pricing-page .card-pro {
    min-height: auto;
  }
}

.pricing-page .cards-pricing .card {
  min-height: 440px;
  padding: 24px 24px;
  height: 100%;
}

.pricing-page .cards-pricing .card-desc {
  margin-bottom: 16px;
  line-height: 1.4;
}

.pricing-page .cards-pricing .features {
  margin-bottom: 20px;
}

.pricing-page .cards-pricing .features li {
  margin-bottom: 8px;
  line-height: 1.35;
}

.pricing-page .cards-pricing .card-price {
  font-size: 32px;
}

.pricing-page .card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 4px;
}

.pricing-page .card-price-row .card-price {
  margin-bottom: 0;
}

.pricing-page .plan-credit-grant {
  color: #62D6AD;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pricing-page .cards-pricing .card-featured {
  transform: none;
}

.pricing-page .cards-pricing .card-featured:hover {
  transform: translateY(-4px);
}

.pricing-page .card-side {
  opacity: 1;
}

.pricing-page .card-side:hover {
  transform: translateY(-4px);
}

.pricing-page .card-pro {
  z-index: 2;
  border: 2px solid #00D4FF;
  background: linear-gradient(165deg, #1C1C1C 0%, #121212 50%, #0F1418 100%);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.25),
    0 0 60px rgba(0, 212, 255, 0.12),
    0 32px 64px rgba(0, 0, 0, 0.5);
  animation: proGlowPulse 4s ease-in-out infinite;
}

.pricing-page .card-pro:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.4),
    0 0 80px rgba(0, 212, 255, 0.18),
    0 40px 72px rgba(0, 0, 0, 0.55);
}

.pricing-page .card-pro .feature-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: #7FD9F0;
}

@keyframes proGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 212, 255, 0.25),
      0 0 48px rgba(0, 212, 255, 0.1),
      0 32px 64px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 212, 255, 0.45),
      0 0 72px rgba(0, 212, 255, 0.2),
      0 36px 72px rgba(0, 0, 0, 0.55);
  }
}

.pricing-page .card-studio {
  z-index: 3;
  border: 1px solid rgba(129, 140, 200, 0.45);
  background: linear-gradient(165deg, #171923 0%, #12141C 50%, #0E0F16 100%);
  box-shadow:
    0 0 0 1px rgba(129, 140, 200, 0.14),
    0 0 48px rgba(129, 140, 200, 0.10),
    0 32px 64px rgba(0, 0, 0, 0.55);
  animation: studioGlowPulse 5s ease-in-out infinite;
}

.pricing-page .card-studio:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(129, 140, 200, 0.3),
    0 0 72px rgba(129, 140, 200, 0.16),
    0 40px 72px rgba(0, 0, 0, 0.6);
}

@keyframes studioGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(129, 140, 200, 0.14),
      0 0 40px rgba(129, 140, 200, 0.09),
      0 32px 64px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(129, 140, 200, 0.26),
      0 0 60px rgba(129, 140, 200, 0.15),
      0 36px 72px rgba(0, 0, 0, 0.6);
  }
}

.badge-studio {
  background: #9AA3C9;
  color: #12141C;
}

.pricing-page .card-studio .plan-label-studio {
  color: #AEB4D0;
  font-weight: 500;
}

.pricing-page .card-studio .card-tagline {
  color: #ADB0BE;
  border-bottom-color: rgba(129, 140, 200, 0.14);
}

.pricing-page .card-studio .core-value {
  display: block;
  margin-top: 12px;
  color: #AEB4D0;
  font-weight: 600;
}

.pricing-page .card-studio .features li {
  color: #C9CCD6;
}

.pricing-page .card-studio .features li::before {
  background: rgba(129, 140, 200, 0.14);
  color: #AEB4D0;
}

.pricing-page .card-studio .btn-select {
  border-color: rgba(129, 140, 200, 0.45);
  color: #DADDE8;
}

.pricing-page .card-studio .btn-select:hover {
  background: #9AA3C9;
  border-color: #9AA3C9;
  color: #12141C;
}

.pricing-page .card-enterprise {
  border-color: rgba(198, 168, 120, 0.3);
  background:
    linear-gradient(165deg, rgba(198, 168, 120, 0.07) 0%, #14120D 45%, #100F0B 100%);
}

.pricing-page .card-enterprise .plan-label-enterprise,
.pricing-page .card-enterprise .card-price-custom,
.pricing-page .card-enterprise .core-value {
  color: #D6BC8C;
}

.pricing-page .card-enterprise .features li {
  color: #DAD1BE;
}

.pricing-page .card-enterprise .features li::before {
  background: rgba(198, 168, 120, 0.14);
  color: #D6BC8C;
}

.pricing-page .card-enterprise .btn-select {
  border-color: rgba(198, 168, 120, 0.4);
  color: #D6BC8C;
}

.pricing-page .card-enterprise .btn-select:hover {
  background: #D6BC8C;
  border-color: #D6BC8C;
  color: #100F0B;
}

.pricing-page .plan-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

.pricing-page .plan-label-featured {
  color: #00D4FF;
  font-weight: 500;
}

.pricing-page .card-tagline {
  font-size: 14px;
  color: #777;
  margin-bottom: 24px;
  line-height: 1.5;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-page .card-pro .card-tagline {
  color: #999;
  border-bottom-color: rgba(0, 212, 255, 0.12);
}

.pricing-page .cards-pricing .features {
  margin-bottom: 0;
}

.pricing-page .cards-pricing .btn-select {
  margin-top: auto;
}

.pricing-page .features li {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.pricing-page .card-pro .features li {
  color: #D0D0D0;
}

.pricing-page .trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 20px 24px;
  margin-bottom: 48px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.pricing-page .trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.pricing-page .trust-bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00D4FF;
  flex-shrink: 0;
  opacity: 0.8;
}

.pricing-page .section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.pricing-page .section-subtitle {
  margin-bottom: 48px;
}

.pricing-page .compare-wrap {
  margin-bottom: 96px;
}

/* Pricing — subtle selection CTA */
.pricing-page .btn-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #A0A0A0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pricing-page .btn-select:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  transform: none;
}

.pricing-page .card-pro .btn-select {
  border-color: rgba(0, 212, 255, 0.25);
  color: #CCCCCC;
}

.pricing-page .card-pro .btn-select:hover {
  border-color: rgba(0, 212, 255, 0.5);
  color: #00D4FF;
}

/* ── Checkout page (Stripe confirmation step) ── */

.checkout-page .hero-checkout {
  text-align: left;
  max-width: none;
  padding: 16px 0 32px;
  margin: 0;
}

.checkout-page .hero-checkout h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.checkout-page .hero-checkout p {
  font-size: 16px;
  color: #888;
  max-width: 520px;
}

.funnel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 32px;
  font-size: 13px;
}

.funnel-step {
  color: #555;
  letter-spacing: 0.02em;
}

.funnel-step.funnel-done {
  color: #888;
}

.funnel-step.funnel-active {
  color: #00D4FF;
  font-weight: 600;
}

.funnel-arrow {
  color: #333;
  font-size: 12px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-summary {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 36px 32px;
}

.checkout-featured-plan .checkout-summary {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 48px rgba(0, 212, 255, 0.06);
}

.checkout-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.checkout-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.checkout-summary h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.checkout-page .plan-label {
  font-size: 13px;
  color: #888;
}

.change-plan {
  flex-shrink: 0;
  font-size: 13px;
  color: #00D4FF;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity 0.2s;
}

.change-plan:hover { opacity: 0.8; }

.checkout-page .card-tagline {
  font-size: 14px;
  color: #777;
  margin: 16px 0 24px;
  padding-bottom: 0;
  border: none;
}

.checkout-price-row {
  margin-bottom: 8px;
}

.checkout-page .card-price {
  font-size: 40px;
  margin-bottom: 6px;
}

.checkout-billing {
  font-size: 13px;
  color: #666;
}

.checkout-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 28px 0;
}

.checkout-recap-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 16px;
}

.checkout-page .features {
  margin-bottom: 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #A0A0A0;
}

.checkout-total-row strong {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.checkout-actions {
  position: sticky;
  top: 24px;
}

.checkout-trust {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.checkout-trust .trust-item {
  display: flex;
  text-align: left;
  gap: 14px;
  align-items: flex-start;
}

.checkout-trust .trust-icon {
  margin: 0;
  width: 36px;
  height: 36px;
  font-size: 16px;
  flex-shrink: 0;
}

.checkout-trust .trust-item h3 {
  font-size: 13px;
  margin-bottom: 2px;
}

.checkout-trust .trust-item p {
  font-size: 12px;
}

.btn-pay {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
}

.checkout-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

/* ── Success page ── */

.success-page .page {
  max-width: 560px;
  padding-top: 40px;
  padding-bottom: 56px;
}

.success-card {
  text-align: center;
  background: linear-gradient(180deg, #161816 0%, #141414 100%);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 20px;
  padding: 56px 40px 48px;
  margin-top: 40px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(52, 211, 153, 0.06);
}

.success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
  border: 2px solid rgba(52, 211, 153, 0.35);
  border-radius: 50%;
  animation: successPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 36px rgba(52, 211, 153, 0.35);
  }
}

.success-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.success-subtitle {
  font-size: 18px;
  color: #A0A0A0;
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.5;
}

.success-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #CCCCCC;
  margin-bottom: 32px;
}

.success-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  flex-shrink: 0;
}

.success-trust {
  list-style: none;
  text-align: left;
  max-width: 340px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.success-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.success-trust li:last-child {
  margin-bottom: 0;
}

.success-trust li::before {
  content: "✓";
  flex-shrink: 0;
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
  opacity: 0.85;
}

.success-cta-block {
  margin-bottom: 40px;
}

.btn-success {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 16px 24px;
  background: #34D399;
  border: 1px solid #34D399;
  color: #0A0A0A;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-success:hover {
  background: #4ADE80;
  border-color: #4ADE80;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.25);
}

.success-cta-hint {
  margin-top: 14px;
  font-size: 13px;
  color: #555;
}

.success-next {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.success-next-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 14px;
}

.success-next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 200px;
  margin: 0 auto;
  counter-reset: steps;
}

.success-next-list li {
  font-size: 13px;
  color: #555;
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-next-list li::before {
  content: counter(steps);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

/* ── Legal pages (Terms, Privacy, Refund) ── */

.legal-page {
  background: #0A0A0A;
}

.legal-page .legal-content {
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.legal-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 16px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-updated {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
}

.legal-intro {
  font-size: 15px;
  color: #888;
  line-height: 1.65;
  max-width: 600px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 14px;
  color: #888;
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #888;
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-section ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #555;
  font-weight: 700;
}

.legal-link {
  color: #00D4FF;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.legal-link:hover {
  opacity: 0.8;
}

.legal-contact {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #666;
}

.site-product-description {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #888;
  text-align: center;
}

.legal-page .site-product-description {
  text-align: left;
  margin: 12px 0 0;
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-page .hero-checkout .site-product-description,
.pricing-page .hero-pricing .site-product-description {
  margin-top: 16px;
  text-align: left;
}

.checkout-product-line {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

button.btn {
  font-family: inherit;
  appearance: none;
}

/* Contact modal — 客户联系信息 */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal[hidden] {
  display: none !important;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.contact-modal-panel {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow: hidden;
  background: #0f1219;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-modal-header h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.contact-modal-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.contact-modal-close:hover {
  color: #fff;
}

.contact-modal-form {
  padding: 1.25rem 1.5rem 1.5rem;
  max-height: calc(90vh - 3.5rem);
  overflow-y: auto;
}

.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-field {
  display: block;
  margin-bottom: 0.75rem;
}

.contact-field span:first-child {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: rgba(96, 165, 250, 0.85);
}

.contact-field input.is-error,
.contact-field textarea.is-error {
  border-color: rgba(239, 68, 68, 0.5);
}

.contact-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-field select {
  appearance: none;
  color-scheme: dark;
  background-color: #0f1219;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cccccc' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.contact-field select option {
  background-color: #0f1219;
  color: #ffffff;
}

.contact-field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  color: #f87171;
  min-height: 0.9rem;
}

.contact-form-error {
  margin-bottom: 0.5rem;
}

.contact-modal-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-modal-submit:hover:not(:disabled) {
  background: #3b82f6;
}

.contact-modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-modal-success {
  padding: 3rem 1.5rem;
  text-align: center;
}

.contact-success-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.contact-success-hint {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 540px) {
  .contact-modal-grid {
    grid-template-columns: 1fr;
  }
}
