/* ============================================
   Watercolor Art Theme - Custom Styles
   E:\线程\线程8\0049\css\style.css
   ============================================ */

:root {
  --rose: #e8b4b8;
  --sky: #b8cce8;
  --sage: #b8c8b8;
  --lavender: #d4c8e0;
  --soft-yellow: #e8d8b0;
  --warm-white: #faf8f5;
  --text-dark: #3a322e;
  --text-medium: #6b5e57;
  --text-light: #8c7b73;
  --white: #ffffff;
  --shadow-soft: 0 4px 20px rgba(180, 160, 150, 0.15);
  --shadow-card: 0 8px 32px rgba(180, 160, 150, 0.12);
  --radius-card: 16px;
  --radius-btn: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background-color: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, .watercolor-heading {
  font-family: 'Caveat', 'Noto Sans SC', cursive;
}

/* ---------- Watercolor Paper Texture ---------- */
.watercolor-bg {
  background-color: var(--warm-white);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(232, 180, 184, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 204, 232, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(216, 200, 224, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(184, 200, 184, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 70%, rgba(232, 216, 176, 0.05) 0%, transparent 40%);
}

/* ---------- Watercolor Blobs ---------- */
.watercolor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.watercolor-blob-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--rose), transparent 70%);
  top: -80px;
  left: -60px;
  animation: blobFloat 8s ease-in-out infinite;
}

.watercolor-blob-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  top: 50%;
  right: -40px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.watercolor-blob-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--lavender), transparent 70%);
  bottom: -60px;
  left: 30%;
  animation: blobFloat 9s ease-in-out 2s infinite;
}

.watercolor-blob-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--sage), transparent 70%);
  top: 30%;
  left: 40%;
  animation: blobFloat 11s ease-in-out 1s infinite;
}

.watercolor-blob-5 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--soft-yellow), transparent 70%);
  top: 60%;
  right: 20%;
  animation: blobFloat 7s ease-in-out 3s infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 15px) scale(0.95); }
  75% { transform: translate(-20px, -10px) scale(1.03); }
}

/* ---------- Hero Section ---------- */
.hero-watercolor-title {
  color: var(--text-dark);
  text-shadow: 2px 2px 0 rgba(232, 180, 184, 0.3),
               -1px -1px 0 rgba(184, 204, 232, 0.2);
  letter-spacing: 0.02em;
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 180, 170, 0.15);
  transition: var(--transition);
}

.navbar-custom.scrolled {
  box-shadow: 0 2px 20px rgba(160, 140, 130, 0.1);
}

.nav-link-custom {
  color: var(--text-medium);
  position: relative;
  transition: var(--transition);
  font-weight: 500;
}

.nav-link-custom:hover {
  color: #c97a82;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--sky));
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link-custom:hover::after {
  width: 100%;
}

/* ---------- Mobile Hamburger ---------- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-medium);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .nav-links-desktop {
    display: none;
  }
  .nav-links-desktop.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 1000;
  }
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--sky), var(--lavender));
  border-radius: 4px 4px 0 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(180, 160, 150, 0.2);
}

/* Watercolor icon circle */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.icon-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

.icon-rose { background: linear-gradient(135deg, var(--rose), #d49398); }
.icon-rose::after { background: radial-gradient(circle, var(--rose), transparent 70%); }

.icon-sky { background: linear-gradient(135deg, var(--sky), #9ab5d6); }
.icon-sky::after { background: radial-gradient(circle, var(--sky), transparent 70%); }

.icon-sage { background: linear-gradient(135deg, var(--sage), #9db89d); }
.icon-sage::after { background: radial-gradient(circle, var(--sage), transparent 70%); }

.icon-lavender { background: linear-gradient(135deg, var(--lavender), #bca8d0); }
.icon-lavender::after { background: radial-gradient(circle, var(--lavender), transparent 70%); }

.icon-yellow { background: linear-gradient(135deg, var(--soft-yellow), #d4c080); }
.icon-yellow::after { background: radial-gradient(circle, var(--soft-yellow), transparent 70%); }

/* ---------- Stats Section ---------- */
.stats-section {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(232, 180, 184, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(184, 204, 232, 0.1) 0%, transparent 50%),
    var(--warm-white);
}

.stat-number {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose), var(--sky), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-splash {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.12;
  filter: blur(15px);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(180, 160, 150, 0.2);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 64px;
  color: var(--rose);
  opacity: 0.25;
  line-height: 1;
  font-family: 'Caveat', cursive;
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  border-bottom: 1px solid rgba(200, 180, 170, 0.2);
  background: var(--white);
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  user-select: none;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(90deg, rgba(232, 180, 184, 0.06), rgba(184, 204, 232, 0.06));
}

.faq-question .faq-icon {
  transition: transform 0.3s ease;
  color: var(--rose);
  font-size: 14px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-medium);
  line-height: 1.8;
}

.faq-item.active .faq-question {
  color: #c97a82;
  background: linear-gradient(90deg, rgba(232, 180, 184, 0.08), rgba(184, 204, 232, 0.05));
}

/* ---------- CTA Section ---------- */
.cta-watercolor {
  background:
    radial-gradient(ellipse at 20% 40%, rgba(232, 180, 184, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 30%, rgba(184, 204, 232, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 40% 80%, rgba(216, 200, 224, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(232, 216, 176, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, var(--warm-white) 0%, #f3ede6 100%);
  position: relative;
  overflow: hidden;
}

/* ---------- Watercolor Section Divider ---------- */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 180, 184, 0.08) 30%, rgba(184, 204, 232, 0.08) 60%, transparent 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- Buttons ---------- */
.btn-watercolor {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #d49398, #e8b4b8, #d4a0c0);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(212, 147, 152, 0.35);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 147, 152, 0.45);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: #c97a82;
  border: 2px solid rgba(201, 122, 130, 0.4);
}

.btn-outline-custom:hover {
  background: rgba(232, 180, 184, 0.12);
  border-color: #c97a82;
  color: #c97a82;
}

/* ---------- Floating Customer Service ---------- */
.floating-cs {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #d49398);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(212, 147, 152, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-cs:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(212, 147, 152, 0.55);
  color: var(--white);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(200, 180, 170, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--warm-white);
  color: #c97a82;
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer-custom {
  background: linear-gradient(180deg, #f5f0eb 0%, #f0e8e0 100%);
  border-top: 1px solid rgba(200, 180, 170, 0.15);
  position: relative;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--sky), var(--sage), var(--lavender), var(--soft-yellow));
  opacity: 0.5;
}

.footer-link {
  color: var(--text-medium);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 2px 0;
}

.footer-link:hover {
  color: #c97a82;
  transform: translateX(3px);
}

/* ---------- Intersection Observer Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Download Page ---------- */
.download-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.download-android::before { background: linear-gradient(90deg, var(--sage), #7da87d); }
.download-ios::before { background: linear-gradient(90deg, var(--sky), #7ba3d0); }
.download-pc::before { background: linear-gradient(90deg, var(--lavender), #a88dc0); }

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(180, 160, 150, 0.22);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background:
    linear-gradient(135deg, rgba(232, 180, 184, 0.15) 25%, transparent 25%),
    linear-gradient(225deg, rgba(184, 204, 232, 0.15) 25%, transparent 25%),
    linear-gradient(315deg, rgba(216, 200, 224, 0.15) 25%, transparent 25%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--rose);
  margin: 0 auto;
  border: 2px dashed rgba(200, 180, 170, 0.3);
}

/* ---------- About Page ---------- */
.about-hero {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(232, 180, 184, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(184, 204, 232, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(216, 200, 224, 0.08) 0%, transparent 40%),
    var(--warm-white);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--sky), var(--lavender));
  opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-watercolor-title {
    font-size: 2rem !important;
  }

  .watercolor-blob {
    filter: blur(40px);
    opacity: 0.2;
  }

  .watercolor-blob-1 { width: 200px; height: 200px; }
  .watercolor-blob-2 { width: 180px; height: 180px; }
  .watercolor-blob-3 { width: 200px; height: 200px; }
  .watercolor-blob-4 { width: 120px; height: 120px; }
  .watercolor-blob-5 { width: 150px; height: 150px; }

  .feature-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}
