:root {
  color-scheme: light;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #38bdf8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --bg-top: #f9fbff;
  --bg-bottom: #eef2ff;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-soft: rgba(250, 252, 255, 0.8);
  --card: #ffffff;
  --card-muted: #f8faff;
  --border: #e2e8f0;
  --border-strong: #d0daf5;
  --shadow-soft: 0 24px 48px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 32px 64px rgba(37, 99, 235, 0.18);
  --text: #0f172a;
  --text-muted: #475569;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.15);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f80ff 0%, #2f66ff 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 18px 36px rgba(47, 102, 255, 0.28);
}

.logo__text {
  display: grid;
  gap: 2px;
}

.logo__title {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.logo__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nav {
  position: relative;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav__list a:hover {
  color: var(--primary);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(248, 250, 255, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3.6rem, 6vw, 5rem);
  background: radial-gradient(56% 66% at 20% 18%, rgba(81, 129, 255, 0.18) 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, rgba(250, 250, 255, 0.94) 0%, rgba(236, 240, 255, 0.88) 100%);
}

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

.hero__content h1 {
  margin: 1rem 0 1.35rem;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.hero__content h1 span {
  color: var(--primary);
  display: inline-block;
}

.hero__content p {
  color: var(--text-muted);
  max-width: 520px;
}

.hero__eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(71, 85, 105, 0.72);
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.35);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.38);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.button--ghost:hover {
  background: rgba(37, 99, 235, 0.12);
}

.hero__stats {
  margin: 34px 0 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0;
}

.hero__stats div {
  min-width: 120px;
}

.hero__stats dt {
  margin: 0 0 6px;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
}

.hero__stats dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.hero__screen {
  width: min(380px, 100%);
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(233, 240, 255, 0.9) 100%);
  border: 1px solid rgba(209, 218, 255, 0.7);
  box-shadow: var(--shadow-strong);
}

.screen__header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.screen__header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  opacity: 0.9;
}

.screen__body h3 {
  margin: 0 0 18px;
}

.screen__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  color: var(--text-muted);
}

.screen__label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.features {
  padding: 4.6rem 0;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.92) 0%, rgba(242, 246, 255, 0.92) 100%);
  border-top: 1px solid rgba(209, 218, 243, 0.8);
  border-bottom: 1px solid rgba(209, 218, 243, 0.8);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(71, 85, 105, 0.7);
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
}

.section-heading p {
  color: var(--text-muted);
  margin-top: 18px;
}

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

.card {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 244, 255, 0.94) 100%);
  border: 1px solid rgba(212, 222, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

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

.card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

.showcase {
  padding: 4.8rem 0;
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.95) 0%, rgba(233, 238, 255, 0.95) 100%);
  border-top: 1px solid rgba(206, 216, 240, 0.9);
  border-bottom: 1px solid rgba(206, 216, 240, 0.9);
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.showcase__copy p {
  color: var(--text-muted);
  max-width: 520px;
}

.showcase__actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chat-card {
  border-radius: 30px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 239, 255, 0.95) 100%);
  border: 1px solid rgba(207, 219, 255, 0.9);
  box-shadow: var(--shadow-strong);
  display: grid;
  gap: 18px;
}

.chat-card__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
}

.chat-card__thread {
  display: grid;
  gap: 16px;
}

.chat-entry {
  border-radius: 20px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--text);
}

.chat-entry span {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.chat-entry--user {
  background: rgba(148, 163, 184, 0.18);
}

.cta {
  padding: 4.4rem 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 1px solid rgba(205, 218, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.cta__inner p {
  color: var(--text-muted);
  max-width: 480px;
}

.testimonials {
  padding: 4.6rem 0;
  background: linear-gradient(180deg, rgba(249, 250, 255, 0.94) 0%, rgba(236, 239, 255, 0.94) 100%);
  border-top: 1px solid rgba(212, 220, 243, 0.85);
  border-bottom: 1px solid rgba(212, 220, 243, 0.85);
}

.card-grid--testimonials {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--text-muted);
}

.testimonial-card figcaption {
  margin-top: 18px;
  display: grid;
  gap: 4px;
  color: rgba(71, 85, 105, 0.72);
}

.testimonial-card figcaption span:first-child {
  color: var(--text);
  font-weight: 600;
}

.contact {
  padding: 4.8rem 0 5.2rem;
  background: linear-gradient(180deg, rgba(244, 247, 255, 0.96) 0%, rgba(232, 237, 255, 0.96) 100%);
  border-top: 1px solid rgba(208, 220, 245, 0.9);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}

.contact__info p {
  color: var(--text-muted);
  max-width: 520px;
}

.contact__details {
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}

.contact__details dt {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(71, 85, 105, 0.7);
}

.contact__details dd {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--text);
}

.contact__form {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 255, 0.96) 100%);
  border: 1px solid rgba(207, 218, 255, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.contact__form label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.form__note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(71, 85, 105, 0.7);
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 255, 0.96) 100%);
  padding: 3.2rem 0 2.6rem;
  border-top: 1px solid rgba(208, 217, 240, 0.92);
  box-shadow: 0 -16px 32px rgba(179, 190, 210, 0.22);
}

.site-footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__brand {
  max-width: 340px;
}

.site-footer__brand p {
  color: var(--text-muted);
  margin-top: 16px;
}

.logo--small .logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.site-footer__links strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: rgba(71, 85, 105, 0.75);
  margin-bottom: 12px;
}

.site-footer__links a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(205, 214, 235, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer__bottom nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 960px) {
  .site-header__inner {
    padding: 14px 0;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--panel);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__list.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .hero__stats {
    gap: 20px;
  }

  .cta__inner {
    padding: 32px;
  }

  .contact__form {
    padding: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
