:root {
  --primary: #1e3a5f;
  --primary-light: #2d5a8e;
  --primary-lighter: #eef2ff;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(30,58,95,0.06);
  --shadow-lg: 0 12px 40px rgba(30,58,95,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 16px;
  letter-spacing: 0.3px;
}
.logo-icon { flex-shrink: 0; }
.logo-text span { font-weight: 400; color: var(--text-light); font-size: 13px; margin-left: 4px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; border-radius: 6px; text-decoration: none;
  transition: all 0.25s; cursor: pointer; border: 2px solid transparent;
  font-family: inherit;
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(30,58,95,0.25); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-lighter); transform: translateY(-1px); }

/* ===== Hamburger ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 50%, #f0f4ff 100%);
  min-height: 100vh; display: flex; align-items: center;
}
.hero-container { display: flex; align-items: center; gap: 80px; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 20px;
  padding: 6px 14px; border: 1px solid rgba(59,130,246,0.2); border-radius: 20px;
  background: rgba(59,130,246,0.05);
}
.hero-content h1 { font-size: 44px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: var(--primary); }
.hero-content p { font-size: 16px; color: var(--text-secondary); max-width: 540px; line-height: 1.8; }

.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-visual { flex: 1; max-width: 440px; }
.hero-illustration-svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 8px 32px rgba(30,58,95,0.06));
}

/* ===== Stats ===== */
.stats-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.stats { display: flex; justify-content: space-around; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.section-header p { color: var(--text-secondary); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 32px 24px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card-icon { margin-bottom: 16px; }
.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--primary); }
.service-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* ===== Products Showcase ===== */
.products-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-hero-card {
  grid-column: 1 / -1;
  padding: 36px 28px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); position: relative;
  box-shadow: 0 2px 12px rgba(30,58,95,0.06);
}
.product-hero-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: var(--accent); padding: 4px 12px; border-radius: 4px;
  background: rgba(59,130,246,0.08); margin-bottom: 16px;
}
.product-hero-icon { margin-bottom: 12px; }
.product-hero-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-hero-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

.product-coming-card {
  padding: 28px 24px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-coming-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-coming-icon {
  margin-bottom: 12px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-lighter);
  display: flex; align-items: center; justify-content: center;
}
.product-coming-card h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.product-coming-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Tech Stack ===== */
.tech-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 780px; margin: 0 auto; }
.tech-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: var(--bg); border-radius: 50px;
  border: 1px solid var(--border); font-size: 14px; color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.tech-item:hover { border-color: var(--accent); color: var(--primary); }
.tech-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0; text-align: center;
  background: var(--primary); color: #fff;
}
.cta-section h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 15px; opacity: 0.85; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-section .btn-primary:hover { background: #e2e8f0; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-col-brand p { font-size: 13px; line-height: 1.8; max-width: 320px; }
.footer-badge { font-size: 11px; color: #475569; margin-top: 12px; }
.footer-col h4 { color: #f1f5f9; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col a { display: block; color: #64748b; text-decoration: none; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #f1f5f9; }
.footer-bottom { margin-top: 48px; padding: 20px 0; border-top: 1px solid #1e293b; }
.footer-bottom p { font-size: 12px; color: #475569; }

/* ===== Subpages Shared ===== */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 100%);
  text-align: center;
}
.page-hero h1 { font-size: 34px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* ===== About Page ===== */
.about-body { max-width: 800px; margin: 0 auto; }
.about-body h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 40px 0 16px; }
.about-body h3:first-of-type { margin-top: 0; }
.about-body p { font-size: 15px; color: var(--text-secondary); line-height: 2; margin-bottom: 16px; }
.about-body ul { list-style: none; margin: 16px 0; }
.about-body ul li { padding: 8px 0 8px 24px; font-size: 14px; color: var(--text-secondary); position: relative; }
.about-body ul li::before { content: ''; position: absolute; left: 6px; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.vision-box {
  padding: 28px; background: var(--primary-lighter); border-radius: var(--radius);
  border-left: 4px solid var(--accent); margin: 20px 0;
}
.vision-box p { margin-bottom: 0; font-size: 15px; }
.vision-box strong { color: var(--primary); }

/* ===== Product Subpage ===== */
.product-body { max-width: 800px; margin: 0 auto; }
.product-body h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 40px 0 16px; }
.product-body p { font-size: 15px; color: var(--text-secondary); line-height: 2; margin-bottom: 16px; }
.product-body ul { list-style: none; margin: 16px 0; }
.product-body ul li { padding: 6px 0 6px 24px; font-size: 14px; color: var(--text-secondary); position: relative; }
.product-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ===== Product Feature Card ===== */
.product-feature-card {
  padding: 36px 32px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(30,58,95,0.06);
}
.product-feature-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: #059669; padding: 4px 12px; border-radius: 4px;
  background: rgba(5,150,105,0.08); margin-bottom: 16px;
}
.product-feature-card h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.product-feature-card h4 { font-size: 16px; font-weight: 600; color: var(--primary); margin: 24px 0 12px; }
.product-feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 2; margin-bottom: 12px; }
.product-feature-card ul { list-style: none; margin: 12px 0; }
.product-feature-card ul li { padding: 6px 0 6px 24px; font-size: 14px; color: var(--text-secondary); position: relative; }
.product-feature-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ===== Product Roadmap ===== */
.roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.roadmap-card {
  padding: 28px 24px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: box-shadow 0.3s, transform 0.3s;
}
.roadmap-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.roadmap-card-icon { margin-bottom: 14px; }
.roadmap-card h4 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.roadmap-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.roadmap-badge {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 20px; color: #94a3b8;
  background: var(--bg-alt); border: 1px solid var(--border);
}

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-icon { width: 40px; height: 40px; background: var(--primary-lighter); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item-body strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-item-body p { font-size: 14px; color: var(--text-secondary); }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s;
  background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.contact-form button:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-field { margin-bottom: 16px; }
.required { color: #ef4444; }
.contact-result { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.contact-result--success { color: #059669; }
.contact-result--error { color: #dc2626; }

/* ===== Contact Biz Scope ===== */
.contact-biz-scope {
  margin-top: 28px; padding: 20px; background: var(--primary-lighter);
  border-radius: var(--radius-sm);
}
.contact-biz-scope h4 { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.contact-biz-scope p { font-size: 12px; color: var(--text-secondary); line-height: 1.8; }

/* ===== Contact Quick Links ===== */
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.quick-link-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.quick-link-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.quick-link-card svg { flex-shrink: 0; margin-bottom: 4px; }
.quick-link-card span { font-size: 13px; font-weight: 600; color: var(--primary); }
.quick-link-card small { font-size: 11px; color: var(--text-light); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .products-showcase { grid-template-columns: 1fr; }
  .product-hero-card { grid-column: auto; }
  .roadmap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .hamburger { display: flex; }
  .hero-container { flex-direction: column; text-align: center; gap: 40px; }
  .hero-content h1 { font-size: 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 320px; }
  .stats { flex-wrap: wrap; justify-content: center; }
  .stat-item { width: 45%; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .product-feature-card { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .footer-container { grid-template-columns: 1fr; }
}
