/**
 * 爱刷题吖 (MiniProgram Official Website)
 * 极致现代排版 · 100% 呼应 Logo 晴空湛蓝、晨霞粉云、纸飞机航线与纯白展开书页
 * 苹果级高透毛玻璃 (Liquid Glassmorphism)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Logo 精准色系 (Sky Azure, Sunrise Rose, Paper White & Star Gold) */
  --sky-brand: #2b7af8;        /* Logo 中心晴空湛蓝 */
  --sky-deep: #1a56db;         /* 书皮封壳深海蓝 */
  --sky-bright: #38bdf8;       /* 飞向星空的天际亮青蓝 */
  --sky-soft: #f0f7ff;         /* 澄澈水天浅底 */
  --sky-border: rgba(191, 219, 254, 0.8);

  /* Logo 晨霞粉紫与暖金光弧 */
  --dawn-rose: #f472b6;        /* 晨霞玫瑰粉 */
  --dawn-purple: #c084fc;      /* 霞光紫 */
  --dawn-gold: #f59e0b;        /* 晨曦暖金 */
  --dawn-gold-light: #fde047;  /* 流星与光弧暖黄 */

  /* 珍珠白书卷与透光玻璃 */
  --white-pure: #ffffff;
  --white-glass-subtle: rgba(255, 255, 255, 0.48);
  --white-glass-medium: rgba(255, 255, 255, 0.68);
  --white-glass-solid: rgba(255, 255, 255, 0.88);

  /* 文字系统 (考究的对比度与层级) */
  --text-hero-title: #0a1b3f;
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* 苹果级高透毛玻璃 (Liquid Glass Filter & Shadows) */
  --liquid-glass-blur: blur(24px) saturate(180%) brightness(103%);
  --liquid-glass-blur-deep: blur(30px) saturate(200%) brightness(100%);
  --glass-nav-shadow: 
    0 12px 32px -4px rgba(15, 23, 42, 0.08),
    0 4px 16px -2px rgba(37, 99, 235, 0.06),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
  --glass-nav-shadow-scrolled:
    0 16px 40px -6px rgba(15, 23, 42, 0.12),
    0 4px 18px -2px rgba(37, 99, 235, 0.1),
    inset 0 1.5px 1.5px 0 #ffffff;
  --card-glass-shadow:
    0 14px 34px -4px rgba(37, 99, 235, 0.09),
    0 4px 12px rgba(15, 23, 42, 0.03),
    inset 0 1px 1.5px #ffffff;

  /* 边框规范 */
  --border-glass: 1px solid rgba(255, 255, 255, 0.75);
  --border-subtle: 1px solid rgba(226, 232, 240, 0.85);

  --radius-pill: 9999px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --container-max-w: 1360px;
}

/* 全局重置与顶级字体平滑渲染引擎 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #f0f7ff;
  text-rendering: optimizeLegibility;
}

body {
  /* 顶级字体排版系统：西文优先 Jakarta / Outfit，中文完美衔接苹方、鸿蒙与Windows UI高分屏优化 */
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  background-color: #f0f7ff;
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}

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

button {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

/* 版块标准规范 */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

/* Logo 灵感胶囊徽章 */
.section-tag-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sky-deep);
  border: 1.5px solid var(--sky-border);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.section-title-logo {
  font-family: 'Outfit', 'Plus Jakarta Sans', "PingFang SC", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-hero-title);
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

.section-desc-logo {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Logo 蓝天白云渐变文字 */
.text-gradient-sky {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }
  .section-title-logo {
    font-size: 28px;
  }
  .section-desc-logo {
    font-size: 14.5px;
  }
  .container {
    padding: 0 16px;
  }
}
