:root {
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-400: #3ed977;
  --teal-500:  #10b981;
  --ink-900:   #0b1220;
  --ink-700:   #1f2937;
  --ink-500:   #4b5563;
  --ink-300:   #9ca3af;
  --ink-100:   #e5e7eb;
  --bg:        #ffffff;
  --bg-alt:    #f6fbf7;
  --bg-dark:   #0b1220;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 18, 32, 0.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-500); }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand img { height: 38px; }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--green-600); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(34,197,94,0.18), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(16,185,129,0.10), transparent 60%),
    linear-gradient(#fff, #f6fbf7);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-600);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.lede {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 54ch;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-400), var(--teal-500));
  color: white;
  box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}
.btn-primary:hover { transform: translateY(-1px); color: white; }
.btn-ghost {
  background: white;
  border-color: var(--ink-100);
  color: var(--ink-900);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-600); }
.btn-block { width: 100%; margin-top: 14px; }

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 520px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-stats strong {
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.hero-stats span {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

.hero-image {
  position: relative;
  padding: 24px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: auto -40px -30px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(34,197,94,0.35), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
.hero-image img { border-radius: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { max-width: none; }
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--ink-500);
  margin: 0;
}

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(34,197,94,0.4);
}
.card-media {
  aspect-ratio: 16 / 10;
  background: #f0f7f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media-dark {
  background: radial-gradient(circle at 30% 20%, #134e4a, #0b1220 70%);
}
.card-media-icon {
  width: 40% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 30px rgba(34,197,94,0.35));
}
.card-body { padding: 22px 22px 26px; }
.card-body h3 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.card-sub {
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.card-body p {
  color: var(--ink-500);
  margin: 0 0 14px;
}

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-700);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--green-400), var(--teal-500));
}
.bullets-lg li { font-size: 15px; margin-bottom: 12px; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: white;
  border: 1px solid var(--ink-100);
  padding: 22px;
  border-radius: var(--radius);
}
.feature-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.feature p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14.5px;
}
.feature code {
  background: #eef6f1;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ---------- Dashboard ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.dashboard-grid h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }

.mock-window {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mock-window-bar {
  background: #f4f7f5;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}
.mock-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}
.mock-window-bar span:nth-child(1) { background: #ef4444; }
.mock-window-bar span:nth-child(2) { background: #f59e0b; }
.mock-window-bar span:nth-child(3) { background: #22c55e; }
.mock-window-bar em {
  font-style: normal;
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mock-window-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: #fafdfb;
}
.mock-tile {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  padding: 14px;
}
.mock-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.mock-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mock-value em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  margin-left: 2px;
}
.mock-ok { color: var(--green-600); }
.mock-bar {
  margin-top: 10px;
  height: 6px;
  background: #eef2ef;
  border-radius: 999px;
  overflow: hidden;
}
.mock-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--green-400), var(--teal-500));
  border-radius: inherit;
}

/* ---------- Applications ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; } }

.app {
  background: white;
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--green-500);
  padding: 18px 20px;
  border-radius: 10px;
}
.app h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.app p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
}

/* ---------- Contact / dark section ---------- */
.section-dark {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(34,197,94,0.18), transparent 60%),
    linear-gradient(180deg, #0b1220, #0a1a1a);
  color: #e6efe9;
}
.section-dark h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 12px;
}
.section-dark p { color: #b9c7bf; max-width: 52ch; }
.footer-logo { height: 42px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.contact-card dl {
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.contact-card dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7ddba1;
  margin-bottom: 2px;
}
.contact-card dd {
  margin: 0;
  font-size: 15px;
  color: #fff;
}
.contact-card a { color: #7ddba1; }
.contact-card a:hover { color: #a6ecbf; }

/* ---------- Footer ---------- */
.site-footer {
  background: #061010;
  color: #7e8f86;
  font-size: 13px;
  padding: 18px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
