/* ============================================================
   CCA Foundations Prep Page — Dark Slate Hero + Specific Styles
   Only loaded on academy-cca page
   ============================================================ */

/* ============================================================
   CCA HERO — Full viewport dark slate gradient
   ============================================================ */
.cca-hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, #1A1A18 0%, #2D3436 50%, #0D1B2A 100%);
  display: flex; align-items: center; overflow: hidden;
}
.cca-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(196,132,75,0.15) 0%, transparent 70%);
  border-radius: 50%; animation: cca-pulse 6s ease-in-out infinite;
}
.cca-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,132,75,0.06) 0%, transparent 70%);
  border-radius: 50%; animation: cca-pulse 8s ease-in-out infinite reverse;
}
.cca-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes cca-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}
@keyframes cca-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cca-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.cca-hero-content {
  position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto;
  padding: 120px 40px 80px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-badge-cca {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,132,75,0.12); border: 1px solid rgba(196,132,75,0.3);
  border-radius: 50px; padding: 8px 20px; font-size: 13px;
  color: var(--accent-light); font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 24px; animation: cca-fadeInUp 0.8s ease-out;
}

.cca-hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 56px);
  font-weight: 900; color: var(--text-inv); line-height: 1.15;
  margin-bottom: 20px; animation: cca-fadeInUp 0.8s ease-out 0.1s both;
}
.cca-hero h1 .highlight-cca {
  color: var(--accent-light); font-style: italic; font-weight: 300;
}

.hero-desc-cca {
  font-size: 17px; color: rgba(250,250,247,0.65); line-height: 1.75;
  margin-bottom: 12px; max-width: 620px; margin-left: auto; margin-right: auto;
  animation: cca-fadeInUp 0.8s ease-out 0.2s both;
}
.hero-desc-cca-zh {
  font-size: 15px; color: rgba(250,250,247,0.4); line-height: 1.7;
  margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto;
  animation: cca-fadeInUp 0.8s ease-out 0.25s both;
}

.cca-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: cca-fadeInUp 0.8s ease-out 0.3s both; margin-bottom: 48px;
}

/* ============================================================
   FROSTED GLASS CERT CARD
   ============================================================ */
.cca-hero-visual { animation: cca-fadeInUp 1s ease-out 0.4s both; display: flex; justify-content: center; width: 100%; }
.cert-card-cca {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 36px; width: 380px; position: relative;
}
.cert-card-cca-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cert-icon-cca {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.cert-card-cca-header h3 { color: var(--text-inv); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.cert-card-cca-header p { color: rgba(250,250,247,0.5); font-size: 13px; }
.cert-stats-cca { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-item-cca { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 16px; text-align: center; }
.stat-number-cca { font-size: 28px; font-weight: 700; color: var(--accent-light); }
.stat-label-cca { font-size: 12px; color: rgba(250,250,247,0.5); margin-top: 4px; }
.floating-tag-cca {
  position: absolute; border-radius: 10px; padding: 10px 18px;
  font-size: 13px; font-weight: 600; animation: cca-float 4s ease-in-out infinite;
}
.floating-tag-cca.tag-cca-1 {
  top: -20px; right: -30px;
  background: rgba(196,132,75,0.15); border: 1px solid rgba(196,132,75,0.3); color: var(--accent-light);
}
.floating-tag-cca.tag-cca-2 {
  bottom: -20px; left: -20px; animation-delay: 2s;
  background: rgba(232,205,176,0.12); border: 1px solid rgba(232,205,176,0.25); color: var(--accent-light);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar-cca { background: var(--bg-dark); padding: 24px 40px; }
.trust-bar-cca .container {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center;
}
.trust-bar-cca-item { font-size: 13px; font-weight: 500; color: rgba(250,250,247,0.55); letter-spacing: 0.04em; }
.trust-bar-cca-item strong { color: var(--accent-light); font-weight: 600; }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.cca-disclaimer { padding: 32px 0 0; }
.disclaimer-box {
  background: rgba(196,132,75,0.06); border: 1px solid rgba(196,132,75,0.15);
  border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 20px 24px;
}
.disclaimer-box p {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.8;
}
.disclaimer-box strong { color: var(--text); }
.disclaimer-box a { color: var(--accent); font-weight: 600; }
.disclaimer-box a:hover { color: var(--accent-dark); }

/* ============================================================
   OVERVIEW GRID
   ============================================================ */
.cca-overview-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.cca-overview-text p {
  color: var(--text-light); margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem;
}
.cca-overview-text h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px; margin-top: 28px;
}
.cca-overview-text h3:first-child { margin-top: 0; }

.cca-spec-box {
  background: var(--card-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 24px 28px; margin-bottom: 20px;
}
.cca-spec-box h4 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 12px;
}
.cca-spec-box p { color: var(--text-light); font-size: 0.92rem; line-height: 1.75; }
.cca-spec-list { list-style: none; }
.cca-spec-list li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; font-size: 0.92rem;
}
.cca-spec-list li:last-child { border-bottom: none; }
.cca-spec-list li strong { min-width: 130px; color: var(--text); flex-shrink: 0; }
.cca-spec-list li span { color: var(--text-light); }

/* ============================================================
   DOMAIN CARDS
   ============================================================ */
.domain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.domain-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; transition: all 0.3s;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.domain-num {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700;
  color: var(--accent-light); line-height: 1; margin-bottom: 10px;
}
.domain-weight {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: rgba(196,132,75,0.1);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.domain-card h3 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 8px; line-height: 1.3;
}
.domain-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.75; }
.domain-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.domain-tag {
  font-size: 0.7rem; font-weight: 600; padding: 3px 8px;
  background: var(--bg-alt); color: var(--text-light); border-radius: 4px;
}

/* ============================================================
   TRAINING PROGRAMS
   ============================================================ */
.cca-programs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.cca-program-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; transition: all 0.3s;
}
.cca-program-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.cca-program-card.featured { border: 2px solid var(--accent); }
.card-tag-cca {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(196,132,75,0.1);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 16px;
}
.cca-program-card h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 12px; line-height: 1.3;
}
.cca-program-card p {
  color: var(--text-light); font-size: 0.92rem; line-height: 1.75; margin-bottom: 16px;
}
.cca-program-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.cca-program-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.price-amount-cca { font-size: 1rem; font-weight: 700; color: var(--text); }
.price-note-cca { font-size: 0.78rem; color: var(--accent-dark); font-weight: 600; margin-top: 2px; }
.course-enroll-cca {
  padding: 10px 24px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600; border: none; border-radius: 8px;
  cursor: pointer; text-decoration: none; transition: all 0.25s;
}
.course-enroll-cca:hover { background: var(--accent-dark); }
.course-enroll-cca.featured {
  background: var(--bg-dark); color: var(--text-inv);
}
.course-enroll-cca.featured:hover { background: #333; }

/* ============================================================
   INSTRUCTORS
   ============================================================ */
.cca-instructor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.cca-instructor-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; transition: all 0.3s;
}
.cca-instructor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.cca-instructor-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.cca-instructor-role {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 20px;
}
.cca-inst-section { margin-bottom: 16px; }
.cca-inst-section h4 {
  font-size: 0.82rem; font-weight: 700; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cca-inst-section ul { list-style: none; }
.cca-inst-section li {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.7;
  padding-left: 16px; position: relative;
}
.cca-inst-section li::before { content: '\25B8'; position: absolute; left: 0; color: var(--accent); }
.cca-inst-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.cca-inst-tag {
  font-size: 11px; padding: 4px 10px; background: var(--bg-alt);
  color: var(--text); border-radius: 5px; font-weight: 600;
}

/* ============================================================
   AUDIENCE SECTION (DARK)
   ============================================================ */
.cca-audience-section { background: var(--bg-dark); padding: 80px 0; }
.cca-audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.cca-audience-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 28px; transition: all 0.3s;
}
.cca-audience-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.cca-audience-card h3 {
  font-family: var(--serif); font-size: 1rem; font-weight: 700;
  color: var(--text-inv); margin-bottom: 8px;
}
.cca-audience-card p { font-size: 0.88rem; color: rgba(250,250,247,0.55); line-height: 1.7; }

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .cca-hero-content { padding: 100px 24px 60px; }
  .cert-card-cca { width: 100%; max-width: 380px; }
  .cca-overview-grid { grid-template-columns: 1fr; }
  .cca-programs-grid { grid-template-columns: 1fr; }
  .cca-instructor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .domain-grid { grid-template-columns: 1fr; }
  .cca-hero-actions { flex-direction: column; align-items: center; }
  .cca-program-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}
