/* ================================================
   ACADEMY RESOURCES CSS
   Matches SBH Landing Page Aesthetic
   DM Sans + DM Serif Display, Dark Theme, Gold/Cyan
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --gold: #d4a84b;
  --gold-dark: #a67c32;
  --gold-light: rgba(212, 168, 75, 0.15);
  --cyan: #2dd4bf;
  --cyan-dark: #14b8a6;
  --cyan-light: rgba(45, 212, 191, 0.15);
  --bg: #0c0c0c;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --text: #f5f5f5;
  --text-dim: #a0a0a0;
  --text-muted: #6b6b6b;
  --border: rgba(255,255,255,0.08);
}

/* ================================================
   BASE STYLES
   ================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-dark);
}

/* ================================================
   LAYOUT
   ================================================ */
.resource-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}

/* ================================================
   HEADER NAV
   ================================================ */
.resource-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.resource-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.resource-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: #000;
}

.resource-logo span {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.resource-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-nav a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}

.resource-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.resource-nav .nav-cta {
  background: var(--gold);
  color: #000 !important;
  font-weight: 600;
}

.resource-nav .nav-cta:hover {
  background: var(--gold-dark);
}

/* ================================================
   HERO SECTION
   ================================================ */
.resource-hero {
  padding-top: 100px;
  margin-bottom: 60px;
  text-align: center;
}

.resource-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}

.resource-hero h1 .highlight {
  color: var(--gold);
}

.resource-hero .subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.resource-hero .cta-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}

.resource-hero .cta-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ================================================
   SECTION HEADINGS
   ================================================ */
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  margin: 48px 0 24px;
  letter-spacing: -0.5px;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

p {
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ================================================
   FEATURE GRID
   ================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

/* Force 3 columns when exactly 3 cards */
.feature-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Force 4 columns when exactly 4 cards */
.feature-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.25s;
}

.feature-card:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ================================================
   STEP LIST
   ================================================ */
.steps {
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  margin-bottom: 0;
  font-size: 15px;
}

/* ================================================
   USE CASES / AUDIENCE
   ================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.audience-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.audience-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ================================================
   HIGHLIGHT BOX
   ================================================ */
.highlight-box {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
  margin: 40px 0;
}

.highlight-box h3 {
  color: var(--gold);
  margin-bottom: 12px;
}

.highlight-box p {
  margin-bottom: 0;
}

.highlight-box.cyan {
  background: var(--cyan-light);
  border-left-color: var(--cyan);
}

.highlight-box.cyan h3 {
  color: var(--cyan);
}

/* ================================================
   BULLET LIST
   ================================================ */
ul.check-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 15px;
}

ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-list {
  margin: 32px 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin: 60px 0;
}

.cta-section h2 {
  color: var(--text);
  margin-top: 0;
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 28px;
}

.cta-section .cta-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}

.cta-section .cta-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ================================================
   BREADCRUMB / NAV
   ================================================ */
.resource-breadcrumb {
  padding-top: 80px;
  margin-bottom: -60px;
  font-size: 13px;
}

.resource-breadcrumb a {
  color: var(--text-muted);
}

.resource-breadcrumb span {
  color: var(--text-muted);
  margin: 0 8px;
}

/* ================================================
   FOOTER NAV
   ================================================ */
.resource-footer-nav {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 14px;
}

.resource-footer-nav a {
  color: var(--text-dim);
}

.resource-footer-nav a:hover {
  color: var(--gold);
}

/* ================================================
   PAGE FOOTER
   ================================================ */
.resource-page-footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .resource-header {
    padding: 12px 20px;
  }
  
  .resource-nav a:not(.nav-cta) {
    display: none;
  }
  
  .resource-page {
    padding: 24px 20px 60px;
  }
  
  .resource-hero {
    padding-top: 80px;
  }
  
  .resource-hero h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .feature-grid,
  .feature-grid-3,
  .feature-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    gap: 12px;
  }
  
  .cta-section {
    padding: 32px 24px;
  }
  
  .resource-footer-nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
