/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0f1e;
  color: #e0e6f0;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Canvas Background ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Section Common ===== */
.section { position: relative; z-index: 1; padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2B6FFF;
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.section-desc {
  font-size: 17px;
  color: #8892a8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(43, 111, 255, 0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A3AB8, #2B6FFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: 0 0 20px rgba(43, 111, 255, 0.3);
}
.logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 15px;
  color: #8892a8;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #2B6FFF;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-beam {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(43, 111, 255, 0.08) 0%, transparent 70%);
  animation: beam-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes beam-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; }
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #2B6FFF, #4d8bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 19px;
  color: #8892a8;
  margin-bottom: 48px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #1A3AB8, #2B6FFF);
  color: #fff;
  box-shadow: 0 4px 24px rgba(43, 111, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(43, 111, 255, 0.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(43, 111, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(43, 111, 255, 0.1);
  border-color: #2B6FFF;
  transform: translateY(-2px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #8892a8;
  font-size: 12px;
  letter-spacing: 2px;
  animation: float-hint 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid #2B6FFF;
  border-bottom: 2px solid #2B6FFF;
  transform: rotate(45deg);
}
@keyframes float-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== About / Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
  padding: 48px 24px;
  background: rgba(13, 21, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 111, 255, 0.15);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2B6FFF, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-card:hover {
  border-color: rgba(43, 111, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43, 111, 255, 0.1);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: #00d4aa;
  display: inline;
  line-height: 1;
}
.stat-suffix {
  font-size: 28px;
  font-weight: 700;
  color: #00d4aa;
  display: inline;
}
.stat-label {
  font-size: 16px;
  color: #8892a8;
  margin-top: 12px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  padding: 36px 20px;
  background: rgba(13, 21, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 111, 255, 0.12);
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(43, 111, 255, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(43, 111, 255, 0.12);
}
.service-icon {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  color: #2B6FFF;
}
.service-icon svg { width: 100%; height: 100%; }
.service-step {
  font-size: 12px;
  color: #2B6FFF;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}
.service-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: #8892a8;
  line-height: 1.7;
}

/* ===== Platforms ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 12px;
  background: rgba(13, 21, 41, 0.4);
  border: 1px solid rgba(43, 111, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.platform-item:hover {
  border-color: rgba(43, 111, 255, 0.3);
  transform: translateY(-4px);
  background: rgba(13, 21, 41, 0.7);
}
.platform-icon {
  width: 40px; height: 40px;
  color: #2B6FFF;
}
.platform-icon svg { width: 100%; height: 100%; }
.platform-item span {
  font-size: 13px;
  color: #8892a8;
  font-weight: 500;
}

/* ===== Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  padding: 40px 32px;
  background: rgba(13, 21, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 111, 255, 0.12);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.case-card.featured {
  border-color: rgba(43, 111, 255, 0.3);
  background: rgba(17, 26, 51, 0.8);
  box-shadow: 0 0 40px rgba(43, 111, 255, 0.08);
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 111, 255, 0.4);
  box-shadow: 0 20px 60px rgba(43, 111, 255, 0.12);
}
.case-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  color: #2B6FFF;
  border: 1px solid rgba(43, 111, 255, 0.3);
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}
.case-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.case-metrics {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.metric { display: flex; flex-direction: column; }
.metric-value {
  font-size: 32px;
  font-weight: 900;
  color: #00d4aa;
  line-height: 1.2;
}
.metric-label {
  font-size: 13px;
  color: #8892a8;
  margin-top: 4px;
}
.case-desc {
  font-size: 15px;
  color: #8892a8;
  line-height: 1.8;
}

/* ===== Why Us ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  padding: 40px 28px;
  background: rgba(13, 21, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(43, 111, 255, 0.12);
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.advantage-card:hover {
  border-color: rgba(43, 111, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43, 111, 255, 0.1);
}
.advantage-icon {
  width: 48px; height: 48px;
  margin: 0 auto 24px;
  color: #2B6FFF;
}
.advantage-icon svg { width: 100%; height: 100%; }
.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.advantage-card p {
  font-size: 14px;
  color: #8892a8;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact { background: rgba(13, 21, 41, 0.3); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.contact-info .section-tag { display: block; text-align: left; }
.contact-info .section-title { text-align: left; font-size: 36px; }
.contact-desc {
  font-size: 17px;
  color: #8892a8;
  margin-bottom: 40px;
  line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item svg {
  width: 24px; height: 24px;
  color: #2B6FFF;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 13px;
  color: #8892a8;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
}
.contact-qr { text-align: center; }
.qr-placeholder {
  width: 160px; height: 160px;
  background: rgba(13, 21, 41, 0.8);
  border: 1px solid rgba(43, 111, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #2B6FFF;
}
.qr-placeholder svg { width: 100%; height: 100%; }
.qr-text {
  font-size: 14px;
  color: #8892a8;
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid rgba(43, 111, 255, 0.1);
  text-align: center;
}
.footer p { font-size: 14px; color: #8892a8; }
.footer-company { margin-top: 8px; font-size: 13px; color: #5a6478; }
.footer-icp { margin-top: 6px; font-size: 13px; color: #5a6478; }
.footer-icp a { color: #5a6478; text-decoration: none; }
.footer-icp a:hover { color: #8892a8; }

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .platforms-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 30px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(43, 111, 255, 0.1);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-card { padding: 32px 20px; }
  .stat-number { font-size: 44px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .platforms-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .platform-item { padding: 20px 8px; }

  .cases-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .contact-info .section-tag,
  .contact-info .section-title { text-align: center; }
  .contact-item { justify-content: center; }
  .contact-qr { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
