:root {
  --bg: #0B0E17;
  --bg-surface: #131827;
  --bg-elevated: #1A1F35;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --accent: #8B5CF6;
  --accent2: #6366F1;
  --accent-glow: rgba(139, 92, 246, 0.25);
  --gold: #F59E0B;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.2);
  --red: #EF4444;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  --max-w: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-icon { display: flex; align-items: center; }

.brand-highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

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

.nav-action {
  padding: 10px 20px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ── Hero ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(44px, 7vw, 100px) clamp(18px, 5vw, 48px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 30%, rgba(139, 92, 246, 0.12), transparent),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 40% 40% at 60% 20%, rgba(245, 158, 11, 0.05), transparent);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(38px, 6.5vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 2px 12px var(--accent-glow);
}

.primary:hover {
  box-shadow: 0 6px 28px var(--accent-glow);
}

.secondary {
  border-color: var(--border-light);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.large { min-height: 56px; padding: 16px 36px; font-size: 17px; border-radius: 12px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-badges span {
  color: var(--text-muted);
  font-size: 14px;
}

.hero-badges b {
  display: block;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

/* ── Hero visual ── */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}

.card-1 { top: 5%; right: -10px; animation-delay: 0s; }
.card-2 { top: 38%; left: -20px; animation-delay: 0.6s; }
.card-3 { bottom: 8%; right: 5%; animation-delay: 1.2s; }

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

.fc-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  font-size: 16px; color: #fff; font-weight: 900;
  flex-shrink: 0;
}

.fc-text strong { display: block; font-size: 14px; color: var(--text); }
.fc-text span { font-size: 12px; color: var(--text-muted); }

/* Phone mockup */
.hero-phone {
  width: 240px;
  padding: 10px;
  background: #1E2132;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  width: 80px; height: 5px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  background: var(--bg-surface);
  border-radius: 18px;
  min-height: 300px;
}

.phone-msg { display: flex; align-items: flex-end; gap: 8px; }
.phone-msg.to { justify-content: flex-end; }

.msg-avatar {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  font-size: 12px; color: #fff; font-weight: 800;
  flex-shrink: 0;
}

.msg-bubble {
  max-width: 180px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.phone-msg.from .msg-bubble {
  background: var(--bg-elevated);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.phone-msg.to .msg-bubble {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* ── Trust strip ── */
.trust-strip {
  padding: 0 clamp(18px, 5vw, 48px);
  margin-top: -20px;
  position: relative;
  z-index: 3;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  text-align: center;
  padding: 0 16px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-num {
  display: block;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-label {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Sections ── */
.section {
  padding: clamp(54px, 7vw, 100px) clamp(18px, 5vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section.alt {
  max-width: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.alt .section-heading,
.section.alt .advantage-grid,
.section.alt .faq-list,
.section.alt .article-grid,
.section.alt .steps-row,
.section.alt .steps-cta {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
}

/* ── Package cards ── */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.package-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), var(--bg-surface) 40%);
  box-shadow: 0 0 40px var(--accent-glow);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
}

.package-header {
  margin-bottom: 24px;
}

.package-header h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.package-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.package-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-body ul {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.package-body li {
  padding: 8px 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
}

.package-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.package-body .btn { width: 100%; }

/* ── Advantages ── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advantage-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.advantage-card:hover {
  border-color: var(--border-light);
}

.adv-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent);
  border-radius: 10px;
}

.advantage-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Steps ── */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  display: inline-grid;
  width: 56px; height: 56px;
  place-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 14px;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 32px;
  color: var(--text-dim);
  font-size: 24px;
  font-weight: 300;
}

.steps-cta {
  text-align: center;
  margin-top: 32px;
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
}

details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  float: right;
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin: 0;
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Articles ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.article-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
}

.article-card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  padding: clamp(64px, 8vw, 100px) clamp(18px, 5vw, 48px);
  text-align: center;
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(139, 92, 246, 0.15), transparent),
    var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.cta-content p {
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
}

/* ── Footer ── */
.footer {
  padding: 0 clamp(18px, 5vw, 48px);
  background: var(--bg);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

/* ── Article pages ── */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 18px;
}

.article-page h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 8px;
}

.article-page .meta {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 8px;
}

.article-body {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-body h2 {
  margin-top: 36px;
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--text);
}

.article-body p,
.article-body li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.article-body ul {
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Redirect page ── */
.redirect-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(139, 92, 246, 0.15), transparent),
    var(--bg);
}

.redirect-box {
  width: min(480px, 100%);
  padding: 40px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.redirect-box h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.redirect-box p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.loader {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  border: 4px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual { min-height: 360px; }

  .package-grid,
  .advantage-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }

  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }

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

  .floating-card.card-1 { right: 0; top: 0; }
  .floating-card.card-2 { left: 0; top: 35%; }
  .floating-card.card-3 { right: 0; bottom: 0; }
}

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

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .package-grid,
  .advantage-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .trust-items { gap: 16px 0; }

  .hero-badges { gap: 16px; }
  .hero-actions .btn { width: 100%; }

  .floating-card { display: none; }

  .hero-phone { width: 200px; }
}
