/* PBO Invest — Proposal Styles
   Editorial warm-muted theme. Nigerian English copy. Closes the deal. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::-webkit-scrollbar { width: 0; }
* { scrollbar-width: none; }

:root {
  --green-900: #1A3C34;
  --green-700: #245E4A;
  --green-500: #2E7D5E;
  --green-300: #4CA882;
  --gold: #C9A84C;
  --gold-dim: rgba(201,168,76,0.08);
  --wine: #6B1D34;
  --bg: #F0F2F0;
  --surface: #F8FAF8;
  --white: #FCFDFC;
  --border: #DDE0DD;
  --text: #1A1F1E;
  --text-mid: #3A423E;
  --text-light: #6B7370;
  --text-faint: #A8ADA9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 4px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(252,253,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--green-900); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-faint); }

.nav-preview {
  padding: 7px 18px; background: var(--green-700); color: var(--surface);
  font-size: 12px; font-weight: 600; border-radius: var(--radius); border: none;
  cursor: pointer; font-family: var(--font-body); text-decoration: none; transition: background 0.15s;
}

.nav-preview:hover { background: var(--green-900); }

/* ========== CONTAINER ========== */
.container { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ========== HERO ========== */
.hero { padding: 80px 0 60px; border-bottom: 1px solid var(--border); margin-bottom: 56px; }
.hero-prepared { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-faint); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--green-900); margin-bottom: 16px; }
.hero-title span { color: var(--gold); }
.hero-desc { font-size: 17px; color: var(--text-mid); max-width: 620px; line-height: 1.75; }

/* ========== SECTIONS ========== */
.section { margin-bottom: 56px; }
.section-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--green-900); margin-bottom: 16px; line-height: 1.2; }
.section p { color: var(--text-mid); margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }

/* ========== SCREENSHOTS ========== */
.screenshot {
  margin: 40px -48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.screenshot img { width: 100%; display: block; }

.screenshot-caption {
  padding: 10px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  display: flex; justify-content: space-between;
}

/* ========== FEATURE BLOCKS ========== */
.feature-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.feature-block-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
}

.feature-block-name { font-size: 15px; font-weight: 700; color: var(--green-900); }

.feature-block-tag {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 8px; border-radius: 2px;
}

.tag-tr { background: #171B1A; color: #8A9490; }
.tag-crm { background: #0D0F0E; color: var(--gold); }
.tag-light { background: var(--white); color: var(--green-700); border: 1px solid var(--border); }
.tag-oriel { background: #171B1A; color: var(--gold); }

.feature-block-body { padding: 20px 24px; }

.feature-list { list-style: none; padding: 0; columns: 2; column-gap: 24px; }

.feature-list li {
  font-size: 13px; color: var(--text-mid); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
  break-inside: avoid;
}

.feature-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-300);
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-list.single-col { columns: 1; }

.feature-sub {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-light); margin: 14px 0 6px; padding-top: 10px; border-top: 1px solid var(--border);
}

.feature-sub:first-child { margin-top: 0; padding-top: 0; border-top: none; }

/* ========== ROLE TABLE ========== */
.role-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}

.role-table th {
  padding: 8px 16px; text-align: left;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-faint); background: var(--surface); border-bottom: 1px solid var(--border);
}

.role-table td {
  padding: 8px 16px; font-size: 12px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.role-table tr:last-child td { border-bottom: none; }
.role-table td:first-child { font-weight: 600; color: var(--text); }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 28px 0 24px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.pricing-card.featured { border-color: var(--gold); }
.pricing-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 8px; }
.pricing-amount { font-family: var(--font-mono); font-size: 36px; font-weight: 700; color: var(--green-900); margin-bottom: 4px; }
.pricing-period { font-size: 12px; color: var(--text-faint); margin-bottom: 12px; }
.pricing-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ========== SCHEDULE TABLE ========== */
.schedule-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}

.schedule-table th {
  padding: 10px 20px; text-align: left;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-faint); background: var(--surface); border-bottom: 1px solid var(--border);
}

.schedule-table td {
  padding: 12px 20px; font-size: 13px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:last-child { text-align: right; font-family: var(--font-mono); font-weight: 700; color: var(--green-900); }

/* ========== COMPARISON ========== */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }

.comparison-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}

.comparison-card.ours { border-color: var(--green-300); }

.comparison-card-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.comparison-card.theirs .comparison-card-label { color: var(--text-faint); }
.comparison-card.ours .comparison-card-label { color: var(--green-500); }

.comparison-price { font-family: var(--font-mono); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.comparison-card.theirs .comparison-price { color: var(--wine); }
.comparison-card.ours .comparison-price { color: var(--green-900); }

.comparison-note { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }

.comparison-list { list-style: none; padding: 0; }
.comparison-list li {
  font-size: 12px; color: var(--text-light); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.comparison-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.comparison-card.theirs .comparison-list li::before { background: var(--text-faint); }
.comparison-card.ours .comparison-list li::before { background: var(--green-300); }

/* ========== TIMELINE ========== */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }

.timeline-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}

.timeline-month {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--gold); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}

.timeline-deliverable { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.timeline-detail { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ========== SECURITY ========== */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }

.security-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; gap: 12px; align-items: flex-start;
}

.security-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; font-weight: 700;
}

.security-icon.problem { background: rgba(229,57,53,0.08); color: #E53935; }
.security-icon.fixed { background: rgba(0,200,83,0.08); color: #00C853; }

.security-text { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
.security-text strong { color: var(--text); }

/* ========== RETAINER BOX ========== */
.retainer-box {
  background: var(--green-900); border-radius: var(--radius);
  padding: 32px; color: var(--surface); margin: 24px 0;
}

.retainer-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.retainer-detail { font-size: 13px; color: rgba(244,246,244,0.65); line-height: 1.7; }
.retainer-detail strong { color: var(--surface); }

/* ========== TIERS TABLE ========== */
.tiers-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}

.tiers-table th {
  padding: 8px 16px; text-align: left;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-faint); background: var(--surface); border-bottom: 1px solid var(--border);
}

.tiers-table td {
  padding: 8px 16px; font-size: 12px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.tiers-table tr:last-child td { border-bottom: none; }

.tiers-table td:first-child { font-weight: 600; color: var(--text); }
.tiers-table .mono { font-family: var(--font-mono); font-weight: 600; }

.tier-pip {
  display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle;
}

/* ========== CTA ========== */
.cta-section {
  text-align: center; padding: 56px 0 40px;
  border-top: 1px solid var(--border); margin-top: 56px;
}

.cta-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.cta-desc { font-size: 15px; color: var(--text-light); margin-bottom: 24px; }

.cta-btn {
  display: inline-block; padding: 14px 40px;
  background: var(--green-700); color: var(--surface);
  font-size: 14px; font-weight: 700; border-radius: var(--radius);
  text-decoration: none; font-family: var(--font-body); transition: background 0.15s;
}

.cta-btn:hover { background: var(--green-900); }

/* ========== FOOTER ========== */
.footer {
  padding: 24px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-faint); margin-top: 16px;
}

.footer-badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; background: var(--surface);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 2px;
}

/* ========== UTILITIES ========== */
.highlight { background: var(--gold-dim); padding: 2px 6px; border-radius: 2px; font-family: var(--font-mono); font-weight: 600; }
.detail-links { display: flex; gap: 12px; margin-top: 16px; }

.detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 12px; font-weight: 600; color: var(--green-700);
  text-decoration: none; transition: all 0.15s;
}

.detail-link:hover { border-color: var(--green-300); }

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-label { display: none; }
  .nav-right { gap: 8px; }
  .nav-preview { font-size: 11px; padding: 6px 12px; }

  .container { padding: 0 20px; }

  .hero { padding: 48px 0 36px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }

  .section-title { font-size: 24px; }

  .screenshot { margin: 28px -20px; border-radius: 0; }

  .feature-list { columns: 1; }

  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-amount { font-size: 28px; }

  .schedule-table { display: block; overflow-x: auto; }

  .comparison { grid-template-columns: 1fr; }
  .comparison-price { font-size: 24px; }

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

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

  .role-table { display: block; overflow-x: auto; }
  .tiers-table { display: block; overflow-x: auto; }

  .retainer-box { padding: 24px 20px; }

  .cta-section { padding: 40px 0 32px; }
  .cta-title { font-size: 24px; }
  .cta-section div[style] { flex-direction: column; align-items: center; }

  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .nav-logo { font-size: 17px; }
  .section-label { font-size: 9px; }
  .feature-block-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
