/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ========== Header ========== */
.header-top {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.header-top-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo img { height: 38px; width: auto; }
.logo-slogan { font-size: 0.85rem; color: #10BCF7; font-weight: 500; white-space: nowrap; border-left: 1px solid #e0e7ee; padding-left: 0.8rem; }
.header-phone { text-align: right; }
.header-phone .label { font-size: 12px; color: #999; }
.header-phone .num { font-size: 20px; font-weight: 700; color: #10BCF7; }

/* ========== Nav ========== */
.nav {
  background: #10BCF7; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(16,188,247,.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 0;
}
.nav-inner a {
  display: block; padding: 14px 28px; color: rgba(255,255,255,.85);
  font-size: 15px; font-weight: 500; transition: all .2s; position: relative;
}
.nav-inner a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-inner a.active { color: #fff; background: rgba(255,255,255,.15); }
.nav-inner a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; background: #fbbf24; border-radius: 2px;
}

/* ========== Footer ========== */
.footer { background: #1e293b; color: rgba(255,255,255,.7); padding: 48px 24px 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 36px; margin-bottom: 12px; filter: brightness(10); }
.footer-brand p { font-size: 14px; margin-bottom: 6px; }
.footer div h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer div a {
  display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.6); transition: color .2s;
}
.footer div a:hover { color: #fbbf24; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; text-align: center;
  padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.4);
}

/* ========== Hero (Index) ========== */
.hero {
  background: linear-gradient(135deg, #10BCF7 0%, #0a8ec2 50%, #065a7c 100%);
  color: #fff; padding: 80px 24px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(251,191,36,.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(54,161,255,.1) 0%, transparent 50%);
}
.hero h1 {
  font-size: 40px; font-weight: 700; line-height: 1.3; margin-bottom: 20px;
  position: relative; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero .subtitle {
  font-size: 17px; line-height: 1.8; opacity: .85; max-width: 600px; margin: 0 auto;
  position: relative; white-space: pre-line;
}
.banner-slider { position: relative; z-index: 1; min-height: 200px; }
.banner-slide { display: none; }
.banner-slide.active { display: block; animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.banner-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.5rem; position: relative; z-index: 2; }
.banner-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s; }
.banner-dots .dot.active { background: #fff; }

/* ========== Page Hero (Sub pages) ========== */
.page-hero {
  background: linear-gradient(135deg, #10BCF7 0%, #0a8ec2 100%);
  color: #fff; padding: 60px 24px; text-align: center;
}
.page-hero h1 { font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 17px; opacity: .8; }

/* ========== Section Common ========== */
.section { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: #f8fafc; }
.section-alt .section { /* when section is inside alt bg */ }
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { font-size: 28px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.section-title p { font-size: 15px; color: #64748b; }

/* ========== Company Positioning (Index) ========== */
.positioning {
  background: #f8fafc; padding: 48px 24px;
}
.positioning-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-size: 16px; line-height: 1.9; color: #475569;
}

/* ========== Product Matrix (Index) ========== */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 32px 24px; text-align: center; transition: all .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.product-card .icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.product-card:nth-child(1) .icon { background: #e8f8fd; color: #10BCF7; }
.product-card:nth-child(2) .icon { background: #f0fdf4; color: #16a34a; }
.product-card:nth-child(3) .icon { background: #fefce8; color: #ca8a04; }
.product-card:nth-child(4) .icon { background: #fdf2f8; color: #db2777; }
.product-card .tag {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px;
  margin-bottom: 12px; font-weight: 500;
}
.tag-core { background: #e8f8fd; color: #0a8ec2; }
.tag-service { background: #fefce8; color: #a16207; }
.tag-eco { background: #f0fdf4; color: #16a34a; }
.product-card h3 { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.product-card .desc { font-size: 14px; color: #64748b; margin-bottom: 20px; line-height: 1.6; }
.product-card .btn-sm {
  display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 14px;
  font-weight: 500; transition: all .2s;
}
.btn-primary { background: #10BCF7; color: #fff; }
.btn-primary:hover { background: #0a8ec2; }
.btn-outline { border: 1px solid #10BCF7; color: #10BCF7; }
.btn-outline:hover { background: #10BCF7; color: #fff; }
.products-other {
  text-align: center; margin-top: 24px; font-size: 14px; color: #94a3b8;
}

/* ========== Advantages (Index) ========== */
.advantages-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.advantage-item { text-align: center; padding: 20px; }
.advantage-item .adv-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #10BCF7, #36a1ff);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px;
}
.advantage-item h3 { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.advantage-item p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ========== Customer Cases (Index) ========== */
.cases-grid {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.case-badge {
  padding: 10px 24px; background: #f1f5f9; border-radius: 8px;
  font-size: 15px; color: #475569; font-weight: 500; transition: all .2s;
}
.case-badge:hover { background: #e2e8f0; color: #1e293b; }

/* ========== Founder (Index) ========== */
.founder-section { background: #f8fafc; }
.founder-card {
  max-width: 800px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start;
}
.founder-photo {
  flex-shrink: 0; width: 160px; height: 200px; border-radius: 12px; overflow: hidden;
  background: #e2e8f0; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-info h3 { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.founder-info .role { font-size: 14px; color: #10BCF7; font-weight: 500; margin-bottom: 14px; }
.founder-info .bio { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 16px; }
.founder-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.founder-badges span {
  display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px;
  background: #e8f8fd; color: #10BCF7; font-weight: 500; border: 1px solid #b3e5fc;
}

/* ========== Certificates Grid ========== */
.certs-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.certs-grid img {
  border-radius: 8px; border: 1px solid #e2e8f0;
  transition: transform .3s; cursor: pointer;
}
.certs-grid img:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(0,0,0,.1); }

/* ========== CTA (Index) ========== */
.cta-section {
  background: linear-gradient(135deg, #10BCF7, #0a8ec2);
  color: #fff; text-align: center; padding: 60px 24px;
}
.cta-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: #0a2540; border-radius: 8px; padding: 0.85rem 2.2rem; font-weight: 600; font-size: 1rem; transition: all 0.25s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.3); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 8px; padding: 0.85rem 2.2rem; font-weight: 600; font-size: 1rem; transition: all 0.25s; display: inline-block; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-cta-light{display:inline-block;padding:0.85rem 2.2rem;border-radius:8px;font-weight:600;font-size:1rem;background:rgba(16,188,247,0.15);color:#10BCF7;border:1px solid rgba(16,188,247,0.3);transition:all 0.25s;}
.btn-cta-light:hover{background:rgba(16,188,247,0.25);transform:translateY(-2px);}

/* ========== Detail Section (Products page) ========== */
.detail-section { padding: 60px 24px; }
.detail-section:nth-child(odd) { background: #f8fafc; }
.detail-section:nth-child(even) { background: #fff; }
.detail-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.detail-inner.reverse { direction: rtl; }
.detail-inner.reverse > * { direction: ltr; }
.detail-text .detail-tag {
  display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px;
  font-weight: 600; margin-bottom: 12px;
}
.detail-text h2 { font-size: 26px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.detail-text .detail-desc { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 24px; }
.detail-text ul { margin-bottom: 24px; }
.detail-text ul li {
  font-size: 14px; color: #475569; padding: 6px 0 6px 24px; position: relative;
}
.detail-text ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: #10BCF7;
}
.detail-visual {
  background: linear-gradient(135deg, #e8f8fd, #d0f0fd); border-radius: 16px;
  padding: 40px; text-align: center; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.detail-visual .dv-icon { font-size: 48px; margin-bottom: 8px; }
.detail-visual .dv-title { font-size: 18px; font-weight: 600; color: #1e293b; }
.detail-visual .dv-sub { font-size: 14px; color: #64748b; }
.other-products {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  text-align: center; font-size: 15px; color: #64748b;
}
.other-products span { font-weight: 600; color: #1e293b; margin: 0 4px; }

/* ========== Values Grid (About) ========== */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.value-card {
  background: #f8fafc; border-radius: 12px; padding: 28px; text-align: center;
  border: 1px solid #e2e8f0; transition: all .3s;
}
.value-card .val-icon { font-size: 32px; margin-bottom: 10px; }
.value-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.value-card .val-label { font-size: 13px; color: #94a3b8; margin-bottom: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.value-card .val-text { font-size: 18px; font-weight: 600; color: #1e293b; line-height: 1.5; }

/* ========== Timeline (About) ========== */
.timeline { max-width: 920px; margin: 42px auto 0; position: relative; padding-left: 0; }
.timeline::before {
  content: ''; position: absolute; left: 116px; top: 18px; bottom: 18px; width: 2px; background: #b3e5fc;
}
.timeline-item { display: grid; grid-template-columns: 94px 1fr; column-gap: 44px; align-items: center; min-height: 62px; padding: 8px 0; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: 110px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: #10BCF7; border: 4px solid #e8f8fd; z-index: 2;
}
.timeline-item .time { justify-self: end; font-size: 16px; color: #0891b2; font-weight: 800; text-align: right; }
.timeline-item .event { font-size: 16px; color: #3f5667; font-weight: 400; padding: 13px 18px; border-radius: 8px; background: #f1f8fc; }
@media (max-width: 560px) {
  .timeline::before { left: 13px; }
  .timeline-item { grid-template-columns: 60px 1fr; column-gap: 16px; }
  .timeline-item::before { left: 7px; }
  .timeline-item .time { font-size: 14px; }
}

/* ========== DT Badges (About) ========== */
.dt-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dt-badge {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 28px 20px; text-align: center; transition: all .3s;
}
.dt-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.dt-badge .badge-icon {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: #e8f8fd; color: #10BCF7;
}
.dt-badge h4 { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.dt-badge p { font-size: 13px; color: #64748b; line-height: 1.6; }

/* ========== Contact Cards ========== */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 32px 24px; text-align: center; transition: all .3s;
}
.contact-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.contact-card .cc-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #10BCF7, #36a1ff);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px;
}
.contact-card h3 { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 12px; }
.contact-card p { font-size: 15px; color: #475569; line-height: 1.6; }

/* ========== Contact Form ========== */
.contact-form-wrap {
  max-width: 560px; margin: 0 auto; background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 40px;
}
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #475569; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 14px; color: #333; background: #fff; transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #10BCF7; box-shadow: 0 0 0 3px rgba(16,188,247,.1); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%; padding: 12px; background: #10BCF7; color: #fff; border: none;
  border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s;
  font-family: inherit;
}
.btn-submit:hover { background: #0a8ec2; }

/* ========== QR Placeholder ========== */
.qr-section {
  text-align: center; padding: 40px 24px;
}
.qr-codes {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
}
.qr-item { text-align: center; }
.qr-item img {
  width: 180px; height: 180px; border-radius: 12px; border: 1px solid #e2e8f0;
  margin: 0 auto 12px; object-fit: cover;
}
.qr-item p { font-size: 13px; color: #64748b; line-height: 1.5; }
.qr-placeholder {
  width: 160px; height: 160px; margin: 0 auto 16px; border: 2px dashed #d1d5db;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 14px; background: #f8fafc;
}
.qr-section p { font-size: 14px; color: #64748b; }
.form-notice {
  text-align: center; font-size: 12px; color: #94a3b8; margin-top: 12px; line-height: 1.5;
}

.cert-viewer{position:relative;max-width:1100px;margin:0 auto;overflow:hidden;}
.cert-viewer-track{display:flex;gap:16px;transition:transform 0.4s ease;}
.cert-viewer-track img{width:240px;height:auto;flex-shrink:0;border-radius:8px;border:1px solid #e2e8f0;cursor:pointer;transition:box-shadow .3s;}
.cert-viewer-track img:hover{box-shadow:0 6px 18px rgba(0,0,0,.12);}
.cert-viewer-controls{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-top:1.2rem;}
.cert-viewer-controls button{width:36px;height:36px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:1.2rem;cursor:pointer;transition:all 0.2s;display:flex;align-items:center;justify-content:center;}
.cert-viewer-controls button:hover{border-color:#10BCF7;color:#10BCF7;}
.cert-viewer-controls span{font-size:0.85rem;color:#94a3b8;}

/* ========== Marquee ========== */
.marquee-wrap { overflow: hidden; padding: 1rem 0; }
.marquee-track {
  display: flex; gap: 1.2rem; width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track .case-item {
  white-space: nowrap; padding: 0.7rem 1.5rem; border-radius: 8px;
  background: #f1f8fc; color: #3f5667; font-weight: 500; font-size: 0.9rem;
  border: 1px solid #e2e8f0; flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Bio Lines ========== */
.bio-line { color: #475569; font-size: 15px; margin-bottom: 8px; line-height: 1.7; }
.bio-line:last-child { margin-bottom: 0; }
.bio-line strong { color: #1e293b; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 15px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; align-items: center; text-align: center; }
  .founder-badges { justify-content: center; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-inner.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .dt-badges { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .nav-inner a { padding: 12px 16px; font-size: 14px; }
  .marquee-track { animation-duration: 20s; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .dt-badges { grid-template-columns: 1fr; }
}