:root {
  --bg: #050816;
  --bg-alt: #0b1024;
  --card: rgba(17, 24, 56, 0.75);
  --card-border: rgba(93, 168, 255, 0.2);
  --text: #dbe5ff;
  --muted: #94a3c7;
  --accent: #38bdf8;
  --accent-strong: #8b5cf6;
  --success: #22c55e;
  --shadow: 0 25px 60px rgba(8, 12, 30, 0.45);
  --radius: 18px;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2), transparent 60%), var(--bg);
}

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

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

.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(5, 8, 22, 0.82);
  border-bottom: 1px solid rgba(56, 137, 248, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-weight: 700;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--accent);
  cursor: pointer;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(56, 189, 248, 0.35);
}

.cta--ghost {
  background: rgba(56, 189, 248, 0.08);
  box-shadow: none;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
}

.cta--outline {
  padding: 0.6rem 1.3rem;
  background: none;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
  box-shadow: none;
}

.hero {
  padding: 110px 0 80px;
}

.hero__content {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__text h1 {
  font-size: clamp(2.4rem, 5vw + 0.5rem, 3.8rem);
  margin: 0 0 1rem;
  line-height: 1.12;
}

.gradient {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__features {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.hero__features li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.chat-preview {
  width: min(340px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(5, 8, 22, 0.9);
  box-shadow: 0 25px 60px rgba(8, 12, 30, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-preview header,
.chat-preview footer {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 24, 39, 0.8);
}

.chat-preview header {
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.messages {
  padding: 1.2rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.msg {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 0.95rem;
}

.msg--client {
  background: rgba(148, 163, 199, 0.15);
  justify-self: flex-start;
}

.msg--bot {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  justify-self: flex-end;
}

.typing {
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
}

.typing::after {
  content: "•••";
  margin-left: 8px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section__header p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.card-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  padding: 2.2rem 1.9rem;
  display: grid;
  gap: 1.2rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(56, 189, 248, 0.25);
}

.card--highlight {
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 45px 80px rgba(56, 189, 248, 0.32);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.18);
  font-size: 1.6rem;
}

.card h3 {
  margin: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.card__action {
  color: var(--accent);
  font-weight: 600;
}

.metrics {
  display: grid;
  gap: 2.5rem;
}

.metrics__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.metric__value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.metric__label {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline article {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.08);
}

.timeline .step {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 18px 30px rgba(139, 92, 246, 0.35);
}

.cta-banner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(139, 92, 246, 0.4));
  padding: 3rem;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.contact {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact__info p,
.contact__info ul {
  color: var(--muted);
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.2rem;
}

.contact__list strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.contact__form {
  display: grid;
  gap: 1.1rem;
  background: rgba(11, 16, 36, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(56, 189, 248, 0.18);
  padding: 2.2rem;
}

.contact__form label {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact__form input,
.contact__form textarea {
  background: rgba(5, 8, 22, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.contact__form button {
  justify-self: flex-start;
}

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

.site-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  padding: 2.2rem 0;
  background: rgba(5, 8, 22, 0.95);
}

.site-footer__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 70px 5% auto;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.98);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 40px 80px rgba(5, 8, 22, 0.65);
    transform: scale(0.9) translateY(-25px);
    opacity: 0;
    pointer-events: none;
  }

  .main-nav.is-open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 0.75rem 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 90px;
  }

  .cta-banner {
    padding: 2.4rem;
  }

  .contact__form {
    padding: 1.8rem;
  }

  .site-footer__content {
    flex-direction: column;
    text-align: center;
  }
}
