/* ═══════════════════════════════════════════════════════════
   HIS PATH — Brand Stylesheet
   Obsidian Plum · Gold · Spirit Purple · Cream
   Used inside .hp-section blocks within TDIH chrome
═══════════════════════════════════════════════════════════ */

:root {
  --hp-bg: #1A0718;
  --hp-surface: #2A0E25;
  --hp-surface2: #3D1639;
  --hp-gold: #C9A227;
  --hp-gold-glow: #E8C84A;
  --hp-cream: #F5ECD7;
  --hp-spirit: #7B5EA7;
  --hp-spirit-glow: #A07FD4;
  --hp-muted: #B8A8CC;
  --hp-border: rgba(201, 162, 39, 0.18);
  --hp-border-strong: rgba(201, 162, 39, 0.4);
}

/* The His Path brand block — a self-contained dark island */
.hp-section {
  background: var(--hp-bg);
  color: var(--hp-cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Atmospheric background glow on every section */
.hp-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.18) 0%, rgba(26, 7, 24, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

.hp-section > * { position: relative; z-index: 1; }

/* Container */
.hp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hp-container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── TYPOGRAPHY ─────────────────────────────── */

.hp-section h1,
.hp-section h2,
.hp-section h3,
.hp-section h4 {
  font-family: 'Cinzel', 'Playfair Display', serif;
  color: var(--hp-cream);
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-weight: 500;
}

.hp-section h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hp-section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 500;
}
.hp-section h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

.hp-section p {
  color: var(--hp-muted);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.hp-section .hp-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hp-gold);
  margin-bottom: 1rem;
  display: block;
}

.hp-section .hp-scripture {
  font-family: 'IM Fell English', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--hp-cream);
  line-height: 1.7;
  border-left: 2px solid var(--hp-gold);
  padding-left: 1.4rem;
  max-width: 540px;
  margin: 1.5rem 0;
  opacity: 0.92;
}

.hp-section .hp-scripture-ref {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hp-gold);
  margin-top: 0.6rem;
  display: block;
}

/* Inline body links (not buttons) — buttons have their own color rules below */
.hp-section a:not(.hp-btn):not(.hp-btn-primary):not(.hp-btn-ghost):not(.hp-appstore-btn) {
  color: var(--hp-gold-glow);
  text-decoration: none;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
}
.hp-section a:not(.hp-btn):not(.hp-btn-primary):not(.hp-btn-ghost):not(.hp-appstore-btn):hover {
  color: var(--hp-cream);
  border-bottom-color: var(--hp-gold);
}

/* ─── BUTTONS ─────────────────────────────── */

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 0;
}
.hp-btn-primary {
  background: linear-gradient(135deg, #E8C84A 0%, #C9A227 100%);
  color: #1A0718;
  box-shadow: 0 4px 24px rgba(232, 200, 74, 0.25);
}
.hp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 200, 74, 0.4);
  color: #1A0718;
}
.hp-btn-ghost {
  background: transparent;
  color: var(--hp-cream);
  border: 1px solid var(--hp-border-strong);
}
.hp-btn-ghost:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: var(--hp-gold);
  color: var(--hp-cream);
}

/* App Store badge button */
.hp-appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.6rem;
  background: var(--hp-cream);
  color: #1A0718;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border-bottom: 0;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(245, 236, 215, 0.15);
}
.hp-appstore-btn:hover {
  transform: translateY(-2px);
  background: white;
  color: #1A0718;
  border-bottom: 0;
}
.hp-appstore-btn .hp-as-small {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  display: block;
  line-height: 1.2;
}
.hp-appstore-btn .hp-as-large {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

/* ─── HERO ─────────────────────────────── */

.hp-section.hp-hero::before { display: none; }
.hp-hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  background-image:
    linear-gradient(
      180deg,
      rgba(26, 7, 24, 0.78) 0%,
      rgba(26, 7, 24, 0.55) 35%,
      rgba(26, 7, 24, 0.7) 75%,
      rgba(26, 7, 24, 0.92) 100%
    ),
    url('/his-path/img/his-path-watercolor.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Subtle vignette for extra readability of center content */
.hp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(26, 7, 24, 0.45) 100%);
  pointer-events: none;
  z-index: 0;
}
.hp-hero > * { position: relative; z-index: 1; }
.hp-hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 2rem;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(233, 168, 76, 0.35),
    0 0 60px rgba(233, 168, 76, 0.4),
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 4px 16px rgba(0, 0, 0, 0.5);
}
.hp-hero h1 {
  margin-bottom: 1rem;
}
.hp-hero .hp-tagline {
  font-family: 'IM Fell English', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--hp-gold-glow);
  margin-bottom: 0.5rem;
}
.hp-hero .hp-subhead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--hp-muted);
  max-width: 580px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.7;
}
.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Hero divider — subtle gold horizon line */
.hp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--hp-gold) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 600px;
  opacity: 0.4;
}

/* ─── SECTIONS ─────────────────────────────── */

.hp-section-pad {
  padding: 5rem 0;
}
.hp-section-pad-sm {
  padding: 3rem 0;
}

.hp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.hp-section-head h2 {
  margin-bottom: 1rem;
}
.hp-section-head p {
  font-size: 1.05rem;
  color: var(--hp-muted);
}

/* ─── FEATURES GRID ─────────────────────────────── */

.hp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .hp-features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .hp-features.hp-features-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.hp-feature {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.hp-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hp-feature:hover {
  border-color: var(--hp-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.hp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 200, 74, 0.15) 0%, rgba(123, 94, 167, 0.12) 100%);
  border: 1px solid var(--hp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--hp-gold);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.hp-feature h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--hp-cream);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.hp-feature p {
  color: var(--hp-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── PRICING ─────────────────────────────── */

.hp-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .hp-pricing { grid-template-columns: 1fr 1fr; }
}

.hp-price-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  position: relative;
  text-align: center;
}
.hp-price-card.featured {
  border-color: var(--hp-gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08) 0%, var(--hp-surface) 60%);
  box-shadow: 0 16px 48px rgba(201, 162, 39, 0.15);
}
.hp-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hp-gold);
  color: #1A0718;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
}
.hp-price-name {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-gold);
  margin-bottom: 0.5rem;
}
.hp-price {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  color: var(--hp-cream);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hp-price-cycle {
  color: var(--hp-muted);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}
.hp-price-list {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  padding: 0;
}
.hp-price-list li {
  padding: 0.55rem 0;
  color: var(--hp-cream);
  font-size: 0.93rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}
.hp-price-list li:last-child { border-bottom: 0; }
.hp-price-list li::before {
  content: '✦';
  color: var(--hp-gold);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ─── COMING SOON BANNER ─────────────────────────────── */

.hp-coming-soon {
  background: var(--hp-surface);
  border: 1px solid var(--hp-gold);
  border-radius: 18px;
  padding: 2rem;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.hp-coming-soon-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hp-gold);
  margin-bottom: 0.6rem;
}
.hp-coming-soon-date {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--hp-cream);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.hp-coming-soon-text {
  color: var(--hp-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.hp-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 540px) {
  .hp-form-row { flex-direction: row; }
}
.hp-input {
  flex: 1;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border-strong);
  color: var(--hp-cream);
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}
.hp-input::placeholder { color: var(--hp-muted); opacity: 0.6; }
.hp-input:focus { border-color: var(--hp-gold); }

/* ─── PATHWAYS LIST (inline pill list) ─────────────────────────────── */

.hp-pathways {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hp-pathway {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border-strong);
  color: var(--hp-cream);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* ─── COMPARISON TABLE ─────────────────────────────── */

.hp-compare {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.hp-compare table {
  width: 100%;
  border-collapse: collapse;
}
.hp-compare th,
.hp-compare td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--hp-border);
  color: var(--hp-cream);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}
.hp-compare th {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-gold);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
}
.hp-compare th.featured-col,
.hp-compare td.featured-col {
  background: rgba(201, 162, 39, 0.07);
}
.hp-compare tr:last-child td { border-bottom: 0; }
.hp-compare-yes {
  color: var(--hp-gold-glow);
  font-weight: 600;
}
.hp-compare-no {
  color: var(--hp-muted);
  opacity: 0.5;
}

/* ─── FAQ ─────────────────────────────── */

.hp-faq {
  max-width: 760px;
  margin: 0 auto;
}
.hp-faq-item {
  border-bottom: 1px solid var(--hp-border);
  padding: 1.4rem 0;
}
.hp-faq-q {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--hp-cream);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.hp-faq-a {
  color: var(--hp-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── BREADCRUMB / "you are inside The Quiet Room" ─────────────────────────────── */

.hp-breadcrumb {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-muted);
  text-align: center;
  padding: 1.6rem 0 0.5rem;
}
.hp-breadcrumb a {
  color: var(--hp-muted);
  border-bottom: 0;
}
.hp-breadcrumb a:hover { color: var(--hp-gold); }
.hp-breadcrumb-sep {
  margin: 0 0.7rem;
  color: var(--hp-gold);
}

/* ─── PHONE MOCKUP (placeholder for screenshots) ─────────────────────────────── */

.hp-phone {
  width: 270px;
  height: 540px;
  background: linear-gradient(180deg, var(--hp-surface) 0%, var(--hp-bg) 100%);
  border: 8px solid #0a0210;
  border-radius: 38px;
  margin: 0 auto;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--hp-border-strong),
    0 0 60px rgba(123, 94, 167, 0.2);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.hp-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0a0210;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.hp-phone-content {
  margin-top: 2.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hp-phone-time {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--hp-gold);
  text-align: center;
  margin-bottom: 0.4rem;
}
.hp-phone-date {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--hp-muted);
  text-align: center;
  margin-bottom: 1.6rem;
}
.hp-phone-verse {
  font-family: 'IM Fell English', 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--hp-cream);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.hp-phone-ref {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--hp-gold);
  text-align: center;
  margin-bottom: 1.5rem;
}
.hp-phone-divider {
  height: 1px;
  background: var(--hp-border);
  margin: 0.8rem 0;
}
.hp-phone-section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--hp-gold);
  margin-bottom: 0.5rem;
}
.hp-phone-reflection {
  font-size: 0.75rem;
  color: var(--hp-muted);
  line-height: 1.6;
  flex: 1;
}
.hp-phone-cta {
  margin-top: auto;
  background: var(--hp-gold);
  color: #1A0718;
  text-align: center;
  padding: 0.7rem;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* ─── CTA BAND (final call to action) ─────────────────────────────── */

.hp-cta-band {
  text-align: center;
  padding: 5rem 1.5rem;
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(123, 94, 167, 0.15) 0%, transparent 60%),
    var(--hp-bg);
}
.hp-cta-band h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 1rem;
  color: var(--hp-cream);
}
.hp-cta-band-sub {
  color: var(--hp-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-family: 'IM Fell English', 'Playfair Display', serif;
  font-style: italic;
}

/* ─── HOW IT WORKS (3-step) ─────────────────────────────── */

.hp-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 800px) {
  .hp-steps { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}
.hp-step {
  text-align: center;
}
.hp-step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hp-spirit) 0%, var(--hp-spirit-glow) 100%);
  color: var(--hp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  border: 1px solid var(--hp-border-strong);
  box-shadow: 0 0 32px rgba(123, 94, 167, 0.3);
}
.hp-step h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  color: var(--hp-cream);
}
.hp-step p {
  color: var(--hp-muted);
  font-size: 0.95rem;
}

/* ─── BACK TO TDIH FOOTER LINK ─────────────────────────────── */

.hp-back-to-tdih {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #110510;
  border-top: 1px solid var(--hp-border);
}
.hp-back-to-tdih-text {
  font-family: 'IM Fell English', 'Playfair Display', serif;
  font-style: italic;
  color: var(--hp-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.hp-back-to-tdih a {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-gold);
  border-bottom: 0;
}
.hp-back-to-tdih a:hover { color: var(--hp-gold-glow); }
