/* ===== 基础变量与重置 ===== */
:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #152a4d;
  --navy-600: #1e3a6a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), #d97706);
  color: #fff;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.5); }

/* ===== 导航 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.logo-text em { font-style: normal; color: var(--gold-500); margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500;
  color: var(--ink-700);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 158, 11, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  z-index: -1;
}
.hero-bg::after {
  content: "";
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner { max-width: 820px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 660px;
}
.lead code {
  background: rgba(255,255,255,0.12);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 16px;
  color: var(--gold-300);
  font-family: "Inter", monospace;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(120deg, #fff, var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll 1.8s infinite;
}
@keyframes scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== 通用 Section ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--ink-100); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--gold-300); }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-500); font-size: 16px; }

/* ===== 域名卡片 ===== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.domain-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}
.domain-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}
.card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%);
  pointer-events: none;
}
.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--gold-500), #d97706);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 18px;
}
.domain-name {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  word-break: break-all;
}
.tld { color: var(--blue-600); }
.domain-desc { color: var(--ink-500); font-size: 14px; margin-bottom: 18px; min-height: 44px; }
.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.domain-tags li {
  padding: 4px 10px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 12px;
  border-radius: 6px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.price {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-800);
}
.price-note {
  font-size: 13px;
  color: var(--gold-500);
  font-weight: 600;
}

/* 打包 */
.bundle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  color: #fff;
  flex-wrap: wrap;
}
.bundle h4 { font-size: 20px; margin-bottom: 6px; }
.bundle p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}
.feature:hover {
  border-color: var(--blue-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.04));
  color: var(--blue-600);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.feature p { color: var(--ink-500); font-size: 14px; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.step-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink-100);
  margin-bottom: 10px;
  line-height: 1;
}
.steps li:nth-child(1) .step-num { color: rgba(37,99,235,0.25); }
.steps li:nth-child(2) .step-num { color: rgba(37,99,235,0.35); }
.steps li:nth-child(3) .step-num { color: rgba(37,99,235,0.45); }
.steps li:nth-child(4) .step-num { color: rgba(37,99,235,0.55); }
.steps h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.steps p { color: var(--ink-500); font-size: 13px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--ink-300);
  border-radius: 12px;
  padding: 0 22px;
  margin-bottom: 14px;
  transition: all 0.2s;
}
.faq details[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue-600);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 0 20px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(37, 99, 235, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  margin: 12px 0 16px;
  letter-spacing: -0.5px;
}
.lead.light { color: rgba(255,255,255,0.75); }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ci-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold-300);
}
.contact-list b { display: block; font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 500; }
.contact-list span { font-size: 15px; font-weight: 600; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-700);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-300);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.contact-form textarea { resize: vertical; }
.form-hint {
  text-align: center;
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 12px;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #ecfdf5;
  color: #047857;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}
.form-success.show { display: block; animation: pop 0.4s ease; }
@keyframes pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-300); }
.footer-domains b { display: block; color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer-domains span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  font-family: "Inter", monospace;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== 滚动出现动画 ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .domains-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px; right: 0;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 68px);
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 28px; }
  .bundle { flex-direction: column; align-items: flex-start; }
}
