/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3560;
  --primary-light: #2055a4;
  --accent: #0a6cff;
  --accent-warm: #ff6533;
  --text: #1c2333;
  --text-muted: #6b7280;
  --bg: #f4f7fb;
  --bg-dark: #0d1b2e;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 28px rgba(0,0,0,0.09);
  --radius: 12px;
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 66px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.nav-logo-text { font-size: 15px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.nav-logo-en { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a {
  display: block; padding: 8px 14px; text-decoration: none;
  color: var(--text); font-size: 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent); background: rgba(10,108,255,0.07);
}
.nav-cta {
  background: var(--accent) !important; color: white !important;
  padding: 8px 20px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: #0050cc !important; color: white !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0c213b 100%);
  color: white; padding: 96px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(10,108,255,0.18) 0%, transparent 65%);
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,101,51,0.08) 0%, transparent 65%);
}
.hero-content { position: relative; max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: rgba(255,255,255,0.12);
  border-radius: 100px; font-size: 12px; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.2); letter-spacing: 0.5px;
}
.hero h1 { font-size: 50px; font-weight: 700; line-height: 1.2; margin-bottom: 22px; }
.hero h1 span { color: #5fb3ff; }
.hero-sub { font-size: 17px; opacity: 0.8; margin-bottom: 38px; line-height: 1.8; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 14px 30px; background: var(--accent);
  color: white; text-decoration: none; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; transition: all 0.2s;
}
.btn-primary:hover { background: #0050cc; transform: translateY(-1px); }
.btn-outline {
  display: inline-block; padding: 14px 30px;
  border: 1.5px solid rgba(255,255,255,0.45); color: white;
  text-decoration: none; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; }
.stat-num { font-size: 38px; font-weight: 700; }
.stat-label { font-size: 12px; opacity: 0.55; margin-top: 2px; }

/* ===== Sections ===== */
section { padding: 84px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(10,108,255,0.09); color: var(--accent);
  border-radius: 100px; font-size: 11px; font-weight: 700;
  margin-bottom: 14px; letter-spacing: 1.5px; text-transform: uppercase;
}
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 32px; transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(10,108,255,0.3); }
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--primary); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.features-list { list-style: none; margin-top: 14px; }
.features-list li {
  font-size: 13px; color: var(--text-muted); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.features-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ===== Highlight numbers ===== */
.highlights { background: var(--primary); color: white; padding: 64px 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.highlight-num { font-size: 44px; font-weight: 700; }
.highlight-num span { color: #5fb3ff; }
.highlight-label { font-size: 13px; opacity: 0.55; margin-top: 6px; }

/* ===== Product showcase ===== */
.bg-gray { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 36px; transition: all 0.3s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-icon { font-size: 36px; margin-bottom: 18px; }
.product-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tag {
  padding: 3px 10px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 11px; color: var(--text-muted);
}
.product-link { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.product-link:hover { text-decoration: underline; }

/* ===== Two column ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
.content-block h2 { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.3; }
.content-block h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.content-block p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }
.content-block .section-tag { text-align: left; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-badge {
  padding: 6px 14px; border-radius: 100px;
  background: rgba(10,108,255,0.09); color: var(--accent);
  font-size: 12px; font-weight: 500; border: 1px solid rgba(10,108,255,0.2);
}
.visual-box {
  background: linear-gradient(135deg, var(--primary), #0c3475);
  border-radius: 20px; padding: 48px; text-align: center; color: white;
  min-height: 300px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.visual-box .vis-icon { font-size: 64px; opacity: 0.9; }
.visual-box h3 { font-size: 20px; font-weight: 600; opacity: 0.9; }
.visual-box p { font-size: 13px; opacity: 0.6; max-width: 240px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #0b213f 0%, #1a3560 100%);
  color: white; text-align: center; padding: 84px 0;
}
.cta-section h2 { font-size: 38px; font-weight: 700; margin-bottom: 18px; }
.cta-section p { font-size: 17px; opacity: 0.7; margin-bottom: 38px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.65); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 { color: white; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 6px; }
.footer-col h4 {
  color: white; font-size: 12px; font-weight: 700;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ===== Page header (inner pages) ===== */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, #0c213b 100%); color: white; padding: 68px 0; }
.page-header h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-header p { font-size: 17px; opacity: 0.72; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; opacity: 0.55; margin-bottom: 18px; align-items: center; }
.breadcrumb a { color: white; text-decoration: none; }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid white;
  box-shadow: 0 0 0 3px var(--accent);
}
.timeline-date { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.5px; }
.timeline-title { font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.timeline-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-img {
  height: 172px; display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.news-card-img.blue { background: linear-gradient(135deg, #1a3560, #0a6cff); }
.news-card-img.teal { background: linear-gradient(135deg, #0a5465, #0a9e8b); }
.news-card-img.orange { background: linear-gradient(135deg, #5c2800, #ff6533); }
.news-card-img.purple { background: linear-gradient(135deg, #2c1a5c, #7c3fff); }
.news-card-img.green { background: linear-gradient(135deg, #0d3b20, #1aad52); }
.news-card-body { padding: 24px; }
.news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-tag {
  display: inline-block; padding: 2px 9px;
  background: rgba(10,108,255,0.08); color: var(--accent);
  border-radius: 100px; font-size: 11px; font-weight: 600; margin-bottom: 10px;
}
.news-card h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 8px; line-height: 1.55; }
.news-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.news-link { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 44px; height: 44px; background: rgba(10,108,255,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== Form ===== */
.form-box { background: var(--bg); border-radius: 16px; padding: 36px; }
.form-box h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text);
  transition: border-color 0.2s; outline: none; font-family: inherit;
  background: white;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,108,255,0.1); }
textarea.form-input { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%; padding: 13px; background: var(--accent);
  color: white; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-submit:hover { background: #0050cc; }
.map-placeholder {
  width: 100%; height: 300px; background: var(--bg);
  border-radius: 16px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--text-muted); margin-top: 36px;
}
.map-placeholder .map-icon { font-size: 40px; }

/* ===== Privacy ===== */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--primary); margin: 24px 0 8px; }
.prose p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose li { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 6px; }

/* ===== About team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 28px; font-weight: 700;
}
.team-card h3 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== Values grid ===== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.value-icon { font-size: 36px; margin-bottom: 14px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== Solutions ===== */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.solution-card {
  background: white; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: all 0.3s;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.solution-header {
  padding: 32px; color: white; position: relative; overflow: hidden;
}
.solution-header.blue { background: linear-gradient(135deg, #1a3560, #0a6cff); }
.solution-header.teal { background: linear-gradient(135deg, #0a4050, #0a8e7a); }
.solution-header.orange { background: linear-gradient(135deg, #3c1800, #cc4400); }
.solution-header.purple { background: linear-gradient(135deg, #2a0a50, #6a1fc2); }
.solution-header-icon { font-size: 40px; margin-bottom: 16px; }
.solution-header h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.solution-header p { font-size: 14px; opacity: 0.75; line-height: 1.65; }
.solution-body { padding: 28px; }
.solution-feature { display: flex; gap: 12px; margin-bottom: 16px; }
.solution-feature-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.solution-feature h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 3px; }
.solution-feature p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 66px; left: 0; right: 0; background: white; padding: 16px;
    border-bottom: 1px solid var(--border); box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  }
  .nav-links.open .nav-cta { display: block; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 28px; }
  section { padding: 60px 0; }
  .section-header h2 { font-size: 26px; }
  .cards-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-reverse { direction: ltr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .highlight-num { font-size: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 br { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
