/* ============================================
   SET 0058 - 德扑圈下载 Burgundy/Wine Premium Theme
   Design: Luxury Dark Layout
   ============================================ */

/* --- Base & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #1c0010;
  color: #fce7f3;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- bgFloat: Floating Card Animation --- */
.bgFloat {
  animation: bgFloatAnim 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bgFloat:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(159,18,57,0.4);
}
@keyframes bgFloatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- card-bg: Burgundy Themed Card --- */
.card-bg {
  background: linear-gradient(160deg, #2d0018, #1c0010);
  border: 1px solid #9f1239;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.card-bg::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(159,18,57,0.3), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card-bg:hover::before { opacity: 1; }
.card-bg:hover {
  border-color: #e11d48;
  box-shadow: 0 16px 40px rgba(159,18,57,0.25);
  transform: translateY(-6px);
}

/* --- bgSlide: Slide-in Animation --- */
.bgSlide {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.bgSlide.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- bgPulse: Pulse Effect --- */
.bgPulse {
  animation: bgPulseAnim 2s ease-in-out infinite;
}
@keyframes bgPulseAnim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0.6); }
  50% { box-shadow: 0 0 0 20px rgba(225,29,72,0); }
}

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(28,0,16,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #4c0519;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
  font-size: 1.6rem; font-weight: 800;
  color: #fff1f2;
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.navbar .logo i { color: #e11d48; font-size: 1.8rem; }
.nav-links { display: flex; list-style: none; gap: 2.2rem; }
.nav-links a {
  color: #fda4af; text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: #e11d48;
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff1f2; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: #fda4af; border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Hero (Centered Parallax-like) --- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: #1c0010;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(159,18,57,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(225,29,72,0.08) 0%, transparent 50%);
  z-index: 0;
}
.hero-image-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-content .badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(159,18,57,0.3);
  border: 1px solid #9f1239;
  border-radius: 50px;
  color: #fda4af;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: 3.8rem; font-weight: 900;
  line-height: 1.15; margin-bottom: 1.2rem;
  color: #fff1f2;
}
.hero-content h1 span { color: #e11d48; }
.hero-content p {
  font-size: 1.15rem; color: #fda4af;
  margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #e11d48, #9f1239);
  color: #fff1f2;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(225,29,72,0.45); }
.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #fda4af;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #9f1239;
  transition: all 0.3s ease;
  margin-left: 0.8rem;
}
.btn-outline:hover { border-color: #e11d48; color: #fff1f2; background: rgba(159,18,57,0.15); }

/* --- Sections --- */
.section { padding: 6rem 2rem; }
.section-dark { background: #14000c; }
.section-header {
  text-align: center; margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem; font-weight: 800;
  color: #fff1f2; margin-bottom: 0.8rem;
}
.section-header p { color: #fda4af; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* --- Features Grid (3-column masonry style, 6 items) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-bg .feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(159,18,57,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #e11d48;
}
.card-bg .feature-num {
  font-size: 0.8rem; color: #9f1239;
  font-weight: 700; margin-bottom: 0.3rem;
}
.card-bg .feature-title { font-size: 1.15rem; font-weight: 700; color: #fff1f2; margin-bottom: 0.5rem; }
.card-bg .feature-desc { color: #fda4af; font-size: 0.9rem; line-height: 1.6; }

/* --- Stats (4 items - dark panel) --- */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #2d0018, #1c0010);
  border: 1px solid #4c0519;
  border-radius: 16px;
  overflow: hidden;
}
.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.stat-item:hover { background: rgba(159,18,57,0.1); }
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; height: 60%; width: 1px;
  background: #4c0519;
}
.stat-number {
  font-size: 3rem; font-weight: 900;
  color: #e11d48;
  line-height: 1;
}
.stat-label { color: #fda4af; margin-top: 0.4rem; font-size: 0.95rem; }

/* --- Testimonials (3 items - large quotes) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: linear-gradient(160deg, #2d0018, #1c0010);
  border: 1px solid #4c0519;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: #9f1239; }
.testimonial-card .big-quote {
  font-size: 4rem; color: #9f1239;
  line-height: 1; margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.testimonial-card .quote {
  color: #fce7f3; font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.8rem;
}
.testimonial-author img {
  width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid #9f1239;
}
.testimonial-author .name { font-weight: 700; color: #fff1f2; font-size: 0.95rem; }
.testimonial-author .role { color: #fda4af; font-size: 0.8rem; }

/* --- FAQ (two-column) --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  background: #2d0018;
  border: 1px solid #4c0519;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: #9f1239; }
.faq-question {
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: #fff1f2;
  user-select: none;
  font-size: 0.95rem;
}
.faq-question i { transition: transform 0.3s ease; color: #e11d48; }
.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;
  color: #fda4af; font-size: 0.9rem;
  padding: 0 1.4rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.4rem 1.2rem;
}

/* --- CTA (split layout) --- */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #2d0018, #1c0010);
  border-top: 1px solid #4c0519;
  border-bottom: 1px solid #4c0519;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-text h2 { font-size: 2.5rem; font-weight: 900; color: #fff1f2; margin-bottom: 1rem; }
.cta-text p { color: #fda4af; font-size: 1.1rem; }
.cta-action { text-align: right; }

/* --- Footer --- */
.footer {
  background: #0d0008;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid #2d0018;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.footer-brand h3 { color: #fff1f2; font-size: 1.4rem; margin-bottom: 0.8rem; }
.footer-brand p { color: #fda4af; font-size: 0.9rem; }
.footer-links h4 { color: #fff1f2; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: #fda4af; text-decoration: none; font-size: 0.9rem; line-height: 2; transition: color 0.2s; }
.footer-links a:hover { color: #e11d48; }
.footer-bottom {
  border-top: 1px solid #2d0018;
  padding-top: 1.5rem;
  color: #9f1239;
  font-size: 0.85rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Page Hero (Subpages) --- */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #1c0010, #0d0008);
  border-bottom: 1px solid #2d0018;
}
.page-hero h1 { font-size: 3rem; font-weight: 900; color: #fff1f2; margin-bottom: 0.8rem; }
.page-hero p { color: #fda4af; }

/* --- About Page --- */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h3 { font-size: 1.5rem; color: #fff1f2; margin-bottom: 1rem; }
.about-text p { color: #fda4af; margin-bottom: 1rem; line-height: 1.8; }
.about-image img {
  width: 100%; border-radius: 16px;
  border: 1px solid #9f1239;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.about-stat { text-align: center; padding: 1rem; background: #2d0018; border-radius: 10px; border: 1px solid #4c0519; }
.about-stat .num { font-size: 1.8rem; font-weight: 900; color: #e11d48; }
.about-stat .lbl { color: #fda4af; font-size: 0.8rem; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info h3 { color: #fff1f2; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: #fda4af; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem; color: #fce7f3;
}
.contact-detail i { color: #e11d48; width: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 0.9rem 1.2rem;
  background: #2d0018;
  border: 1px solid #4c0519;
  border-radius: 10px;
  color: #fff1f2;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #e11d48; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, #e11d48, #9f1239);
  color: #fff1f2;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover { box-shadow: 0 8px 24px rgba(225,29,72,0.4); transform: translateY(-2px); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-section { grid-template-columns: 1fr; text-align: center; }
  .cta-action { text-align: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(28,0,16,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .btn-outline { margin-left: 0; margin-top: 1rem; }
  .section-header h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}
