:root {
  --primary: #0f6b45;
  --primary-soft: #e0f3eb;
  --primary-dark: #09452e;
  --accent: #f3b340;
  --bg: #f4f6f8;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 40px rgba(15, 107, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- NAVBAR ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(244, 246, 248, 0.85);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fefce8, #0f6b45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 107, 69, 0.4);
  overflow: hidden; /* ⬅ important: clip big image */
}

.site-logo {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover; /* crop nicely inside circle */
}


.logo-text-main {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
}

.logo-text-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.2s ease-out;
}

nav ul li a:hover {
  color: var(--primary-dark);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 107, 69, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 107, 69, 0.4);
}

.menu-toggle {
  display: none;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: #111827;
  border-radius: 999px;
}

/* ---------- LAYOUT UTILS ---------- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px;
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 20px;
}

.section-header {
  max-width: 620px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.section-title {
  font-size: 30px;
  margin: 14px 0 8px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- HERO ---------- */

.hero {
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 40px;
  line-height: 1.15;
  margin: 16px 0 12px;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary span.arrow {
  font-size: 18px;
  margin-top: -1px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 40px rgba(15, 107, 69, 0.35);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-ghost:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.hero-metrics strong {
  font-size: 16px;
  color: var(--primary-dark);
  display: block;
}

/* Hero card (dashboard preview) */

.hero-card {
  background: radial-gradient(circle at top left, #fefce8, #e0f3eb 40%, #ffffff 80%);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-weight: 500;
}

.score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  margin-bottom: 10px;
}

.score-pill-main {
  font-size: 20px;
  font-weight: 700;
  color: #15803d;
}

.score-pill-label {
  font-size: 12px;
  color: #166534;
}

.score-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 4px;
}

.score-bar-fill {
  height: 100%;
  width: 78%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #84cc16);
}

.score-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-card {
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  background: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  color: var(--muted);
}

.mini-card-label {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}

.mini-card-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.trend-positive {
  font-size: 11px;
  color: #16a34a;
}

.labels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: #4b5563;
}

/* ---------- FEATURES / HOW IT WORKS ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
}

.feature-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-meta {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

/* ---------- SCORE LEVELS / BADGES ---------- */

.scorecards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.score-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.score-badge {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.score-badge span.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 10px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.score-table th,
.score-table td {
  padding: 10px 12px;
  text-align: left;
}

.score-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #4b5563;
}

.score-table tr + tr td {
  border-top: 1px solid #e5e7eb;
}

.score-label-pill {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.score-label-pill--gold {
  background: #fef9c3;
  color: #854d0e;
}

.score-label-pill--silver {
  background: #e5e7eb;
  color: #374151;
}

.score-label-pill--bronze {
  background: #ffedd5;
  color: #92400e;
}

.score-label-pill--starter {
  background: #eff6ff;
  color: #1d4ed8;
}

.usecase-card {
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  font-size: 12px;
  color: var(--muted);
}

.usecase-card strong {
  color: var(--primary-dark);
}

/* ---------- PRICING ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 18px 22px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.pricing-card.highlight {
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 24px 50px rgba(13, 148, 136, 0.22);
  transform: translateY(-2px);
}

.pricing-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pricing-name {
  font-size: 16px;
  font-weight: 600;
}

.pricing-price {
  font-size: 20px;
  font-weight: 700;
}

.pricing-period {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-note {
  font-size: 12px;
  color: var(--muted);
}

.pricing-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--muted);
}

.pricing-list li + li {
  margin-top: 4px;
}

.pricing-cta {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(31, 41, 55, 0.18);
  background: #f9fafb;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.pricing-cta:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.pricing-card.highlight .pricing-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
}

.pricing-card.highlight .pricing-cta:hover {
  background: linear-gradient(135deg, #0f766e, #064e3b);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
}

.faq-item {
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  margin-bottom: 8px;
}

.faq-q {
  font-size: 13px;
  font-weight: 600;
}

.faq-a {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.faq-note {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- CONTACT ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 12px;
  flex: 1 1 160px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #374151;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #f9fafb;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4);
  background: white;
}

.form-help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.form-submit {
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-side-card {
  font-size: 13px;
  color: var(--muted);
}

.contact-side-card strong {
  color: var(--primary-dark);
}

/* ---------- FOOTER ---------- */

footer {
  border-top: 1px solid rgba(209, 213, 219, 0.95);
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  background: #f9fafb;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  font-size: 12px;
  color: #6b7280;
}

/* ---------- BACK TO TOP ---------- */

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15, 107, 69, 0.5);
  font-size: 18px;
  z-index: 1100;
}

/* ---------- ANIMATIONS ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PAGE HERO ---------- */

.page-hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-hero h1 {
  font-size: 32px;
  margin: 16px 0 10px;
}

.page-hero p {
  color: var(--muted);
  font-size: 14px;
  max-width: 540px;
}

/* ---------- THANK YOU ---------- */

.thank-you-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  text-align: left;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 24px;
  }

  .hero-title {
    font-size: 32px;
  }

  .scorecards-layout,
  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    inset: 54px 16px auto 16px;
    flex-direction: column;
    gap: 10px;
    background: rgba(248, 250, 252, 0.98);
    border-radius: 14px;
    padding: 10px 14px 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    display: none;
  }

  nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .section-narrow {
    padding: 52px 18px;
  }
}
