/* ===== VANGUARD OPTIMIZATION GHOST THEME ===== */

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

:root {
  --bg-primary: #0B1A2E;
  --bg-secondary: #0F2035;
  --bg-card: #112240;
  --bg-card-border: #1B3A5C;
  --gold: #C8A55A;
  --gold-hover: #D4B76A;
  --white: #FFFFFF;
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --dark-blue: #1B3A5C;
  --med-blue: #2E75B6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 58, 92, 0.3);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-logo .gold, .footer-brand .gold { color: var(--gold); }
.nav-logo .white, .footer-brand .white { color: var(--white); font-weight: 400; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 26, 46, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-menu.active { display: flex; }
.nav-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-close {
  position: absolute;
  top: 1.25rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

/* ===== SECTIONS ===== */
section { padding: 6rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(200, 165, 90, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(27, 58, 92, 0.5);
  border: 1px solid rgba(27, 58, 92, 0.6);
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 3rem auto 0;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 2px solid rgba(226, 232, 240, 0.3);
  border-radius: 4px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== PHILOSOPHY ===== */
.philosophy { background: var(--bg-secondary); }

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.philosophy-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.icon-scales { background: rgba(200, 165, 90, 0.15); color: var(--gold); }
.icon-medical { background: rgba(46, 117, 182, 0.15); color: var(--med-blue); }
.icon-gear { background: rgba(100, 160, 140, 0.15); color: #64A08C; }

.philosophy-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.philosophy-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== COVERAGE GRID ===== */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.coverage-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
  min-width: 55px;
}

.coverage-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.coverage-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== APPROACH / STEPS ===== */
.approach { background: var(--bg-secondary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--bg-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== DIFFERENCE ===== */
.difference-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.difference-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-card-border);
}

.difference-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.difference-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.icon-x { flex-shrink: 0; color: #EF4444; font-size: 0.85rem; margin-top: 3px; }
.icon-check { flex-shrink: 0; color: #22C55E; font-size: 0.85rem; margin-top: 3px; }

/* ===== CTA / WAITLIST ===== */
.cta { background: var(--bg-secondary); text-align: center; }

.cta-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-input {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(17, 34, 64, 0.8);
  border: 1px solid var(--bg-card-border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.3s;
}
.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus { border-color: var(--gold); }

.cta-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.cta-success {
  display: none;
  font-size: 1rem;
  color: #22C55E;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ===== POSTS ===== */
.posts-section { background: var(--bg-secondary); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.post-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.post-card-content {
  padding: 1.5rem;
}
.post-card-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.post-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.post-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== POST / PAGE CONTENT ===== */
.post-hero {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: var(--bg-secondary);
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.post-meta-sep { margin: 0 0.5rem; }

.post-feature-image {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.post-feature-image img {
  width: 100%;
  border-radius: 12px;
  margin-top: -2rem;
}
.post-feature-image figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.post-content-section {
  padding: 3rem 2rem 6rem;
}

.post-content {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.8;
}
.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin: 2.5rem 0 1rem;
}
.post-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.post-content p { margin-bottom: 1.25rem; }
.post-content a { color: var(--gold); text-decoration: underline; }
.post-content a:hover { color: var(--gold-hover); }
.post-content ul, .post-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.post-content code {
  background: var(--bg-card);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.post-content pre {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.post-content pre code {
  background: none;
  padding: 0;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.post-content th, .post-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--bg-card-border);
  text-align: left;
}
.post-content th {
  background: var(--bg-card);
  color: var(--white);
  font-weight: 600;
}

/* Ghost members form styling */
.form-success { display: block !important; }

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid rgba(27, 58, 92, 0.3);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(27, 58, 92, 0.4);
  margin-bottom: 2rem;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.pagination a {
  color: var(--gold);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--bg-card-border);
  border-radius: 6px;
  transition: all 0.3s;
}
.pagination a:hover {
  border-color: var(--gold);
  background: var(--bg-card);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .difference-columns { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  .nav { padding: 1rem 1.25rem; }
  .coverage-card { flex-direction: column; gap: 0.5rem; }
  .steps-grid { gap: 2.5rem; }
}
