/* 北京陆边形网络科技有限公司 - 静态企业官网样式表
 * 零外部 CDN 依赖，适配桌面端 / 平板 / 移动端，国内访问秒开
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-accent: #eff6ff;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --border-blue: #bfdbfe;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #38bdf8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px -15px rgba(15, 23, 42, 0.16);
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==================== Header & Navigation ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-cn {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.4px;
}

.brand-en {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 1.2px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-cta {
  padding: 9px 18px !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  margin-left: 6px;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b132b 0%, #15224b 54%, #1e3a8a 100%);
  color: #ffffff;
  padding: 88px 0 82px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.22), transparent 44%),
    radial-gradient(circle at 12% 85%, rgba(37, 99, 235, 0.24), transparent 46%),
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.hero-inner > *,
.about-grid > *,
.contact-banner > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.34);
  color: #bae6fd;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(90deg, #7dd3fc 0%, #ffffff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.36);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Hero Visual Card */
.hero-visual {
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.visual-title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-status {
  font-size: 12px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.v-metric {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 14px 15px;
}

.v-metric-label {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.v-metric-val {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.v-metric-sub {
  font-size: 11.5px;
  color: #7dd3fc;
  margin-top: 3px;
}

.visual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.visual-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #cbd5e1;
}

.check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==================== Common Section Layout ==================== */
.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ==================== About Section ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.about-prose {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.about-prose p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.85;
  text-align: justify;
}

.about-prose p + p {
  margin-top: 16px;
}

.about-prose strong {
  color: var(--ink);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.highlight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.highlight-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.highlight-card p {
  font-size: 13.8px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ==================== Products Section ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-md);
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bg-accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-accent);
  border: 1px solid var(--border-blue);
  padding: 3px 10px;
  border-radius: 999px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card p {
  font-size: 14.4px;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12.2px;
  color: var(--ink-secondary);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Delivery Steps */
.workflow-panel {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}

.workflow-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

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

.workflow-step {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 18px;
}

.step-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.workflow-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.workflow-step p {
  font-size: 13.2px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==================== Business Scope & Scenarios ==================== */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.scope-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.scope-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.scope-num {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--ink);
  padding: 2px 8px;
  border-radius: 5px;
}

.scope-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.scope-card p {
  font-size: 14.2px;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.scenario-strip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

.scenario-strip-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

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

.scenario-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.scenario-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.scenario-card p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.62;
}

/* ==================== Guarantee Section ==================== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guarantee-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.guarantee-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.guarantee-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* ==================== Contact & Footer ==================== */
.contact-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.contact-banner h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-banner p {
  font-size: 14.8px;
  color: #cbd5e1;
  line-height: 1.78;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 12px;
  color: #93c5fd;
  font-weight: 600;
}

.contact-val {
  font-size: 14.2px;
  color: #ffffff;
  line-height: 1.55;
}

.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 36px 0 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-brand {
  font-size: 15.5px;
  font-weight: 700;
  color: #f8fafc;
}

.footer-addr {
  font-size: 13.2px;
  color: #94a3b8;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.8px;
  color: #64748b;
}

.icp-link {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.icp-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ==================== Reveal Animation ==================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-banner {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .scope-grid,
  .workflow-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .products-grid,
  .scope-grid,
  .workflow-grid,
  .scenario-grid,
  .visual-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 27px;
  }

  .about-prose,
  .product-card,
  .contact-banner {
    padding: 22px 20px;
  }
}
