:root {
  --primary: #FF7A00;
  --primary-light: #FF9A40;
  --primary-dark: #E56D00;
  --bg-warm: #FFF7F0;
  --bg-cool: #F5F7FA;
  --text: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --white: #ffffff;
  --border: #E8ECF0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(255, 122, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1440px;
  --header-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg,
.logo-icon img {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0 120px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  white-space: nowrap;
}



.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: fit-content;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.section-users {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.users-label {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.users-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.user-tag {
  padding: 8px 20px;
  background: var(--bg-cool);
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: 20px;
  transition: all var(--transition);
}

.user-tag:hover {
  background: var(--bg-warm);
  color: var(--primary);
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-cool);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card--admin {
  background: linear-gradient(135deg, #333 0%, #444 100%);
  color: var(--white);
  border-color: #444;
}

.product-card--admin .product-desc,
.product-card--admin .product-features li {
  color: rgba(255, 255, 255, 0.75);
}

.product-icon {
  margin-bottom: 20px;
}

.product-icon svg {
  width: 48px;
  height: 48px;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-warm);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 12px;
}

.product-badge--dark {
  background: rgba(255, 122, 0, 0.2);
  color: var(--primary-light);
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.solution-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.value-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.value-item span {
  font-size: 15px;
  color: var(--text-secondary);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 360px;
}

.about-card-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.about-card-icon img {
  width: 64px;
  height: 64px;
}

.about-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about-card-sub {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  font-size: 13px;
  border-radius: 16px;
}

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 16px;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-cool);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.form-note a {
  color: var(--primary);
}

.form-note a:hover {
  text-decoration: underline;
}

.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo-text {
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

.legal-page {
  padding: calc(var(--header-height) + 60px) 0 80px;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-back:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero-content {
    padding: 60px 0 80px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: center;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .section {
    padding: 60px 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-values {
    flex-direction: column;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
