/* ==========================================================================
   山水云 (Shanshui Cloud) - 日系二次元视觉设计系统 V1.0
   方案 C：日系二次元 × 晴空蓝 × 樱花粉 × 云朵幻想 × 清新科技
   ========================================================================== */

:root {
  /* 品牌核心色彩 - 日系晴空与樱花 */
  --primary-sky: #38bdf8;
  --primary-sky-deep: #0284c7;
  --primary-sky-light: #e0f2fe;
  --primary-sky-soft: #f0f9ff;
  
  --sakura-pink: #ff6b9d;
  --sakura-pink-deep: #e11d48;
  --sakura-pink-light: #fce7f3;
  --sakura-pink-soft: #fff1f2;
  --sakura-gradient: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
  --sky-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  --hero-gradient: linear-gradient(180deg, #e0f2fe 0%, #fdf2f8 60%, #ffffff 100%);

  /* 辅助色彩 */
  --anime-purple: #8b5cf6;
  --anime-purple-light: #f5f3ff;
  --anime-yellow: #fbbf24;
  --anime-green: #10b981;

  /* 中性色 & 背景色 */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --border-light: rgba(224, 231, 255, 0.8);
  --border-pink: rgba(255, 107, 157, 0.35);
  --border-sky: rgba(56, 189, 248, 0.35);
  
  /* 文字颜色 */
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-pink: #ec4899;
  --text-sky: #0284c7;

  /* 柔和阴影系统 */
  --shadow-sm: 0 2px 8px rgba(148, 163, 184, 0.1);
  --shadow-card: 0 10px 30px -10px rgba(56, 189, 248, 0.15), 0 4px 12px rgba(255, 107, 157, 0.08);
  --shadow-hover: 0 20px 40px -12px rgba(56, 189, 248, 0.25), 0 8px 20px rgba(255, 107, 157, 0.15);
  --shadow-pink-glow: 0 8px 25px -4px rgba(255, 107, 157, 0.45);
  --shadow-sky-glow: 0 8px 25px -4px rgba(56, 189, 248, 0.45);

  /* 圆角规范 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* 字体设置 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-anime: "Comic Sans MS", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 全局重置与基础设定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

/* 页面通用容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 二次元背景装饰层与樱花漂浮感 */
.anime-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.7;
}

.anime-cloud-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 15%, rgba(224, 242, 254, 0.8) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(252, 231, 243, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(245, 243, 255, 0.6) 0%, transparent 50%);
}

.sakura-petal {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.65), rgba(255, 107, 157, 0.35));
  border-radius: 12px 1px 12px 1px;
  animation: sakuraFall 14s linear infinite;
}

@keyframes sakuraFall {
  0% {
    transform: translateY(-20px) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(105vh) translateX(80px) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* 按钮规范 (严格满足用户指令) */
/* 粉红色主按钮：进入官网注册 */
.btn-sakura-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--sakura-gradient);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink-glow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-sakura-pink::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}

.btn-sakura-pink:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 157, 0.55);
}

.btn-sakura-pink:hover::before {
  left: 140%;
}

/* 白色次按钮：套餐价格 */
.btn-clean-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  background: #ffffff;
  color: var(--primary-sky-deep);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-sky-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-clean-white:hover {
  background: var(--primary-sky-soft);
  border-color: var(--primary-sky);
  color: var(--primary-sky-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sky-glow);
}

/* 天空蓝按钮 */
.btn-sky {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--sky-gradient);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sky-glow);
  transition: all 0.25s ease;
}

.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5);
}

/* 二次元柔和卡片基础样式 */
.anime-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.anime-card:hover {
  border-color: var(--border-pink);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* 二次元粉色徽章 / 胶囊标签 */
.anime-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255, 107, 157, 0.1);
  color: var(--sakura-pink-deep);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 107, 157, 0.25);
}

.anime-badge-sky {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-sky-deep);
  border-color: rgba(56, 189, 248, 0.3);
}

.anime-badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--anime-purple);
  border-color: rgba(139, 92, 246, 0.25);
}

/* 板块通用头部 */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 10px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--sakura-gradient);
  border-radius: var(--radius-full);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* 占位素材通用样式规范 (根据要求保留清晰占位结构与标注) */
.placeholder-box {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.45) 0%, rgba(254, 226, 226, 0.35) 100%);
  border: 2px dashed rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.placeholder-box:hover {
  border-color: var(--sakura-pink);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.6) 0%, rgba(254, 226, 226, 0.5) 100%);
}

.placeholder-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  stroke: var(--primary-sky);
  opacity: 0.85;
}

.placeholder-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-sky-deep);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  border: 1px solid var(--border-sky);
}

.placeholder-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* 顶部导航 Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(224, 231, 255, 0.6);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-placeholder-pill {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e0f2fe 0%, #fed7aa 100%);
  border: 1.5px dashed var(--primary-sky);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-sky-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

/* 品牌正式 Logo 图标样式 */
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: block;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s ease;
}

.brand-logo-group:hover .brand-logo-img {
  transform: scale(1.06) rotate(-3deg);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--sakura-pink-deep);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-sky-deep);
}

.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--sakura-gradient);
  border-radius: var(--radius-full);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-sky-soft);
  color: var(--primary-sky-deep);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* 页脚 Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding: 56px 0 24px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  position: relative;
}

.footer-title::before {
  content: "✦";
  color: var(--sakura-pink);
  margin-right: 6px;
  font-size: 0.85rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--sakura-pink-deep);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary-sky-deep);
}
