:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #f1f7ff;
  --text: #10243f;
  --muted: #5a6b84;
  --primary: #0b7fe6;
  --primary-dark: #0666bc;
  --teal: #0ea5a8;
  --mint: #2fd7bf;
  --purple: #8b72ff;
  --border: #d8e3f3;
  --shadow: 0 12px 35px rgba(19, 56, 102, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #f5f8fc 100%);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 2.4rem 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.7rem;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9cdf1;
  color: #1d3c63;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eef5ff;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(17, 50, 92, 0.08);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(13, 85, 149, 0.16);
}

.brand-logo span {
  white-space: nowrap;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  flex: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #2f4562;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  gap: 0.55rem;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
  box-shadow: 0 8px 16px rgba(12, 123, 210, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #0b8b8f);
}

.btn-secondary {
  background: #ecf5ff;
  border-color: #c7dbf7;
  color: #165089;
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: #dff0ff;
}

.btn-ghost {
  background: transparent;
  color: #2d4e73;
  border-color: #d0ddec;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1f3552;
  margin: 5px 0;
  transition: 0.25s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.3rem;
  align-items: center;
}

.hero-copy p {
  max-width: 58ch;
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.88rem;
}

.mockup-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.mockup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.dot-row span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  background: #c5d4e9;
}

.sync-pill {
  font-size: 0.78rem;
  color: #17597c;
  background: #def7ff;
  border: 1px solid #b3e8fa;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.panel,
.card,
.testimonial,
.step,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(15, 44, 82, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel:hover,
.card:hover,
.testimonial:hover,
.step:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.panel.wide {
  grid-column: span 2;
}

.panel h3,
.card h3,
.step h3,
.pricing-card h3 {
  font-size: 1.03rem;
  margin-bottom: 0.45rem;
}

.metric {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0d3255;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #21405f;
  background: #eaf4ff;
  border: 1px solid #c6dbf3;
}

.tag-soft {
  background: #e3fdf6;
  border-color: #b8f0e5;
  color: #136a61;
}

.tag-alert {
  background: #fff1f1;
  border-color: #f9c6c6;
  color: #8f2f2f;
}

.tag-success {
  background: #e8fff2;
  border-color: #bff5d4;
  color: #12643e;
}

.tag-purple {
  background: #f3efff;
  border-color: #d6cbff;
  color: #53379a;
}

.tag-mint {
  background: #e8fffb;
  border-color: #c1f5ea;
  color: #16756e;
}

.aging-bars {
  display: grid;
  gap: 0.35rem;
}

.aging-bars div,
.status-list li,
.mini-list li,
.split-stat {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.status-list,
.mini-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fbfdff;
}

.trust-title {
  text-align: center;
  font-weight: 600;
  color: #2a4568;
}

.logo-row,
.badge-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.logo-row span,
.badge {
  border: 1px solid var(--border);
  background: #fff;
  color: #2c4d72;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.tint {
  background: linear-gradient(180deg, #f4f9ff 0%, #eef7ff 100%);
}

.tint-soft {
  background: linear-gradient(180deg, #f6fbff 0%, #f7fbff 100%);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e5f1ff;
  color: #14518c;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.benefit-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.showcase-grid .panel:first-child {
  grid-column: span 2;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

th,
td {
  padding: 0.5rem;
  border-bottom: 1px solid #e0eaf7;
  text-align: left;
}

.integrations .featured-int {
  border: 1px solid #93cef7;
  background: linear-gradient(180deg, #ebf7ff 0%, #f8fcff 100%);
}

.testimonial p {
  font-weight: 600;
  color: #1f3551;
}

.testimonial h4 {
  margin-top: 0.8rem;
}

.testimonial span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  position: relative;
}

.pricing-card .price {
  color: #0c3156;
  font-weight: 800;
  font-size: 2rem;
  margin-top: 0.3rem;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 600;
}

.pricing-card ul {
  list-style: none;
  margin-top: 0.85rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}

.pricing-card ul li::before {
  content: "• ";
  color: var(--teal);
}

.popular {
  border: 2px solid #99caf6;
  box-shadow: 0 12px 28px rgba(24, 88, 155, 0.16);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
}

.narrow {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: #163a62;
  padding: 1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 1rem 1rem;
}

.final-cta {
  text-align: center;
}

.final-cta .container {
  background: linear-gradient(130deg, #eef7ff, #f2f7ff 45%, #f6f2ff);
  border: 1px solid #cce2fb;
  border-radius: 24px;
  padding: 3rem 1.2rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 1.2rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.footer-grid a {
  text-decoration: none;
  color: #2b496b;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .cards-4,
  .cards-5,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid .panel:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .navbar {
    align-items: center;
  }

  .nav-wrap {
    position: absolute;
    top: 78px;
    left: 4vw;
    right: 4vw;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.35s ease;
  }

  .nav-wrap.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    margin-left: 0;
    flex-direction: column;
    gap: 0.6rem;
  }

  .nav-actions {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .hero-grid,
  .cards-3,
  .cards-4,
  .cards-5,
  .steps,
  .two-col,
  .benefit-grid,
  .showcase-grid,
  .pricing-grid,
  .footer-grid,
  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .panel.wide,
  .showcase-grid .panel:first-child {
    grid-column: auto;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
