/* ===== Variables ===== */
:root {
  --primary: #2b54ce;
  --primary-dark: #1e3fa8;
  --primary-light: #eef2fd;
  --accent: #00b894;
  --accent-dark: #009975;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0, 40, 100, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 40, 100, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-img-lg {
  height: 72px;
  width: auto;
  border-radius: 12px;
}

.logo-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f8f4 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Sections ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bg-alt {
  background: var(--bg-alt);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-icon.blue { background: var(--primary-light); }
.feature-icon.green { background: #e6faf5; }
.feature-icon.orange { background: #fff4e6; }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Product Preview ===== */
.product-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-preview-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.product-preview-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.product-list {
  margin: 28px 0;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.product-mockup {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.product-mockup::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.product-mockup-logo {
  height: 64px;
  width: auto;
  margin-bottom: 12px;
  border-radius: 10px;
}

.product-mockup .tagline {
  opacity: 0.85;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.mockup-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.mockup-item-icon {
  font-size: 1.3rem;
}

.mockup-item span {
  font-size: 0.92rem;
}

/* ===== Page Banner ===== */
.page-banner {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f8f4 100%);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.page-banner-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 24px;
  border-radius: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ===== Product Detail ===== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow var(--transition);
}

.detail-card:hover {
  box-shadow: var(--shadow);
}

.detail-card .detail-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.detail-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.detail-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== About ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-intro-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-info-card {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}

.about-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.93rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  width: 100px;
  flex-shrink: 0;
  opacity: 0.75;
}

.info-row dd {
  flex: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border: 4px solid var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content .year {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  max-width: 1092px;
  margin-left: auto;
  margin-right: auto;
}

.cta h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: #0f1724;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-grid,
  .product-preview,
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  section {
    padding: 64px 0;
  }

  .features-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta {
    padding: 40px 24px;
    margin: 0 16px;
  }
}

@media (max-width: 480px) {
  .steps,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
