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

:root {
  --bg: #0a0c14;
  --bg2: #0e1120;
  --bg3: #131729;
  --primary: #7c6fff;
  --primary-dark: #5b4fe0;
  --accent: #ff6b9d;
  --accent2: #00d4c8;
  --text: #e8eaf6;
  --text-muted: #8892b0;
  --border: rgba(124, 111, 255, 0.18);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 9px; color: var(--text-muted); letter-spacing: 0.12em; margin-top: -2px; }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--card-bg); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,111,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,111,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(124, 111, 255, 0.08);
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.btn {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,111,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,111,255,0.5); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(124,111,255,0.06); }

/* Hero visual */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb1 { width: 400px; height: 400px; background: var(--primary); top: 50%; left: 50%; transform: translate(-60%,-60%); animation: pulse 6s ease-in-out infinite; }
.orb2 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 50%; transform: translate(-20%,-30%); animation: pulse 8s ease-in-out infinite reverse; }
.orb3 { width: 200px; height: 200px; background: var(--accent2); top: 50%; left: 50%; transform: translate(-50%,10%); animation: pulse 5s ease-in-out infinite 2s; }

@keyframes pulse {
  0%, 100% { transform: translate(-60%,-60%) scale(1); }
  50% { transform: translate(-60%,-60%) scale(1.15); }
}

.film-strip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  transform: rotate(-10deg);
}

.frame {
  width: 80px;
  height: 100px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  backdrop-filter: blur(8px);
  animation: float 4s ease-in-out infinite;
}
.frame:nth-child(2) { animation-delay: 0.5s; margin-top: 20px; }
.frame:nth-child(3) { animation-delay: 1s; }
.frame:nth-child(4) { animation-delay: 1.5s; margin-top: 20px; }

.f1 span { background: linear-gradient(135deg,#7c6fff,#ff6b9d); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.f2 span { background: linear-gradient(135deg,#ff6b9d,#ffb347); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.f3 span { background: linear-gradient(135deg,#00d4c8,#7c6fff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.f4 span { background: linear-gradient(135deg,#ffb347,#ff6b9d); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Stats ===== */
.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 20px 24px;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.stat-label { font-size: 13px; color: var(--text-muted); }

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(124, 111, 255, 0.1);
  border: 1px solid rgba(124, 111, 255, 0.2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ===== About ===== */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.9;
}
.about-text p strong { color: var(--text); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(124,111,255,0.1);
  border: 1px solid rgba(124,111,255,0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.about-card-stack {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  position: absolute;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

.card-back {
  width: 280px; height: 200px;
  background: rgba(124,111,255,0.06);
  transform: rotate(8deg) translate(20px, 20px);
}

.card-mid {
  width: 280px; height: 200px;
  background: rgba(124,111,255,0.1);
  transform: rotate(4deg) translate(10px, 10px);
}

.card-front {
  width: 280px;
  padding: 28px;
  background: var(--bg3);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: rotate(0deg);
}

.card-icon { font-size: 32px; margin-bottom: 12px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card-tags span {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(124,111,255,0.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
}

/* ===== Services ===== */
.services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(124,111,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.service-card--highlight {
  background: linear-gradient(135deg, rgba(124,111,255,0.12), rgba(255,107,157,0.06));
  border-color: rgba(124,111,255,0.3);
}

.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 3px 10px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.service-icon { font-size: 36px; margin-bottom: 16px; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

/* ===== Advantage ===== */
.advantage { background: var(--bg); }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.adv-item {
  padding: 40px 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.adv-item:hover { background: var(--bg3); }

.adv-num {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}

.adv-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.adv-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Contact ===== */
.contact { background: var(--bg2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(124,111,255,0.1);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-value a {
  color: var(--primary);
  transition: var(--transition);
}
.contact-value a:hover { opacity: 0.8; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-placeholder {
  background: linear-gradient(135deg, rgba(124,111,255,0.08), rgba(0,212,200,0.06));
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-icon { font-size: 48px; margin-bottom: 8px; }

.map-title {
  font-size: 20px;
  font-weight: 700;
}

.map-addr {
  font-size: 14px;
  color: var(--text-muted);
}

.map-btn {
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 8px;
  background: rgba(124,111,255,0.15);
  border: 1px solid rgba(124,111,255,0.3);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}
.map-btn:hover { background: rgba(124,111,255,0.25); }

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 24px 48px;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-company { font-size: 16px; font-weight: 700; }
.footer-en { font-size: 10px; color: var(--text-muted); letter-spacing: 0.06em; margin-top: 2px; }

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.icp {
  color: var(--text-muted);
  transition: var(--transition);
}
.icp:hover { color: var(--primary); }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-toggle { display: block; }
  .navbar { position: relative; }

  .hero { min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { padding: 100px 24px 60px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card-stack { height: 240px; }
  .card-front, .card-mid, .card-back { width: 240px; }

  .services-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stats-grid { gap: 0; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .advantage-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .footer-inner { flex-direction: column; }
}
