:root {
  --ink: #132238;
  --muted: #5f6f85;
  --line: #dbe4ef;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --cyan: #18b8c8;
  --green: #21a66d;
  --amber: #f2a900;
  --red: #e9564f;
  --nav: #0b1626;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(19, 34, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--wash);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 184, 200, 0.24);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--nav);
  border-left: 5px solid var(--cyan);
  border-bottom: 5px solid var(--green);
  border-radius: 6px;
  font-size: 18px;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-action,
.primary-button,
.secondary-button,
.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}

.header-action,
.primary-button,
.price-card a {
  color: #ffffff;
  background: var(--nav);
}

.header-action:hover,
.primary-button:hover,
.price-card a:hover {
  background: #1a2d48;
}

.secondary-button {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 74px);
  padding: 58px 5vw 44px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f7 100%);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 22px;
}

.hero-text {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-price {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 0;
  padding: 11px 14px;
  color: #dffdf3;
  background: var(--nav);
  border: 1px solid rgba(53, 240, 177, 0.26);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.4;
}

.hero-price strong {
  color: #35f0b1;
}

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

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 28px 5vw;
  background: #ffffff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-band span {
  color: var(--muted);
  line-height: 1.5;
}

.process-section {
  background: #ffffff;
}

.process-section h2 {
  max-width: 620px;
}

.section {
  padding: 92px 5vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.module-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.module-grid article,
.price-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.module-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-weight: 800;
}

.module-grid h3,
.price-card h3 {
  margin-bottom: 12px;
}

.module-grid p,
.price-card p,
.implementation-list p,
.demo-section p,
.site-footer span {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 56px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.implementation-list {
  display: grid;
  gap: 16px;
  align-content: start;
  font-size: 18px;
}

.implementation-list p {
  margin: 0;
  padding-left: 20px;
  border-left: 4px solid var(--amber);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.price {
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.05;
}

.price span,
.price small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price small {
  display: inline;
  margin-left: 4px;
}

.price-card.highlighted {
  border-top: 6px solid var(--green);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.price-card a {
  margin-top: auto;
}

.plan-note {
  margin: 0 0 24px;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: #ffffff;
  background: var(--nav);
}

.inside-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.inside-grid article {
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.inside-grid strong,
.inside-grid span {
  display: block;
}

.inside-grid strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.inside-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.ai-section {
  color: #ffffff;
  background: #07111f;
}

.ai-section .eyebrow {
  color: #35f0b1;
}

.ai-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: #b7c6d8;
  font-size: 18px;
  line-height: 1.6;
}

.ai-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.ai-chat,
.ai-report {
  min-height: 460px;
  padding: 26px;
  background: #0b1626;
  border: 1px solid rgba(53, 240, 177, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.ai-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-header img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.ai-chat-header strong,
.ai-chat-header span {
  display: block;
}

.ai-chat-header span {
  margin-top: 3px;
  color: #8aa0b8;
  font-size: 13px;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(18px);
  animation: chatIn 14s infinite;
}

.message strong {
  color: #35f0b1;
}

.message.user {
  align-self: flex-end;
  color: #102033;
  background: #dffdf3;
}

.message.assistant {
  align-self: flex-start;
  color: #dce8f5;
  background: #132238;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-one {
  animation-delay: 0.2s;
}

.message-two {
  animation-delay: 2.8s;
}

.message-three {
  animation-delay: 6.1s;
}

.message-four {
  animation-delay: 9s;
}

.ai-report {
  display: grid;
  align-content: start;
  gap: 14px;
  position: relative;
}

.ai-report::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 10px;
  height: 10px;
  background: #35f0b1;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(53, 240, 177, 0.9);
}

.report-top,
.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.report-top {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.report-top span,
.report-row span {
  color: #8aa0b8;
}

.report-top strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.report-row {
  padding: 16px;
  background: #101f33;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateX(22px);
  animation: reportIn 14s infinite;
}

.report-row:nth-child(2) {
  animation-delay: 3.1s;
}

.report-row:nth-child(3) {
  animation-delay: 4s;
}

.report-row:nth-child(4) {
  animation-delay: 9.5s;
}

.report-row:nth-child(5) {
  animation-delay: 10.4s;
}

.report-row strong {
  color: #35f0b1;
  text-align: right;
}

@keyframes chatIn {
  0%,
  6% {
    opacity: 0;
    transform: translateY(18px);
  }

  12%,
  82% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes reportIn {
  0%,
  12% {
    opacity: 0;
    transform: translateX(22px);
  }

  18%,
  82% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .message,
  .report-row {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.demo-section .eyebrow {
  color: var(--cyan);
}

.demo-section p {
  max-width: 700px;
  margin-bottom: 0;
  color: #b7c6d8;
  font-size: 18px;
}

.demo-section .primary-button {
  color: var(--nav);
  background: #ffffff;
}

.contact-section {
  background: #ffffff;
}

.contact-section .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(24, 184, 200, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

.full-field,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-status.is-ok,
.form-status.is-error {
  display: block;
}

.form-status.is-ok {
  color: #126344;
  background: #dffdf3;
}

.form-status.is-error {
  color: #8a2431;
  background: #ffe5e9;
}

.contact-card {
  padding: 28px;
  color: #ffffff;
  background: var(--nav);
  border-radius: var(--radius);
}

.contact-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.contact-card p {
  color: #b7c6d8;
  line-height: 1.6;
}

.contact-card a {
  display: inline-flex;
  margin-top: 14px;
  color: #35f0b1;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 10px 0 18px;
  }

  .nav-links.is-open {
    display: grid;
    gap: 14px;
  }

  .hero,
  .split,
  .ai-demo,
  .contact-layout,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .module-grid,
  .pricing-grid,
  .inside-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .demo-section .primary-button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .price-card a {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .module-grid article,
  .price-card,
  .ai-chat,
  .ai-report {
    padding: 22px;
  }

  .message {
    max-width: 100%;
  }
}
