/* 财经日日鲜 · 武汉云缦科技有限公司 官网 */
:root {
  --bg-dark: #0b1220;
  --bg-card: #121c2e;
  --bg-soft: #f4f6fb;
  --text: #1a2332;
  --text-muted: #5c6b82;
  --white: #ffffff;
  --primary: #c41e24;
  --primary-dark: #9a1519;
  --gold: #d4a84b;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(11, 18, 32, 0.12);
  --radius: 16px;
  --header-h: 72px;
  --max-w: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  color: var(--text);
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.75) 45%, rgba(196, 30, 36, 0.35) 100%),
    url("../image/hero.svg") center/cover no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 12px 32px rgba(196, 30, 36, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.hero-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Stats */
.stats {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  padding: 8px;
  border-right: 1px solid #eef1f6;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-num span {
  font-size: 22px;
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-content h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #e8edf4;
  transition: transform 0.25s, box-shadow 0.25s;
}

.section-alt .service-card {
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 12px 0 10px;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.12), rgba(212, 168, 75, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.why-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e8edf4;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.why-list p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

/* Product */
.product-box {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: linear-gradient(135deg, var(--bg-dark), #1a2740);
  border-radius: 24px;
  padding: 48px;
  color: var(--white);
}

.product-box h3 {
  margin: 0 0 16px;
  font-size: 28px;
}

.product-box p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.product-features li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.product-visual img {
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  transition: transform 0.25s;
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.case-body {
  padding: 20px;
}

.case-tag {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.case-body h4 {
  margin: 8px 0 0;
  font-size: 17px;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e8edf4;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e8edf4;
}

.contact-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info a {
  color: var(--primary);
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-tip {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 18px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .why-grid,
  .product-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    padding: 20px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .services-grid,
  .cases-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid #eef1f6;
    padding-bottom: 16px;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}
