:root {
  --ink: #151d2f;
  --muted: #607086;
  --line: #dbe4ee;
  --panel: #ffffff;
  --soft: #f5f8fb;
  --blue: #2463eb;
  --teal: #119c91;
  --red: #d34242;
  --shadow: 0 18px 46px rgba(21, 29, 47, .10);
  --max: 1180px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfcfe; line-height: 1.65; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(251,252,254,.93); backdrop-filter: blur(16px); }
.nav { max-width: var(--max); min-height: 70px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand.side { padding: 8px 6px 22px; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 10px 22px rgba(36,99,235,.22); font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 6px; color: #4d5a6f; font-size: 14px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: #edf3f8; }
.nav-actions { display: flex; gap: 10px; }
.primary, .ghost { min-height: 42px; border-radius: 8px; padding: 9px 15px; border: 1px solid var(--line); font-weight: 850; }
.primary { border-color: #1d55ca; background: var(--blue); color: white; }
.ghost { background: white; color: var(--ink); box-shadow: 0 8px 18px rgba(21,29,47,.05); }
.full { width: 100%; margin-top: 18px; }
.hero { max-width: var(--max); min-height: calc(100vh - 70px); margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: 42px; align-items: center; }
.hero-copy h1, .page-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 74px); line-height: 1.02; letter-spacing: 0; }
.hero-copy p, .page-hero p { max-width: 760px; margin: 22px 0 0; color: #40506a; font-size: 19px; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 16px; color: var(--blue); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow span { width: 8px; height: 8px; border-radius: 99px; background: var(--teal); box-shadow: 0 0 0 5px rgba(17,156,145,.14); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; min-height: 520px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #eaf0f6; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,15,30,.62)); }
.floating-panel { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; padding: 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); display: grid; gap: 4px; }
.floating-panel span { color: var(--muted); }
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.feature-grid, .pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card, .price-card { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 22px; box-shadow: 0 10px 26px rgba(21,29,47,.05); }
.card h3, .price-card h3 { margin: 0 0 9px; font-size: 20px; }
.card p, .price-card li { color: var(--muted); }
.tag { display: inline-flex; margin-bottom: 12px; min-height: 28px; padding: 3px 9px; border-radius: 999px; color: #08756c; background: #e9f8f6; font-size: 12px; font-weight: 900; }
.page-hero { max-width: var(--max); margin: 0 auto; padding: 70px 24px 44px; }
.page-hero.compact h1 { font-size: clamp(38px, 5vw, 60px); }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.source-card { min-height: 236px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; display: grid; grid-template-columns: 42% 1fr; box-shadow: 0 10px 26px rgba(21,29,47,.05); }
.source-card img { width: 100%; height: 100%; object-fit: cover; }
.source-card div { padding: 20px; }
.source-card h3 { margin: 0 0 6px; font-size: 26px; }
.source-card p { margin: 0 0 14px; color: var(--muted); }
.source-card b { color: #33445c; font-size: 13px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f7fa; color: #33445c; white-space: nowrap; }
td { color: #526176; }
tr:last-child td { border-bottom: 0; }
.price { margin: 14px 0; font-size: 34px; line-height: 1; font-weight: 950; }
.price small { color: var(--muted); font-size: 14px; font-weight: 700; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.price-card.highlight { border-color: rgba(36,99,235,.48); box-shadow: 0 16px 38px rgba(36,99,235,.14); }
.console-layout { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 260px 1fr; }
.sidebar { border-right: 1px solid var(--line); background: #f7fafc; padding: 18px; }
.side-link { width: 100%; min-height: 42px; margin: 3px 0; text-align: left; border: 0; border-radius: 8px; padding: 9px 12px; background: transparent; color: #4b596e; font-weight: 800; }
.side-link.active, .side-link:hover { background: white; color: var(--blue); box-shadow: 0 8px 18px rgba(21,29,47,.05); }
.dashboard { min-width: 0; padding: 28px; }
.dash-top { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 20px; }
.dash-top h1 { margin: 0; font-size: 32px; }
.dash-top p { margin: 4px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 18px; }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { display: block; margin-top: 8px; font-size: 30px; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 20px; box-shadow: 0 10px 26px rgba(21,29,47,.05); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.amounts button { min-width: 92px; border: 1px solid var(--line); background: #f8fbfd; border-radius: 8px; padding: 10px; font-weight: 850; }
.amounts button.active { border-color: var(--blue); color: var(--blue); background: #eef4ff; }
.input { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 360px; border-radius: 8px; padding: 13px 15px; color: white; background: #162033; box-shadow: var(--shadow); }
@media (max-width: 920px) {
  .nav { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .nav-actions { width: 100%; }
  .hero, .feature-grid, .pricing, .source-grid, .console-layout, .stat-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { min-height: 360px; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .nav-links { width: 100%; overflow-x: auto; }
  .hero, .section, .page-hero, .dashboard { padding-left: 18px; padding-right: 18px; }
  .source-card { grid-template-columns: 1fr; }
  .source-card img { height: 190px; }
  .hero-copy h1, .page-hero h1 { font-size: 40px; }
}
