:root {
  --primary: #1e3a5f;
  --primary-light: #2c5282;
  --accent: #c9a227;
  --accent-light: #d4b43f;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-warm: #fffbf0;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

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

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

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

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

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

.btn-white:hover {
  background: var(--bg-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

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

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

.nav a:hover,
.nav a.active {
  color: var(--primary-light);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 16px;
  max-width: 540px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 32px;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
}

.hero-stats .stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* Services */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

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

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card .content {
  padding: 28px;
}

.service-card .tag {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-card .link {
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .link:hover {
  color: var(--accent);
}

/* Process */
.process {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

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

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Store */
.store {
  padding: 80px 0;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.store-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.store-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.store-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.store-info p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.info-item div strong {
  display: block;
  color: var(--primary);
  margin-bottom: 2px;
}

.info-item div span,
.info-item div a {
  color: var(--text-light);
}

.info-item div a:hover {
  color: var(--primary-light);
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: var(--bg-light);
}

.reviews-carousel {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-card p {
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.review-author span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.reviews-arrow,
.reviews-dots {
  display: none;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--bg-light);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-phone {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  display: inline-block;
  margin-bottom: 24px;
}

/* Videos Section */
.videos {
  padding: 80px 0;
  background: var(--bg-light);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-card video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  display: block;
}

.video-card h3 {
  padding: 20px 24px;
  color: var(--primary);
  font-size: 1.15rem;
  margin: 0;
}

.videos-note {
  text-align: center;
  margin-top: 24px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-card h3 {
    padding: 16px 20px;
  }
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 24px;
}

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

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-brand p {
  margin: 16px 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.qr-codes {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.qr-codes img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Floating buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.phone {
  background: var(--primary);
}

.floating-btn.wechat {
  background: #07c160;
}

.floating-btn.top {
  background: var(--accent);
  color: var(--primary);
  opacity: 0;
  pointer-events: none;
}

.floating-btn.top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-subtitle,
  .hero-location {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 24px;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 48px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-location {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: row;
    gap: 12px;
    padding: 14px 16px;
    justify-content: space-between;
  }

  .hero-stats .stat {
    flex: 1;
    text-align: center;
  }

  .hero-stats .stat strong {
    font-size: 1.1rem;
  }

  .hero-stats .stat span {
    font-size: 0.75rem;
  }

  .features,
  .services,
  .process,
  .store,
  .reviews,
  .faq,
  .videos,
  .cta {
    padding: 56px 0;
  }

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

  .service-card img {
    height: 180px;
  }

  .service-card .content {
    padding: 20px;
  }

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

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

  .store-images {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .store-images img {
    height: 140px;
    border-radius: var(--radius-sm);
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 16px 20px;
    min-height: 48px;
  }

  .faq-answer {
    padding: 0 20px 16px;
  }

  .faq-toggle {
    flex-shrink: 0;
    margin-left: 12px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta-phone {
    font-size: 1.5rem;
  }

  .floating-buttons {
    right: 16px;
    bottom: 24px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Reviews carousel mobile */
  .reviews-carousel {
    padding-bottom: 48px;
    overflow: hidden;
  }

  .reviews-track {
    display: flex;
    gap: 16px;
    grid-template-columns: none;
    transition: transform 0.3s ease;
  }

  .review-card {
    flex: 0 0 calc(100% - 48px);
    padding: 22px;
  }

  .reviews-arrow {
    display: none;
  }

  .reviews-dots {
    display: flex;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
  }

  .reviews-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
  }

  .reviews-dots button[aria-selected="true"] {
    background: var(--accent);
  }
}

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

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

  .section-title h2 {
    font-size: 1.55rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .review-card {
    flex: 0 0 calc(100% - 40px);
    padding: 20px;
  }

  .review-card p {
    font-size: 0.95rem;
  }

  .review-author strong {
    font-size: 0.9rem;
  }
}
