/* =============================================================================
   LANDING PAGE — The Council Rooms
   ============================================================================= */

:root {
  --lp-gold:    #C8A050;
  --lp-bg:      #0D0D0F;
  --lp-bg-dark: #080809;
  --lp-text:    #E8E4DA;
  --lp-muted:   #888076;
  --lp-border:  rgba(255,255,255,0.07);
}

.landing-page { background: var(--lp-bg); color: var(--lp-text); }

/* NAV */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.lp-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--lp-gold); text-decoration: none;
  letter-spacing: 0.02em;
}
.lp-nav-links { display: flex; align-items: center; gap: 24px; }
.lp-nav-link {
  font-size: 0.88rem; color: var(--lp-muted);
  text-decoration: none; transition: color 0.2s;
}
.lp-nav-link:hover { color: var(--lp-text); }
.lp-nav-btn {
  font-size: 0.85rem; font-weight: 500;
  background: var(--lp-gold); color: #000;
  padding: 8px 18px; border-radius: 4px;
  text-decoration: none; transition: opacity 0.2s;
}
.lp-nav-btn:hover { opacity: 0.85; }

/* HERO */
.lp-hero {
  position: relative; overflow: hidden;
  padding: 120px 32px 100px;
  text-align: center;
}
.lp-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.lp-hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lp-gold); margin-bottom: 20px;
}
.lp-hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.12;
  color: #F0EBE0; margin: 0 0 24px;
}
.lp-hero-headline em { font-style: italic; color: var(--lp-gold); }
.lp-hero-sub {
  font-size: 1.1rem; color: var(--lp-muted);
  line-height: 1.65; max-width: 600px; margin: 0 auto 36px;
}
.lp-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-hero-note { font-size: 0.78rem; color: var(--lp-muted); margin-top: 16px; }
.lp-hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,160,80,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* BUTTONS */
.lp-btn {
  display: inline-block; padding: 14px 28px;
  border-radius: 4px; font-size: 0.95rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.lp-btn--primary {
  background: var(--lp-gold); color: #000;
  border: 1px solid var(--lp-gold);
}
.lp-btn--primary:hover { background: #D4AD60; border-color: #D4AD60; }
.lp-btn--ghost {
  background: transparent; color: var(--lp-text);
  border: 1px solid rgba(255,255,255,0.2);
}
.lp-btn--ghost:hover { border-color: rgba(255,255,255,0.4); }
.lp-btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* PROOF BAR */
.lp-proof-bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding: 14px 32px; overflow: hidden;
}
.lp-proof-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 16px; justify-content: center;
}
.lp-proof-item { font-size: 0.8rem; color: var(--lp-muted); white-space: nowrap; }
.lp-proof-dot { color: rgba(255,255,255,0.2); }

/* SECTIONS */
.lp-section { padding: 96px 32px; }
.lp-section--dark { background: var(--lp-bg-dark); }
.lp-section-inner { max-width: 1100px; margin: 0 auto; }
.lp-section-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lp-gold); margin-bottom: 12px;
}
.lp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; color: #F0EBE0;
  margin: 0 0 16px; line-height: 1.2;
}
.lp-section-sub {
  font-size: 1rem; color: var(--lp-muted);
  max-width: 580px; line-height: 1.6; margin: 0 0 48px;
}

/* HOW IT WORKS */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.lp-step { display: flex; gap: 20px; }
.lp-step-num {
  font-family: 'DM Mono', monospace;
  font-size: 1.6rem; color: rgba(200,160,80,0.3);
  font-weight: 400; line-height: 1; flex-shrink: 0;
  padding-top: 2px;
}
.lp-step-title { font-size: 1rem; font-weight: 600; color: var(--lp-text); margin: 0 0 8px; }
.lp-step-text { font-size: 0.88rem; color: var(--lp-muted); line-height: 1.6; margin: 0; }

/* FEATURED ROOMS */
.lp-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.lp-room-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--lp-border);
  border-radius: 8px; padding: 20px 20px 20px 24px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.lp-room-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.lp-room-accent {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--lp-gold);
}
.lp-room-accent--war       { background: #C8A050; }
.lp-room-accent--neural    { background: #9B7FD4; }
.lp-room-accent--leadership{ background: #5B9BD4; }
.lp-room-accent--shadow    { background: #C85050; }
.lp-room-accent--finance   { background: #50C878; }
.lp-room-accent--clinical  { background: #7EC8D4; }
.lp-room-accent--legal     { background: #D4A050; }
.lp-room-name { font-size: 0.95rem; font-weight: 600; color: var(--lp-text); margin-bottom: 4px; }
.lp-room-tagline { font-size: 0.78rem; color: var(--lp-gold); margin-bottom: 10px; }
.lp-room-advisors { font-size: 0.72rem; color: var(--lp-muted); line-height: 1.5; }
.lp-room-card--more {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; background: rgba(200,160,80,0.04);
  border-color: rgba(200,160,80,0.2);
}
.lp-room-more-text { font-size: 1.2rem; font-weight: 700; color: var(--lp-gold); margin-bottom: 10px; }
.lp-room-more-list { font-size: 0.72rem; color: var(--lp-muted); line-height: 1.7; }

/* WHO IT'S FOR */
.lp-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.lp-persona { padding: 28px; background: rgba(255,255,255,0.02); border: 1px solid var(--lp-border); border-radius: 8px; }
.lp-persona-icon { font-size: 1.6rem; margin-bottom: 14px; }
.lp-persona-title { font-size: 1rem; font-weight: 600; color: var(--lp-text); margin: 0 0 8px; }
.lp-persona-text { font-size: 0.85rem; color: var(--lp-muted); line-height: 1.6; margin: 0; }

/* PRICING */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; align-items: start;
}
.lp-plan {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--lp-border);
  border-radius: 10px; padding: 28px 24px;
  position: relative;
}
.lp-plan--featured {
  border-color: var(--lp-gold);
  background: rgba(200,160,80,0.05);
}
.lp-plan--current { border-color: rgba(91,155,212,0.4); }
.lp-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--lp-gold); color: #000;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 12px; border-radius: 20px;
  white-space: nowrap;
}
.lp-plan-badge--current {
  background: rgba(91,155,212,0.3); color: #5B9BD4;
  border: 1px solid rgba(91,155,212,0.4);
}
.lp-plan-name { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 8px; }
.lp-plan-price { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--lp-text); font-weight: 700; margin-bottom: 4px; }
.lp-plan-period { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--lp-muted); }
.lp-plan-tagline { font-size: 0.8rem; color: var(--lp-muted); margin-bottom: 20px; }
.lp-plan-features { list-style: none; padding: 0; margin: 0 0 24px; }
.lp-plan-features li {
  font-size: 0.83rem; color: var(--lp-text);
  padding: 6px 0; border-bottom: 1px solid var(--lp-border);
  padding-left: 16px; position: relative;
}
.lp-plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--lp-gold); font-size: 0.75rem; }
.lp-plan-btn {
  display: block; text-align: center;
  padding: 11px 20px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
  border: 1px solid transparent;
}
.lp-plan-btn--primary { background: var(--lp-gold); color: #000; border-color: var(--lp-gold); }
.lp-plan-btn--primary:hover { background: #D4AD60; }
.lp-plan-btn--ghost { background: transparent; color: var(--lp-text); border-color: rgba(255,255,255,0.2); }
.lp-plan-btn--ghost:hover { border-color: rgba(255,255,255,0.4); }
.lp-plan-btn--current { background: rgba(91,155,212,0.1); color: #5B9BD4; border-color: rgba(91,155,212,0.3); cursor: default; }

/* FINAL CTA */
.lp-cta-section { text-align: center; padding: 100px 32px; }
.lp-cta-inner { max-width: 600px; margin: 0 auto; }
.lp-cta-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #F0EBE0; margin: 0 0 36px; line-height: 1.25;
}

/* FOOTER */
.lp-footer {
  background: var(--lp-bg-dark);
  border-top: 1px solid var(--lp-border);
  padding: 32px;
}
.lp-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px; justify-content: space-between;
}
.lp-footer-brand { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--lp-gold); }
.lp-footer-links { display: flex; gap: 20px; }
.lp-footer-link { font-size: 0.82rem; color: var(--lp-muted); text-decoration: none; }
.lp-footer-link:hover { color: var(--lp-text); }
.lp-footer-note { font-size: 0.72rem; color: rgba(255,255,255,0.2); max-width: 500px; line-height: 1.5; }

/* UPGRADE PAGE (in app) */
.wr-upgrade-page { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.wr-upgrade-header { text-align: center; margin-bottom: 8px; }
.wr-upgrade-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--wr-gold, #C8A050); margin: 0 0 8px; }
.wr-upgrade-sub { font-size: 0.95rem; color: var(--wr-text-muted, #888); margin: 0 0 4px; }
.wr-upgrade-usage { font-size: 0.82rem; color: var(--wr-text-muted, #888); margin: 0; }
.wr-upgrade-notice {
  max-width: 600px; margin: 20px auto 0;
  background: rgba(200,160,80,0.08); border: 1px solid rgba(200,160,80,0.25);
  border-radius: 6px; padding: 14px 18px;
  font-size: 0.88rem; color: #C8A050; text-align: center;
}
.wr-upgrade-footer-note { text-align: center; font-size: 0.8rem; color: var(--wr-text-muted, #888); margin-top: 32px; }

/* CHECKOUT RESULT */
.wr-checkout-result {
  max-width: 480px; margin: 80px auto;
  text-align: center; padding: 0 24px;
}
.wr-checkout-icon {
  font-size: 3rem; color: #50C878;
  background: rgba(80,200,120,0.1);
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-weight: 300;
}
.wr-checkout-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: #F0EBE0; margin: 0 0 12px; }
.wr-checkout-sub { font-size: 1rem; color: var(--wr-text-muted, #888); line-height: 1.6; }

/* NAV upgrade link */
.wr-nav-link--upgrade {
  color: #C8A050 !important;
  border: 1px solid rgba(200,160,80,0.3);
  border-radius: 4px; padding: 3px 10px;
  font-size: 0.78rem !important;
}
.wr-nav-link--upgrade:hover { background: rgba(200,160,80,0.1); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .lp-hero { padding: 72px 20px 60px; }
  .lp-section { padding: 64px 20px; }
  .lp-hero-ctas { flex-direction: column; align-items: center; }
  .lp-pricing-grid { grid-template-columns: 1fr; }
  .lp-rooms-grid { grid-template-columns: 1fr; }
  .lp-nav-inner { padding: 0 20px; }
  .lp-footer-inner { flex-direction: column; text-align: center; }
}
