/* ============================================
   e站官网入口 · 奶油珊瑚 × 薄荷漩涡
   独特视觉设计系统 — Awwwards 风格
   ============================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FFF8F2;
  color: #2D2A32;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 15%, rgba(255, 122, 89, 0.05), transparent),
    radial-gradient(ellipse 80% 60% at 85% 75%, rgba(46, 196, 182, 0.05), transparent);
}

::selection {
  background: #FF7A59;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FFF8F2;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF7A59, #2EC4B6);
  border-radius: 10px;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F0FAF8;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 122, 89, 0.12);
  box-shadow: 0 4px 30px rgba(255, 122, 89, 0.04);
}

.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: inherit;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FF7A59, #FF9A76);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 122, 89, 0.35);
}

.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: #2D2A32;
  padding: 4px 2px;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF7A59, #2EC4B6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:not(.nav-cta):hover {
  color: #FF7A59;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #FF7A59, #FF9A76);
  box-shadow: 0 6px 18px rgba(255, 122, 89, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(255, 122, 89, 0.45);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 89, 0.2);
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: #2D2A32;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
  background: #fff;
  border-color: rgba(255, 122, 89, 0.4);
}

/* ---------- 首页 Hero ---------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.3) 0%, rgba(255, 209, 102, 0) 70%);
  top: -120px;
  right: -80px;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.22) 0%, rgba(46, 196, 182, 0) 70%);
  bottom: -100px;
  left: -60px;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(46, 196, 182, 0.15);
  color: #1CA896;
  letter-spacing: 0.04em;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(46, 196, 182, 0.15);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  color: #2D2A32;
}

.hero h1 span {
  color: #FF7A59;
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 209, 102, 0.4);
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.65;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 30px 60px rgba(255, 122, 89, 0.15),
    0 10px 30px rgba(46, 196, 182, 0.08);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, #FF7A59, #FF9A76);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 122, 89, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(255, 122, 89, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #FF7A59;
  color: #FF7A59;
  box-shadow: 0 0 0 rgba(255, 122, 89, 0);
}

.btn-outline:hover {
  background: rgba(255, 122, 89, 0.08);
  border-color: #e86a4b;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.12);
}

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #2EC4B6;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  background: rgba(46, 196, 182, 0.1);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF7A59, #FFD166, #2EC4B6);
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 122, 89, 0.08);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #FF7A59, #FFD166);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 122, 89, 0.12);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FFF0EB, #FFE8D9);
  color: #FF7A59;
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.08) rotate(-5deg);
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #FF7A59;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}

.card-link:hover {
  gap: 10px;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(46, 196, 182, 0.15);
  transform: rotate(-1deg);
  transition: transform 0.5s ease;
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image:hover img {
  transform: scale(1.04);
}

.feature-text {
  padding: 8px 0;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: #2D2A32;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2EC4B6, #4AD9C8);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(46, 196, 182, 0.3);
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 122, 89, 0.06);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 122, 89, 0.1);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FF7A59, #FF9A76, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.content-wall-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 196, 182, 0.12);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 122, 89, 0.1);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 122, 89, 0.3);
}

.faq-item.open {
  border-color: rgba(255, 122, 89, 0.25);
  box-shadow: 0 8px 30px rgba(255, 122, 89, 0.08);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  transition: color 0.25s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #FF7A59;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 122, 89, 0.05);
  margin-top: 0;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #FF7A59 0%, #FF9A76 50%, #FFB080 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(255, 122, 89, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.25);
  bottom: -70px;
  left: -40px;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF7A59;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 72px 0 32px;
  background: #F0E6E1;
  position: relative;
  margin-top: 20px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF7A59, #FFD166, #2EC4B6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2D2A32;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.6;
  color: inherit;
  text-decoration: none;
  padding: 5px 0;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: #FF7A59;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(45, 42, 50, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #FF7A59;
  font-style: italic;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.65;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 560px;
    width: 100%;
  }

  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .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, 248, 242, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 122, 89, 0.12);
    box-shadow: 0 20px 40px rgba(255, 122, 89, 0.08);
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 10px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 48px 28px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 50px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ---------- 额外细节：装饰光斑 ---------- */
.section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.12), transparent 70%);
  top: 40px;
  right: 20px;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section:nth-child(even)::before {
  background: radial-gradient(circle, rgba(46, 196, 182, 0.1), transparent 70%);
}