/* =========================================
   RELATE PDA — Global Stylesheet
   ========================================= */

/* --- TOKENS --- */
:root {
  --ink: #1a1a2e;
  --warm: #f5f0eb;
  --cream: #faf8f5;
  --accent: #c45d3e;
  --accent-hover: #d46a4c;
  --accent-light: #e8886d;
  --teal: #2d6a6a;
  --teal-hover: #357d7d;
  --muted: #6b6b7b;
  --muted-light: #9090a0;
  --border: #e0dbd4;
  --white: #ffffff;
  --dark-bg: #1a1a2e;
  --darker-bg: #141425;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; }
h1 { font-size: 3.4rem; line-height: 1.12; }
h2 { font-size: 2.4rem; line-height: 1.2; }
h3 { font-size: 1.45rem; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
p { font-size: 1rem; }
em { font-style: normal; color: var(--accent); }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; text-decoration: none;
  color: var(--ink); letter-spacing: 0.01em;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.55rem 1.3rem !important; border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 5px 0;
  transition: var(--transition);
}

/* --- SECTIONS --- */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 780px; margin: 0 auto; }
.section-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  display: block;
}
.section-title { margin-bottom: 1.2rem; }
.section-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 620px; line-height: 1.7;
  margin-bottom: 3rem;
}

/* --- BACKGROUNDS --- */
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-warm { background: var(--warm); }
.bg-dark { background: var(--dark-bg); color: var(--white); }
.bg-darker { background: var(--darker-bg); }

/* --- BUTTONS --- */
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--white); }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- CARDS --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-featured { border-color: var(--accent); box-shadow: 0 4px 20px rgba(196,93,62,0.1); }

/* --- GRIDS --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- PILLAR STRIP --- */
.pillar-strip { padding: 2.8rem 2rem; text-align: center; }
.pillars {
  display: flex; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.pillar { padding: 0 1.8rem; border-right: 1px solid rgba(255,255,255,0.1); }
.pillar:last-child { border-right: none; }
.pillar-letter {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--accent-light);
  display: block; margin-bottom: 0.2rem;
}
.pillar-word {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* --- PAGE HERO --- */
.page-hero {
  padding: 10rem 2rem 4rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--warm) 60%, #e8dfd6 100%);
}
.page-hero .section-inner { max-width: 780px; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero p {
  font-size: 1.12rem; color: var(--muted);
  max-width: 600px; line-height: 1.7;
}

/* --- FEATURE LIST --- */
.feature-list { list-style: none; }
.feature-list li {
  font-size: 0.88rem; color: var(--muted);
  padding: 0.45rem 0 0.45rem 1.4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.feature-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}
.feature-list li:last-child { border-bottom: none; }

/* --- PRICING --- */
.price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--ink);
}
.price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; color: var(--muted);
  font-weight: 400;
}

/* --- STAT BLOCKS --- */
.stat-block {
  padding: 2rem;
  border-left: 3px solid var(--accent);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: var(--accent);
  display: block; margin-bottom: 0.2rem;
}
.stat-block p { font-size: 0.92rem; color: var(--muted); }

/* --- AUDIENCE CARDS --- */
.audience-icon {
  font-size: 2rem; margin-bottom: 0.8rem; display: block;
}
.audience-card { text-align: center; padding: 2rem 1.5rem; }
.audience-card:hover { border-color: var(--accent); background: var(--cream); }
.audience-card h4 { margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* --- VIDEO CARDS --- */
.video-card { overflow: hidden; padding: 0; }
.video-thumb {
  height: 180px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.video-thumb::after {
  content: '▶'; width: 50px; height: 50px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem; padding-left: 3px;
}
.video-label {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.5); color: white;
  font-size: 0.68rem; padding: 0.2rem 0.6rem;
  border-radius: 3px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.video-body { padding: 1.5rem; }
.video-body h4 { margin-bottom: 0.4rem; }
.video-body p { font-size: 0.82rem; color: var(--muted); }
.video-duration {
  font-size: 0.75rem; color: var(--accent);
  font-weight: 600; margin-top: 0.5rem;
}

/* --- ABOUT PERSON --- */
.about-person { text-align: center; }
.about-photo {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--border); margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--muted);
  border: 3px solid var(--white); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-person h3 { margin-bottom: 0.3rem; }
.about-person .role {
  font-size: 0.82rem; color: var(--accent);
  font-weight: 600; margin-bottom: 1rem;
}
.about-person .bio {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.7; text-align: left;
}

/* --- CTA BANNER --- */
.cta-banner { padding: 5rem 2rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p {
  color: rgba(255,255,255,0.55); font-size: 1.05rem;
  margin-bottom: 2.5rem; max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.cta-banner .btn-group { justify-content: center; }

/* --- FORMS --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em; margin-bottom: 0.4rem;
  color: var(--ink);
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--accent);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* --- FOOTER --- */
.footer { padding: 2.5rem 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: 'DM Serif Display', serif;
  color: rgba(255,255,255,0.35); font-size: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.3); text-decoration: none;
  font-size: 0.78rem; transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-copy {
  color: rgba(255,255,255,0.18); font-size: 0.72rem;
  width: 100%; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-q {
  font-weight: 600; font-size: 1rem;
  cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--muted); }
.faq-q.open::after { content: '−'; }
.faq-a {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.7; padding-top: 0.8rem;
  display: none;
}
.faq-a.open { display: block; }

/* --- PILLAR DETAIL CARDS --- */
.pillar-detail {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 1.5rem; align-items: start;
  padding: 2rem; margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.pillar-detail-letter {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem; color: var(--accent);
  line-height: 1;
}
.pillar-detail h3 { margin-bottom: 0.5rem; }
.pillar-detail p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* --- TRAINING CARDS --- */
.training-card { display: flex; flex-direction: column; }
.training-card .tier {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8rem;
}
.training-card h3 { margin-bottom: 0.6rem; }
.training-card .desc {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 1.5rem; flex: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; width: 100%;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem; gap: 1rem;
  }
  .nav-toggle { display: block; }
  .pillars { flex-wrap: wrap; gap: 0.5rem; }
  .pillar { padding: 0.5rem 1rem; border-right: none; }
  .pillar-detail { grid-template-columns: 60px 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 2.1rem; }
  section { padding: 4rem 1.2rem; }
  .page-hero { padding: 8rem 1.2rem 3rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; text-align: center; }
}
