:root {
  --bg: #f4f8ff;
  --bg-strong: #ecf4ff;
  --surface: #ffffff;
  --surface-alt: #f0f6ff;
  --navy: #0d1c3f;
  --navy-soft: #1c2c4f;
  --blue: #1c6fe8;
  --blue-strong: #0f54c8;
  --blue-soft: #dfeeff;
  --teal: #5dc7be;
  --text: #15233b;
  --muted: #5d6f8d;
  --border: rgba(17, 37, 63, 0.1);
  --shadow: 0 20px 40px rgba(13, 28, 63, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 230px);
  color: var(--text);
  line-height: 1.6;
}

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

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

button, input, textarea, select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 248, 255, 0.86);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(17, 37, 63, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(28, 111, 232, 0.24);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.32rem 0;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(28, 111, 232, 0.08);
  color: var(--blue-strong);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin: 1rem 0 1rem;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-metrics li {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-metrics strong {
  color: var(--navy);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-card {
  width: min(100%, 610px);
  background: var(--surface);
  border: 1px solid rgba(18, 40, 76, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.monitor-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  background: #f5f9ff;
  border-bottom: 1px solid rgba(17, 37, 63, 0.06);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background: #79c0ff; }
.dot-slate { background: #b8c9ea; }
.dot-silver { background: #d7e3f7; }

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

.dashboard-sidebar {
  padding: 1.2rem 1rem;
  background: linear-gradient(180deg, #f6faff 0%, #ebf3ff 100%);
  border-right: 1px solid rgba(17, 37, 63, 0.06);
}

.sidebar-pill {
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: rgba(17, 37, 63, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.sidebar-pill.active {
  background: rgba(28, 111, 232, 0.08);
  color: var(--blue-strong);
}

.dashboard-content {
  padding: 1.2rem;
}

.content-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mini-card {
  flex: 1;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--navy);
}

.mini-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-card strong {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.card-green {
  background: linear-gradient(135deg, #eafaf7 0%, #dff6ef 100%);
}

.card-blue {
  background: linear-gradient(135deg, #edf4ff 0%, #deebff 100%);
}

.calendar-panel {
  background: #f8fbff;
  border: 1px solid rgba(17, 37, 63, 0.06);
  border-radius: 18px;
  padding: 1rem;
}

.calendar-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.calendar-row {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slot {
  min-height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}

.slot-light {
  background: rgba(17, 37, 63, 0.04);
}

.slot-filled {
  background: linear-gradient(135deg, #dff5ff 0%, #c9e8ff 100%);
}

.slot-filled.alt {
  background: linear-gradient(135deg, #e8f6ee 0%, #d5f0e1 100%);
}

.brand-strip {
  padding: 1.2rem 0 0;
}

.brand-strip-inner {
  border-top: 1px solid rgba(17, 37, 63, 0.08);
  border-bottom: 1px solid rgba(17, 37, 63, 0.08);
  padding: 1rem 0;
}

.brand-strip-inner p {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.platform-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(18, 40, 76, 0.04);
  color: var(--navy-soft);
  font-weight: 600;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  margin: 0.8rem 0 0;
  color: var(--navy);
}

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

.feature-card,
.step-card {
  background: var(--surface);
  border: 1px solid rgba(17, 37, 63, 0.08);
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(17, 37, 63, 0.04);
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ebf4ff 0%, #dfeeff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-strong);
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.28rem;
}

.feature-card p,
.step-card p,
.benefits-copy p {
  margin: 0;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.step-card {
  padding: 1.75rem 1.5rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--blue-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.benefits {
  background: linear-gradient(180deg, #f4f8ff 0%, #f9fbff 100%);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.benefits-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0.8rem 0 1rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 37, 63, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font-weight: 500;
  color: var(--navy-soft);
}

.benefit-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(28, 111, 232, 0.1);
  color: var(--blue-strong);
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, #0e2348 0%, #103a84 100%);
  border-radius: 28px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.site-footer {
  background: #f5f9ff;
  border-top: 1px solid rgba(17, 37, 63, 0.06);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-brand-group h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
}

.site-footer h4 {
  margin: 0 0 0.9rem;
  color: var(--navy);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(17, 37, 63, 0.06);
  margin-top: 2rem;
  padding: 1.2rem 0 2.2rem;
}

:focus-visible {
  outline: 3px solid rgba(28, 111, 232, 0.4);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-grid,
  .benefits-layout,
  .feature-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 37, 63, 0.08);
    box-shadow: 0 18px 28px rgba(17, 37, 63, 0.08);
    border-radius: 18px;
    padding: 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-actions {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 2.6rem;
  }

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

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

  .dashboard-sidebar {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(17, 37, 63, 0.06);
  }

  .sidebar-pill {
    white-space: nowrap;
    margin-bottom: 0;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
