/* ============================================================
   I.V.Y. Fintech — 深圳市常青藤供应链科技有限公司
   全静态官网样式（无外部依赖，支持移动端 / 微信浏览器）
   ============================================================ */

:root {
  --navy: #0b2038;
  --navy-2: #10304f;
  --ink: #16283c;
  --text: #40536a;
  --muted: #74869a;
  --green: #0e8f6a;
  --green-dark: #0b6f53;
  --green-soft: #e6f5ef;
  --gold: #c9a25e;
  --gold-soft: #f7efe0;
  --bg: #f5f8fb;
  --white: #ffffff;
  --line: #e3ebf2;
  --shadow: 0 10px 30px rgba(11, 32, 56, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 32, 56, 0.14);
  --radius: 14px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
em { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-tight { padding: 60px 0; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(11, 32, 56, 0.07);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: 0.02em; }
.brand-text em { color: var(--green); font-weight: 800; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; margin-top: -4px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--green); background: var(--green-soft); }
.main-nav a.active { color: var(--green); font-weight: 700; position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--green);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  border: 1.5px solid var(--green); color: var(--green);
  background: transparent; border-radius: 999px;
  padding: 5px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  transition: all 0.2s;
}
.lang-toggle:hover { background: var(--green); color: #fff; }

.hamburger {
  display: none; width: 40px; height: 40px; border: none; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transition: all 0.25s; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #081c33 0%, #0b2038 45%, #10304f 100%);
  padding: calc(var(--header-h) + 84px) 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,143,106,0.28) 0%, transparent 65%);
}
.hero-glow-gold {
  position: absolute; left: -160px; bottom: -200px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,94,0.18) 0%, transparent 65%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  color: #8fe3c6; border: 1px solid rgba(143, 227, 198, 0.35);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(14, 143, 106, 0.12);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.25;
  font-weight: 800; letter-spacing: 0.02em; margin-bottom: 8px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #35c693, #d9b878);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-slogan-en { font-size: clamp(15px, 2.2vw, 19px); color: #9db4c9; letter-spacing: 0.06em; margin-bottom: 24px; }
.hero-desc {
  font-size: clamp(15px, 1.8vw, 17.5px); color: #c3d2e0; max-width: 720px;
  line-height: 1.9; margin-bottom: 36px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips span {
  font-size: 13.5px; color: #b7c9da; padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Page hero (内页顶部) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(130deg, #081c33 0%, #0b2038 55%, #123c56 100%);
  padding: calc(var(--header-h) + 64px) 0 56px;
}
.page-hero::before {
  content: ""; 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: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #8fe3c6; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 42px); margin: 8px 0 12px; }
.page-hero .lead { color: #b9cbd9; max-width: 760px; font-size: 16px; }

/* ---------- 文本元素 ---------- */
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(24px, 3.4vw, 34px); color: var(--navy);
  line-height: 1.4; margin-bottom: 14px; font-weight: 800;
}
.section-sub { color: var(--muted); font-size: 16.5px; max-width: 780px; margin-bottom: 44px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

h3 { color: var(--navy); font-size: 18px; }
strong { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; border: none; transition: all 0.22s;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(14, 143, 106, 0.32); }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(14, 143, 106, 0.35); }
.card h3 { margin-bottom: 10px; font-size: 17.5px; }
.card p { font-size: 14.5px; color: var(--text); }
.card .card-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-soft), #f2faf7);
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge.gold { background: linear-gradient(135deg, var(--gold-soft), #fbf7ee); }
.icon-badge.gold svg { stroke: var(--gold); }
.icon-badge.navy { background: linear-gradient(135deg, #e5edf6, #f4f8fc); }
.icon-badge.navy svg { stroke: var(--navy-2); }

.card-num {
  font-size: 13px; font-weight: 800; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 8px; display: block;
}

/* 列表样式 */
.tick-list li, .dash-list li {
  position: relative; padding-left: 24px; margin-bottom: 9px;
  font-size: 14.5px; color: var(--text);
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 13px; height: 8px; border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.dash-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 2px; background: var(--gold);
}

/* ---------- 数据条 ---------- */
.stats-band { background: var(--navy); padding: 46px 0; position: relative; overflow: hidden; }
.stats-band::after {
  content: ""; position: absolute; right: -100px; top: -100px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(14,143,106,0.25), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.stat { text-align: center; }
.stat b {
  display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800;
  background: linear-gradient(90deg, #3ecf9b, #d9b878);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.3;
}
.stat span { font-size: 13.5px; color: #93a9bd; margin-top: 4px; display: inline-block; }

/* ---------- 四角安全区 ---------- */
.quad-wrap { position: relative; }
.quad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quad-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.quad-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quad-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.quad-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--green), var(--gold));
}
.quad-card p { font-size: 14.5px; }
.quad-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 108px; height: 108px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; text-align: center; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(14, 143, 106, 0.45); z-index: 3;
  border: 4px solid #fff; letter-spacing: 0.06em;
}

/* ---------- 流程步骤 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 18px 18px; font-size: 13.8px; color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-step b { display: flex; align-items: center; gap: 10px; color: var(--navy); margin-bottom: 8px; font-size: 14.5px; }
.step-no {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--green-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.flow-step.alt .step-no { background: var(--gold-soft); color: #a5813f; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
table.nice { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
table.nice th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 14px 20px; font-weight: 700; white-space: nowrap;
}
table.nice td { padding: 13px 20px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }
table.nice tr:nth-child(even) td { background: #fafcfe; }
table.nice td:first-child { color: var(--navy); font-weight: 700; white-space: nowrap; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--green), var(--gold));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3.5px solid var(--green);
}
.tl-item:nth-child(even)::before { border-color: var(--gold); }
.tl-phase { font-size: 12.5px; font-weight: 800; color: var(--green); letter-spacing: 0.12em; text-transform: uppercase; }
.tl-item h3 { margin: 4px 0 8px; }

/* ---------- 提示/金句框 ---------- */
.callout {
  border-left: 4px solid var(--green); background: var(--green-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; font-size: 15px; color: var(--ink);
}
.callout.gold { border-left-color: var(--gold); background: var(--gold-soft); }
.callout b { color: var(--navy); }

/* ---------- 模块 chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  box-shadow: 0 2px 8px rgba(11,32,56,0.05);
}
.chip b { color: var(--green); margin-right: 6px; font-weight: 800; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0b2038, #123c56 60%, #0e5c46);
  border-radius: 22px; padding: 58px 48px; text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 500px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 207, 155, 0.25), transparent 70%);
}
.cta-band h2 { color: #fff; position: relative; z-index: 2; }
.cta-band p { color: #b9cbd9; margin: 12px auto 28px; max-width: 620px; position: relative; z-index: 2; }
.cta-band .hero-btns { justify-content: center; margin-bottom: 0; position: relative; z-index: 2; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fbfdfe; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 143, 106, 0.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* 联系信息卡 */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .icon-badge { margin-bottom: 0; width: 44px; height: 44px; }
.contact-item b { display: block; color: var(--navy); font-size: 15px; }
.contact-item span { font-size: 14.5px; color: var(--text); }

/* ---------- 大字母卡（I.V.Y. 哲学） ---------- */
.letter-card { text-align: left; position: relative; overflow: hidden; }
.letter-big {
  position: absolute; right: 14px; top: -8px; font-size: 96px; font-weight: 800;
  color: rgba(14, 143, 106, 0.08); line-height: 1; pointer-events: none;
}
.letter-card:hover .letter-big { color: rgba(14, 143, 106, 0.13); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93a9bd; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.site-footer a { color: #93a9bd; display: block; padding: 4px 0; }
.site-footer a:hover { color: #3ecf9b; }
.footer-brand p { line-height: 1.8; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}
.footer-bottom a { display: inline; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 10px 5% 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11, 32, 56, 0.14);
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--bg); font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .hamburger { display: flex; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quad-grid { grid-template-columns: 1fr; }
  .quad-center {
    position: static; transform: none; width: auto; height: auto;
    border-radius: 12px; padding: 12px; margin-bottom: 4px;
    flex-direction: row; gap: 10px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 42px 22px; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .brand-sub { display: none; }
  .brand-text { font-size: 18px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
