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

:root {
  --primary: #E8770A;
  --primary-dark: #CC6A08;
  --primary-light: #F5993A;
  --primary-bg: rgba(232, 119, 10, 0.08);
  --accent: #F5C452;
  --text: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --bg: #F7F7FA;
  --white: #FFFFFF;
  --border: #E8E8EC;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 119, 10, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 119, 10, 0.45);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo { width: 36px; height: 36px; object-fit: contain; }
.nav-brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.nav-toggle { display: none; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(165deg, #FFF8F0 0%, #FFFFFF 40%, #FFF5EB 100%);
  padding-top: 72px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: 50%; left: 60%;
  opacity: 0.06;
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 80px 0 60px;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.highlight { color: var(--primary); }
.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  letter-spacing: 2px;
}
/* Hero QR Code */
.hero-qrcode {
  margin-bottom: 36px;
}
.qrcode-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 20px 28px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.qrcode-placeholder-sm svg {
  width: 140px;
  height: 140px;
}
.qrcode-tip {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  padding: 24px 48px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ========== Sections ========== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ========== Advantages ========== */
.advantages { background: var(--bg); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--primary);
}
.advantage-icon svg { width: 100%; height: 100%; }
.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== Process ========== */
.process-timeline {
  display: flex;
  gap: 16px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
  opacity: 0.3;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(232, 119, 10, 0.3);
}
.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 8px;
}

/* ========== Services ========== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  transition: background var(--transition);
}
.service-card:hover::before,
.service-card.featured::before {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  border: 2px solid var(--primary);
}
.service-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.price-symbol { font-size: 24px; vertical-align: top; }
.price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}
.service-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-features {
  list-style: none;
}
.service-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(165deg, #FFF8F0, #FFF3E0);
  text-align: center;
}
.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.qrcode-wrapper {
  display: inline-block;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.qrcode-placeholder svg {
  width: 180px;
  height: 180px;
}
.cta-hint {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== Footer ========== */
.footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}
.footer-content {
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.footer-brand-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.footer-contact {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.7;
}
.footer-links {
  margin-bottom: 16px;
}
.footer-links a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  margin: 0 12px;
  opacity: 0.4;
}
.footer-copyright {
  font-size: 13px;
  opacity: 0.5;
}

/* ========== Animations ========== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { flex-wrap: wrap; }
  .process-timeline::before { display: none; }
  .process-step { flex: 0 0 calc(33.333% - 12px); }
  .hero-title { font-size: 44px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
  }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 36px; letter-spacing: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 36px; font-size: 16px; }
  .hero-stats { flex-direction: row; gap: 24px; padding: 20px 28px; }
  .stat-number { font-size: 22px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; }

  .advantages-grid { grid-template-columns: 1fr; gap: 16px; }
  .advantage-card { padding: 28px 24px; }

  .process-step { flex: 0 0 100%; }
  .process-timeline { flex-direction: column; gap: 12px; }
  .process-step { display: flex; align-items: center; gap: 16px; text-align: left; }
  .step-number { width: 56px; height: 56px; font-size: 18px; flex-shrink: 0; margin: 0; }
  .step-content h3 { font-size: 16px; }
  .step-content p { padding: 0; }

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

  .cta-title { font-size: 28px; }
}
