:root {
  --bg: #0b0d17;
  --bg-elev: #131626;
  --surface: #1a1d33;
  --border: #252a47;
  --text: #e6e8f5;
  --text-dim: #9aa0c2;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --max-width: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang SC",
    "Helvetica Neue", "Microsoft JhengHei", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 23, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--text-dim); font-size: 14px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang-switch { display: flex; gap: 8px; font-size: 13px; }
.lang-switch a {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.lang-switch a:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.lang-switch a.active { background: var(--surface); color: var(--text); border-color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(124, 92, 255, 0.5); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent-2); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(124, 92, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .providers {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero .providers .pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Sections ===== */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
section .lead {
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 0 40px;
  font-size: 17px;
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}
.feature-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.15);
  color: var(--accent-2);
  font-size: 20px;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}
.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.1), var(--bg-elev));
}
.pricing-card .name { font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card .price { font-size: 36px; font-weight: 800; margin: 12px 0 4px; }
.pricing-card .price small { font-size: 14px; color: var(--text-dim); font-weight: 500; }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; }
.pricing-card li { padding: 6px 0; color: var(--text-dim); font-size: 15px; }
.pricing-card li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }

/* ===== FAQ ===== */
.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-dim);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--gradient);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  margin: 0 auto;
}
.cta-banner h2 {
  color: #fff;
  margin-top: 0;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin-bottom: 28px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav { display: none; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 40px; }
}
