/* ============================================================
   深圳智联亿达企业管理咨询有限公司 - 官网样式
   ============================================================ */

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

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-lighter: #3182ce;
  --accent: #b7935a;
  --accent-light: #d4b87a;
  --text: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-light: #f7f8fa;
  --bg-dark: #1a365d;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-light);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

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

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #f7f8fa 0%, #edf2f7 40%, #e8eef5 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title.light {
  color: #fff;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Solution cards */
.card-solution {
  border-left: 4px solid var(--accent);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.solution-tags span {
  font-size: 0.8rem;
  background: var(--bg-light);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* --- Problems List --- */
.problems-list {
  max-width: 760px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-marker {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.problem-item p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  padding-top: 8px;
}

/* --- Service List --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: none;
}

.service-number {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  padding-top: 2px;
}

.service-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-body p {
  color: var(--text-light);
  line-height: 1.8;
}

.service-scene {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
}

.service-scene strong {
  color: var(--primary);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 36px 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step-line {
  display: none;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- About --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.value-item {
  background: var(--bg-light);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.value-item li {
  color: var(--text-light);
  line-height: 2;
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.value-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  margin-bottom: 40px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 1.05rem;
  color: #fff;
}

.contact-qrcode {
  text-align: center;
}

.qrcode-placeholder {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: var(--radius);
  margin: 0 auto 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.qrcode-empty {
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.contact-qrcode > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 2;
}

.footer-company {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-beian a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-beian a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-beian span {
  margin-left: 16px;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-qrcode {
    order: -1;
  }

  .qrcode-placeholder {
    width: 140px;
    height: 140px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: #fff;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-label {
    font-size: 0.78rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-item {
    gap: 16px;
    padding: 18px 0;
  }

  .problem-marker {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .problem-item p {
    font-size: 0.95rem;
  }

  .service-item {
    gap: 18px;
    padding: 24px 0;
  }

  .service-number {
    font-size: 1.2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 200px;
    text-align: center;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-actions .btn {
    width: 200px;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .card {
    padding: 24px 20px;
  }

  .container {
    padding: 0 16px;
  }
}
