/* 南京俐俏网络科技有限公司 - 官网样式 */
:root {
  --primary: #1a56db;
  --primary-dark: #143ea8;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(17, 24, 39, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ===== 导航 ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.logo-sub { display: block; font-size: 11px; font-weight: 400; color: var(--text-light); }

.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { color: var(--text); transition: color .2s; padding: 6px 0; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); }

/* ===== 首屏 Hero ===== */
.hero {
  background: linear-gradient(135deg, #10214b 0%, #1a56db 55%, #3b82f6 100%);
  color: #fff;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.hero::before {
  content: ""; position: absolute; left: -80px; bottom: -180px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(245, 158, 11, .18);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-tag {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 5px 16px; font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.3; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 17px; opacity: .88; margin-bottom: 36px; max-width: 620px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d97706; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 54px; }
.section-head .eyebrow {
  color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--text-light); max-width: 640px; margin: 0 auto; }

.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: all .25s; box-shadow: 0 2px 8px rgba(17,24,39,.04);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14.5px; }

/* ===== 数字统计 ===== */
.stats { background: #10214b; color: #fff; padding: 60px 0; }
.stats .grid-4 { text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; color: #fbbf24; }
.stat-label { font-size: 14px; opacity: .8; margin-top: 6px; }

/* ===== 页面 Banner（内页） ===== */
.page-banner {
  background: linear-gradient(135deg, #10214b 0%, #1a56db 70%);
  color: #fff; text-align: center; padding: 78px 0;
}
.page-banner h1 { font-size: 36px; margin-bottom: 12px; }
.page-banner p { opacity: .85; }

/* ===== 关于我们 时间线 ===== */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 70px; }
.about-block h2 { font-size: 28px; margin-bottom: 18px; }
.about-block p { color: var(--text-light); margin-bottom: 14px; }
.about-visual {
  border-radius: 20px; min-height: 300px;
  background: linear-gradient(135deg, #1a56db, #60a5fa);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 64px;
}
.values-list { list-style: none; }
.values-list li { padding: 8px 0; color: var(--text-light); display: flex; gap: 10px; }
.values-list li::before { content: "✓"; color: var(--primary); font-weight: 800; }

/* ===== 联系我们 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: #eef2ff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item h4 { font-size: 15px; }
.contact-item p { color: var(--text-light); font-size: 14px; word-break: break-all; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .2s; background: var(--bg-soft);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); background: #fff; }
.form-tip { font-size: 13px; color: #16a34a; margin-top: 14px; display: none; }

/* ===== 页脚 ===== */
.footer { background: #0b1733; color: #cbd5e1; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p, .footer a { font-size: 14px; color: #94a3b8; line-height: 2; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px; text-align: center; font-size: 13px; color: #64748b;
}

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-wrap, .about-block, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links { gap: 18px; font-size: 14px; }
  .hero { padding: 70px 0 90px; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
