/* ============================================================
   月度对账系统 - Landing Page
   Financial Design System | Pantone 2945C #0052CC
   ============================================================ */

/* ---------- Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #F5F7FA;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Navbar ---------- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}
.nav-links .nav-link {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links .nav-link:hover {
  color: #0052CC;
  background: rgba(0,82,204,0.06);
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: #0052CC;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,82,204,0.25);
}
.btn-primary:hover {
  background: #0047B3;
  box-shadow: 0 4px 16px rgba(0,82,204,0.35);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #0052CC;
  border: 1.5px solid #0052CC;
}
.btn-outline:hover {
  background: #0052CC;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #666;
  border: 1.5px solid transparent;
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
  color: #333;
}
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-white { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-white:hover { background: #fff; color: #0052CC; border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: #F5F7FA;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,82,204,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,82,204,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,82,204,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,42,0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: glowFloat 10s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,82,204,0.08);
  border: 1px solid rgba(0,82,204,0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #0052CC;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00B42A;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: #1a1a2e;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.gradient-text {
  background: linear-gradient(135deg, #0052CC, #1a73e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
}
.hero-stat-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: #E8ECF0;
}
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 400px;
}
.hero-dashboard-preview {
  position: relative;
  width: 460px;
  height: 360px;
}
.dashboard-card {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
}
.card-1 {
  top: 0;
  right: 40px;
  width: 260px;
  animation: floatCard 6s ease-in-out infinite;
}
.card-2 {
  bottom: 40px;
  left: 0;
  width: 220px;
  animation: floatCard 6s ease-in-out infinite 1s;
}
.card-3 {
  bottom: 80px;
  right: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatCard 6s ease-in-out infinite 2s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.card-dot { width: 8px; height: 8px; border-radius: 50%; }
.card-dot.green { background: #34c759; }
.card-dot.yellow { background: #ff9f0a; }
.card-dot.red { background: #ff3b30; }
.card-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}
.chart-bar {
  width: 24px;
  background: linear-gradient(to top, #0052CC, #1a73e8);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  animation: barRise 1s ease-out;
}
@keyframes barRise {
  from { height: 0; }
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.card-row:last-child { border-bottom: none; }
.row-label { font-size: 13px; color: #666; }
.row-value { font-size: 14px; font-weight: 700; color: #333; }
.row-value.up { color: #00B42A; }
.row-value.down { color: #F53F3F; }
.progress-ring {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-text {
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  color: #0052CC;
}
.progress-label {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  font-weight: 500;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
section {
  padding: 100px 24px;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0,82,204,0.08);
  border: 1px solid rgba(0,82,204,0.15);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #0052CC;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* ---------- Features Grid ---------- */
.features {
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: #F5F7FA;
  border: 1px solid #E8ECF0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: rgba(0,82,204,0.15);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--icon-bg, rgba(0,82,204,0.1));
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: #F5F7FA;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-card {
  background: #fff;
  border: 1px solid #E8ECF0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-info { display: flex; flex-direction: column; }
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: #F5F7FA;
  border: 1px solid #E8ECF0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.author-role {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0052CC 0%, #1a73e8 100%);
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.landing-footer {
  background: #1a1a2e;
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* ---------- Scroll-triggered animations ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] {
  transform: translateX(40px);
}
[data-aos="fade-left"].visible {
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-width: auto; margin-top: 40px; }
  .hero-dashboard-preview { width: 360px; height: 300px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 0 0 16px 16px;
  }
  .mobile-menu-btn { display: flex; }
  .hero-title { font-size: 36px; }
  .hero-dashboard-preview { width: 280px; height: 260px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .cta-title { font-size: 30px; }
  .nav-actions .btn-ghost { display: none; }
  .card-2 { bottom: 20px; }
  .card-3 { bottom: 50px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-dashboard-preview { width: 240px; height: 220px; }
  .card-1 { width: 200px; }
  .card-2 { width: 170px; }
  .card-3 { width: 130px; }
}