/* ============================================
   贵州拓数者科技有限公司 · 企业官网
   版本: 1.0
   配色: 深蓝(#0a1628) + 白 + 蓝(#2563eb)
   字体: Noto Sans SC + system-ui
   ============================================ */

/* ----- 1. CSS Variables ----- */
:root {
  --color-primary: #0a1628;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #3b82f6;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f1b2d;
  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;
  --color-border: #e2e8f0;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- 3. Typography ----- */
.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title--center {
  text-align: center;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.section-desc--center {
  text-align: center;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ----- 4. Header / Navigation ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-icon {
  height: auto;
  width: auto;
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-accent);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ----- 5. Hero Section ----- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #14203a 50%, #0a1628 100%);
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-light);
  background: rgba(59, 130, 246, 0.15);
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title span {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 36px;
}

.hero__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.938rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--color-accent);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.hero__btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  overflow: hidden;
  position: relative;
}

.hero__visual-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero__visual-icon {
  font-size: 3rem;
  opacity: 0.6;
}

/* ----- 6. About Section ----- */
.about {
  padding: 100px 0;
  background: var(--color-bg);
}

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

.about__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__info-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.about__info-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.about__info-row:last-child {
  border-bottom: none;
}

.about__info-label {
  width: 120px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.about__info-value {
  font-size: 0.938rem;
  color: var(--color-text);
  flex: 1;
}

.about__text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  margin-top: 28px;
}

.about__text h3:first-child {
  margin-top: 0;
}

.about__text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ----- 7. Products Section ----- */
.products {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

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

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

.product-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.product-card__icon--blue { background: rgba(37,99,235,0.10); color: #2563eb; }
.product-card__icon--purple { background: rgba(124,58,237,0.10); color: #7c3aed; }
.product-card__icon--green { background: rgba(16,185,129,0.10); color: #10b981; }
.product-card__icon--orange { background: rgba(245,158,11,0.10); color: #f59e0b; }
.product-card__icon--red { background: rgba(239,68,68,0.10); color: #ef4444; }
.product-card__icon--indigo { background: rgba(99,102,241,0.10); color: #6366f1; }

.product-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.938rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.product-card__badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(37,99,235,0.08);
  padding: 2px 10px;
  border-radius: 10px;
}

.product-card__badge--full {
  width: 100%;
  margin-top: 2px;
}

/* ----- 8. Contact Section ----- */
.contact {
  padding: 100px 0;
  background: var(--color-bg);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact__info h2 {
  margin-bottom: 12px;
}

.contact__info > p {
  margin-bottom: 32px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact__item-label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact__item-value {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact__item-hint {
  font-size: 0.813rem;
  color: var(--color-text-light);
}

.contact__map {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
  gap: 8px;
}

.contact__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- 9. Footer ----- */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 32px 0 20px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer__brand {
  font-size: 0.938rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer__copy {
  font-size: 0.813rem;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer__links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer__bottom {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
}

.footer__bottom-item {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.40);
}

.footer__bottom-item a {
  color: rgba(255,255,255,0.40);
  transition: var(--transition);
}

.footer__bottom-item a:hover {
  color: rgba(255,255,255,0.7);
}

/* ----- 10. Responsive ----- */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual {
    display: none;
  }
  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products__grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
  }
  .header__nav.open {
    display: flex;
  }
  .header__toggle {
    display: flex;
  }
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }
  .about, .products, .contact {
    padding: 60px 0;
  }
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .contact__list {
    gap: 16px;
  }
  .about__info-row {
    flex-direction: column;
    gap: 2px;
  }
  .about__info-label {
    width: auto;
  }
}