/* ===== 全局重置 & 变量 ===== */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fdba74;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --bg-light: #fffaf5;
  --bg-dark: #0f172a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --card-bg: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.45);
}

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

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

.btn-block {
  width: 100%;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.logo i {
  font-size: 1.8rem;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 60px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: scale(1.04);
}

.nav-cta::after {
  display: none !important;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bar {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===== Hero 区 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(165deg, #fff5ed 0%, #ffede0 60%, #fffaf5 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== 通用 Section ===== */
.section {
  padding: 100px 0;
}

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

.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(249, 115, 22, 0.15);
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== 核心优势卡片 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.advantage-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.04));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== 流程步骤 ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(6px);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 50px;
}

.step-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ===== 项目卡片 (标杆门店) ===== */
.project-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-card-body {
  padding: 24px;
}

.project-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.project-tag {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 40px;
}

/* ===== FAQ ===== */
.section-faq {
  background: #fff;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 28px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== 联系表单 ===== */
.section-contact {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
}

.section-contact .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 10px 0 16px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-details i {
  color: var(--primary);
  width: 20px;
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.form-tip {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
  text-align: center;
}

/* ===== 页脚 ===== */
.footer {
  background: #0a0f1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.footer-brand p {
  max-width: 300px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links span,
.footer-contact span {
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary-light);
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 28px 20px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 24px 24px;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

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

  .hero-stats {
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .contact-form {
    padding: 24px 18px;
  }
}