:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #eef2ff;
  --text: #111827;
  --muted: #5b6475;
  --line: #dfe4ee;
  --brand: #3f5cff;
  --brand-dark: #2334a5;
  --brand-soft: #e8ecff;
  --teal: #00b8a9;
  --dark: #0f172a;
  --dark-card: #172033;
  --shadow: 0 22px 60px rgba(24, 35, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.86);
  border-bottom: 1px solid rgba(223, 228, 238, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: clamp(28px, 3vw, 32px);
  width: auto;
}

.brand-name {
  color: #27306f;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-name strong {
  font-weight: 800;
}

.brand-name em {
  font-style: normal;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(63, 92, 255, 0.22);
  cursor: pointer;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button-ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: none;
}

.button-ghost:hover {
  color: #fff;
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
}

.hero::before {
  position: absolute;
  inset: -240px -140px auto auto;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 92, 255, 0.22), transparent 62%);
  content: "";
}

.hero-grid,
.split-grid,
.automation-grid,
.cta-card,
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.hero-text,
.section-lead,
.cta-card p,
.automation-grid p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.automation-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #eef3ff 100%);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 184, 169, 0.14);
}

.score-card {
  padding: 26px;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
}

.score-card span {
  color: #b8c2d9;
  font-weight: 700;
}

.score-card strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.contact-card strong {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.1;
  word-break: break-word;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress span {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #7dd3fc);
}

.dashboard-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.dashboard-list div,
.incident-note,
.feature-card,
.module-grid article,
.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-list div {
  padding: 16px;
}

.dashboard-list strong {
  display: block;
  font-size: 1.8rem;
}

.dashboard-list span,
.incident-note,
.feature-card p,
.module-grid p,
.price-card p {
  color: var(--muted);
}

.incident-note {
  padding: 16px;
}

.incident-note span {
  display: inline-block;
  margin-right: 8px;
  color: #b45309;
  font-weight: 900;
}

.section-muted {
  background: var(--surface);
}

.feature-grid,
.module-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.feature-card,
.module-grid article,
.price-card {
  padding: 26px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--brand);
  font-weight: 900;
}

.section-heading {
  max-width: 720px;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.module-grid article {
  min-height: 160px;
  background: var(--surface);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(63, 92, 255, 0.35), transparent 35%),
    var(--dark);
  color: #fff;
}

.section-dark .eyebrow,
.section-dark p {
  color: #b8c2d9;
}

.automation-list {
  display: grid;
  gap: 12px;
}

.automation-list span {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--dark-card);
  color: #fff;
  padding: 18px 20px;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--surface);
}

.price-card strong {
  display: block;
  margin: 28px 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.price-card strong span {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
}

.badge {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  padding: 46px;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

.contact-form textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.lead-form input:focus,
.lead-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(63, 92, 255, 0.14);
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

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

.footer img {
  width: auto;
  height: clamp(28px, 3vw, 32px);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.cookie-banner[hidden],
.cookie-panel[hidden] {
  display: none;
}

.cookie-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px 22px 12px;
}

.cookie-custom {
  grid-template-columns: 1fr;
}

.cookie-title {
  margin: 0 0 4px;
  color: #fff;
  font-weight: 900;
}

.cookie-text,
.cookie-powered,
.cookie-option small {
  color: rgba(241, 245, 249, 0.72);
}

.cookie-text {
  margin: 0;
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button:hover {
  opacity: 0.88;
}

.cookie-button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.cookie-button-outline {
  background: transparent;
  color: #f1f5f9;
}

.cookie-options {
  display: grid;
  gap: 10px;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.cookie-option input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 2px;
  font-size: 0.78rem;
}

.cookie-powered {
  margin: 0;
  padding: 0 22px 16px;
  font-size: 0.72rem;
}

.cookie-powered a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero-grid,
  .split-grid,
  .automation-grid,
  .cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .price-card.featured {
    transform: none;
  }

  .cookie-panel {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

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

  .section,
  .hero {
    padding: 68px 0;
  }

  .brand-name {
    font-size: 1.45rem;
  }

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

  .dashboard-list,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .cta-card {
    border-radius: 24px;
    padding: 20px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .cookie-panel {
    padding: 18px 16px 10px;
  }

  .cookie-actions,
  .cookie-button {
    width: 100%;
  }

  .cookie-powered {
    padding: 0 16px 14px;
  }

  .score-card strong {
    font-size: 3.4rem;
  }
}
