/* ============================================
   摄状元®AI创影 - Pages v1.0
   Hero / Page Banner / Page-specific
   ============================================ */

/* ════════════════════════════════════════
   HERO SECTION (index.php)
   ════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(64px + 32px);
  padding-bottom: 32px;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFBF0 50%, #FFFFFF 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,30,58,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-content h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-content .slogan {
  font-size: 16px;
  color: #C41E3A;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-content .description {
  font-size: 15px;
  color: #4A4A5A;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Hero: Mobile ── */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: calc(64px + 24px);
    padding-bottom: 24px;
  }
  .hero-content { padding: 0 16px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content .slogan { font-size: 14px; }
  .hero-content .description { font-size: 14px; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ── Hero: Tablet ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-top: calc(64px + 40px);
    padding-bottom: 40px;
  }
  .hero-content h1 { font-size: 36px; }
  .hero-content .slogan { font-size: 18px; }
  .hero-content .description { font-size: 16px; }
}

/* ── Hero: Desktop ── */
@media (min-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(64px + 64px);
    padding-bottom: 64px;
  }
  .hero-content h1 { font-size: 48px; }
  .hero-content .slogan { font-size: 20px; }
  .hero-content .description { font-size: 17px; }
}

/* ════════════════════════════════════════
   PAGE BANNER (subpages)
   ════════════════════════════════════════ */
.page-banner {
  padding-top: calc(64px + 40px);
  padding-bottom: 40px;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFBF0 50%, #FFFFFF 100%);
  text-align: center;
}
.page-banner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}
.page-banner h1 .highlight { color: #C41E3A; }
.page-banner p {
  font-size: 15px;
  color: #4A4A5A;
  max-width: 600px;
  margin: 0 auto;
}
.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #8A8A9A;
  margin-top: 16px;
}
.page-banner .breadcrumb a { color: #8A8A9A; }
.page-banner .breadcrumb a:hover { color: #C41E3A; }

@media (max-width: 767px) {
  .page-banner { padding-top: calc(64px + 24px); padding-bottom: 24px; }
  .page-banner h1 { font-size: 22px; }
  .page-banner p { font-size: 14px; }
}
@media (min-width: 1024px) {
  .page-banner { padding-top: calc(64px + 48px); padding-bottom: 48px; }
  .page-banner h1 { font-size: 32px; }
}

/* ════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #C41E3A, #D4A017);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (max-width: 767px) {
  .cta-banner { padding: 32px 16px; border-radius: 16px; }
  .cta-banner h2 { font-size: 22px; }
}

/* ════════════════════════════════════════
   ECO / PARTNERS (partners.php)
   ════════════════════════════════════════ */
.eco-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B3D 50%, #1A1A2E 100%);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}
.eco-hero h1 { font-size: 32px; color: #FFFFFF; margin-bottom: 16px; }
.eco-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.eco-steps { display: grid; gap: 24px; }
.eco-step { text-align: center; padding: 24px; }
.eco-step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #C41E3A, #D4A017);
  color: #FFFFFF; font-size: 20px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.eco-benefit {
  background: #FFFFFF;
  border: 1px solid #F0F0F5;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eco-benefit:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }

@media (max-width: 767px) {
  .eco-hero { padding: 48px 0; }
  .eco-hero h1 { font-size: 24px; }
  .eco-steps { grid-template-columns: 1fr; }
}
@media (min-width: 768px) { .eco-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .eco-steps { grid-template-columns: repeat(3, 1fr); }
  .eco-hero h1 { font-size: 40px; }
}

/* ════════════════════════════════════════
   TRAINING (training.php)
   ════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: calc(64px + 32px);
  padding-bottom: 32px;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFBF0 50%, #FFFFFF 100%);
}
.hero-section .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFBF0 50%, #FFFFFF 100%);
  z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.course-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.course-card .course-thumb {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; background: #F8F9FC;
}
.course-card .course-body { padding: 16px; }
.course-card .course-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.cases-grid { display: grid; gap: 24px; }
@media (max-width: 767px) { .cases-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

/* ════════════════════════════════════════
   DARK BANNER (dreamer.php)
   ════════════════════════════════════════ */
.page-banner.dark-banner {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B3D 50%, #1A1A2E 100%);
}
.page-banner.dark-banner h1 { color: #FFFFFF; }
.page-banner.dark-banner p { color: rgba(255,255,255,0.8); }
.page-banner.dark-banner .breadcrumb { color: rgba(255,255,255,0.5); }
.page-banner.dark-banner .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-banner.dark-banner .breadcrumb a:hover { color: #F0C040; }

/* ════════════════════════════════════════
   NEWS LIST
   ════════════════════════════════════════ */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #F0F0F5;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}
.news-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.news-item .news-date {
  flex-shrink: 0; text-align: center;
  padding: 8px; background: #F8F9FC;
  border-radius: 8px; min-width: 60px;
}
.news-item .news-date .day { font-size: 24px; font-weight: 700; color: #C41E3A; line-height: 1; }
.news-item .news-date .month { font-size: 12px; color: #8A8A9A; }
.news-item .news-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.news-item .news-info h3 a { color: #1A1A2E; }
.news-item .news-info h3 a:hover { color: #C41E3A; }
.news-item .news-info p {
  font-size: 14px; color: #4A4A5A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
