:root {
  --ink: #0f1c2e;
  --ink-soft: #243447;
  --paper: #f3f6fb;
  --surface: #ffffff;
  --line: rgba(15, 28, 46, 0.08);
  --line-strong: rgba(15, 28, 46, 0.14);
  --accent: #ff6a3d;
  --accent-deep: #e85228;
  --mint: #12b5a7;
  --mint-deep: #0d8f84;
  --sky: #3d7eff;
  --text: #1c2a3a;
  --muted: #667889;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, 0.04), 0 8px 24px rgba(15, 28, 46, 0.05);
  --shadow-md: 0 12px 40px rgba(15, 28, 46, 0.1);
  --nav-h: 4.5rem;
  --max: 70rem;
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --font-display: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(18, 181, 167, 0.16), transparent 55%),
    radial-gradient(800px 420px at 92% 8%, rgba(61, 126, 255, 0.12), transparent 50%),
    radial-gradient(700px 380px at 70% 100%, rgba(255, 106, 61, 0.08), transparent 45%),
    linear-gradient(180deg, #eef3f9 0%, var(--paper) 38%, #eef2f7 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--mint-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

.shell {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand::before {
  content: "147";
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--mint), var(--sky));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(18, 181, 167, 0.28);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  font-weight: 750;
  white-space: nowrap;
}

.brand-sub {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0.2rem;
  background: rgba(15, 28, 46, 0.03);
  border-radius: 999px;
  border: 1px solid var(--line);
}

.nav-links a {
  display: inline-block;
  padding: 0.42rem 0.78rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.48rem 1rem !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.28) !important;
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 0.65rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(92vh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(18, 181, 167, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(61, 126, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #0f1c2e 0%, #16324a 42%, #1a4d5c 78%, #206066 100%);
  z-index: 0;
}

.hero::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: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  z-index: 1;
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: min(40rem, 100%);
  animation: rise 0.85s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #5dffc5;
  box-shadow: 0 0 0 4px rgba(93, 255, 197, 0.2);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: none;
  white-space: nowrap;
  color: #fff;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-mock {
  position: relative;
  z-index: 2;
  animation: rise 1s ease 0.12s both;
}

.app-preview {
  position: relative;
  padding: 0.35rem 0.85rem 0.85rem 0;
}

.app-preview-frame {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #e8ecf1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(15, 28, 46, 0.06);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center right;
  animation: floaty 7s ease-in-out infinite;
}

.app-preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(15, 28, 46, 0.08), transparent 42%),
    linear-gradient(0deg, rgba(15, 28, 46, 0.18), transparent 35%);
  pointer-events: none;
  z-index: 2;
}

.app-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.app-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(15, 28, 46, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  animation: rise 0.7s ease both;
}

.callout::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #5dffc5;
  flex-shrink: 0;
}

.callout-a {
  top: 14%;
  left: -0.4rem;
  animation-delay: 0.2s;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.95), rgba(232, 82, 40, 0.92));
}

.callout-a::before { background: #fff; }

.callout-b {
  top: 38%;
  right: -0.2rem;
  animation-delay: 0.32s;
  background: linear-gradient(135deg, rgba(18, 181, 167, 0.95), rgba(13, 143, 132, 0.92));
}

.callout-c {
  bottom: 5.5%;
  left: 2.2%;
  width: 33%;
  max-width: none;
  min-height: 26%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  white-space: normal;
  line-height: 1.4;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.74rem;
  animation-delay: 0.44s;
  background: #2f62d4;
  border: 1px solid #2f62d4;
  box-shadow: 0 12px 26px rgba(15, 28, 46, 0.28);
}

.callout-c::before { background: #cfe0ff; }

.callout-d {
  bottom: 8%;
  right: 6%;
  animation-delay: 0.56s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.32);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-solid:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint-deep);
}

/* ——— Sections ——— */
.section {
  padding: 4.75rem 0;
}

.section-tight {
  padding: 3.25rem 0;
}

.section-band {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.35rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  background: rgba(18, 181, 167, 0.1);
}

.section-head h1,
.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-head h1,
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-hero {
  padding: 3.4rem 0 1.2rem;
  position: relative;
}

.page-hero .shell {
  max-width: 44rem;
}

/* ——— Feature grid / rail ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-card {
  position: relative;
  padding: 1.45rem 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: rise 0.7s ease both;
}

.feature-card:nth-child(2) { animation-delay: 0.08s; }
.feature-card:nth-child(3) { animation-delay: 0.16s; }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 181, 167, 0.28);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(18, 181, 167, 0.14), rgba(61, 126, 255, 0.12));
  color: var(--mint-deep);
  font-weight: 800;
  font-size: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-rail {
  display: grid;
  gap: 0.85rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.65s ease both;
}

.feature-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-row:nth-child(2) { animation-delay: 0.06s; }
.feature-row:nth-child(3) { animation-delay: 0.12s; }
.feature-row:nth-child(4) { animation-delay: 0.18s; }
.feature-row:nth-child(5) { animation-delay: 0.24s; }

.feature-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--mint-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--ink);
}

.feature-row h3:last-child {
  margin-bottom: 0;
}

.feature-row h3 a {
  color: inherit;
  text-decoration: none;
}

.feature-row h3 a:hover {
  color: var(--mint-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  max-width: 44rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split-visual {
  min-height: 17rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(145deg, rgba(18, 181, 167, 0.95), rgba(15, 28, 46, 0.92) 55%, rgba(61, 126, 255, 0.85)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.04) 12px,
      rgba(255, 255, 255, 0.04) 13px
    );
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: floaty 7s ease-in-out infinite;
}

.split-visual::before {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -2rem;
  right: -2rem;
}

.split-visual::after {
  content: "147备战";
  position: absolute;
  inset: auto 8% 12% auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.03em;
}

.portal-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 720;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 181, 167, 0.35);
  box-shadow: var(--shadow-md);
  color: var(--mint-deep);
}

.portal-list a span {
  color: var(--muted);
  font-weight: 550;
  font-size: 0.9rem;
}

/* ——— Pricing ——— */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.5rem 0 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 750;
  background: #f7f9fc;
}

.price-table td {
  color: var(--ink);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Guide ——— */
.guide-steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.guide-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.guide-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--mint-deep);
  font-weight: 800;
}

.guide-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 750;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
}

/* ——— CTA band ——— */
.cta-band {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(18, 181, 167, 0.2), transparent 60%),
    linear-gradient(135deg, #12233a, #1a3d4f 55%, #1f5a62);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 1.5rem;
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.site-footer-inner {
  display: block;
}

.beian {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.beian a {
  color: inherit;
  text-decoration: none;
}

.beian a:hover {
  color: var(--mint-deep);
}

/* ——— Animations ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.reveal {
  animation: rise 0.75s ease both;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hero-layout,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.75rem;
  }

  .hero-brand {
    white-space: normal;
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .hero-mock {
    max-width: 34rem;
    margin-inline: auto;
  }

  .app-preview {
    padding: 0.5rem 0 0;
  }

  .app-preview-frame {
    transform: none;
  }

  .callout {
    font-size: 0.68rem;
    padding: 0.35rem 0.6rem;
  }

  .callout-a { left: 0.4rem; top: 10%; }
  .callout-b { right: 0.4rem; }
  .callout-c {
    left: 2%;
    bottom: 5%;
    width: 40%;
    min-height: 24%;
  }
  .callout-d { right: 0.8rem; bottom: 6%; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 0.35rem);
    left: 1.2rem;
    right: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-cta {
    margin-left: 0 !important;
    justify-content: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .brand::before {
    width: 1.75rem;
    height: 1.75rem;
  }
}
