/* ============================================
   关于优课典 · 品牌故事页(方案 B)
   ============================================ */

.about-page {
  background: #FFFDF8;
}

/* ===== Hero ===== */
.about-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 24px 60px;
}

.about-hero-bg {
  position: absolute;
  inset: -30px;
  background: url("./images/about-hero.jpg") center/cover no-repeat;
  filter: blur(2px) saturate(115%);
  z-index: 0;
  pointer-events: none;
}

.about-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 132, 34, 0.35) 0%,
    rgba(255, 168, 76, 0.45) 40%,
    rgba(255, 224, 172, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #FFFFFF;
}

.about-eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 4px;
  color: #FFFFFF;
  opacity: 0.85;
  font-weight: 500;
}

.about-hero-title {
  margin: 0 0 24px;
  font-size: 66px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-hero-divider {
  width: 60px;
  height: 4px;
  background: #FFFFFF;
  border-radius: 2px;
  margin-bottom: 24px;
}

.about-hero-lead {
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 1.7;
  color: #FFFFFF;
  opacity: 0.95;
  font-weight: 400;
  max-width: 480px;
}

.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero 上主按钮 —— 橙深实心 · 白字 */
.about-hero-actions .btn-primary {
  background: linear-gradient(135deg, #E86A00 0%, #FF8422 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.25);
}
.about-hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #D25E00 0%, #E86A00 100%);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
}

/* Hero 上次按钮 (400 电话) —— 白底 · 橙字实心, 一眼看清 */
.about-hero-actions .btn-ghost {
  background: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  color: #FF8422;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.2);
}
.about-hero-actions .btn-ghost:hover {
  background: #FFF5E8;
  color: #E86A00;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.3);
}

/* ===== 章节公共样式 ===== */
.about-chapter {
  padding: 100px 24px;
}

.about-chapter-alt {
  background: linear-gradient(180deg, #FFF6EA 0%, #FFF3D6 100%);
}

.about-chapter-quote {
  background: #FFFDF8;
  padding-bottom: 60px;
}

.chapter-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.chapter-num {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 68px;
  font-weight: 800;
  color: rgba(255, 132, 34, 0.15);
  line-height: 1;
  margin-bottom: -20px;
}

.chapter-title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 800;
  color: #1F1F1F;
  position: relative;
  z-index: 1;
}

.chapter-underline {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #FF8422, #FFA84C);
  border-radius: 2px;
  margin: 0 auto;
}

.chapter-body {
  max-width: 780px;
  margin: 0 auto;
}

.chapter-body-wide {
  max-width: 1100px;
}

.chapter-lead {
  font-size: 18px;
  line-height: 1.85;
  color: #333;
  margin: 0 0 24px;
  text-align: center;
}

.chapter-body p {
  color: #4A4A4A;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 18px;
}

.chapter-body strong {
  color: #FF8422;
  font-weight: 600;
}

/* 标签组 */
.chapter-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.chapter-tags span {
  padding: 10px 18px;
  background: rgba(255, 168, 76, 0.12);
  color: #FF8422;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 168, 76, 0.25);
}

/* 3 步流程 */
.chapter-steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 240px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 12px 32px -18px rgba(255, 132, 34, 0.25),
              0 4px 12px -6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 168, 76, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(255, 132, 34, 0.35);
}

.step-num {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #FF8422, #FFA84C);
  color: #FFFFFF;
  font-family: 'Georgia', serif;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #1F1F1F;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4A4A;
}

.step-arrow {
  font-size: 32px;
  color: #FFA84C;
  align-self: center;
  font-weight: 300;
}

/* 3 亮点 */
.chapter-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.chapter-highlights > div {
  background: #FFFFFF;
  padding: 22px 24px;
  border-radius: 14px;
  border-left: 3px solid #FF8422;
}

.chapter-highlights strong {
  display: block;
  color: #FF8422;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.chapter-highlights p {
  margin: 0;
  color: #4A4A4A;
  font-size: 13.5px;
  line-height: 1.75;
}

.chapter-cta-inline {
  text-align: center;
  margin-top: 24px;
}

/* ===== 家长口碑 ===== */
.big-quote {
  text-align: center;
  padding: 32px 24px 40px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 132, 34, 0.05) 0%, rgba(255, 168, 76, 0.08) 100%);
  border-radius: 24px;
  margin-bottom: 40px;
}

.big-quote p {
  font-size: 22px;
  line-height: 1.9;
  color: #1F1F1F;
  font-weight: 500;
  margin: 0 0 16px;
  text-align: center;
}

.quote-mark {
  font-family: 'Georgia', serif;
  font-size: 80px;
  color: rgba(255, 132, 34, 0.25);
  line-height: 0.5;
  vertical-align: top;
  position: absolute;
}

.quote-mark-left {
  top: 24px;
  left: 32px;
}
.quote-mark-right {
  bottom: 60px;
  right: 32px;
}

.quote-source {
  color: #FF8422;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 22px 22px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 168, 76, 0.15);
  box-shadow: 0 8px 20px -12px rgba(255, 132, 34, 0.2);
}

.testimonial-card p {
  margin: 0 0 14px;
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.85;
  font-style: italic;
}

.testimonial-card span {
  display: block;
  color: #FF8422;
  font-size: 12.5px;
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 168, 76, 0.3);
}

.brand-close {
  text-align: center;
  color: #333 !important;
  font-size: 17px !important;
  line-height: 2 !important;
  padding: 30px 20px;
  max-width: 700px;
  margin: 0 auto !important;
}

/* ===== 底部 CTA ===== */
.about-cta {
  padding: 40px 24px 80px;
  background: #FFFDF8;
}

.about-cta-card {
  background: linear-gradient(135deg, #FF8422 0%, #FFA84C 100%);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #FFFFFF;
  box-shadow: 0 24px 60px -24px rgba(255, 132, 34, 0.5);
}

.about-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 3px;
  opacity: 0.85;
}

.about-cta-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.about-cta-card > div > p:last-child {
  margin: 0;
  opacity: 0.92;
  font-size: 15px;
  line-height: 1.6;
}

.about-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* 底部 CTA 主按钮 —— 白底橙字, 强对比橙色卡片 */
.about-cta-buttons .btn-primary {
  background: #FFFFFF;
  color: #FF8422;
  border: 1.5px solid #FFFFFF;
  font-weight: 600;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.2);
}
.about-cta-buttons .btn-primary:hover {
  background: #FFF5E8;
  color: #E86A00;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.3);
}

/* 底部 CTA 次按钮 (400 电话) —— 深橙实心, 白字, 和主按钮做层级区分 */
.about-cta-buttons .btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-cta-buttons .btn-ghost:hover {
  background: #FFFFFF;
  color: #FF8422;
}

/* ===== 底部备案 ===== */
.about-icp {
  text-align: center;
  padding: 16px 24px;
  color: #999;
  font-size: 12.5px;
  border-top: 1px solid rgba(255, 168, 76, 0.15);
}

.about-footer .footer-inner {
  padding-bottom: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .about-hero { min-height: 480px; padding: 60px 24px 40px; }
  .about-hero-title { font-size: 44px; }
  .about-hero-lead { font-size: 17px; }
  .about-chapter { padding: 64px 24px; }
  .chapter-title { font-size: 26px; }
  .chapter-lead { font-size: 16px; }
  .chapter-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .chapter-highlights { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .big-quote p { font-size: 18px; }
  .about-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
}

@media (max-width: 560px) {
  .about-hero-title { font-size: 34px; }
  .about-hero-lead { font-size: 15px; }
  .chapter-title { font-size: 22px; }
  .chapter-num { font-size: 52px; }
  .big-quote p { font-size: 16px; }
  .quote-mark { font-size: 48px; }
  .quote-mark-left { top: 8px; left: 16px; }
  .quote-mark-right { bottom: 30px; right: 16px; }
}
