/* ===========================
   郴智行 - 官网样式
   =========================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #fd6e52;
  --primary-light: #fd8d77;
  --primary-dark: #e8563a;
  --primary-gradient: linear-gradient(135deg, #ff8a65 0%, #fd6e52 100%);
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border: #eeeeee;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(253, 110, 82, 0.15);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Header / Navigation
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-menu a {
  font-size: 15px;
  color: var(--text-medium);
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  background: var(--primary-gradient);
  color: #fff !important;
  padding: 8px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 110, 82, 0.4);
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  margin-top: 70px;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #fff5f2 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(253, 110, 82, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 110, 82, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(253, 110, 82, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-dark);
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-promo {
  display: flex;
  gap: 24px;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.promo-item .promo-icon {
  width: 32px;
  height: 32px;
  background: rgba(253, 110, 82, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Hero Right - Phone Mockup + QR */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.phone-mockup {
  width: 240px;
  height: 480px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(253, 110, 82, 0.2);
  border: 4px solid #333;
  overflow: hidden;
  position: relative;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #fff5f2 0%, #ffe8e0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.phone-screen .phone-app-icon {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.phone-screen .phone-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.phone-screen .phone-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.phone-screen .phone-btn {
  background: var(--primary-gradient);
  color: #fff;
  padding: 8px 28px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
}

.phone-map-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: 12px;
  min-height: 0;
}

.qr-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 160px;
}

.qr-card .qr-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 12px;
}

.qr-code .qr-module {
  background: transparent;
}

.qr-code .qr-module.on {
  background: #333;
}

.qr-label {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
}

.qr-label strong {
  color: var(--primary);
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

/* ===========================
   Features Section
   =========================== */
.features {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(253, 110, 82, 0.2);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.feature-icon.icon-safety {
  background: linear-gradient(135deg, #ff8a65 0%, #fd6e52 100%);
}

.feature-icon.icon-pro {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon.icon-personal {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-icon.icon-compliance {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ===========================
   Download Section
   =========================== */
.download {
  padding: 80px 0;
  background: #fff;
}

.download-inner {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.download-inner::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(253, 110, 82, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.download-left {
  flex: 1;
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.download-title span {
  color: var(--primary);
}

.download-desc {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  gap: 16px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
}

.download-btn .btn-icon {
  font-size: 28px;
}

.wx-search-btn {
  padding: 0;
  overflow: hidden;
}

.wx-search-img {
  width: 196px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.download-btn .btn-text {
  text-align: left;
}

.download-btn .btn-text small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

.download-btn .btn-text strong {
  font-size: 15px;
  color: var(--text-dark);
}

.download-right {
  position: relative;
  z-index: 1;
}

.download-qr {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.download-qr .qr-code {
  width: 130px;
  height: 130px;
}

.download-qr .qr-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
}

.download-qr-label {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 8px;
  font-weight: 500;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: #2b2b2b;
  color: #aaa;
  padding: 50px 0 30px;
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-info {
  font-size: 13px;
  color: #777;
  line-height: 2;
}

.footer-info a {
  color: #777;
}

.footer-info a:hover {
  color: #aaa;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #444;
  margin: 20px 0;
}

.footer-copyright {
  font-size: 13px;
  color: #666;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 20px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-tag {
    margin: 0 auto 24px;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-promo {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  
  .download-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-visual {
    flex-direction: column;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .footer-links {
    gap: 15px;
  }
}