/* ========================================
   定轧网 - 民营制造工厂钢材/有色金属专项授信
   Design System v1.0
   Primary: #B42022 (from logo)
   ======================================== */

:root {
  --brand: #B42022;
  --brand-dark: #8A191B;
  --brand-light: #FDF2F2;
  --brand-soft: #FEE2E2;
  --navy: #0F172A;
  --slate: #1E293B;
  --steel: #334155;
  --muted: #64748B;
  --cloud: #F1F5F9;
  --snow: #FAFAFA;
  --white: #FFFFFF;
  --gold: #C9A227;
  --gold-light: #FDF8E8;
  --blue: #0A2463;
  --blue-dark: #06183F;
  --blue-light: #E8F0FE;
  --blue-soft: #D6E3F8;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-red: 0 10px 30px rgba(180, 32, 34, 0.22);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-brand { color: var(--brand); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--snow);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-blue {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.section-blue .section-title span {
  color: var(--gold);
}

.section-blue .section-desc {
  color: #B8C5D6;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--brand);
}

.section-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section-dark .section-desc {
  color: #94A3B8;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
}

.logo img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--steel);
  position: relative;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions.mobile {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 36px rgba(180, 32, 34, 0.28);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--slate);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--cloud);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: var(--white);
  color: var(--brand);
}

.btn-light:hover {
  background: var(--brand-light);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(180, 32, 34, 0.28), transparent 42%),
    radial-gradient(circle at 22% 82%, rgba(201, 162, 39, 0.14), transparent 36%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--brand);
}

.hero-desc {
  font-size: 20px;
  color: #CBD5E1;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #94A3B8;
}

.hero-trust-item svg {
  color: var(--gold);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 420px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-title {
  font-size: 18px;
  font-weight: 800;
}

.hero-card-sub {
  font-size: 13px;
  color: #94A3B8;
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metric:last-child {
  border-bottom: none;
}

.hero-metric-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

.hero-metric-value span {
  font-size: 16px;
  font-weight: 600;
  color: #94A3B8;
}

.hero-metric-label {
  font-size: 14px;
  color: #94A3B8;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cloud);
  padding: 40px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-bar-item {
  text-align: center;
  padding: 16px;
}

.trust-bar-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-bar-label {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--cloud);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(180, 32, 34, 0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon.red {
  background: var(--brand-light);
  color: var(--brand);
}

.card-icon.gold {
  background: var(--gold-light);
  color: var(--gold);
}

.card-icon.dark {
  background: var(--navy);
  color: var(--white);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.card-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.card-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-light) 100%);
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-list {
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cloud);
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.feature-list li svg {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}

.feature-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.feature-visual.light {
  background: var(--cloud);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1px solid var(--cloud);
  box-shadow: var(--shadow-md);
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.4;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cloud);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--brand);
}

.faq-question svg {
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.8;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(180, 32, 34, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #E2E8F0;
}

.contact-info-item p {
  font-size: 15px;
  color: #94A3B8;
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--cloud);
  box-shadow: var(--shadow-lg);
}

/* Page hero */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(180, 32, 34, 0.25), transparent 45%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: #CBD5E1;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* Knowledge */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--cloud);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.knowledge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(180, 32, 34, 0.12);
}

.knowledge-card-body {
  padding: 28px;
  flex: 1;
}

.knowledge-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.knowledge-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.knowledge-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.knowledge-card-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--cloud);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px;
  border: 1px solid var(--cloud);
  box-shadow: var(--shadow-lg);
}

.article-content h2 {
  font-size: 28px;
  margin: 48px 0 20px;
}

.article-content h3 {
  font-size: 22px;
  margin: 32px 0 14px;
}

.article-content p {
  color: var(--steel);
  margin-bottom: 1.2em;
}

.article-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.2em;
}

.article-content ul li {
  margin-bottom: 8px;
  color: var(--steel);
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.article-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.9;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--cloud);
}

.article-content blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.article-content blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.article-content blockquote p {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
  color: var(--white);
  margin: 0 0 12px;
}

.article-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: #94A3B8;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
  line-height: 1.7;
}

.article-content .grid-4,
.article-content .grid-3 {
  margin: 28px 0;
}

.article-content .grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

/* CTA Section */
.cta-section {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(180, 32, 34, 0.3), transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 32px;
}

/* Hero with image */
.hero-visual-img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-img img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Product showcase */
.product-showcase {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 100px 0;
}

.product-showcase-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.product-showcase-head .eyebrow {
  color: var(--gold);
}

.product-showcase-head .eyebrow::before {
  background: var(--gold);
}

.product-showcase-head h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
}

.product-showcase-head h2 span {
  color: var(--gold);
}

.product-showcase-head p {
  color: #B8C5D6;
  font-size: 18px;
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-image-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.product-image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
}

.product-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.product-image-card-body {
  padding: 24px;
}

.product-image-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--navy);
}

.product-image-card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.product-image-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* Video section */
.video-section {
  background: var(--snow);
  padding: 100px 0;
}

.video-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--navy);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* About gallery */
.about-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.about-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 360px;
}

.about-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  min-height: 168px;
}

/* Image frame */
.img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Compliance banner */
.compliance-banner {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 32px;
}

.compliance-banner p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.8;
  margin: 0;
}

.link-brand {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.link-brand:hover {
  text-decoration: underline;
}

/* Founder section (about.html) */
.founder-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "photo quote"
    "stats stats";
  gap: 28px;
  margin-bottom: 40px;
}

.founder-photo-card {
  grid-area: photo;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 100%;
}

.founder-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 22px 16px;
  font-size: 13px;
  color: #E2E8F0;
  letter-spacing: .3px;
  background: linear-gradient(to top, rgba(8, 12, 22, .88), rgba(8, 12, 22, 0));
}

.founder-quote {
  grid-area: quote;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.founder-quote-text {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--white);
  margin: 0 0 20px;
  letter-spacing: .5px;
}

.founder-quote-meta {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
  line-height: 1.7;
}

.founder-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -1px;
}

.stat-num span {
  font-size: 17px;
  font-weight: 700;
  margin-left: 3px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-top: 6px;
}

.stat-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 4px 0 0;
}

.founder-points {
  margin-bottom: 8px;
}

.founder-points .card-title {
  font-size: 17px;
}

.founder-source {
  margin-top: 32px;
}

/* WeChat card (contact.html) */
.wechat-card {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  display: flex;
  align-items: center;
  gap: 18px;
}

.wechat-qr {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  padding: 6px;
  background: var(--white);
  border-radius: var(--radius-sm);
  line-height: 0;
}

.wechat-qr img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.wechat-text {
  min-width: 0;
  flex: 1;
}

.wechat-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 5px;
  line-height: 1.5;
}

.wechat-text p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.65;
  margin: 0;
}

/* Tally form loading state (contact.html) */
.tally-wrap {
  position: relative;
}

.tally-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}

.tally-loading p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.tally-loading-tip {
  font-size: 13px;
  color: var(--muted);
}

.tally-loading a {
  color: var(--brand);
  font-weight: 700;
}

.tally-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid var(--cloud);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: tally-spin .8s linear infinite;
  margin-bottom: 6px;
}

@keyframes tally-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   民营企业资金成本阶梯图 (knowledge/funding-cost-ladder.html)
   ========================================================================== */

.article-content .data-stamp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}

.article-content .data-stamp > div {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}

.article-content .data-stamp strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.5px;
}

.article-content .data-stamp span {
  display: block;
  font-size: 12px;
  color: #94A3B8;
  margin-top: 5px;
}

.stamp-note {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

.article-content .table-scroll {
  margin: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-content .ladder-table,
.article-content .policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}

.article-content .ladder-table thead th,
.article-content .policy-table thead th {
  background: var(--cloud);
  color: var(--steel);
  font-weight: 700;
  text-align: left;
  padding: 11px 12px;
  border-bottom: 2px solid #cbd5e1;
  font-size: 12.5px;
  white-space: nowrap;
}

.article-content .ladder-table tbody td,
.article-content .policy-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--cloud);
  vertical-align: middle;
  line-height: 1.6;
}

.article-content .ladder-table tbody tr:hover,
.article-content .policy-table tbody tr:hover {
  background: var(--snow);
}

.article-content .ladder-table .lv {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.article-content .ladder-table .cost {
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.article-content .ladder-table .rng {
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 12.5px;
}

.article-content .ladder-table .hl-row {
  background: var(--brand-light);
}

.article-content .ladder-table .hl-row:hover {
  background: var(--brand-soft);
}

.article-content .ladder-table .tag {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 4px;
  color: #fff;
  margin-right: 8px;
  white-space: nowrap;
  font-weight: 500;
}

.tag.t1  { background: hsl(205, 65%, 38%); }
.tag.t2  { background: hsl(196, 62%, 38%); }
.tag.t3  { background: hsl(186, 58%, 36%); }
.tag.t4  { background: hsl(172, 52%, 37%); }
.tag.t5  { background: hsl(158, 48%, 37%); }
.tag.t6  { background: hsl(140, 46%, 38%); }
.tag.t7  { background: hsl(120, 45%, 36%); }
.tag.t8  { background: hsl(88, 48%, 36%); }
.tag.t9  { background: hsl(56, 62%, 40%); }
.tag.t10 { background: hsl(40, 72%, 44%); }
.tag.t11 { background: hsl(24, 72%, 46%); }
.tag.t12 { background: hsl(8, 70%, 46%); }

.article-content .policy-table .hl-num {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.article-content .redlines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.article-content .rl {
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.65;
  border-left: 4px solid;
}

.article-content .rl b {
  display: block;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.article-content .rl.lpr { background: #EEF6FB; border-color: #2F7FC4; color: #1A4D7D; }
.article-content .rl.up  { background: #FDF6E8; border-color: #D4A017; color: #7D5C07; }
.article-content .rl.cap { background: #FDEEEC; border-color: #C0392B; color: #8F2B20; }

.figure-block {
  margin: 32px 0;
  text-align: center;
}

.figure-block img {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
}

.figure-block figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}

.mode-list {
  margin: 24px 0;
}

.mode {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cloud);
}

.mode:last-child { border-bottom: 0; }

.mode-no {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.mode-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate);
  margin: 0 0 6px;
}

.mode-body p {
  font-size: 14px;
  color: var(--steel);
  margin: 0 0 6px;
  line-height: 1.75;
}

.mode-body .mode-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.article-content .findings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.article-content .fd {
  border: 1px solid var(--cloud);
  border-radius: 11px;
  padding: 16px 18px;
  background: var(--snow);
}

.article-content .fd h4 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.article-content .fd p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.75;
  margin: 0;
}

.article-content .howto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.article-content .step {
  border: 1px solid var(--cloud);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--white);
}

.article-content .step-no {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.article-content .step h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--slate);
  margin: 0 0 6px;
}

.article-content .step p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.75;
  margin: 0;
}

.article-content .src-list {
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.9;
}

.article-content .src-list li { margin-bottom: 6px; }
.article-content .src-list li::marker { color: var(--muted); }

/* Footer */
.site-footer {
  background: #080C16;
  color: #94A3B8;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact a {
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: #64748B;
  max-width: 720px;
}

.footer-disclaimer a {
  color: #94A3B8;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 13px;
  text-align: right;
}

/* Utilities */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .hero-grid { gap: 40px; }
  .feature-split { gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-image-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery-main { min-height: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 30px; }
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-desc { font-size: 17px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }

  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-number { font-size: 32px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse { direction: ltr; }
  .feature-visual { min-height: 320px; }

  .process-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .article-content { padding: 32px 24px; }

  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: 34px; }

  .cta-content h2 { font-size: 30px; }

  .product-showcase-head h2 { font-size: 30px; }
  .product-image-grid { grid-template-columns: 1fr; }
  .product-image-card { max-width: 420px; margin: 0 auto; }
  .about-gallery-side { flex-direction: row; }
  .about-gallery-side img { min-height: 140px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-copyright { text-align: center; }

  /* Mobile nav */
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--cloud);
  }
  .header-actions {
    display: none;
  }
  .header-actions.mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 16px;
  }
  .header-actions.mobile .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-bar-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .founder-block { grid-template-columns: 1fr; grid-template-areas: "photo" "quote" "stats"; gap: 20px; }
  .founder-quote { padding: 32px 26px; }
  .founder-quote-text { font-size: 21px; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 32px; }
  .wechat-card { flex-direction: column; text-align: center; gap: 14px; }
  .wechat-qr { width: 120px; height: 120px; }
  /* 资金成本阶梯页移动端 */
  .article-content .data-stamp { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article-content .data-stamp strong { font-size: 21px; }
  .article-content .ladder-table { font-size: 12.5px; min-width: 540px; }
  .article-content .ladder-table tbody td,
  .article-content .ladder-table thead th { padding: 9px 8px; }
  .article-content .ladder-table .tag { display: block; margin: 0 0 4px; width: fit-content; }
  .mode { gap: 12px; }
}

/* ===== 账期业务平台入口（2026-11-11） ===== */
.platform-entry { white-space: nowrap; }
@media (max-width: 1200px) {
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 10px 14px; }
}
@media (max-width: 1080px) {
  .header-actions:not(.mobile) a[href^="tel:"] { display: none; }
}
