/* ============================================
   广西云启智策科技有限公司 — Corporate Site
   Prefix: yq-
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&family=Noto+Sans+SC:wght@400;500;700&display=swap');

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

:root {
  --yq-accent: #7C3AED;
  --yq-accent-hover: #6D28D9;
  --yq-accent-soft: rgba(124,58,237,0.10);
  --yq-surface-1: #F8F8F8;
  --yq-surface-2: #F3F3F3;
  --yq-surface-3: #E0E0E0;
  --yq-text: #1A1A1A;
  --yq-muted: #686868;
  --yq-light: #888888;
  --yq-white: #FFFFFF;
  --yq-radius: 4px;
  --yq-wrap: 1080px;
  --yq-display: 'Liu Jian Mao Cao', cursive;
  --yq-body: 'Noto Sans SC', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--yq-body);
  color: var(--yq-text);
  background: var(--yq-white);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--yq-accent); text-decoration: none; }
a:hover { color: var(--yq-accent-hover); }

img { max-width: 100%; display: block; }

/* --- Utility --- */
.yq-wrap { max-width: var(--yq-wrap); margin: 0 auto; padding: 0 20px; }
.yq-text-center { text-align: center; }

/* --- Fade-in on scroll --- */
.yq-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.yq-fade.yq-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.yq-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--yq-surface-3);
  height: 56px;
}

.yq-navbar-inner {
  max-width: var(--yq-wrap);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.yq-brand {
  font-family: var(--yq-display);
  font-size: 26px;
  color: var(--yq-accent);
  letter-spacing: 2px;
}

.yq-links { display: flex; gap: 28px; list-style: none; }
.yq-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--yq-muted);
  transition: color .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.yq-links a:hover { color: var(--yq-accent); }

.yq-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}
.yq-burger i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--yq-text);
  border-radius: 1px;
  position: absolute;
  left: 0;
  transition: .3s;
}
.yq-burger i:nth-child(1) { top: 5px; }
.yq-burger i:nth-child(2) { top: 11px; }
.yq-burger i:nth-child(3) { top: 17px; }

/* --- Hero --- */
.yq-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(160deg, #F8F8F8 0%, #FFFFFF 40%, var(--yq-accent-soft) 100%);
  position: relative;
  overflow: hidden;
}

.yq-hero::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.yq-hero-content { position: relative; z-index: 1; }

.yq-hero h1 {
  font-family: var(--yq-display);
  font-size: 56px;
  color: var(--yq-text);
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.yq-hero h1 span { color: var(--yq-accent); }

.yq-hero-desc {
  font-size: 17px;
  color: var(--yq-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.yq-hero-tag {
  display: inline-block;
  background: var(--yq-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--yq-radius);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Section --- */
.yq-section {
  padding: 88px 0;
}

.yq-section--alt {
  background: var(--yq-surface-1);
}

.yq-heading {
  font-family: var(--yq-display);
  font-size: 36px;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 2px;
  color: var(--yq-text);
}

.yq-subheading {
  text-align: center;
  color: var(--yq-muted);
  font-size: 14px;
  margin-bottom: 52px;
}

/* --- Overview (公司概况) --- */
.yq-overview {
  display: flex;
  gap: 48px;
  align-items: center;
}

.yq-overview-img {
  flex: 0 0 380px;
  border-radius: var(--yq-radius);
  overflow: hidden;
}

.yq-overview-body { flex: 1; }

.yq-overview-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.yq-overview-body p {
  color: var(--yq-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

/* --- Tech Grid --- */
.yq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yq-tile {
  background: var(--yq-white);
  border: 1px solid var(--yq-surface-3);
  border-radius: var(--yq-radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .25s, box-shadow .25s;
}

.yq-tile:hover {
  border-color: var(--yq-accent);
  box-shadow: 0 4px 20px rgba(124,58,237,.1);
}

.yq-tile-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--yq-accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.yq-tile h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.yq-tile p {
  font-size: 13px;
  color: var(--yq-light);
  line-height: 1.7;
}

/* --- Stats (创新成果) --- */
.yq-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.yq-stat {
  text-align: center;
}

.yq-stat-num {
  font-family: var(--yq-display);
  font-size: 48px;
  color: var(--yq-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.yq-stat-label {
  font-size: 13px;
  color: var(--yq-light);
  letter-spacing: .5px;
}

/* --- Contact --- */
.yq-contact-box {
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
  background: var(--yq-white);
  border: 1px solid var(--yq-surface-3);
  border-radius: var(--yq-radius);
  padding: 40px 32px;
}

.yq-contact-box p {
  color: var(--yq-muted);
  margin-bottom: 10px;
  font-size: 14px;
}

.yq-contact-box a { font-weight: 700; }

/* --- Footer --- */
.yq-footer {
  background: var(--yq-text);
  color: var(--yq-light);
  padding: 32px 0;
  font-size: 12px;
}

.yq-footer-inner {
  max-width: var(--yq-wrap);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.yq-footer a { color: var(--yq-surface-3); }
.yq-footer a:hover { color: #fff; }

.yq-footer-nav { display: flex; gap: 20px; list-style: none; }

/* --- Legal Pages --- */
.yq-legal-page {
  padding: 80px 0 100px;
}

.yq-legal-page h1 {
  font-family: var(--yq-display);
  font-size: 32px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.yq-legal-page .yq-updated {
  color: var(--yq-light);
  font-size: 12px;
  margin-bottom: 36px;
}

.yq-legal-page h2 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
}

.yq-legal-page p,
.yq-legal-page ul {
  color: var(--yq-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.yq-legal-page ul { padding-left: 18px; }
.yq-legal-page li { margin-bottom: 5px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .yq-links { display: none; }
  .yq-links.yq-links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid var(--yq-surface-3);
    gap: 14px;
  }
  .yq-burger { display: block; }

  .yq-hero h1 { font-size: 36px; }
  .yq-overview { flex-direction: column; }
  .yq-overview-img { flex: none; width: 100%; }
  .yq-grid { grid-template-columns: 1fr; }
  .yq-stats { gap: 32px; }
  .yq-stat-num { font-size: 36px; }
  .yq-footer-inner { flex-direction: column; text-align: center; }
}
