/* ============================================================
   武汉小蓉网络科技有限公司 - 企业官网
   设计风格参考 shopex.cn：现代企业级 AI/SaaS 科技风（紫色系）
   ============================================================ */

:root {
  --brand: #7C3AED;          /* 品牌主紫 */
  --brand-bright: #9F5BFF;   /* 亮紫 */
  --brand-line: #8B5CF6;     /* 紫描边 */
  --brand-soft: #A78BFA;     /* 柔紫 */
  --brand-bg: #F4F0FF;       /* 浅紫背景 */
  --brand-bg-2: #EEF0FF;     /* 浅紫背景2 */
  --text-dark: #0F172A;      /* 深色文字 */
  --text-sub: #475569;       /* 次级文字 */
  --text-body: #334155;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --border: #E7E5F2;
  --grad-brand: linear-gradient(135deg, #7C3AED, #9F5BFF);
  --grad-hero: linear-gradient(180deg, #EEF0FF 0%, #FFFFFF 100%);
  --shadow-soft: 0 8px 30px rgba(124, 58, 237, 0.10);
  --shadow-card: 0 6px 24px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-dark); font-size: 20px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-brand);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; letter-spacing: -1px;
}
.logo small { display: block; font-size: 12px; font-weight: 500; color: var(--text-sub); line-height: 1.2; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-sub); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-brand); color: #fff !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124,58,237,.3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-hero);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-bg); color: var(--brand);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--brand-line);
  margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.15; font-weight: 800; color: var(--text-dark); letter-spacing: -1px; }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px 0 32px; font-size: 18px; color: var(--text-sub); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(124,58,237,.32); }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--brand-line); }
.btn-outline:hover { background: var(--brand-bg); transform: translateY(-2px); }

.hero-visual {
  position: relative; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.hero-visual img { width: 100%; height: 380px; object-fit: cover; }
.hero-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
  top: -120px; right: -80px; z-index: 0;
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--bg-light); }
.section-brand { background: var(--brand-bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 38px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.5px; }
.section-head p { margin-top: 16px; color: var(--text-sub); font-size: 17px; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; box-shadow: var(--shadow-card);
}
.stat .num { font-size: 40px; font-weight: 800; color: var(--brand); }
.stat .label { margin-top: 6px; color: var(--text-sub); font-size: 15px; }

/* ---------- 业务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-card); display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(124,58,237,.14); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--brand-bg);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; color: var(--text-dark); font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-sub); font-size: 15px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-weight: 600; font-size: 14px; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.split-img img { width: 100%; height: 420px; object-fit: cover; }
.split h2 { font-size: 34px; color: var(--text-dark); font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.split p { color: var(--text-sub); margin-bottom: 16px; font-size: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check-list .tick {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand-bg);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; margin-top: 2px;
}

/* ---------- Logo 墙 ---------- */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logo-item {
  flex: 0 0 200px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); height: 80px; display: flex; align-items: center;
  justify-content: center; color: var(--text-sub); font-weight: 600; font-size: 15px;
  transition: all .2s; filter: grayscale(1); opacity: .7;
}
.logo-item:hover { filter: none; opacity: 1; color: var(--brand); border-color: var(--brand-line); }

/* ---------- 价值主张 ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value { text-align: center; padding: 20px; }
.value .ico { font-size: 40px; color: var(--brand); margin-bottom: 14px; }
.value h3 { font-size: 19px; color: var(--text-dark); margin-bottom: 8px; }
.value p { color: var(--text-sub); font-size: 14px; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.news-item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(124,58,237,.14); }
.news-item img { width: 100%; height: 190px; object-fit: cover; }
.news-body { padding: 24px; }
.news-date { font-size: 13px; color: var(--brand); font-weight: 600; }
.news-body h3 { font-size: 18px; color: var(--text-dark); margin: 8px 0; }
.news-body p { color: var(--text-sub); font-size: 14px; }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: var(--grad-brand); border-radius: var(--radius-lg);
  padding: 64px 56px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: 34px; font-weight: 800; }
.cta-banner p { margin: 14px 0 28px; opacity: .92; font-size: 17px; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.cta-phone { margin-top: 20px; font-size: 18px; opacity: .95; font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer { background: #0F172A; color: #CBD5E1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .logo { color: #fff; }
.footer .logo small { color: #94A3B8; }
.footer p { font-size: 14px; color: #94A3B8; margin-bottom: 8px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #94A3B8; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1E293B; padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #64748B; }

/* ---------- 页面标题横幅 ---------- */
.page-hero { background: var(--grad-hero); padding: 72px 0 64px; text-align: center; }
.page-hero h1 { font-size: 44px; font-weight: 800; color: var(--text-dark); }
.page-hero .crumb { color: var(--text-sub); margin-top: 12px; font-size: 14px; }
.page-hero .crumb a { color: var(--brand); }

/* ---------- 关于我们 ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--brand-line); }
.tl-item { position: relative; padding-left: 64px; margin-bottom: 36px; }
.tl-item::before { content: ""; position: absolute; left: 16px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-line); }
.tl-year { color: var(--brand); font-weight: 800; font-size: 18px; }
.tl-item p { color: var(--text-sub); margin-top: 6px; }

/* ---------- 联系表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info .c-block { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.contact-info .c-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-bg); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-info h3 { font-size: 17px; color: var(--text-dark); margin-bottom: 4px; }
.contact-info p { color: var(--text-sub); font-size: 15px; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.form-card h3 { font-size: 24px; color: var(--text-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-dark); font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--text-dark); background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,58,237,.12); background: #fff; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--brand); min-height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .cards, .news-list { grid-template-columns: repeat(2, 1fr); }
  .stats, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 72px; right: -100%; width: 240px; height: calc(100vh - 72px);
    background: #fff; flex-direction: column; align-items: flex-start; padding: 32px 28px;
    gap: 24px; transition: right .3s; box-shadow: -10px 0 30px rgba(0,0,0,.08); border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .hero { padding: 60px 0 72px; }
  .hero h1 { font-size: 32px; }
  .cards, .news-list, .stats, .values, .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
