/* ========================================
   DESIREE'S BUSINESS PLAN — DASHBOARD CSS
   ======================================== */

:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e2f44;
  --accent: #27ae60;
  --accent-light: #2ecc71;
  --warm: #e67e22;
  --warm-light: #f39c12;
  --red: #e74c3c;
  --purple: #8e44ad;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0c1f2e;
  --bg-darker: #081620;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --text-muted: #95a5a6;
  --border: #e8ecf1;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ======== TOP BAR ======== */
.topbar {
  background: var(--bg-darker);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-brand { display: flex; align-items: center; gap: 0.75rem; }

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.brand-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.topbar-links { display: flex; gap: 0.25rem; }

.topbar-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.topbar-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.topbar-links a.active { color: #fff; background: var(--accent); }

/* ======== DASHBOARD HERO ======== */
.dash-hero {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--primary-dark) 40%, var(--primary) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}

.dash-hero-content { text-align: center; margin-bottom: 3rem; }

.dash-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.dash-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dash-sub {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

.dash-sub strong { color: var(--accent-light); font-weight: 700; }

.dash-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ======== SECTIONS ======== */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; padding: 5rem 0; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.section-title.light { color: #fff; }

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

/* ======== HOW IT WORKS ======== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.how-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.how-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.how-card h4 { margin-bottom: 0.5rem; color: var(--primary-dark); font-size: 1rem; }
.how-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ======== FINANCIAL MODEL ======== */
.fin-model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fin-col h3 { color: var(--accent-light); margin-bottom: 1rem; font-size: 1.1rem; }

.fin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fin-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.fin-table td.accent { color: var(--accent-light); font-weight: 600; text-align: right; }
.fin-table td.warn { color: var(--warm-light); font-weight: 600; text-align: right; }
.fin-table .total td { border-top: 2px solid rgba(255,255,255,0.3); border-bottom: none; }

.fin-bottom { text-align: center; margin-top: 2rem; }

.fin-result {
  display: inline-block;
  background: rgba(39, 174, 96, 0.15);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 3rem;
  margin-bottom: 1rem;
}

.fin-result-label { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0.25rem; }
.fin-result-value { display: block; font-size: 2.5rem; font-weight: 900; color: var(--accent-light); }
.fin-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; max-width: 600px; margin: 0 auto; }

/* ======== RAMP GRID ======== */
.ramp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ramp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
}

.ramp-card.active {
  border-color: var(--accent);
  background: rgba(39,174,96,0.1);
}

.ramp-month { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-light); margin-bottom: 0.5rem; }
.ramp-amount { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.ramp-card p { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ======== SERVICES ======== */
.service-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.pill {
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 4px solid;
}

.pill.core { background: #f0faf4; border-color: var(--accent); }
.pill.premium { background: #f5eef8; border-color: var(--purple); }
.pill.addon { background: #eaf2f8; border-color: var(--primary-light); }
.pill.outsourced { background: #fef5e7; border-color: var(--warm); }

.pill h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.pill p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

.pricing-summary { margin-top: 2rem; }
.pricing-summary h3 { text-align: center; margin-bottom: 1.5rem; color: var(--primary-dark); }

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-option {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.pricing-option.featured {
  border-color: var(--accent);
  background: #f0faf4;
  transform: scale(1.02);
}

.pricing-option h4 { color: var(--primary-dark); margin-bottom: 0.75rem; font-size: 1rem; }

.big-price {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-option.featured .big-price { color: var(--accent); }
.pricing-option p { font-size: 0.85rem; color: var(--text-light); }

/* ======== SALES STRUCTURE ======== */
.sales-structure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sales-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.sales-card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.1rem; }

.sales-card ul, .sales-card ol {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.sales-card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.sales-card li strong { color: var(--text); }

/* ======== HIGHLIGHT BOX ======== */
.highlight-box {
  background: linear-gradient(135deg, #eaf6f0 0%, #e8f4fd 100%);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 2rem;
}

.highlight-box h3 { color: var(--primary-dark); margin-bottom: 0.75rem; }
.highlight-box p { font-size: 0.95rem; line-height: 1.8; }

/* ======== MARKETING GRID ======== */
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mkt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mkt-type {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  background: #eaf2f8;
  color: var(--primary);
}

.mkt-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--primary-dark); }
.mkt-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; flex: 1; }

.mkt-create {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* ======== TOOLS GRID ======== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.tool-card h4 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 0.4rem; }
.tool-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin-bottom: 0.75rem; }

.tool-cost {
  display: inline-block;
  background: #eaf6f0;
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tools-total {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.tools-amount { color: var(--accent); font-weight: 800; font-size: 1.2rem; margin-left: 0.5rem; }

/* ======== CONTRACTS GRID ======== */
.contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contract-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  position: relative;
}

.contract-priority {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.contract-priority:nth-child(1) { background: #fdecea; color: var(--red); }
.contract-card:nth-child(-n+3) .contract-priority { background: #fdecea; color: var(--red); }
.contract-card:nth-child(n+4) .contract-priority { background: #fef5e7; color: var(--warm); }
.contract-card:nth-child(n+6) .contract-priority { background: #eaf2f8; color: var(--primary); }

.contract-card h4 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 0.4rem; }
.contract-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

.contract-when {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

/* ======== PHASE & WEEKLY PLAN ======== */
.phase { margin-bottom: 3rem; }

.phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.phase-label {
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.phase-header h3 { color: #fff; font-size: 1.3rem; flex: 1; }
.phase-weeks { color: rgba(255,255,255,0.4); font-size: 0.85rem; font-weight: 500; }

.week-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.week-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.week-num {
  background: var(--primary-light);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.week-title { color: #fff; font-weight: 600; font-size: 1rem; }

.week-tasks { padding: 1rem 1.5rem; }

.task {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.task:last-child { border-bottom: none; }

.task-day {
  min-width: 80px;
  color: var(--warm-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 0.15rem;
}

.task-content { flex: 1; }
.task-content h5 { color: #fff; font-size: 0.95rem; margin-bottom: 0.3rem; }
.task-content p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }

.ai-prompt {
  margin-top: 0.75rem;
  background: rgba(142, 68, 173, 0.15);
  border: 1px solid rgba(142, 68, 173, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.prompt-label {
  display: block;
  color: #bb8fce;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.ai-prompt p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.82rem !important;
  font-style: italic;
  line-height: 1.5;
}

/* ======== CERTIFICATION TIMELINE ======== */
.cert-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-item {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-top: 3px solid var(--primary);
}

.cert-when {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cert-item h4 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 0.4rem; }
.cert-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* ======== CHECK-IN FRAMEWORK ======== */
.checkin-template { max-width: 800px; margin: 0 auto; }
.checkin-template h3 { margin-bottom: 1rem; color: var(--primary-dark); }

.template-box {
  background: var(--bg-darker);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.template-box pre {
  color: var(--accent-light);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.checkin-prompt { margin-top: 2rem; }
.checkin-prompt h4 { margin-bottom: 0.75rem; color: var(--primary-dark); font-size: 0.95rem; }

/* ======== DAILY BIG 3 ======== */
.daily-framework {
  max-width: 800px;
  margin: 0 auto;
}

.daily-slot {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.daily-slot:last-child { border-bottom: none; }

.daily-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
}

.daily-content h4 { color: var(--primary-dark); margin-bottom: 0.3rem; font-size: 1.1rem; }
.daily-content p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.5rem; }

.daily-rule {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--warm);
  font-style: italic;
}

/* ======== FOOTER ======== */
.footer {
  background: var(--bg-darker);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.footer-cta { margin-bottom: 3rem; }

.footer-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer-cta p {
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer-note {
  font-size: 0.8rem;
  opacity: 0.4;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-note a { color: var(--accent-light); text-decoration: none; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .how-grid, .tools-grid, .ramp-grid, .dash-hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .marketing-grid, .contracts-grid, .cert-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dash-hero h1 { font-size: 2.2rem; }
  .how-grid, .fin-model, .service-pills, .pricing-row, .sales-structure,
  .marketing-grid, .tools-grid, .contracts-grid, .ramp-grid,
  .dash-hero-metrics, .cert-timeline { grid-template-columns: 1fr; }
  .pricing-option.featured { transform: none; }
  .section, .section-dark { padding: 3rem 0; }
  .phase-header { flex-wrap: wrap; }
  .task { flex-direction: column; gap: 0.25rem; }
  .task-day { min-width: auto; }
  .topbar-inner { flex-direction: column; gap: 0.5rem; }
  .daily-slot { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
