/* ============================================================
   proxy-ip static-ip-demo · Design System
   简约高级 · Light minimal · 1px hairline · single accent
   ============================================================ */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #101319;
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --line: #e7e8ea;
  --line-strong: #d8dade;
  --accent: #1450d8;
  --accent-ink: #0e3ba8;
  --accent-soft: #eef3fe;
  --ok: #0f8a4d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 19, 25, .04), 0 8px 28px rgba(16, 19, 25, .06);
  --shadow-hover: 0 2px 4px rgba(16, 19, 25, .05), 0 14px 40px rgba(16, 19, 25, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; font-size: 17px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #1450d8, #0a2f80);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: all .18s ease;
}
.nav-links a:hover { color: var(--ink); background: #f0f1f3; }
.nav-links a.active { color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  transition: opacity .18s ease;
}
.nav-cta:hover { opacity: .85; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 999px; padding: 6px 16px;
  font-size: 13px; color: var(--ink-2); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.16;
  max-width: 820px; margin: 0 auto 22px;
}
.hero h1 .em { color: var(--accent); }
.hero p.sub {
  font-size: 18px; color: var(--ink-2); max-width: 620px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); }

/* ---------- Stats strip ---------- */
.stats { padding: 26px 0 60px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.stat { background: var(--surface); padding: 30px 20px; text-align: center; }
.stat .num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.stat .num span { color: var(--accent); }
.stat .lbl { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.015em; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: box-shadow .22s ease, transform .22s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.card h3 { font-size: 18.5px; font-weight: 650; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: #f3f4f6; color: var(--ink-2); border: 1px solid var(--line);
}

/* ---------- Pricing / Region table (静态页) ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.filter-bar button {
  border: 1px solid var(--line-strong); background: var(--surface);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: all .18s ease;
}
.filter-bar button:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-bar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; transition: all .2s ease;
}
.price-card:hover { box-shadow: var(--shadow-hover); }
.price-card .region { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.price-card .flag {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
  color: var(--accent-ink);
}
.price-card .region h4 { font-size: 16.5px; font-weight: 650; }
.price-card .region small { color: var(--ink-3); font-size: 13px; display: block; }
.price-card .stock { font-size: 12.5px; color: var(--ok); margin-bottom: 18px; }
.price-card .price { margin-top: auto; }
.price-card .price .amount { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.price-card .price .unit { color: var(--ink-3); font-size: 13.5px; margin-left: 6px; }
.price-card .price .monthly { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.price-card .buy {
  margin-top: 20px; width: 100%; padding: 11px 0; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink); transition: all .18s ease;
}
.price-card .buy:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.note-bar {
  margin-top: 44px; text-align: center; color: var(--ink-3); font-size: 13.5px;
}

/* ---------- Brand products (动态页) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 24px 30px;
  text-align: center; transition: all .22s ease;
  display: flex; flex-direction: column; align-items: center;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-card .logo-wrap {
  width: 84px; height: 84px; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 20px; background: #fff;
}
.product-card .logo-wrap img, .product-card .logo-wrap svg { width: 100%; height: 100%; }
.product-card h4 { font-size: 16.5px; font-weight: 650; letter-spacing: .01em; }
.product-card .price {
  margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.product-card .price .ph { color: var(--ink-3); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px; text-align: center; transition: all .2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-card .icon {
  width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.contact-card .value { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.contact-card .hint { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); border-radius: 20px; color: #fff;
  padding: 64px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.cta-band p { color: rgba(255,255,255,.65); margin: 14px auto 32px; max-width: 520px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 40px; margin-top: 40px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-inner .brand { font-size: 15px; }
.footer-inner .brand .brand-mark { width: 24px; height: 24px; font-size: 11px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-3); }
.footer-links a:hover { color: var(--ink); }
.footer-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step .no {
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: .1em; margin-bottom: 14px;
}
.step h4 { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 4px; }
.faq-item h4 { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.faq-item p { color: var(--ink-2); font-size: 15px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .price-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .nav-cta { display: none; }
  .hero { padding: 64px 0 56px; }
  .card-grid, .price-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}
