:root {
  --primary: #2f6bff;
  --primary-hover: #1f5bf0;
  --primary-light: #eef3ff;
  --text-1: #1d2129;
  --text-2: #4e5969;
  --text-3: #86909c;
  --border: #e5e6eb;
  --border-light: #f0f1f3;
  --radius: 10px;
  --reveal-duration: 0.7s;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text-1);
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; vertical-align: middle; }
svg { vertical-align: middle; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.site-nav .nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .brand .brand-logo {
  max-height: 36px;
  width: auto;
  display: block;
}

.site-nav .nav-links { display: flex; gap: 28px; margin-left: auto; }

.site-nav .nav-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s ease;
  position: relative;
}

.site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: var(--primary); }

.site-nav .nav-actions { display: flex; align-items: center; gap: 12px; }

.site-nav .nav-links .nav-console-link { display: none; }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-1);
  margin-left: auto;
  padding: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-outline { border-color: var(--border); color: var(--text-1); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-lg { height: 46px; padding: 0 26px; font-size: 15px; }

.hero {
  padding: 84px 0 72px;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero h1 .gradient-text {
  background: linear-gradient(90deg, var(--primary), #7aa5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .hero-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero .hero-stat .num { font-size: 26px; font-weight: 700; color: var(--primary); }
.hero .hero-stat .label { font-size: 13px; color: var(--text-3); }

.hero-visual {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(47, 107, 255, 0.1);
  padding: 22px;
}

.hero-visual .mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.hero-visual .mock-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.hero-visual .mock-head .dot:first-child { background: #f04438; }
.hero-visual .mock-head .dot:nth-child(2) { background: #f5a623; }
.hero-visual .mock-head .dot:nth-child(3) { background: #16b364; }

.hero-visual .mock-url {
  flex: 1;
  height: 22px;
  background: #f5f7fa;
  border-radius: 6px;
  margin-left: 8px;
}

.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }

.mock-grid .mock-card {
  background: #f5f8ff;
  border-radius: 10px;
  padding: 14px;
}

.mock-grid .mock-card .v { font-size: 20px; font-weight: 700; color: var(--primary); }
.mock-grid .mock-card .k { font-size: 12px; color: var(--text-3); }

.mock-chart {
  background: #fafbfc;
  border-radius: 10px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px;
}

.mock-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, #7aa5ff, var(--primary));
  border-radius: 5px 5px 2px 2px;
  opacity: 0.85;
  transform-origin: bottom;
  transform: scaleY(0);
}

.hero-visual.reveal.is-visible .bar {
  animation: barGrow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-visual.reveal.is-visible .bar:nth-child(1) { animation-delay: 0.15s; }
.hero-visual.reveal.is-visible .bar:nth-child(2) { animation-delay: 0.23s; }
.hero-visual.reveal.is-visible .bar:nth-child(3) { animation-delay: 0.31s; }
.hero-visual.reveal.is-visible .bar:nth-child(4) { animation-delay: 0.39s; }
.hero-visual.reveal.is-visible .bar:nth-child(5) { animation-delay: 0.47s; }
.hero-visual.reveal.is-visible .bar:nth-child(6) { animation-delay: 0.55s; }
.hero-visual.reveal.is-visible .bar:nth-child(7) { animation-delay: 0.63s; }
.hero-visual.reveal.is-visible .bar:nth-child(8) { animation-delay: 0.71s; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-chart .bar { transform: none; animation: none !important; }
}

.section { padding: 76px 0; }
.section.gray { background: #f7f9fc; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.section-head .sub-title {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }

.section-head p { color: var(--text-2); font-size: 15px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(47, 107, 255, 0.35);
  box-shadow: 0 12px 32px rgba(47, 107, 255, 0.08);
  transform: translateY(-3px);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step-card { text-align: center; padding: 12px; position: relative; }

.step-card .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  border-top: 2px dashed #c9d8ff;
}

.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-2); }

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

.price-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--primary);
  position: relative;
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.12);
}

.price-card .plan-name { font-size: 16px; font-weight: 600; color: var(--text-2); }

.price-card .plan-price {
  font-size: 40px;
  font-weight: 700;
  margin: 14px 0 4px;
  color: var(--text-1);
}

.price-card .plan-price .unit { font-size: 14px; color: var(--text-3); font-weight: 400; }

.price-card .plan-desc { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }

.price-card ul { flex: 1; margin-bottom: 26px; }

.price-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  padding: 7px 0;
}

.price-card ul li svg { color: var(--success); flex-shrink: 0; }

.cta-band {
  background: linear-gradient(120deg, #2f6bff, #5b8cff);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
}

.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 28px; font-size: 15px; }

.cta-band .btn { background: #fff; color: var(--primary); font-weight: 600; }
.cta-band .btn:hover { background: #f0f5ff; color: var(--primary); }

.site-footer { background: #1d2129; color: #c9cdd4; padding: 48px 0 0; }

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }

.site-footer .footer-brand .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #6aa1ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer p { font-size: 13px; line-height: 1.8; }

.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }

.site-footer ul li { padding: 5px 0; font-size: 13px; }
.site-footer ul li a:hover { color: #fff; }

.site-footer .copyright {
  text-align: center;
  font-size: 12px;
  color: #86909c;
  padding: 20px 0;
}

.page-hero {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  padding: 56px 0 44px;
  text-align: center;
}

.page-hero h1 { font-size: 34px; margin-bottom: 10px; }
.page-hero p { color: var(--text-2); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.about-grid h2 { font-size: 26px; margin-bottom: 16px; }
.about-grid p { color: var(--text-2); margin-bottom: 14px; font-size: 15px; }

.about-panel {
  background: #f7f9fc;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
}

.about-panel .about-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.about-panel .about-row:last-child { border-bottom: none; }
.about-panel .about-row .k { color: var(--text-3); width: 90px; flex-shrink: 0; font-size: 14px; }
.about-panel .about-row .v { color: var(--text-1); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.contact-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 15px; margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--text-2); }

.result-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #f7f9fc; }

.result-card { background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(29, 33, 41, 0.08); padding: 44px 40px; text-align: center; max-width: 460px; width: 100%; }

.result-card .result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.result-card .result-icon.success { background: #e8f8f1; color: #16b364; }
.result-card .result-icon.fail { background: #fdeeec; color: #f04438; }

.result-card h2 { font-size: 22px; margin-bottom: 8px; }
.result-card p { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }

.result-card .result-rows { text-align: left; background: #fafbfc; border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; }
.result-card .result-rows .row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; }
.result-card .result-rows .row .k { color: var(--text-3); }
.result-card .result-rows .row .v { color: var(--text-1); font-weight: 500; }

@media (max-width: 992px) {
  .hero .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-visual { max-width: 560px; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:not(:last-child)::after { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border-light);
  }
  .site-nav .nav-links.show { display: flex; }
  .site-nav .nav-links a { padding: 12px 0; }
  .site-nav .nav-links .nav-console-link { display: block; padding: 12px 0; color: var(--primary); font-weight: 600; }
  .nav-toggle { display: block; }
  .site-nav .nav-inner { position: relative; }
  .site-nav .nav-actions { margin-left: auto; }
  .site-nav .nav-actions .nav-console-btn { display: none; }
  .site-nav .nav-actions .btn-outline { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero .hero-stats { gap: 24px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 26px; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .cta-band h2 { font-size: 24px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .container { padding: 0 16px; }
  .result-card { padding: 32px 24px; }
}

.form-item { margin-bottom: 18px; }
.form-item:last-child { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
}
.input,
.textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-1);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input {
  height: 44px;
  padding: 0 14px;
}
.textarea {
  padding: 12px 14px;
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
.input::placeholder,
.textarea::placeholder { color: var(--text-3); }
.input:hover,
.textarea:hover { border-color: #c9cdd4; }
.input:focus,
.textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}
.form-tip { font-size: 12px; color: var(--text-3); margin-top: 8px; line-height: 1.6; }
.btn-block { display: block; width: 100%; }
.form-msg {
  display: none;
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.form-msg.show { display: block; }
.form-msg.success { background: #e8f5e9; color: #2ba471; }
.form-msg.error { background: #fdeaea; color: #d54941; }
