﻿/* ===== CSS Custom Properties ===== */
:root {
  --primary: #1e3a70;
  --primary-light: #2a509e;
  --primary-dark: #132548;
  --accent: #2e7d4e;
  --accent-light: #4fa06a;
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7a;
  --text-light: #8a9aaa;
  --border: #dde3ed;
  --shadow: 0 4px 24px rgba(30, 58, 112, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 58, 112, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.text-center { text-align: center; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  background: transparent;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand .brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.3;
  transition: color var(--transition);
}

.navbar.scrolled .brand-name { color: var(--primary); }

.navbar-brand .brand-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.navbar.scrolled .brand-sub { color: var(--text-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.navbar.scrolled .nav-links a { color: var(--text-dark); }

.nav-links a:hover {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--accent);
  background: rgba(46, 125, 78, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--bg-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--text-dark); }

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #16335e 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(79, 160, 106, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(42, 80, 158, 0.4) 0%, transparent 60%);
}

.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: 60px 60px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg-white) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #23613d 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46, 125, 78, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 125, 78, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.hero-scroll a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Section Shared ===== */
section { padding: 100px 0; }

/* ===== About ===== */
.about { background: var(--bg-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0px;
}

.about-image .stats-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image .stats-badge .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.about-image .stats-badge .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-text .section-title { margin-bottom: 20px; }

.about-text .lead {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Core Business ===== */
.business { background: var(--bg-light); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.business-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.business-card:hover::before { transform: scaleX(1); }

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.business-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(46, 125, 78, 0.12), rgba(46, 125, 78, 0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.business-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.business-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Advantages ===== */
.advantages { background: var(--bg-white); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  padding: 32px 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.advantage-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.advantage-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.advantage-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Stats ===== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #132548 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(79, 160, 106, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(42, 80, 158, 0.15) 0%, transparent 50%);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-item .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ===== Contact ===== */
.contact { background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-info-item h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form {
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 78, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #23613d 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 78, 0.35);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; padding: 12px 16px; font-size: 1rem; width: 100%; }
  .nav-links a:hover { background: rgba(46, 125, 78, 0.08); }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { aspect-ratio: 16 / 9; order: -1; }
  .business-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
