:root {
  --ink: #14213d;
  --muted: #60708a;
  --soft: #eef5f2;
  --paper: #fbf9f3;
  --card: #ffffff;
  --green: #0f7a5b;
  --green-2: #16a06f;
  --blue: #175676;
  --blue-2: #2f7ea3;
  --amber: #d9902f;
  --red: #b94a48;
  --line: rgba(20, 33, 61, 0.12);
  --shadow: 0 24px 80px rgba(20, 33, 61, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(22, 160, 111, 0.16), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(47, 126, 163, 0.13), transparent 30%),
    linear-gradient(180deg, #fbf9f3 0%, #f6f3ea 48%, #eef5f2 100%);
  font-family: "Aptos", "Segoe UI", sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 249, 243, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 28px rgba(15, 122, 91, 0.24);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button,
button.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 30px rgba(15, 122, 91, 0.24);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 54px;
  padding-bottom: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15, 122, 91, 0.2);
  color: var(--green);
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  margin: 22px 0 18px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.proof-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
}

.proof-card strong {
  display: block;
  font-size: 24px;
}

.proof-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-shell {
  border: 1px solid rgba(20, 33, 61, 0.11);
  border-radius: 34px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.screen {
  overflow: hidden;
  min-height: 520px;
  border-radius: 26px;
  background: #f7faf8;
  border: 1px solid rgba(20, 33, 61, 0.1);
}

.screen-top {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--muted);
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7dfdc;
}

.screen-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 462px;
}

.side {
  padding: 22px 16px;
  background: #102f3f;
  color: rgba(255, 255, 255, 0.76);
}

.side-title {
  color: #fff;
  font-weight: 900;
  margin-bottom: 22px;
}

.side-item {
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.side-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.canvas {
  padding: 22px;
}

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

.metric {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 27px;
  letter-spacing: -0.05em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}

.panel {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 900;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 122, 91, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.pill.amber {
  color: #8a5517;
  background: rgba(217, 144, 47, 0.15);
}

.pill.red {
  color: var(--red);
  background: rgba(185, 74, 72, 0.13);
}

.line-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  font-size: 13px;
}

.line-row:last-child {
  border-bottom: 0;
}

.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8efec;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue-2));
}

.map {
  height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(23, 86, 118, 0.06), rgba(15, 122, 91, 0.12)),
    #f4f8f6;
}

.map-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 122, 91, 0.82);
  box-shadow: 0 12px 30px rgba(15, 122, 91, 0.24);
  font-size: 12px;
  font-weight: 900;
}

.map-bubble.hot {
  background: rgba(217, 144, 47, 0.9);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.feature-card,
.plan-card {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(20, 33, 61, 0.06);
}

.feature-card p,
.plan-card p,
.muted {
  color: var(--muted);
  line-height: 1.58;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.module {
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.module strong {
  display: block;
  margin-bottom: 8px;
}

.module span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.plan-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #102f3f, #0f7a5b);
  transform: translateY(-12px);
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.plan-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.plan-card li {
  margin: 10px 0;
  color: var(--muted);
}

.mockup-nav {
  position: sticky;
  top: 76px;
  z-index: 10;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(251, 249, 243, 0.82);
  backdrop-filter: blur(16px);
}

.mockup-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.mockup-page {
  min-height: 100vh;
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}

.mockup-title {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.mockup-title p {
  max-width: 620px;
  color: var(--muted);
}

.mockup-frame {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.wide-screen {
  min-height: 690px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 122, 91, 0.13);
  border: 7px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 122, 91, 0.2);
}

.drawer-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
}

.drawer {
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: -20px 20px 60px rgba(20, 33, 61, 0.08);
}

.drawer-head,
.drawer-section {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-section:last-child {
  border-bottom: 0;
}

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

.action {
  padding: 13px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
  background: #f8fbf9;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day {
  min-height: 94px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
}

.event {
  margin-top: 8px;
  padding: 7px;
  border-radius: 10px;
  color: #0f513d;
  background: rgba(22, 160, 111, 0.12);
  font-weight: 800;
}

.intelligence-score {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at center, #173f50 0 52%, transparent 53%),
    conic-gradient(var(--green) 0 78%, #dde9e4 78% 100%);
}

.intelligence-score strong {
  display: block;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #102f3f;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 940px) {
  .hero,
  .split,
  .screen-body,
  .profile-layout,
  .drawer-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .plans,
  .module-grid,
  .metric-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .side {
    display: none;
  }

  h1 {
    font-size: 46px;
  }
}
