/* =============================================
   成都淞华思创科技有限公司 — 官网样式
   设计风格：Apple-style · 科技感 · 简洁
   ============================================= */

:root {
  --bg:           #F5F5F7;
  --bg-white:     #FFFFFF;
  --bg-secondary: #EDECF2;
  --bg-dark:      #0A0A0F;
  --bg-dark-2:    #111118;
  --bg-card:      rgba(255,255,255,0.72);

  --accent:       #0A84FF;
  --accent-2:     #5E5CE6;
  --accent-light: #E3F0FF;
  --accent-grad:  linear-gradient(135deg, #0A84FF 0%, #5E5CE6 100%);

  --text-primary:   #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary:  #AEAEB2;
  --text-on-dark:   rgba(255,255,255,0.92);
  --text-on-dark-2: rgba(255,255,255,0.55);

  --separator:  #D2D2D7;
  --border:     #C7C7CC;
  --chip-bg:    #E5E5EA;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);

  --nav-h: 56px;
  --max-w: 1120px;

  --r-sm:   8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; }

/* =============================================
   Navigation
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(210,210,215,0.7);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: 100%;
  display: flex; align-items: center;
  padding: 0 28px;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--accent-grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 3px 10px rgba(10,132,255,0.35);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-size: 13px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.nav-logo-sub  { font-size: 10px; color: var(--text-tertiary); white-space: nowrap; letter-spacing: 0.02em; }

/* Links */
.nav-links {
  display: flex; list-style: none; gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  display: block; padding: 6px 13px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.1s, background 0.1s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--accent); }

/* QR area */
.nav-qr-area {
  display: flex; align-items: center; gap: 10px;
  margin-left: 12px;
  flex-shrink: 0;
}
.qr-slot {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: default;
  position: relative;
}
.qr-box {
  width: 36px; height: 36px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.qr-box:hover { border-color: var(--accent); background: var(--accent-light); }
.qr-label { font-size: 9px; color: var(--text-tertiary); font-weight: 500; white-space: nowrap; }

/* Tooltip on hover */
.qr-slot .qr-tooltip {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  width: 120px;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  z-index: 300;
  border: 1px solid var(--separator);
}
.qr-slot:hover .qr-tooltip { display: flex; }
.qr-placeholder-lg {
  width: 90px; height: 90px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.qr-tooltip-label { font-size: 11px; color: var(--text-secondary); font-weight: 500; }

.nav-divider {
  width: 1px; height: 20px;
  background: var(--separator);
  margin: 0 4px;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 28px 80px;
  position: relative; overflow: hidden;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(10,132,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(94,92,230,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 10%,  rgba(10,132,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid lines decoration */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,132,255,0.9);
  background: rgba(10,132,255,0.12);
  border: 1px solid rgba(10,132,255,0.25);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: 68px; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px; font-weight: 400;
  color: var(--text-on-dark-2);
  line-height: 1.7;
  max-width: 560px; margin: 0 auto 40px;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 28px;
  background: var(--accent-grad);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(10,132,255,0.40);
  transition: all 0.15s; border: none; cursor: pointer;
}
.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,132,255,0.45); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 28px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.15s; cursor: pointer;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }

/* Stats row */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-on-dark-2); }

/* =============================================
   Section Base
   ============================================= */
.section {
  padding: 100px 28px;
  max-width: var(--max-w); margin: 0 auto;
}
.section-full { padding: 100px 0; }
.section-full .section-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
}

.label-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px; border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary); line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 17px; color: var(--text-secondary); line-height: 1.7;
  max-width: 560px;
}

.divider { height: 1px; background: var(--separator); margin: 0 28px; }

/* =============================================
   About Section
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 16px;
}

.about-text { }
.about-text p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text-primary); }

.about-cards {
  display: flex; flex-direction: column; gap: 12px;
}
.about-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; gap: 16px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.aci-blue   { background: linear-gradient(135deg, #E3F0FF, #C7E0FF); }
.aci-purple { background: linear-gradient(135deg, #EEE9FF, #DDD6FF); }
.aci-green  { background: linear-gradient(135deg, #E3F9EC, #C7F0D8); }

.about-card-body {}
.about-card-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.about-card-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* =============================================
   Industries — dark bg
   ============================================= */
.industries-section {
  background: var(--bg-dark);
  padding: 100px 28px;
}
.industries-inner {
  max-width: var(--max-w); margin: 0 auto;
}

.industries-section .label-chip {
  background: rgba(10,132,255,0.15);
  border: 1px solid rgba(10,132,255,0.25);
  color: rgba(10,132,255,0.9);
}
.industries-section .section-title { color: var(--text-on-dark); }
.industries-section .section-subtitle { color: var(--text-on-dark-2); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: inherit;
}
.industry-card:hover { border-color: rgba(10,132,255,0.3); transform: translateY(-4px); }
.industry-card:hover::before { opacity: 0.06; }

.industry-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(10,132,255,0.15);
  border: 1px solid rgba(10,132,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}

.industry-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.industry-subtitle {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.industry-desc {
  font-size: 14px; color: var(--text-on-dark-2);
  line-height: 1.7;
  position: relative; z-index: 1;
}
.industry-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
  position: relative; z-index: 1;
}
.itag {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
}

/* =============================================
   Technology Advantages
   ============================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tech-card {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; gap: 22px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.tech-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.tech-icon-wrap {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.ti-blue   { background: linear-gradient(135deg, #D6EBFF 0%, #B0D4FF 100%); }
.ti-purple { background: linear-gradient(135deg, #EBE8FF 0%, #D0CAFF 100%); }
.ti-cyan   { background: linear-gradient(135deg, #D6F5FF 0%, #A8E8FF 100%); }
.ti-green  { background: linear-gradient(135deg, #D6FFE8 0%, #A8F0C8 100%); }

.tech-body {}
.tech-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.tech-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* =============================================
   Values / Culture
   ============================================= */
.values-bg {
  background: linear-gradient(180deg, var(--bg) 0%, #EEF2FF 100%);
  padding: 100px 28px;
}
.values-inner { max-width: var(--max-w); margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.value-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.value-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* =============================================
   Contact
   ============================================= */
.contact-section {
  background: var(--bg-dark);
  padding: 100px 28px;
}
.contact-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}

.contact-section .section-title { color: var(--text-on-dark); }
.contact-section .section-subtitle { color: var(--text-on-dark-2); max-width: 420px; }

.contact-info {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 36px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-item-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(10,132,255,0.15);
  border: 1px solid rgba(10,132,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.contact-item-body {}
.contact-item-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.contact-item-value { font-size: 14px; color: var(--text-on-dark); }

/* Contact QR */
.contact-qr-wrap {
  display: flex; gap: 20px; flex-shrink: 0;
}
.contact-qr-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-qr-box {
  width: 130px; height: 130px;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  font-size: 36px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.contact-qr-box:hover {
  border-color: rgba(10,132,255,0.5);
  background: rgba(10,132,255,0.07);
}
.contact-qr-hint { font-size: 11px; color: rgba(255,255,255,0.3); }
.contact-qr-label { font-size: 13px; font-weight: 600; color: var(--text-on-dark-2); }

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #07070C;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 28px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo-mark {
  width: 24px; height: 24px;
  background: var(--accent-grad);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 800;
}
.footer-brand-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.footer-links {
  display: flex; gap: 24px; list-style: none;
}
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.1s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .hero-title { font-size: 48px; }
  .hero-stat  { padding: 0 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .industries-grid { grid-template-columns: 1fr; }
  .tech-grid  { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-qr-wrap { justify-content: flex-start; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 36px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 20px; }
  .hero-stat:last-child { border-bottom: none; }
  .values-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 30px; }
}
