/* ============================================================
   广东鑫鑫网络小额贷款有限公司 官网
   金融科技视觉风格：深蓝 + 科技蓝渐变 + 青绿点缀
   ============================================================ */

:root {
  --primary: #0B2A5B;          /* 深藏蓝：主品牌色 */
  --primary-dark: #071D40;     /* 更深的蓝：页脚/深色区 */
  --accent: #1E6FFF;           /* 科技蓝：CTA/链接 */
  --accent-light: #4D8FFF;
  --cyan: #00C2FF;             /* 青蓝：渐变点缀 */
  --gradient: linear-gradient(135deg, #0B2A5B 0%, #1E6FFF 100%);
  --gold: #F5B942;             /* 点缀金：数据高亮 */
  --bg: #FFFFFF;
  --bg-light: #F5F8FD;         /* 浅蓝灰：区块底色 */
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5EAF3;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(11, 42, 91, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 42, 91, 0.14);
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: var(--accent); }
a:hover { opacity: 0.85; }

img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.9); }
.topbar .hotline { color: var(--gold); font-weight: 600; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: var(--shadow);
}
.logo-text { line-height: 1.25; }
.logo-text .cn { font-size: 17px; font-weight: 700; color: var(--primary); display: block; }
.logo-text .en { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.nav-cta::after { display: none !important; }

/* 移动端菜单 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient);
  color: #fff;
  padding: 88px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; right: -180px; top: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,194,255,0.35) 0%, transparent 65%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute; right: 120px; bottom: -200px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(30,111,255,0.5) 0%, transparent 60%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; padding-bottom: 72px; }
.hero-copy { flex: 1.2; }
.hero-copy .tag {
  display: inline-block; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px; border-radius: 20px;
  font-size: 14px; letter-spacing: 1px; margin-bottom: 22px;
}
.hero-copy h1 { font-size: 42px; font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.hero-copy h1 .grad { background: linear-gradient(90deg, #00C2FF, #7FD4FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all 0.25s;
}
.btn-primary { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); opacity: 1; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); opacity: 1; }
.btn-accent { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); opacity: 1; }

/* Hero 右侧费率承诺卡 */
.hero-card {
  flex: 0.8; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px; padding: 34px 30px;
  backdrop-filter: blur(10px);
}
.hero-card .rate-big { font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.hero-card .rate-big span { font-size: 20px; }
.hero-card h3 { font-size: 18px; margin-bottom: 8px; }
.hero-card p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 18px; }
.hero-card .items { display: flex; flex-direction: column; gap: 10px; }
.hero-card .item { font-size: 15px; }
.hero-card .item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.92); }
.hero-card .item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* 费率承诺横幅 */
.rate-banner {
  background: linear-gradient(90deg, #0B2A5B, #123A7A);
  color: #fff; padding: 18px 0;
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rate-banner .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
.rate-banner .strong { font-size: 20px; font-weight: 800; color: var(--gold); }
.rate-banner .desc { font-size: 15px; color: rgba(255,255,255,0.85); }

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block; color: var(--accent); font-size: 14px;
  letter-spacing: 2px; font-weight: 600; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 15px; }

/* ---------- 数据栏 ---------- */
.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 20px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.25s;
}
.stat:hover { transform: translateY(-4px); }
.stat .num { font-size: 34px; font-weight: 800; color: var(--primary); }
.stat .num .unit { font-size: 16px; color: var(--accent); }
.stat .label { color: var(--text-muted); font-size: 15px; margin-top: 6px; }

/* ---------- 产品卡片 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 28px; box-shadow: var(--shadow); transition: all 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .p-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.product-card h3 { font-size: 21px; color: var(--primary); margin-bottom: 8px; }
.product-card .p-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; min-height: 48px; }
.product-card .p-spec { border-top: 1px dashed var(--border); padding-top: 16px; margin-bottom: 16px; }
.product-card .p-spec .row { display: flex; justify-content: space-between; font-size: 15px; padding: 5px 0; }
.product-card .p-spec .row .k { color: var(--text-muted); }
.product-card .p-spec .row .v { font-weight: 600; color: var(--text); }
.product-card .p-spec .row .v.green { color: #0E9F6E; }
.product-card .p-rate-tag {
  background: #EAF7F0; color: #0E9F6E; font-size: 14px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 14px;
}
.product-card .btn { text-align: center; margin-top: auto; }

/* ---------- 合规/为什么选择 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.feature .f-icon { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--text-muted); }

/* ---------- 费率说明表 ---------- */
.rate-table-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow-x: auto; }
table.rate-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.rate-table th {
  background: var(--primary); color: #fff; text-align: left;
  padding: 14px 18px; font-size: 15px; font-weight: 600;
}
.rate-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px; }
.rate-table tr:nth-child(even) td { background: var(--bg-light); }
.rate-table .green { color: #0E9F6E; font-weight: 700; }

/* ---------- 声明框 ---------- */
.notice {
  background: #FFF8EC; border: 1px solid #F5D9A8; border-radius: var(--radius);
  padding: 18px 22px; font-size: 15px; color: #7A5B1E; margin-top: 24px; line-height: 1.8;
}
.notice.warn { background: #FDF2F2; border-color: #F5C2C2; color: #922; }
.notice .nt { font-weight: 700; margin-right: 6px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 56px 0 0; font-size: 15px; }
.footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer p { margin-bottom: 8px; font-size: 15px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: rgba(255,255,255,0.75); }
.footer ul a:hover { color: #fff; }
.footer .logo-mini { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .logo-mini .logo-mark { width: 34px; height: 34px; font-size: 16px; }
.footer .logo-mini .cn { color: #fff; font-weight: 700; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0; text-align: center; font-size: 13.5px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  background: var(--gradient); color: #fff; padding: 60px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,194,255,0.3) 0%, transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 15px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 26px; color: var(--primary); margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; }
.about-card {
  background: var(--gradient); color: #fff; border-radius: 16px; padding: 34px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,194,255,0.4) 0%, transparent 65%);
}
.about-card .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 14.5px; position: relative; z-index: 2; }
.about-card .row:last-child { border-bottom: none; }
.about-card .row .k { color: rgba(255,255,255,0.75); }
.about-card .row .v { font-weight: 600; }

/* 时间线 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px;
  width: 2px; background: var(--border);
}
.timeline .tl-item { position: relative; padding-bottom: 28px; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -25px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline .tl-date { font-size: 14px; color: var(--accent); font-weight: 700; }
.timeline .tl-title { font-size: 16px; font-weight: 600; color: var(--primary); margin: 2px 0 4px; }
.timeline .tl-desc { font-size: 15px; color: var(--text-muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ci-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info .ci-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 2px; }
.contact-info .ci-item p { color: var(--text-muted); font-size: 15px; }

/* ---------- 页内锚点提示 ---------- */
.breadcrumb { font-size: 14px; color: var(--text-muted); margin: 24px 0 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-toggle { display: flex; }
  .hero .container { flex-direction: column; gap: 40px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-card { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .features-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat .num { font-size: 26px; }
  .footer .grid { grid-template-columns: 1fr; }
  .rate-banner .container { gap: 12px; }
}
