:root {
  --primary: #1a56db;
  --primary-dark: #1040a0;
  --primary-light: #e8effc;
  --accent: #f59e0b;
  --dark: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; color: var(--gray-900); line-height: 1.7; overflow-x: hidden; }

/* ===== NAV ===== */
nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo { font-size:20px; font-weight:800; color:#7c3aed; display:flex; align-items:center; gap:8px; text-decoration:none; }
.logo-icon { width:36px; height:36px; background:linear-gradient(135deg, #8b5cf6, #14b8a6); border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:900; font-size:16px; }
.nav-links { display:flex; gap:28px; list-style:none; align-items:center; }
.nav-links a { text-decoration:none; color:var(--gray-700); font-size:14px; font-weight:500; transition:var(--transition); position:relative; }
.nav-links a:hover, .nav-links a.active { color:#7c3aed; }
.nav-links a.active::after { content:''; position:absolute; bottom:-20px; left:0; width:100%; height:3px; background:#7c3aed; border-radius:2px; }
.nav-links a::after { content:''; position:absolute; bottom:-20px; left:0; width:0; height:3px; background:#7c3aed; transition:var(--transition); border-radius:2px; }
.nav-links a:hover::after { width:100%; }
.nav-cta { background:linear-gradient(135deg, #7c3aed, #2563eb); color:#fff; border:none; padding:10px 24px; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; transition:var(--transition); text-decoration:none; }
.nav-cta:hover { background:linear-gradient(135deg, #6d28d9, #1d4ed8); transform:translateY(-1px); box-shadow:0 4px 12px rgba(124,58,237,0.3); }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:8px; }
.hamburger span { width:24px; height:2px; background:var(--dark); transition:var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #0c0a1d 0%, #1a1445 30%, #2d1b69 60%, #0f766e 100%);
  position:relative; overflow:hidden; padding:120px 24px 80px;
}
.hero::before {
  content:''; position:absolute; top:-50%; right:-20%; width:800px; height:800px;
  background:radial-gradient(circle, rgba(139,92,246,0.35) 0%, transparent 70%);
  border-radius:50%; animation:float 8s ease-in-out infinite;
}
.hero::after {
  content:''; position:absolute; bottom:-30%; left:-10%; width:600px; height:600px;
  background:radial-gradient(circle, rgba(20,184,166,0.2) 0%, transparent 70%);
  border-radius:50%; animation:float 10s ease-in-out infinite reverse;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-40px)} }

.hero-grid { position:absolute; inset:0; background-image:
  linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size:60px 60px; }

.hero-content { position:relative; z-index:2; max-width:800px; text-align:center; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); padding:8px 20px; border-radius:100px; color:rgba(255,255,255,0.9); font-size:13px; margin-bottom:32px; backdrop-filter:blur(8px); }
.hero-badge span { width:8px; height:8px; background:#a78bfa; border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 { font-size:clamp(36px,6vw,64px); font-weight:900; color:#fff; line-height:1.15; margin-bottom:24px; letter-spacing:-0.02em; }
.hero h1 em { font-style:normal; background:linear-gradient(135deg, #a78bfa, #2dd4bf, #60a5fa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero p { font-size:clamp(16px,2vw,20px); color:rgba(255,255,255,0.6); max-width:600px; margin:0 auto 40px; line-height:1.8; }
.hero-btns { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; border-radius:10px; font-size:16px; font-weight:600; text-decoration:none; transition:var(--transition); cursor:pointer; border:none; }
.btn-primary { background:#fff; color:var(--primary); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.08); }

.hero-stats { display:flex; justify-content:center; gap:48px; margin-top:64px; padding-top:48px; border-top:1px solid rgba(255,255,255,0.08); }
.hero-stat { text-align:center; }
.hero-stat-num { font-size:36px; font-weight:900; color:#fff; }
.hero-stat-label { font-size:13px; color:rgba(255,255,255,0.45); margin-top:4px; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding:140px 24px 80px;
  background: linear-gradient(135deg, #0c0a1d 0%, #1a1445 30%, #2d1b69 60%, #0f766e 100%);
  text-align:center; position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size:60px 60px;
}
.page-hero h1 { position:relative; z-index:2; font-size:clamp(32px,5vw,48px); font-weight:900; color:#fff; margin-bottom:16px; }
.page-hero p { position:relative; z-index:2; color:rgba(255,255,255,0.7); font-size:18px; max-width:900px; margin:0 auto; white-space:nowrap; }

/* ===== SECTIONS ===== */
section { padding:100px 24px; }
.section-header { text-align:center; max-width:700px; margin:0 auto 64px; }
.section-tag { display:inline-block; background:linear-gradient(135deg, #ede9fe, #dbeafe); color:#7c3aed; padding:6px 16px; border-radius:100px; font-size:13px; font-weight:700; margin-bottom:16px; letter-spacing:0.5px; }
.section-header h2 { font-size:clamp(28px,4vw,42px); font-weight:800; line-height:1.2; margin-bottom:16px; }
.section-header p { color:var(--gray-500); font-size:17px; }
.container { max-width:1200px; margin:0 auto; }

/* ===== SERVICES ===== */
#services { background:var(--gray-100); }
.services-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(340px,1fr)); gap:24px; }
.service-card { background:#fff; border-radius:var(--radius); padding:40px 32px; transition:var(--transition); border:1px solid transparent; position:relative; overflow:hidden; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:#7c3aed; }
.service-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, #7c3aed, #2563eb); opacity:0; transition:var(--transition); }
.service-card:hover::after { opacity:1; }
.service-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:24px; }
.service-icon.blue { background:#dbeafe; }
.service-icon.purple { background:#ede9fe; }
.service-icon.green { background:#d1fae5; }
.service-icon.orange { background:#fef3c7; }
.service-icon.red { background:#fee2e2; }
.service-icon.cyan { background:#cffafe; }
.service-card h3 { font-size:20px; font-weight:700; margin-bottom:12px; }
.service-card p { color:var(--gray-500); font-size:15px; line-height:1.8; }
.service-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.service-tags span { background:var(--gray-100); padding:4px 12px; border-radius:6px; font-size:12px; color:var(--gray-700); }

/* ===== DETAIL CARDS (service detail pages) ===== */
.detail-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px; margin-top:24px; }
.detail-card { background:#fff; border-radius:var(--radius); padding:28px 24px; border:1px solid var(--gray-300); transition:var(--transition); }
.detail-card:hover { box-shadow:var(--shadow); border-color:var(--primary); }
.detail-card h4 { font-size:17px; font-weight:700; margin-bottom:8px; }
.detail-card p { font-size:14px; color:var(--gray-500); line-height:1.8; }

/* ===== FEATURE ROW ===== */
.feature-row { display:flex; align-items:center; gap:48px; margin-bottom:64px; }
.feature-row:nth-child(even) { flex-direction:row-reverse; }
.feature-text { flex:1; }
.feature-text h3 { font-size:24px; font-weight:700; margin-bottom:12px; }
.feature-text p { color:var(--gray-500); font-size:15px; line-height:1.8; }
.feature-text ul { list-style:none; margin-top:16px; }
.feature-text ul li { padding:6px 0; font-size:14px; color:var(--gray-700); }
.feature-text ul li::before { content:'✓'; color:var(--primary); font-weight:700; margin-right:8px; }
.feature-visual { flex:1; max-width:200px; min-width:160px; height:200px; background:linear-gradient(135deg, #7c3aed, #2563eb); border-radius:24px; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 8px 32px rgba(124,58,237,0.25); position:relative; overflow:hidden; }
.feature-visual::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%); }
.feature-visual svg { width:80px; height:80px; color:#fff; position:relative; z-index:1; filter:drop-shadow(0 2px 8px rgba(0,0,0,0.2)); }

/* ===== TECH STACK ===== */
.tech-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.tech-card { background:#fff; border:1px solid var(--gray-300); border-radius:var(--radius); padding:28px 16px 24px; text-align:center; transition:var(--transition); }
.tech-card:hover { border-color:#7c3aed; box-shadow:var(--shadow); transform:translateY(-4px); }
.tech-card-icon { width:48px; height:48px; margin:0 auto 16px; border-radius:12px; background:linear-gradient(135deg, #ede9fe, #dbeafe); display:flex; align-items:center; justify-content:center; }
.tech-card-icon svg { width:24px; height:24px; color:#7c3aed; }
.tech-card h4 { font-size:14px; font-weight:700; margin-bottom:10px; color:#7c3aed; }
.tech-card p { font-size:12px; color:var(--gray-500); line-height:1.7; }

/* ===== INDUSTRIES ===== */
#industries { background:var(--gray-100); }
.industry-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:20px; }
.industry-card { background:#fff; border-radius:var(--radius); padding:32px 24px; text-align:center; transition:var(--transition); cursor:default; }
.industry-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.industry-emoji { font-size:40px; margin-bottom:16px; display:block; }
.industry-card h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.industry-card p { font-size:13px; color:var(--gray-500); }

/* ===== PROCESS ===== */
.process-timeline { position:relative; max-width:900px; margin:0 auto; }
.process-timeline::before { content:''; position:absolute; left:50%; top:0; bottom:0; width:3px; background:var(--gray-300); transform:translateX(-50%); }
.process-step { display:flex; align-items:center; gap:40px; margin-bottom:48px; position:relative; }
.process-step:nth-child(even) { flex-direction:row-reverse; }
.process-dot { position:absolute; left:50%; transform:translateX(-50%); width:40px; height:40px; background:linear-gradient(135deg, #7c3aed, #2563eb); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:16px; z-index:2; border:4px solid #fff; box-shadow:var(--shadow); }
.process-content { flex:1; background:#fff; border-radius:var(--radius); padding:28px 32px; box-shadow:var(--shadow); border:1px solid var(--gray-100); }
.process-content h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.process-content p { font-size:14px; color:var(--gray-500); }
.process-spacer { flex:1; }

/* ===== COOPERATION ===== */
#cooperation { background:var(--gray-100); }
.coop-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:24px; }
.coop-card { background:#fff; border-radius:var(--radius); padding:36px 28px; transition:var(--transition); border-top:4px solid #7c3aed; }
.coop-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.coop-card:nth-child(2) { border-top-color:#2563eb; }
.coop-card:nth-child(3) { border-top-color:#14b8a6; }
.coop-card:nth-child(4) { border-top-color:#10b981; }
.coop-card h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.coop-card .coop-scene { font-size:13px; color:var(--gray-500); margin-bottom:16px; font-style:italic; }
.coop-card p { font-size:14px; color:var(--gray-700); line-height:1.8; }

/* ===== ADVANTAGES ===== */
.adv-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:24px; }
.adv-card { text-align:center; padding:40px 24px; }
.adv-num { font-size:36px; font-weight:900; background:linear-gradient(135deg, #7c3aed, #2563eb); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:12px; white-space:nowrap; }
.adv-card h4 { font-size:18px; font-weight:700; margin-bottom:8px; }
.adv-card p { font-size:14px; color:var(--gray-500); }

/* ===== CTA ===== */
.cta-section { background:linear-gradient(135deg, #0c0a1d, #2d1b69, #0f766e); text-align:center; padding:100px 24px; }
.cta-section h2 { font-size:clamp(28px,4vw,42px); font-weight:800; color:#fff; margin-bottom:16px; }
.cta-section p { color:rgba(255,255,255,0.7); font-size:18px; margin-bottom:40px; max-width:500px; margin-left:auto; margin-right:auto; }
.cta-btn { background:linear-gradient(135deg, #f59e0b, #f97316); color:#fff; padding:16px 40px; border-radius:12px; font-size:18px; font-weight:700; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:var(--transition); border:none; cursor:pointer; }
.cta-btn:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(245,158,11,0.4); }

/* ===== FOOTER ===== */
footer { background:var(--dark); color:rgba(255,255,255,0.6); padding:48px 24px 24px; }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:24px 32px; margin-bottom:32px; }
.footer-brand h3 { color:#fff; font-size:20px; margin-bottom:12px; }
.footer-brand p { font-size:14px; line-height:1.8; }
footer h4 { color:#fff; font-size:15px; margin-bottom:16px; }
footer ul { list-style:none; }
.footer-grid > div:nth-child(2) ul { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.footer-grid > div:nth-child(2) ul li a { white-space:normal; }
.footer-grid > div:nth-child(3) ul { display:flex; flex-wrap:wrap; gap:6px 16px; }
footer ul li { }
footer ul a { color:rgba(255,255,255,0.5); text-decoration:none; font-size:14px; transition:var(--transition); }
footer ul a:hover { color:#fff; }
.footer-bottom { max-width:1200px; margin:0 auto; padding-top:24px; border-top:1px solid rgba(255,255,255,0.08); text-align:center; font-size:13px; }

/* ===== CONTACT FORM ===== */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-info-card { background:#fff; border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.contact-info-card h3 { font-size:20px; font-weight:700; margin-bottom:24px; }
.contact-item { display:flex; gap:16px; margin-bottom:24px; align-items:flex-start; }
.contact-item-icon { width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg, #ede9fe, #dbeafe); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#7c3aed; }
.contact-item h4 { font-size:15px; font-weight:600; margin-bottom:4px; }
.contact-item p { font-size:14px; color:var(--gray-500); }
.contact-form { background:#fff; border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.contact-form h3 { font-size:20px; font-weight:700; margin-bottom:24px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; color:var(--gray-700); }
.form-group input, .form-group textarea, .form-group select { width:100%; padding:12px 16px; border:1px solid var(--gray-300); border-radius:8px; font-size:14px; font-family:inherit; transition:var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline:none; border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,0.1); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-submit { background:linear-gradient(135deg, #7c3aed, #2563eb); color:#fff; padding:14px 32px; border-radius:8px; font-size:16px; font-weight:600; border:none; cursor:pointer; transition:var(--transition); width:100%; }
.form-submit:hover { background:linear-gradient(135deg, #6d28d9, #1d4ed8); }

/* ===== ABOUT TIMELINE ===== */
.about-timeline { position:relative; max-width:700px; margin:0 auto; }
.about-timeline::before { content:''; position:absolute; left:24px; top:0; bottom:0; width:3px; background:var(--gray-300); }
.about-milestone { display:flex; gap:24px; margin-bottom:40px; position:relative; }
.about-milestone-dot { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg, #7c3aed, #2563eb); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; z-index:2; border:4px solid #fff; box-shadow:var(--shadow); color:#fff; }
.about-milestone-content { background:#fff; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); flex:1; }
.about-milestone-content h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.about-milestone-content p { font-size:14px; color:var(--gray-500); line-height:1.8; }

/* ===== RESPONSIVE ===== */
@media (max-width:900px) {
  .feature-row, .feature-row:nth-child(even) { flex-direction:column; }
  .contact-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .nav-links { display:none; position:fixed; top:64px; left:0; right:0; background:#fff; flex-direction:column; padding:24px; gap:20px; box-shadow:var(--shadow-lg); }
  .nav-links.show { display:flex; }
  .nav-cta { display:none; }
  .hamburger { display:flex; }
  .hero-stats { flex-direction:column; gap:24px; }
  .services-grid { grid-template-columns:1fr; }
  .process-timeline::before { left:20px; }
  .process-step, .process-step:nth-child(even) { flex-direction:column; gap:16px; }
  .process-dot { position:relative; left:auto; transform:none; }
  .process-spacer { display:none; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .tech-grid { grid-template-columns:repeat(2,1fr); }
  .page-hero p { white-space:normal; font-size:15px; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity:0; transform:translateY(30px); transition:opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
