/* ===================================
   LEDGEROS — DESIGN SYSTEM
   Deep navy + warm gold
   DM Serif Display + DM Sans
=================================== */

/* --- TOKENS --- */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071428;
  --navy-mid: #1a3358;
  --gold: #d4a843;
  --gold-light: #e8c06a;
  --gold-dim: rgba(212, 168, 67, 0.15);
  --off-white: #f7f5f0;
  --cream: #ebe8e0;
  --text-dark: #0b1f3a;
  --text-mid: #3a5278;
  --text-light: #6b87a8;
  --text-white: #f0ede6;
  --success: #4caf7d;
  --warn: #e8a838;
  --radius: 10px;
  --radius-lg: 18px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; }

/* --- LAYOUT --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================================
   HERO
=================================== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(48px, 5.5vw, 72px);
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(240,237,230,0.7);
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat {}
.stat-value {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(240,237,230,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(212,168,67,0.25);
}

/* ===================================
   DASHBOARD WIDGET
=================================== */
.hero-dashboard { position: relative; z-index: 2; }

.dash-window {
  background: var(--navy-mid);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,67,0.1);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #28ca41; }
.dash-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(240,237,230,0.4);
  font-weight: 500;
}
.dash-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--success);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.dash-body { padding: 20px; }

.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 14px;
}
.card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240,237,230,0.4);
  margin-bottom: 6px;
}
.card-value {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}
.card-change {
  font-size: 11px;
  margin-bottom: 10px;
}
.card-change.up { color: var(--success); }
.card-change.warn { color: var(--warn); }
.card-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 1s ease;
}
.bar-fill.warn { background: var(--warn); }

.dash-chart-section {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.chart-label { font-size: 13px; color: #fff; font-weight: 500; }
.chart-period { font-size: 11px; color: rgba(240,237,230,0.4); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}
.chart-bar {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}
.chart-bar.highlight {
  background: linear-gradient(to top, rgba(212,168,67,0.4), rgba(212,168,67,0.1));
  border-color: rgba(212,168,67,0.4);
}
.bar-label {
  font-size: 10px;
  color: rgba(240,237,230,0.3);
}

.dash-table {
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-header {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240,237,230,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.table-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 12px;
}
.table-row:last-child { border-bottom: none; }
.t-name { flex: 1; font-size: 12px; color: #fff; }
.t-status {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
}
.t-status.done { background: rgba(76,175,125,0.15); color: var(--success); }
.t-status.pending { background: rgba(232,168,56,0.15); color: var(--warn); }
.t-date { font-size: 11px; color: rgba(240,237,230,0.35); }

/* ===================================
   FEATURES
=================================== */
.features {
  padding: 120px 0;
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mid);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(11,31,58,0.08);
  border-color: rgba(212,168,67,0.2);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.feature-title {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: 'DM Serif Display', serif;
}
.feature-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
}

/* ===================================
   DIFFERENTIATORS
=================================== */
.differentiators {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.differentiators::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.diff-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.diff-title {
  font-size: clamp(32px, 3.2vw, 46px);
  color: #fff;
  margin: 20px 0 48px;
  letter-spacing: -0.01em;
}

.diff-list { display: flex; flex-direction: column; gap: 40px; }
.diff-item { display: flex; gap: 24px; }
.diff-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.diff-text h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.diff-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240,237,230,0.6);
}

/* Quote block */
.firm-quote {
  background: var(--navy-mid);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
}
.firm-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  font-style: italic;
  margin-bottom: 20px;
}
.firm-quote cite {
  font-size: 13px;
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

.quote-stats { display: flex; gap: 24px; }
.qstat {}
.qstat-val {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.qstat-label {
  font-size: 13px;
  color: rgba(240,237,230,0.5);
  line-height: 1.4;
}

/* ===================================
   CLOSING
=================================== */
.closing {
  padding: 140px 0;
  background: var(--off-white);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-title {
  font-size: clamp(30px, 3.5vw, 48px);
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.closing-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 60px;
}
.closing-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* ===================================
   FOOTER
=================================== */
.site-footer {
  background: var(--navy-deep);
  padding: 48px 0;
}
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(240,237,230,0.4);
}
.footer-copy {
  font-size: 13px;
  color: rgba(240,237,230,0.3);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-dashboard { order: -1; }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diff-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
@media (max-width: 600px) {
  .hero { padding: 60px 0 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
  .dash-row { grid-template-columns: 1fr 1fr; }
  .dash-row .dash-card:last-child { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 0; }
  .differentiators { padding: 80px 0; }
  .closing { padding: 80px 0; }
  .footer-layout { flex-direction: column; gap: 24px; text-align: center; }
}