/* === BASE === */
:root {
  --bg: #F5F2EC;
  --bg-alt: #ECEAE3;
  --surface: #FFFFFF;
  --navy: #0D1B2A;
  --teal: #2A9D8F;
  --amber: #E9A84B;
  --text: #0D1B2A;
  --text-muted: #5A6A7A;
  --border: #D8D5CE;
  --radius: 6px;
}

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

body {
  font-family: 'Bitter', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark { color: var(--teal); font-size: 14px; }

.nav-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-home-link {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
}

.nav-dashboard-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.nav-dashboard-link:hover {
  background: var(--teal);
  color: #fff;
}

/* === HERO === */
.hero {
  padding: 80px 48px 72px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-overline {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 80px;
}

/* === DASHBOARD WIDGET === */
.dashboard-widget {
  background: var(--navy);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13,27,42,0.15);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #162535;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.widget-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.widget-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42,157,143,0.15);
  padding: 3px 8px;
  border-radius: 20px;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  background: var(--navy);
}

.widget-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.widget-card {
  background: #162535;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-scheduling .card-icon { background: rgba(42,157,143,0.2); color: var(--teal); }
.card-claims .card-icon { background: rgba(233,168,75,0.2); color: var(--amber); }
.card-notes .card-icon { background: rgba(130,180,220,0.2); color: #82B4DC; }
.card-revenue .card-icon { background: rgba(42,157,143,0.2); color: var(--teal); }

.card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.card-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.card-val {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.status-ok { background: var(--teal); }
.status-warn { background: var(--amber); }

.widget-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  letter-spacing: 0.03em;
}

/* === SECTIONS === */
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 48px;
}

/* === CAPABILITIES === */
.capabilities {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s ease;
}

.cap-card:hover {
  box-shadow: 0 4px 20px rgba(13,27,42,0.08);
}

.cap-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.cap-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.cap-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === WORKFLOWS === */
.workflows {
  background: var(--navy);
  padding: 80px 48px;
}

.workflows .section-label { color: rgba(42,157,143,0.7); }
.workflows .section-title { color: #FFFFFF; }

.workflow-list {
  max-width: 720px;
  margin: 0 auto;
}

.workflow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

.workflow-item:last-child { border-bottom: none; }

.workflow-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  padding-top: 4px;
  letter-spacing: 0.05em;
}

.workflow-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.workflow-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  padding: 80px 48px;
  background: var(--bg-alt);
}

.pricing-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 900px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-col { background: var(--surface); padding: 40px; }

.pricing-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.pricing-tag {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.pricing-setup {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-monthly {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
}

.price-big {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
}

.price-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.pricing-features-missing li::before { background: var(--border); }
.pricing-features-missing li { color: var(--text-muted); }

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* === METRICS === */
.metrics {
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 48px;
}

.metric-value {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 140px;
  line-height: 1.4;
}

.metric-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  background: var(--surface);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing-quote {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 32px;
}

.closing-tagline {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

/* === FOOTER === */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-inner { flex-wrap: wrap; gap: 32px; }
  .metric-divider { display: none; }
  .pricing-table { grid-template-columns: 1fr; }
  .nav { padding: 16px 24px; }
  .hero { padding: 56px 24px 48px; }
  .capabilities { padding: 56px 24px; }
  .workflows { padding: 56px 24px; }
  .pricing { padding: 56px 24px; }
  .metrics { padding: 40px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-desc { margin-left: 0; }
}

@media (max-width: 600px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .widget-grid { grid-template-columns: 1fr; }
  .widget-row { grid-template-columns: 1fr; }
}