/* =====================================================================
   启域网络科技 - 官网样式
   ===================================================================== */

:root {
  --primary: #2563eb;
  --primary-2: #7c3aed;
  --dark: #0b1220;
  --dark-2: #0f172a;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --white: #ffffff;
  --bg: #f8fafc;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 18px 0;
}
.navbar.scrolled {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-size: 20px; font-weight: 700;
  border-radius: 10px;
}
.logo-text { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo-sub { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.75); margin-left: 4px; }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0b1220 0%, #111c33 55%, #1a1450 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; }
.grid-overlay {
  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;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-1 { width: 420px; height: 420px; background: #2563eb; top: -80px; right: -60px; animation: float 12s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; background: #7c3aed; bottom: -100px; left: -80px; animation: float 14s ease-in-out infinite reverse; }
.orb-3 { width: 260px; height: 260px; background: #06b6d4; top: 40%; left: 55%; animation: float 16s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.grad-text {
  background: linear-gradient(120deg, #60a5fa, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 720px;
}
.stat { padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; }
.stat-num { font-size: 36px; font-weight: 800; color: #fff; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---------- 通用 Section ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title { font-size: 38px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; color: var(--text); }
.section-desc { font-size: 17px; color: var(--text-2); }

/* ---------- 产品服务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  font-size: 28px;
  border-radius: 16px;
  margin-bottom: 22px;
}
.icon-blue { background: #eef4ff; }
.icon-purple { background: #f5f0ff; }
.icon-cyan { background: #e6fafc; }
.icon-orange { background: #fff4e6; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-2); margin-bottom: 18px; }
.card-link { color: var(--primary); font-weight: 600; font-size: 15px; }

/* ---------- 解决方案（深色区） ---------- */
.section-dark { background: var(--dark); }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }
.section-dark .section-tag { background: rgba(255,255,255,0.1); color: #a5b4fc; }
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution {
  display: flex;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, transform 0.3s;
}
.solution:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.solution-num {
  font-size: 34px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.solution h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.solution p { color: rgba(255,255,255,0.62); font-size: 15px; }

/* ---------- 关于我们 ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { font-size: 16px; color: var(--text-2); margin-bottom: 24px; }
.about-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.about-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
}
.about-panel { display: flex; flex-direction: column; gap: 20px; }
.panel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.panel-card:hover { transform: translateX(6px); }
.panel-icon { font-size: 30px; }
.panel-card h3 { font-size: 18px; margin-bottom: 4px; }
.panel-card p { font-size: 14px; color: var(--text-2); }

/* ---------- 联系我们 ---------- */
.section-cta {
  background: linear-gradient(150deg, #0b1220 0%, #1a1450 100%);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info .section-title { color: #fff; }
.contact-info .section-desc { color: rgba(255,255,255,0.65); margin-bottom: 28px; }
.contact-info .section-tag { background: rgba(255,255,255,0.1); color: #a5b4fc; }
.contact-list li {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-ico { font-size: 18px; }
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: #060b16; padding: 48px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-legal {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.38);
  font-size: 12.5px;
}
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: #fff; }
.footer-legal .beian { display: inline-flex; align-items: center; gap: 6px; }
.footer-legal .beian-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex: 0 0 auto;
}
.footer-legal .beian-ico svg { display: block; }

/* ---------- 价格与试用（无限期免费试用说明） ---------- */
.section-trial { background: var(--bg); }

.trial-callout {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
  text-align: center;
  font-size: 17px;
  color: var(--text);
}
.trial-callout strong { color: var(--primary); }

.trial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trial-grid .card p { margin-bottom: 0; }
.trial-grid .card strong { color: var(--text); }

.trial-faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.faq-item {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { font-size: 14px; color: var(--text-2); }
.faq-item a { color: var(--primary); }

.trial-meta {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-3);
}
.trial-meta strong { color: var(--text-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero-title { font-size: 42px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trial-grid { grid-template-columns: repeat(2, 1fr); }
  .trial-faq { grid-template-columns: 1fr; }
  .about-wrap, .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .trial-grid { grid-template-columns: 1fr; }
  .solutions { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 70%; height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: rgba(11, 18, 32, 0.98);
    transition: right 0.3s;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .section-title { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
}


