/* IAXAI Home — Core Styles */

:root {
  /* Colors */
  --navy: #0D1B2A;
  --slate: #1B3A4B;
  --teal: #2A9D8F;
  --coral: #E76F51;
  --amber: #E9C46A;
  --green: #2D6A4F;
  --earth: #7F5539;
  --paper: #FEFDFB;
  --surface: #FFFFFF;
  --mid: #888;
  --light: #c8c8c8;
  --rule: #E0DDD8;

  /* Typography */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  /* Layout */
  --radius: 12px;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hidden {
  display: none !important;
}

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }

/* ═══════════════════════════════════════════════════════════════════════ */
/* HERO SECTION */
/* ═══════════════════════════════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  color: white;
  padding: 4rem 0;
}

.branding {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.branding .mono {
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.branding .separator {
  margin: 0 1rem;
  color: rgba(255,255,255,0.3);
}

.branding .serif {
  font-style: italic;
  font-size: 1.3rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-title em {
  color: var(--teal);
  font-style: italic;
}

.hero-sub {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.9);
}

.hero-sub strong {
  color: var(--teal);
  font-weight: 600;
}

.hero-visual {
  margin: 3rem 0;
}

.ascii-tree {
  text-align: center;
}

.tree-art {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  display: inline-block;
  text-align: left;
  line-height: 1.4;
  background: rgba(0,0,0,0.2);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.entry-question {
  text-align: center;
  margin: 4rem 0 2rem;
}

.entry-question p {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
}

/* Pathways */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pathway-card {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pathway-card:hover {
  background: rgba(42, 157, 143, 0.15);
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(42, 157, 143, 0.2);
}

.pathway-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.pathway-label {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pathway-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  display: block;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* PATHWAY DETAILS */
/* ═══════════════════════════════════════════════════════════════════════ */

.pathway-detail {
  min-height: 100vh;
  padding: 4rem 0;
  background: var(--paper);
}

.pathway-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.pathway-content h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.pathway-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 3rem;
  max-width: 800px;
}

/* Executive Pathway */
.pathway-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  font-family: var(--mono);
}

.step-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.step-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.step-content ul {
  list-style: none;
  padding-left: 0;
}

.step-content ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.step-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

.step-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.step-links a {
  display: inline-block;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.step-links a:hover {
  border-color: var(--teal);
}

/* Practitioner Pathway */
.practitioner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.prac-section {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
}

.prac-section h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.prac-list {
  list-style: none;
  padding: 0;
}

.prac-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.prac-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.prac-list a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.prac-list a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.prac-note {
  background: rgba(42, 157, 143, 0.08);
  border-left: 4px solid var(--teal);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.prac-note p {
  margin: 0;
  line-height: 1.6;
}

/* Explorer Pathway */
.explorer-journey {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.journey-stage {
  padding: 2rem;
  background: var(--surface);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.journey-stage h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.journey-stage p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.journey-stage a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.journey-stage a:hover {
  border-color: var(--teal);
}

.journey-stage ul {
  list-style: none;
  padding-left: 0;
}

.journey-stage ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.journey-stage ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* BUTTONS */
/* ═══════════════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--teal);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #238b7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid var(--navy);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

.btn-text {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 0.5rem 0;
  font-family: var(--sans);
  transition: opacity 0.2s;
}

.btn-text:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .pathways {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .practitioner-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .tree-art {
    font-size: 0.7rem;
    padding: 1.5rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }

  #hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .pathway-card {
    padding: 2rem 1.5rem;
  }

  .pathway-content h2 {
    font-size: 2rem;
  }

  .pathway-intro {
    font-size: 1.1rem;
  }
}
