/* ============================================
   壹号之境 · 乐无止境 — 柔和霓虹玻璃态
   配色：奶油白 + 珊瑚粉 + 薄荷绿 + 柔紫
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #FFFAF5;
  color: #3D2C2C;
  line-height: 1.6;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #FFF5EF;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 250, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 180, 170, 0.3);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(180, 140, 120, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #3D2C2C;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FF6B6B 0%, #A78BFA 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5C4A4A;
  transition: color 0.2s, transform 0.2s;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B6B, #A78BFA);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #FF6B6B;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 25px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, #FF6B6B 0%, #E55A5A 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 107, 107, 0.45);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #3D2C2C;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
    #FFFAF5;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-content {
  max-width: 720px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  background: rgba(167, 139, 250, 0.15);
  color: #7C5CFC;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #2D1C1C;
  position: relative;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #FF6B6B 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 32px;
  color: #5C4A4A;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 420px;
  box-shadow: 0 20px 60px rgba(180, 140, 120, 0.2);
  border: 1px solid rgba(200, 180, 170, 0.25);
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 107, 107, 0.05) 100%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 28px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #FF6B6B 0%, #E55A5A 100%);
  box-shadow: 0 4px 18px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 107, 107, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #FF6B6B;
  color: #FF6B6B;
}

.btn-outline:hover {
  background: rgba(255, 107, 107, 0.06);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 30px;
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #4ECDC4;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #2D1C1C;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #5C4A4A;
  font-size: 1.05rem;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 30px 28px;
  border: 1px solid rgba(200, 180, 170, 0.3);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF6B6B, #A78BFA, #4ECDC4);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(180, 140, 120, 0.18);
  border-color: rgba(200, 180, 170, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(167, 139, 250, 0.12) 100%);
  color: #FF6B6B;
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.08);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3D2C2C;
}

.category-card p {
  font-size: 0.9rem;
  color: #8C7A7A;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF6B6B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(180, 140, 120, 0.18);
  border: 1px solid rgba(200, 180, 170, 0.2);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.04) 0%, rgba(167, 139, 250, 0.06) 100%);
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #2D1C1C;
}

.feature-text p {
  color: #5C4A4A;
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3D2C2C;
  font-weight: 500;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #4ECDC4;
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid rgba(200, 180, 170, 0.25);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF6B6B, #A78BFA, transparent);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(180, 140, 120, 0.15);
  border-color: rgba(200, 180, 170, 0.5);
}

.stat-item:hover::after {
  opacity: 1;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF6B6B 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
  color: #5C4A4A;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200, 180, 170, 0.25);
  transition: all 0.3s ease;
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(180, 140, 120, 0.2);
  border-color: rgba(200, 180, 170, 0.5);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h4 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #3D2C2C;
}

.content-wall-body p {
  font-size: 0.88rem;
  color: #8C7A7A;
  line-height: 1.5;
}

.content-wall-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(78, 205, 196, 0.12);
  color: #3BA99F;
  margin-top: 8px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(200, 180, 170, 0.3);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(200, 180, 170, 0.5);
  background: rgba(255, 255, 255, 0.9);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3D2C2C;
  font-size: 1rem;
  user-select: none;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #FF6B6B;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #5C4A4A;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* CTA横幅 */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #FF6B6B 0%, #E55A5A 30%, #A78BFA 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(255, 107, 107, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B6B;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 28px;
  background: #F5EDE8;
  border-top: 1px solid rgba(200, 180, 170, 0.3);
  color: #5C4A4A;
}

.site-footer .container {
  /* 继承 */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
  color: #6B5858;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #3D2C2C;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #6B5858;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #FF6B6B;
}

.footer-bottom {
  border-top: 1px solid rgba(180, 150, 140, 0.25);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8C7A7A;
}

/* 工具类 */
.text-accent {
  color: #FF6B6B;
}

.text-accent-alt {
  color: #4ECDC4;
}

.text-accent-purple {
  color: #A78BFA;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5C4A4A;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 装饰性分隔线 */
.divider-wave {
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,20 Q150,0 300,20 Q450,40 600,20 Q750,0 900,20 Q1050,40 1200,20' fill='none' stroke='%23FF6B6B' stroke-width='1.5' opacity='0.25'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 40px;
  margin: 0 auto;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    flex: 0 0 auto;
    max-width: 500px;
    width: 100%;
  }
  .feature-block {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block.reverse-mobile .feature-image {
    order: 1;
  }
  .feature-block.reverse-mobile .feature-text {
    order: 2;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid rgba(200, 180, 170, 0.3);
    box-shadow: 0 12px 30px rgba(180, 140, 120, 0.12);
    gap: 16px;
    z-index: 999;
  }
  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }
  .hero {
    min-height: 60vh;
    padding-top: 80px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-image {
    max-width: 100%;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .cta-banner {
    padding: 40px 20px;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    padding: 0 16px;
  }
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero {
    min-height: 55vh;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .feature-list li {
    font-size: 0.88rem;
  }
  .faq-item .faq-question {
    font-size: 0.9rem;
    padding: 14px 16px;
  }
  .faq-item .faq-answer {
    padding: 0 16px 14px;
  }
}