:root {
  --ink: #172c24;
  --muted: #60716a;
  --primary: #17694f;
  --primary-deep: #0e4d39;
  --primary-pale: #e7f4ed;
  --surface: #ffffff;
  --surface-soft: #f5f9f7;
  --line: #dbe8e1;
  --warning: #ae6d13;
  --warning-pale: #fff5dd;
  --blue: #286b97;
  --blue-pale: #e8f3fa;
  --shadow: 0 20px 50px rgba(17, 60, 43, 0.1);
  --shadow-soft: 0 8px 24px rgba(17, 60, 43, 0.07);
  --radius: 18px;
  --radius-small: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.16; letter-spacing: -0.025em; }
h2 { margin-bottom: 0.85rem; font-size: clamp(1.8rem, 3vw, 2.45rem); }
h3 { margin-bottom: 0.65rem; font-size: 1.15rem; }
p { max-width: 720px; margin: 0 0 1rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
  padding: 0.7rem clamp(1.25rem, 6vw, 7rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 232, 225, 0.9);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 62px; height: 62px; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: 1.55rem; }
.primary-navigation a { color: #52635c; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.primary-navigation a:hover { color: var(--primary); }
.primary-navigation a:last-child {
  padding: 0.72rem 1.1rem;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 9px;
  box-shadow: 0 6px 14px rgba(23, 105, 79, 0.18);
}
.primary-navigation a:last-child:hover { color: #fff; background: var(--primary-deep); }
.menu-button, .menu-backdrop { display: none; }

main { width: min(1180px, 100%); margin: 0 auto; padding: 4.5rem 1.5rem 0; }
section { margin-bottom: 6.5rem; }

/* Hero */
#hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 570px;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: radial-gradient(circle at 88% 13%, #ccebdd 0, transparent 31%), linear-gradient(135deg, #eff8f3, #f9fcfa 58%, #eaf6f0);
  border: 1px solid #dcece4;
  border-radius: 28px;
}
#hero .hero-content > p:first-child, .section-label, .overview-label {
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
#hero h2 { max-width: 700px; margin-bottom: 1.2rem; color: var(--primary-deep); font-size: clamp(2.65rem, 5.3vw, 4.6rem); }
#hero .hero-content > p:not(:first-child) { max-width: 610px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-actions a, #get-started a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(23, 105, 79, 0.18);
  font-weight: 800;
}
.hero-actions a:hover, #get-started a:hover { color: #fff; background: var(--primary-deep); border-color: var(--primary-deep); }
.hero-actions a:last-child { color: var(--primary-deep); background: transparent; border-color: #a9cdbd; box-shadow: none; }
.hero-actions a:last-child:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.hero-overview { padding: 1.25rem; background: rgba(255,255,255,0.9); border: 1px solid #d7e9df; border-radius: 18px; box-shadow: var(--shadow); }
.overview-label { margin: 0 0 0.85rem; }
.overview-item { padding: 1rem 0; border-top: 1px solid var(--line); }
.overview-item:first-of-type { border-top: 0; }
.overview-item strong, .overview-item span { display: block; }
.overview-item strong { margin-bottom: 0.2rem; color: var(--primary-deep); font-size: 0.96rem; }
.overview-item span { color: var(--muted); font-size: 0.88rem; }

/* Core sections */
#problem, #how-it-works, #faq { padding: clamp(1.6rem, 4vw, 3.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
#problem { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }
#problem h2 { margin-bottom: 0; color: var(--primary-deep); }
#problem .section-label { margin-bottom: 0.65rem; }
.problem-copy { margin: 0; }
#problem .problem-copy p { margin-bottom: 0.9rem; }
#problem .problem-copy p:last-child { margin-bottom: 0; }

#features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
#features > h2 { grid-column: 1 / -1; max-width: 680px; }
article { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
#features article { position: relative; min-height: 210px; padding-top: 4.4rem; }
#features article::before { position: absolute; top: 1.45rem; left: 1.55rem; display: grid; width: 38px; height: 38px; color: var(--primary); background: var(--primary-pale); border-radius: 11px; place-items: center; font-weight: 900; }
#features article:nth-of-type(1)::before { content: "01"; }
#features article:nth-of-type(2)::before { content: "02"; }
#features article:nth-of-type(3)::before { content: "03"; }
article h3 { color: var(--primary-deep); }
article p:last-child { margin-bottom: 0; }

#how-it-works ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.8rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
#how-it-works li { position: relative; padding: 1.5rem; padding-top: 4.25rem; background: var(--surface-soft); border: 1px solid #e0ece5; border-radius: 13px; counter-increment: steps; }
#how-it-works li::before { position: absolute; top: 1.25rem; left: 1.4rem; color: var(--primary); content: "0" counter(steps); font-size: 1rem; font-weight: 900; }
#how-it-works li h3 { margin-bottom: 0.55rem; }
#how-it-works li p { margin-bottom: 0; font-size: 0.93rem; }

#faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
#faq > h2 { grid-column: 1 / -1; margin-bottom: 0.7rem; }
#faq article { box-shadow: none; }

/* Dashboard preview */
.section-introduction { margin-bottom: 1.8rem; }
.dashboard-preview { padding: clamp(1rem, 3vw, 2rem); background: #edf5f1; border: 1px solid #d5e5dc; border-radius: var(--radius); }
.dashboard-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dashboard-heading { margin-bottom: 1.5rem; }
.dashboard-heading h3, .panel-heading h3 { margin-bottom: 0.2rem; }
.preview-label, .product-count { display: inline-flex; align-items: center; min-height: 28px; padding: 0.3rem 0.65rem; color: var(--primary); background: var(--primary-pale); border: 1px solid #c9e5d7; border-radius: 999px; font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.summary-cards, .kpi-cards { display: grid; gap: 1rem; }
.summary-cards { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.8rem; }
.summary-card, .kpi-card { padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.summary-card p, .kpi-card p { margin-bottom: 0.25rem; font-size: 0.8rem; }
.summary-card h3 { margin-bottom: 0.2rem; font-size: 2rem; }
.summary-card span { color: var(--muted); font-size: 0.78rem; }
.warning-card { background: var(--warning-pale); border-color: #efd89f; }
.dashboard-title { margin: 1.9rem 0 1rem; }
.kpi-cards { grid-template-columns: repeat(5, 1fr); margin-bottom: 1.25rem; }
.kpi-card strong { color: var(--primary-deep); font-size: 1.35rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 1rem; }
.dashboard-panel { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.table-panel { overflow: hidden; }
.table-container { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 950px; border-collapse: collapse; font-size: 0.8rem; text-align: left; }
th, td { padding: 0.78rem; border-bottom: 1px solid #e4ede8; }
th { color: var(--ink); background: var(--surface-soft); font-size: 0.7rem; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 0.23rem 0.5rem; border-radius: 999px; font-size: 0.68rem; font-weight: 800; white-space: nowrap; }
.badge-success { color: var(--primary); background: var(--primary-pale); }.badge-warning { color: var(--warning); background: var(--warning-pale); }.badge-info { color: var(--blue); background: var(--blue-pale); }
.side-panels { display: grid; gap: 1rem; }
.health-bar { height: 9px; margin: 1rem 0; overflow: hidden; background: #e8f0ec; border-radius: 999px; }.health-bar span { display: block; width: 86%; height: 100%; background: var(--primary); border-radius: inherit; }
.status-list, .activity-list { margin: 0; padding: 0; list-style: none; }
.status-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }.status-list li:last-child, .activity-list li:last-child { border-bottom: 0; }.status-list strong { color: var(--warning); font-size: 0.76rem; white-space: nowrap; }
.dashboard-bottom-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }.activity-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }.activity-list strong { color: var(--primary-deep); }
.quick-actions { display: grid; gap: 0.6rem; }.quick-actions a { padding: 0.7rem; color: var(--primary); background: var(--primary-pale); border-radius: 8px; font-size: 0.84rem; font-weight: 800; }.quick-actions a:hover { color: #fff; background: var(--primary); }
.principle-card { background: var(--primary-deep); border-color: var(--primary-deep); }.principle-card h3 { color: #fff; }.principle-card p { color: #d8ebe2; }

#get-started { padding: clamp(2rem, 5vw, 4.25rem); background: linear-gradient(120deg, var(--primary-deep), #17694f); border-radius: var(--radius); }
#get-started h2 { color: #fff; } #get-started p { color: #d8ebe2; } #get-started a { color: var(--primary-deep); background: #fff; border-color: #fff; } #get-started a:hover { color: var(--primary-deep); background: var(--primary-pale); border-color: var(--primary-pale); }
footer { padding: 3rem 1.5rem; color: #d7ebe1; background: #102d22; text-align: center; } footer p { max-width: none; margin-bottom: 0.45rem; color: #d7ebe1; } footer a { color: #fff; font-weight: 800; }

@media (max-width: 1000px) { .primary-navigation { gap: 1rem; }.kpi-cards { grid-template-columns: repeat(3, 1fr); }.dashboard-grid, .dashboard-bottom-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .site-header { min-height: 76px; padding: 0.5rem 1.15rem; }.brand-logo { width: 56px; height: 56px; }
  .menu-button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 0.75rem; color: var(--primary-deep); background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font: inherit; font-size: 0.86rem; font-weight: 800; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 999px; content: ""; }.menu-icon { position: relative; }.menu-icon::before, .menu-icon::after { position: absolute; left: 0; }.menu-icon::before { top: -6px; }.menu-icon::after { top: 6px; }
  .primary-navigation { position: fixed; top: 0; right: 0; z-index: 30; display: flex; width: min(320px, 88vw); height: 100dvh; padding: 5.5rem 1.25rem 1.5rem; align-items: stretch; flex-direction: column; gap: 0.25rem; background: #fff; box-shadow: -12px 0 30px rgba(17, 60, 43, 0.16); transform: translateX(105%); transition: transform 0.25s ease; }.primary-navigation.is-open { transform: translateX(0); }.primary-navigation a { display: block; padding: 0.85rem 0.75rem; border-radius: 8px; font-size: 1rem; }.primary-navigation a:hover { background: var(--primary-pale); }.primary-navigation a:last-child { margin-top: 0.6rem; text-align: center; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 25; display: block; visibility: hidden; background: rgba(11, 41, 30, 0.42); opacity: 0; transition: opacity .25s ease, visibility .25s ease; }.menu-backdrop.is-visible { visibility: visible; opacity: 1; }
  main { padding: 2.5rem 1.25rem 0; } section { margin-bottom: 4rem; } #hero, #problem { grid-template-columns: 1fr; min-height: auto; }.summary-cards, #features, #how-it-works ol, #faq { grid-template-columns: 1fr; }.kpi-cards { grid-template-columns: repeat(2, 1fr); }.dashboard-heading, .panel-heading { flex-direction: column; }.preview-label { align-self: flex-start; }
}
@media (max-width: 560px) { main { padding: 1.5rem 1rem 0; } section { margin-bottom: 3rem; } #hero, #problem, #how-it-works, #faq, #get-started { padding: 1.5rem 1.25rem; border-radius: 15px; } #hero h2 { font-size: 2.3rem; }.hero-actions { flex-direction: column; }.hero-actions a { width: 100%; }.kpi-cards { grid-template-columns: 1fr; }.dashboard-preview, .dashboard-panel, article { padding: 1rem; }.status-list li { align-items: flex-start; flex-direction: column; gap: 0.2rem; }.menu-text { display: none; }.menu-button { padding: 0.65rem; } }
