:root {
  --blue: #1764ff;
  --blue-600: #0755f2;
  --blue-700: #0648cf;
  --blue-soft: #eaf2ff;
  --blue-pale: #f5f8ff;
  --navy: #071633;
  --navy-2: #0a234b;
  --text: #111b39;
  --muted: #5f6b82;
  --light-muted: #8d97aa;
  --line: #dfe6f5;
  --panel: #ffffff;
  --soft-shadow: 0 24px 70px rgba(24, 61, 128, 0.12);
  --card-shadow: 0 14px 40px rgba(18, 48, 98, 0.08);
  --radius: 10px;
  --radius-sm: 7px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(48, 115, 255, 0.09), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 48%, #ffffff 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 100, 255, 0.26);
  outline-offset: 2px;
}

svg {
  display: block;
}

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

section[id],
footer[id] {
  scroll-margin-top: 82px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 28px rgba(20, 46, 96, 0.04);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: 200px 1fr 230px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 35%, #74d3ff 0 18%, transparent 19%),
    linear-gradient(135deg, #2370ff, #8fc7ff);
  box-shadow: 0 11px 25px rgba(24, 100, 255, 0.34);
}

.brand-name {
  display: inline-block;
  max-width: 120px;
  opacity: 1;
  user-select: none;
}

.brand.dark {
  color: #ffffff;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
}

.nav-link,
.nav-button,
.login-link {
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-button:hover,
.login-link:hover {
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.nav-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.nav-item.open .nav-button svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 206px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.dropdown-menu a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-item.open .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.login-link {
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 37px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2b74ff, var(--blue-600));
  border-color: var(--blue-600);
  box-shadow: 0 12px 24px rgba(23, 100, 255, 0.23);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #3a7cff, var(--blue-700));
}

.btn-secondary,
.btn-outline {
  color: var(--navy);
  background: #ffffff;
  border-color: #c9d3e6;
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 12px 24px rgba(23, 100, 255, 0.12);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 20px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding-top: 26px;
  padding-bottom: 30px;
  min-height: 424px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(520px, 1.16fr);
  gap: 44px;
  align-items: center;
  position: relative;
}

.hero-copy {
  padding-top: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 13px 4px 6px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #c9ddff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  box-shadow: 0 10px 22px rgba(23, 100, 255, 0.08);
}

.hero-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.hero-pill svg,
.inline-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero h1 {
  margin: 22px 0 14px;
  max-width: 620px;
  color: var(--navy);
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 560px;
  margin: 0 0 18px;
  color: #46526b;
  font-size: 17px;
  line-height: 1.5;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  color: #303d58;
  font-size: 14px;
  font-weight: 600;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-checks li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px #b7d1ff;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9.6l2.6 2.6L14 6.4' stroke='%231764ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.trial-note {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.trusted span {
  display: block;
  margin-bottom: 13px;
  color: #667189;
  font-size: 13px;
  font-weight: 650;
}

.trusted-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.trusted-logos a {
  color: #9ca5b5;
  font-size: 15px;
  font-weight: 850;
  filter: grayscale(1);
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.trusted-logos a:hover {
  color: var(--blue);
  filter: none;
  transform: translateY(-2px);
}

.dashboard-card {
  min-width: 0;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.dashboard-topbar {
  height: 46px;
  display: grid;
  grid-template-columns: 150px 30px minmax(140px, 1fr) 30px 30px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #4f5c74;
  font-size: 13px;
  font-weight: 800;
}

.mini-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2270ff, #83c5ff);
}

.icon-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: #63708a;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-button:hover {
  background: var(--blue-pale);
  border-color: #c8d9fb;
  color: var(--blue);
}

.icon-button svg,
.search-box svg,
.dashboard-sidebar svg,
.control svg,
.security-note svg,
.feature-icon svg,
.stat-icon svg,
.faq-item svg,
.modal-close svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.search-box {
  min-width: 0;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9aa3b5;
  background: #ffffff;
}

.search-box svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.search-box input::placeholder {
  color: #a7afbf;
}

.dashboard-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #f7c89d 0 22%, transparent 23%),
    radial-gradient(circle at 50% 70%, #1b2853 0 34%, transparent 35%),
    linear-gradient(135deg, #ffe2c2, #ac6339);
  box-shadow: 0 0 0 2px #ffffff, 0 5px 12px rgba(16, 36, 78, 0.22);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 326px;
}

.dashboard-sidebar {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: #fbfcff;
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  color: #68758e;
  font-size: 11px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-sidebar a + a {
  margin-top: 5px;
}

.dashboard-sidebar a.active,
.dashboard-sidebar a:hover {
  background: #eaf2ff;
  color: var(--blue);
}

.dashboard-sidebar svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.dashboard-main {
  min-width: 0;
  padding: 18px 16px 16px;
}

.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.dashboard-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: #647087;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.control svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card {
  min-height: 110px;
  padding: 13px 13px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.kpi-card span {
  display: block;
  color: #26334d;
  font-size: 11px;
  font-weight: 850;
}

.kpi-card strong {
  display: block;
  margin-top: 9px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.kpi-card small {
  display: block;
  margin-top: 6px;
  color: #16a765;
  font-size: 10px;
  font-weight: 750;
}

.sparkline {
  width: 100%;
  height: 35px;
  margin-top: 5px;
}

.sparkline polyline {
  fill: none;
  stroke: #256cff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.86fr);
  gap: 10px;
  margin-top: 10px;
}

.activity-panel,
.project-panel {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.activity-panel h3,
.project-panel h3 {
  margin: 0 0 11px;
  color: #202c47;
  font-size: 12px;
}

.activity-panel ul,
.project-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-panel li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  color: #46526b;
  font-size: 11px;
  font-weight: 750;
}

.activity-panel time {
  color: #9ca5b5;
  font-size: 9px;
  font-weight: 800;
}

.activity-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.activity-dot.green { background: #dff8e8; box-shadow: inset 0 0 0 4px #37c878; }
.activity-dot.blue { background: #e3eeff; box-shadow: inset 0 0 0 4px #4380ff; }
.activity-dot.purple { background: #efe7ff; box-shadow: inset 0 0 0 4px #7b61ff; }
.activity-dot.amber { background: #fff0ce; box-shadow: inset 0 0 0 4px #ffb629; }

.donut-wrap {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
}

.donut {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#155eff 0 45%, #4b82ff 45% 75%, #92b3ff 75% 90%, #dfe8ff 90% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #ffffff;
}

.donut span {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.donut small {
  display: block;
  margin-top: 3px;
  color: #65718a;
  font-size: 10px;
  font-weight: 750;
}

.project-panel li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: #50607d;
  font-size: 11px;
  font-weight: 750;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.dark-blue { background: #155eff; }
.legend-dot.blue { background: #4b82ff; }
.legend-dot.pale-blue { background: #92b3ff; }
.legend-dot.soft { background: #dfe8ff; }

.security-note {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 24px 0 0;
  color: #67738b;
  font-size: 13px;
  font-weight: 650;
}

.security-note svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

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

.section-heading.centered {
  text-align: center;
}

.section-heading span,
.integrations-copy span,
.faq-title span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading h2,
.integrations-copy h2,
.faq-title h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.features {
  padding-top: 44px;
  padding-bottom: 32px;
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  min-height: 130px;
  padding: 20px 20px 18px;
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 48, 98, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #bcd2ff;
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px #c9dcff;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: #5b6984;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 550;
}

.integrations {
  padding: 30px 0;
  background: #f7faff;
}

.integrations-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 54px;
}

.integrations-copy h2 {
  font-size: 20px;
  text-transform: none;
}

.integrations-copy p {
  margin: 14px 0 18px;
  color: #4d5b75;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.logo-rail {
  display: grid;
  grid-template-columns: repeat(8, 70px);
  justify-content: space-between;
  gap: 18px;
}

.integration-logo {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid #dce5f5;
  border-radius: 9px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(18, 48, 98, 0.08);
  font-size: 31px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(23, 100, 255, 0.14);
}

.slack span {
  width: 33px;
  height: 33px;
  background:
    radial-gradient(circle at 18% 50%, #36c5f0 0 14%, transparent 15%),
    radial-gradient(circle at 50% 18%, #2eb67d 0 14%, transparent 15%),
    radial-gradient(circle at 82% 50%, #ecb22e 0 14%, transparent 15%),
    radial-gradient(circle at 50% 82%, #e01e5a 0 14%, transparent 15%),
    linear-gradient(#36c5f0 0 0) 0 39% / 58% 18% no-repeat,
    linear-gradient(#2eb67d 0 0) 39% 0 / 18% 58% no-repeat,
    linear-gradient(#ecb22e 0 0) 42% 82% / 58% 18% no-repeat,
    linear-gradient(#e01e5a 0 0) 82% 42% / 18% 58% no-repeat;
}

.google {
  color: #4285f4;
  text-shadow: 7px 0 0 #ea4335, 0 7px 0 #fbbc05, 6px 6px 0 #34a853;
}

.microsoft span {
  width: 34px;
  height: 34px;
  display: block;
  background:
    linear-gradient(#f35325 0 0) left top / 15px 15px no-repeat,
    linear-gradient(#81bc06 0 0) right top / 15px 15px no-repeat,
    linear-gradient(#05a6f0 0 0) left bottom / 15px 15px no-repeat,
    linear-gradient(#ffba08 0 0) right bottom / 15px 15px no-repeat;
}

.salesforce { color: #00a1e0; }
.zapier { color: #ff5a00; font-size: 48px; line-height: 1; }
.notion { color: #111111; border-color: #d3dbe8; }
.stripe { color: #635bff; background: linear-gradient(135deg, #ffffff, #f4f2ff); }
.plus { color: var(--navy); font-size: 32px; font-weight: 650; }

.stats-band {
  padding: 32px 0;
  background: linear-gradient(90deg, #f5f8ff 0%, #eaf2ff 50%, #f7faff 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.stat-item {
  display: grid;
  grid-template-columns: 52px auto;
  align-items: center;
  column-gap: 16px;
}

.stat-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #dce9ff;
  box-shadow: inset 0 0 0 1px #bdd3ff;
}

.stat-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.stat-item strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.stat-item span:last-child {
  margin-top: 6px;
  color: #42506b;
  font-size: 13px;
  font-weight: 650;
}

.testimonials {
  padding-top: 48px;
  padding-bottom: 32px;
  background: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 1060px;
  margin: 0 auto;
}

.testimonial-card {
  min-height: 148px;
  padding: 20px 22px;
  border: 1px solid #dce3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 48, 98, 0.035);
}

.stars {
  color: #ffb020;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.testimonial-card p {
  min-height: 56px;
  margin: 11px 0 18px;
  color: #40506d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.person strong,
.person small {
  display: block;
}

.person strong {
  color: var(--navy);
  font-size: 12px;
}

.person small {
  margin-top: 3px;
  color: #5e6a80;
  font-size: 11px;
  font-weight: 650;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5deef;
}

.slider-dots .active {
  background: var(--blue);
}

.pricing {
  padding-top: 18px;
  padding-bottom: 26px;
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1030px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 26px 20px 18px;
  border: 1px solid #dce3f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 48, 98, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #adc8ff;
  box-shadow: 0 24px 46px rgba(23, 100, 255, 0.14);
}

.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(23, 100, 255, 0.16);
}

.ribbon {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 0 0;
  color: #ffffff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.popular h3 {
  margin-top: 18px;
}

.pricing-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 18px;
}

.pricing-card p {
  margin: 0 0 18px;
  color: #667189;
  font-size: 12px;
  font-weight: 750;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.price strong {
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
}

.price span,
.pricing-card small {
  color: #6b768c;
  font-size: 11px;
  font-weight: 750;
}

.quote-price {
  margin: 26px 0 31px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 850;
}

.pricing-card ul {
  margin: 20px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: #303d58;
  font-size: 12px;
  font-weight: 750;
}

.pricing-card li {
  display: flex;
  gap: 9px;
}

.pricing-card li::before {
  content: "✓";
  color: #13ae67;
  font-weight: 900;
}

.pricing-card .btn {
  width: 100%;
  min-height: 35px;
  margin-top: auto;
  padding: 0 12px;
  font-size: 12px;
}

.pricing-note {
  margin: 20px 0 0;
  color: #667189;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

.faq {
  padding-top: 20px;
  padding-bottom: 38px;
  background: #ffffff;
}

.faq-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto 12px;
}

.faq-title span {
  text-align: left;
}

.faq-title h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 21px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  max-width: 940px;
  margin: 0 auto;
}

.faq-column {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #dce3f0;
  border-radius: 8px;
  background: #f9fbff;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
}

.faq-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-item.open svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 16px;
  color: #56647f;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.faq-item.open .faq-answer p {
  padding-bottom: 14px;
}

.site-footer {
  padding: 34px 0 20px;
  background: linear-gradient(135deg, #07172f 0%, #08244e 100%);
  color: #dce7ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(4, minmax(110px, 0.8fr)) minmax(250px, 1.5fr);
  gap: 42px;
  align-items: start;
}

.footer-brand p,
.newsletter p {
  margin: 14px 0 18px;
  color: #d6e2fb;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 550;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 12px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-column h3,
.newsletter h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 13px;
}

.footer-column a {
  display: block;
  color: #d6e2fb;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.15;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
  min-height: 41px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.newsletter-form input::placeholder {
  color: #d5def0;
}

.newsletter-form input:focus {
  border-color: #7aa5ff;
}

.newsletter-form .btn {
  min-height: 41px;
  padding: 0 13px;
  font-size: 12px;
  box-shadow: none;
}

.newsletter-message {
  min-height: 18px;
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 750;
}

.newsletter-message.success {
  color: #84f0b2;
}

.newsletter-message.error {
  color: #ffd0d0;
}

.copyright {
  margin: 28px 0 0;
  color: #d9e4fa;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 16, 37, 0.56);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(4, 18, 42, 0.34);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-backdrop.open .contact-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.modal-mark {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, #1764ff, #8cd0ff);
  filter: blur(0.8px);
  box-shadow: 0 16px 32px rgba(23, 100, 255, 0.22);
}

.contact-modal h2 {
  margin: 0 44px 10px 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.2;
}

.contact-modal p {
  margin: 0 0 20px;
  color: #56647f;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.contact-form label span {
  color: #68758e;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5deec;
  border-radius: 7px;
  padding: 12px 13px;
  outline: 0;
  color: var(--text);
  background: #fbfdff;
  font-size: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 100, 255, 0.12);
}

.contact-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #128a52;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .header-inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--card-shadow);
  }

  .primary-nav {
    margin-top: 12px;
    align-content: start;
    padding: 10px;
    border-radius: 10px;
  }

  .header-actions {
    margin-top: 10px;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 10px;
  }

  .nav-open .site-header {
    overflow: visible;
  }

  .nav-open .header-inner {
    align-content: start;
    padding-bottom: 12px;
  }

  .nav-open .primary-nav,
  .nav-open .header-actions {
    display: grid;
  }

  .nav-link,
  .nav-button,
  .login-link {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    text-align: left;
  }

  .nav-link:hover,
  .nav-button:hover,
  .login-link:hover {
    background: var(--blue-pale);
  }

  .nav-button {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height 0.2s ease;
  }

  .nav-item.open .dropdown-menu {
    max-height: 150px;
    transform: none;
  }

  .dropdown-menu a {
    padding-left: 22px;
  }

  .header-actions .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    gap: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
    padding-top: 10px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .dashboard-card {
    max-width: 820px;
    justify-self: center;
  }

  .security-note {
    grid-column: 1;
    justify-self: start;
  }

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

  .logo-rail {
    grid-template-columns: repeat(4, 70px);
    justify-content: start;
  }

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

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

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .header-inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--card-shadow);
  }

  .primary-nav {
    margin-top: 14px;
    align-content: start;
    padding: 10px;
    border-radius: 10px;
  }

  .header-actions {
    margin-top: 12px;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 10px;
  }

  .nav-open .site-header {
    overflow: visible;
  }

  .nav-open .header-inner {
    align-content: start;
    padding-bottom: 12px;
  }

  .nav-open .primary-nav,
  .nav-open .header-actions {
    display: grid;
  }

  .nav-link,
  .nav-button,
  .login-link {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    text-align: left;
  }

  .nav-link:hover,
  .nav-button:hover,
  .login-link:hover {
    background: var(--blue-pale);
  }

  .nav-button {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height 0.2s ease;
  }

  .nav-item.open .dropdown-menu {
    max-height: 150px;
    transform: none;
  }

  .dropdown-menu a {
    padding-left: 22px;
  }

  .header-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: unset;
    padding-top: 42px;
  }

  .dashboard-topbar {
    grid-template-columns: 1fr 38px 38px;
  }

  .dashboard-brand {
    display: none;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 12px;
  }

  .dashboard-topbar {
    height: auto;
    padding: 14px 16px;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-sidebar a + a {
    margin-top: 0;
  }

  .dashboard-sidebar a {
    flex: 1 1 132px;
    min-height: 34px;
  }

  .dashboard-heading,
  .dashboard-controls,
  .dashboard-panels,
  .integrations-grid,
  .stats-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-heading {
    align-items: flex-start;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .stat-item {
    max-width: 360px;
  }

  .faq-title {
    display: block;
    max-width: 100%;
  }

  .faq-title h2 {
    text-align: left;
    margin-top: 5px;
  }

  .section-heading h2,
  .faq-title h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions .btn,
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 44px;
  }

  .trusted-logos {
    gap: 16px 20px;
  }

  .dashboard-card {
    border-radius: 8px;
    margin-inline: 0;
  }

  .dashboard-main {
    padding: 18px 14px;
  }

  .dashboard-sidebar {
    padding: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .dashboard-sidebar::-webkit-scrollbar,
  .kpi-grid::-webkit-scrollbar {
    display: none;
  }

  .dashboard-sidebar a {
    flex: 0 0 auto;
    min-width: 132px;
    padding-inline: 11px;
    font-size: 11px;
    scroll-snap-align: start;
  }

  .dashboard-heading {
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-heading h2 {
    font-size: 18px;
  }

  .dashboard-controls {
    width: 100%;
    flex-direction: column;
  }

  .control {
    width: 100%;
    justify-content: center;
  }

  .kpi-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 78%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .kpi-card {
    min-height: 118px;
    scroll-snap-align: start;
  }

  .dashboard-panels {
    gap: 12px;
  }

  .activity-panel li {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
  }

  .activity-panel time {
    grid-column: 2;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .project-panel ul {
    width: 100%;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .logo-rail {
    grid-template-columns: repeat(2, 74px);
    justify-content: center;
    gap: 18px;
  }

  .integration-logo {
    width: 74px;
    height: 74px;
  }

  .pricing-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .contact-modal {
    max-height: calc(100dvh - 28px);
    padding: 24px;
  }

  .contact-modal h2 {
    margin-right: 38px;
    font-size: 22px;
  }

  .section-heading h2,
  .faq-title h2 {
    font-size: 27px;
  }

  .stat-item strong {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero-pill {
    align-items: flex-start;
    width: 100%;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .btn {
    white-space: normal;
    line-height: 1.15;
  }

  .dashboard-main {
    padding: 16px 12px;
  }

  .dashboard-topbar {
    padding-inline: 12px;
  }

  .kpi-grid {
    grid-auto-columns: minmax(164px, 84%);
  }

  .logo-rail {
    grid-template-columns: repeat(2, 68px);
  }

  .integration-logo {
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the desktop footer and integration logos inside narrow laptop viewports. */
@media (min-width: 981px) and (max-width: 1060px) {
  .logo-rail {
    grid-template-columns: repeat(4, 70px);
    justify-content: start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand,
  .footer-column,
  .newsletter {
    min-width: 0;
  }
}
