:root {
  --bg: #0a0e17;
  --bg-soft: #111726;
  --card: #151c2c;
  --card-2: #1a2336;
  --line: #24304a;
  --text: #e6edf7;
  --muted: #9fb0c9;
  --cyan: #37d0e0;
  --cyan-2: #5eead4;
  --amber: #f5b342;
  --gold: #ffd25a;
  --silver: #cfd8e6;
  --bronze: #d08b4f;
  --iron: #7f8ca3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(55, 208, 224, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(245, 179, 66, 0.06), transparent 55%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-2); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 23, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .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: 18px; letter-spacing: .3px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--amber)); box-shadow: 0 0 14px var(--cyan); }
.nav nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 84px 0 56px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: .5px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--cyan), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { margin: 18px auto 0; max-width: 680px; color: var(--muted); font-size: 18px; }
.hero .cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-size: 15px;
}
.btn-primary { background: linear-gradient(120deg, var(--cyan), var(--cyan-2)); color: #04222a; box-shadow: 0 8px 22px rgba(55, 208, 224, 0.28); }
.btn-primary:hover { color: #04222a; filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }

/* Sections */
section { padding: 52px 0; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 38px; }

/* Feature grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .ic { font-size: 22px; margin-bottom: 10px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan.pop { border-color: var(--cyan); box-shadow: 0 12px 34px rgba(55, 208, 224, 0.22); }
.plan .tag { position: absolute; top: -12px; right: 18px; background: linear-gradient(120deg, var(--cyan), var(--cyan-2)); color: #04222a; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan .name { font-size: 20px; font-weight: 700; }
.plan .name.iron { color: var(--iron); }
.plan .name.bronze { color: var(--bronze); }
.plan .name.silver { color: var(--silver); }
.plan .name.gold { color: var(--gold); }
.plan .price { margin: 12px 0 4px; font-size: 34px; font-weight: 800; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .cap { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.plan ul { list-style: none; margin: 6px 0 20px; }
.plan ul li { padding: 6px 0 6px 24px; position: relative; color: var(--text); font-size: 14px; border-top: 1px dashed rgba(255,255,255,0.05); }
.plan ul li:first-child { border-top: none; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.plan ul li.off { color: #61708c; }
.plan ul li.off::before { content: "—"; color: #43506b; }
.plan .foot { margin-top: auto; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(120deg, var(--cyan), var(--amber)); color: #04222a; font-weight: 800; margin-bottom: 12px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 620px; }
table.matrix th, table.matrix td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14px; }
table.matrix thead th { background: var(--card-2); color: var(--text); font-weight: 700; }
table.matrix tbody td:first-child { text-align: left; color: var(--muted); }
table.matrix .yes { color: var(--cyan); font-weight: 700; }
table.matrix .no { color: #52607d; }

/* Contact */
.contact-card {
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
}
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.contact-item .label { color: var(--muted); font-size: 13px; }
.contact-item .value { font-size: 18px; font-weight: 700; margin-top: 4px; word-break: break-all; }

/* Prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); margin: 8px 0; }
.prose ul, .prose ol { padding-left: 22px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer a { color: var(--muted); margin-left: 16px; }
.footer a:hover { color: var(--text); }

.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 14px 16px; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .grid-3, .pricing, .steps, .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav nav a { margin-left: 14px; font-size: 14px; }
}
