:root {
  --ink: #17212b;
  --muted: #607084;
  --line: #dce5ed;
  --panel: #ffffff;
  --soft: #f4f7f8;
  --green: #11845b;
  --blue: #195f9b;
  --gold: #d89a2b;
  --coral: #cf5b4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8faf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 249, 0.9);
  border-bottom: 1px solid rgba(220, 229, 237, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(38px, 7vw, 76px);
  background:
    linear-gradient(115deg, rgba(17, 132, 91, 0.12), transparent 36%),
    linear-gradient(30deg, rgba(216, 154, 43, 0.14), transparent 32%),
    #f8faf9;
}

.product-hero {
  min-height: 82vh;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.lead {
  max-width: 650px;
  color: #384756;
  font-size: clamp(19px, 2.4vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(17, 132, 91, 0.22);
}

.button.secondary {
  background: #fff;
}

.product-panel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 43, 0.12);
}

.panel-top,
.metric-grid {
  display: grid;
  gap: 14px;
}

.panel-top strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.panel-top span,
.metric-grid span,
.price span,
li {
  color: var(--muted);
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid div {
  min-height: 94px;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.timeline {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.55fr;
  gap: 8px;
  min-height: 86px;
  align-items: end;
}

.timeline span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
}

.timeline span:nth-child(1) { height: 72%; background: var(--green); }
.timeline span:nth-child(2) { height: 48%; background: var(--gold); }
.timeline span:nth-child(3) { height: 86%; background: var(--blue); }
.timeline span:nth-child(4) { height: 32%; background: var(--coral); }

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid,
.plan-grid,
.product-grid,
.feature-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.plan {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  border-top: 5px solid var(--green);
}

.product-grid {
  grid-template-columns: minmax(0, 420px);
}

.product-card {
  min-height: 320px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card.active {
  color: #fff;
  background: #123f35;
  border-color: #123f35;
}

.product-card.active .tag,
.product-card.active p {
  color: rgba(255, 255, 255, 0.76);
}

.product-card.active .text-link {
  color: #ffffff;
}

.muted-link {
  color: var(--muted);
}

.feature-groups {
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.feature-group {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 300px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-group h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.feature-group.lead-group {
  grid-row: span 2;
  color: #fff;
  background: #123f35;
  border-color: #123f35;
}

.feature-group.lead-group .tag,
.feature-group.lead-group li {
  color: rgba(255, 255, 255, 0.76);
}

.feature-group li {
  color: var(--muted);
  font-weight: 650;
}

.screenshots {
  background: #ffffff;
}

.product-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.visual-card {
  min-height: 330px;
  padding: 26px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.08);
}

.visual-dashboard {
  grid-row: span 2;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.visual-card h3 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.visual-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.visual-metrics div,
.mini-table div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-metrics span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.visual-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 36px;
}

.stacked-bars {
  display: flex;
  overflow: hidden;
  height: 28px;
  border-radius: 999px;
  background: #dce5ed;
}

.stacked-bars i:nth-child(1) { background: var(--green); }
.stacked-bars i:nth-child(2) { background: var(--gold); }
.stacked-bars i:nth-child(3) { background: var(--coral); }

.mini-table {
  display: grid;
  gap: 10px;
}

.mini-table div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 14px;
  align-items: center;
}

.mini-table b {
  color: var(--blue);
}

.mini-table span {
  color: var(--muted);
}

.mini-table em {
  font-style: normal;
  font-weight: 800;
}

.mini-table mark,
.roster-board span,
.leave-lines span {
  border-radius: 8px;
}

.mini-table mark {
  padding: 6px 9px;
  color: #0f6b3d;
  background: #e5f5ec;
  font-weight: 900;
}

.mini-table mark.warn {
  color: #8b5015;
  background: #fff1ce;
}

.roster-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.roster-board span {
  min-height: 88px;
  padding: 14px;
  background: #fff5dc;
  border-left: 5px solid var(--green);
  font-weight: 900;
}

.roster-board .late {
  background: #fff1ce;
  border-left-color: var(--gold);
}

.roster-board .missed {
  background: #ffeded;
  border-left-color: var(--coral);
}

.leave-lines {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.leave-lines span {
  display: block;
  min-height: 42px;
  padding: 11px 14px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.metric-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 24px;
}

.metric-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: #123f35;
  background: #e9f4ef;
  border: 1px solid #c8e4d8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.metric-badges span:nth-child(2) {
  color: #8b5015;
  background: #fff5df;
  border-color: #edd49d;
}

.metric-badges span:nth-child(3) {
  color: #164f83;
  background: #eaf3fb;
  border-color: #c7dff0;
}

.metric-badges span:nth-child(4) {
  color: #9b352d;
  background: #fff0ed;
  border-color: #efc8c2;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.1);
}

.screenshot-grid figure:first-child {
  grid-row: span 2;
}

.metrics-figure {
  display: grid;
  grid-template-rows: 1fr auto;
}

.metrics-graphic {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 100%;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(17, 132, 91, 0.12), transparent 40%),
    linear-gradient(35deg, rgba(25, 95, 155, 0.13), transparent 38%),
    #f7faf8;
}

.metrics-graphic-header {
  display: grid;
  gap: 4px;
}

.metrics-graphic-header span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.metrics-graphic-header strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.status-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.status-card-grid div {
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 33, 43, 0.08);
}

.status-card-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-card-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.status-card-grid div:nth-child(1) strong { color: var(--green); }
.status-card-grid div:nth-child(2) strong { color: var(--gold); }
.status-card-grid div:nth-child(3) strong { color: var(--blue); }
.status-card-grid div:nth-child(4) strong { color: var(--coral); }

.metric-bars {
  display: grid;
  gap: 12px;
}

.metric-bars div {
  display: grid;
  gap: 8px;
}

.metric-bars span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.metric-bars i {
  display: block;
  height: 12px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(17, 132, 91, 0.12);
}

.metric-bars div:nth-child(2) i {
  background: var(--blue);
}

.metric-bars div:nth-child(3) i {
  background: var(--gold);
}

.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.real-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.real-gallery figure:first-child {
  grid-row: auto;
}

.real-gallery img,
.real-gallery figure:first-child img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f7fa;
}

.screenshot-grid figure:first-child img {
  height: calc(100% - 48px);
  aspect-ratio: auto;
}

figcaption {
  min-height: 48px;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
}

.showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  align-items: start;
}

.showcase-feature,
.showcase-thumbs figure {
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.showcase-feature:hover,
.showcase-thumbs figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(23, 33, 43, 0.16);
}

.showcase-feature img,
.showcase-thumbs img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 6vw, 64px);
  background: rgba(17, 23, 30, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  min-height: 0;
  padding: 0;
  color: #fff;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.feature-grid article:nth-child(2) { border-top-color: var(--blue); }
.feature-grid article:nth-child(3) { border-top-color: var(--gold); }
.feature-grid article:nth-child(4) { border-top-color: var(--coral); }

.feature-grid p,
.plan p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 900;
}

.plans {
  background: #edf3f1;
}

.plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan {
  min-height: 410px;
}

.plan .button,
.plan .whatsapp-button {
  margin-top: 20px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-button:hover {
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.18);
}

.whatsapp-icon {
  width: 38px;
  height: 38px;
  flex: none;
  padding: 8px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
}

.whatsapp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.whatsapp-text strong {
  font-size: 15px;
}

.whatsapp-text small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.plan.featured {
  color: #fff;
  background: #123f35;
  border-color: #123f35;
}

.plan.featured .tag,
.plan.featured .price span,
.plan.featured .price-note,
.plan.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.tag {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.price {
  margin: 12px 0 6px;
  color: inherit;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.price-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(48px, 7vw, 76px) clamp(18px, 5vw, 72px);
  background: #17212b;
  color: #fff;
}

.contact h2 {
  max-width: 820px;
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .hero,
  .feature-grid,
  .plan-grid,
  .product-grid,
  .feature-groups,
  .product-visual-grid,
  .screenshot-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-dashboard {
    grid-row: auto;
  }

  .feature-group.lead-group {
    grid-row: auto;
  }

  .screenshot-grid figure:first-child {
    grid-row: auto;
  }

  .screenshot-grid figure:first-child img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid article,
  .plan,
  .feature-group {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .button {
    width: 100%;
  }
}
