:root {
  --ink: #081232;
  --muted: #5e6684;
  --paper: #ffffff;
  --mist: #f6f7ff;
  --blue: #1748ff;
  --violet: #5a20cf;
  --pink: #ec1169;
  --green: #15b971;
  --line: rgba(8, 18, 50, 0.1);
  --shadow: 0 24px 70px rgba(34, 22, 92, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(23, 72, 255, 0.08) 0 18%, transparent 18% 100%),
    linear-gradient(225deg, rgba(236, 17, 105, 0.08) 0 16%, transparent 16% 100%),
    linear-gradient(180deg, #fbfbff 0%, #eef2ff 48%, #ffffff 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(22, 30, 66, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(23, 72, 255, 0.12), rgba(236, 17, 105, 0.14));
  box-shadow: 0 12px 26px rgba(91, 34, 209, 0.25);
}

.brand-mark img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  transform: translateY(7px);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.04rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(23, 72, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mist);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
  align-items: center;
  gap: 28px;
  min-height: calc(100vh - 168px);
  padding: 20px 0 18px;
}

.col-8 {
  grid-column: span 1;
}

.col-4 {
  grid-column: span 1;
}

.eyebrow,
.section-heading span,
.automation-copy span,
.contact-copy span,
.launch-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.hero h1,
.section-heading h2,
.automation-copy h2,
.launch-card h2,
.contact-copy h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.45vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 19px;
  height: 19px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet) 48%, var(--pink));
  box-shadow: 0 18px 34px rgba(91, 34, 209, 0.26);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px rgba(22, 30, 66, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 580px;
  margin-top: 34px;
}

.hero-metrics div,
.feature-card,
.workflow-panel,
.launch-card,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 16px;
  border-radius: 8px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.55rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 470px;
}

.assistant-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 470px;
  width: 100%;
  overflow: visible;
}

.assistant-stage img {
  position: relative;
  z-index: 2;
  width: min(116%, 470px);
  max-height: 540px;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(22px);
  filter: drop-shadow(0 32px 30px rgba(8, 18, 50, 0.18));
}

.chat-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(28, 22, 75, 0.16);
}

.chat-card svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.chat-card-top {
  display: none;
  top: 36px;
  left: 30px;
  padding: 13px 16px;
  color: var(--ink);
  font-weight: 900;
}

.chat-card-bottom {
  display: none;
  right: 28px;
  bottom: 92px;
  width: min(260px, calc(100% - 48px));
  padding: 18px;
}

.chat-card-bottom strong,
.chat-card-bottom span {
  display: block;
}

.chat-card-bottom span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 70px;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  background: #071338;
  box-shadow: 0 18px 44px rgba(8, 18, 50, 0.18);
}

.logo-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.07);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.automation-copy h2,
.launch-card h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
}

.section-heading p,
.automation-copy p,
.launch-card p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
}

.feature-card svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
  padding: 9px;
  border-radius: 8px;
  background: rgba(23, 72, 255, 0.09);
}

.feature-card:nth-child(3) svg,
.feature-card:nth-child(4) svg {
  color: var(--pink);
  background: rgba(236, 17, 105, 0.08);
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.automation-band {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 28px;
  margin: 44px 0;
  padding: 54px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 18, 50, 0.96), rgba(22, 29, 91, 0.96)),
    radial-gradient(circle at 82% 22%, rgba(236, 17, 105, 0.48), transparent 24rem);
  box-shadow: 0 28px 70px rgba(8, 18, 50, 0.26);
}

.automation-copy span {
  color: #7bedc0;
}

.automation-copy h2,
.automation-copy p {
  color: #fff;
}

.automation-copy p,
.automation-copy li {
  color: rgba(255, 255, 255, 0.78);
}

.automation-copy ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.automation-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.automation-copy li svg {
  width: 22px;
  height: 22px;
  color: #7bedc0;
}

.workflow-panel {
  padding: 20px;
  border-radius: 8px;
  color: var(--ink);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-header span {
  color: var(--muted);
  font-weight: 800;
}

.workflow-steps {
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.step.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.demo-chat {
  display: grid;
  gap: 10px;
  min-height: 210px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--mist);
}

.bubble {
  max-width: 86%;
  margin: 0;
  padding: 13px 15px;
  border-radius: 8px;
  line-height: 1.5;
}

.bubble.user {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.bubble.bot {
  justify-self: start;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.bubble.small {
  color: var(--green);
  font-weight: 900;
}

.launch-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0 70%, rgba(236, 17, 105, 0.1) 70% 100%);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 96px);
  gap: 10px;
}

.countdown div {
  display: grid;
  min-height: 108px;
  place-items: center;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  background: #071338;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-size: 2rem;
  line-height: 1;
}

.countdown span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 96px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 72, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(23, 72, 255, 0.09);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .automation-band,
  .launch-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual,
  .assistant-stage {
    min-height: 500px;
  }

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

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

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    top: 8px;
    border-radius: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(22, 30, 66, 0.14);
  }

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

  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    position: relative;
    display: block;
    min-height: calc(100vh - 124px);
    padding-top: 20px;
    padding-bottom: 14px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(2.15rem, 11vw, 3.15rem);
  }

  .hero-text {
    max-width: 330px;
    font-size: 1rem;
    line-height: 1.62;
  }

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

  .hero-actions {
    width: calc(100% - 132px);
  }

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

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    margin-top: 20px;
    padding-right: 112px;
  }

  .hero-metrics div {
    padding: 10px 8px;
  }

  .hero-metrics strong {
    font-size: 1.1rem;
  }

  .hero-metrics span {
    font-size: 0.68rem;
  }

  .logo-strip {
    margin-bottom: 44px;
  }

  .hero-visual,
  .assistant-stage {
    min-height: 0;
  }

  .hero-visual {
    position: absolute;
    right: -2px;
    bottom: 24px;
    width: 116px;
    pointer-events: none;
  }

  .assistant-stage {
    min-height: 166px;
  }

  .assistant-stage img {
    width: 124px;
    max-height: 170px;
    transform: translateY(10px);
  }

  .chat-card-top {
    display: none;
  }

  .chat-card-bottom {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .automation-band {
    margin: 24px 0;
    padding: 28px 18px;
    border-radius: 8px;
  }

  .launch-card {
    padding: 22px;
  }

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