* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-muted: #f4f7fb;
  --bg-dark: #0b1020;
  --bg-dark-soft: #151a31;
  --text: #172033;
  --text-muted: #61708a;
  --text-light: #d7dfeb;
  --line: #dfe6ef;
  --primary: #6d5dfc;
  --primary-dark: #5546dc;
  --accent: #16c9c0;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --radius: 22px;
  --container: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

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

.section {
  padding: 104px 0;
}

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

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(109, 93, 252, 0.18), transparent 35%),
    var(--bg-dark);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 25px rgba(109, 93, 252, 0.28);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text {
  font-size: 1.08rem;
}

.logo-tag {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344158;
  font-weight: 600;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  padding-top: 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.8), rgba(255, 255, 255, 0)),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #8b7cff);
  box-shadow: 0 14px 30px rgba(109, 93, 252, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.button-secondary {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
}

.button-full {
  width: 100%;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-points div {
  display: flex;
  flex-direction: column;
}

.hero-points strong {
  margin-bottom: 2px;
  font-size: 1rem;
}

.hero-points span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.brand-meaning {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(109, 93, 252, 0.18);
  border-radius: 16px;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(109, 93, 252, 0.06), rgba(22, 201, 192, 0.05));
  font-size: 0.92rem;
}

.brand-meaning strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(340px, 90vw);
  padding: 12px;
  border: 8px solid #0b1120;
  border-radius: 45px;
  background: #0b1120;
  box-shadow: 0 45px 90px rgba(15, 23, 42, 0.25);
}

.phone-top {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #0b1120;
  z-index: 2;
}

.phone-screen {
  min-height: 570px;
  padding: 48px 16px 18px;
  border-radius: 31px;
  overflow: hidden;
  background:
    linear-gradient(rgba(237, 243, 249, 0.92), rgba(237, 243, 249, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(109, 93, 252, 0.03) 8px 16px);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d5deea;
}

.chat-header .avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.chat-header div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-header span {
  color: #718096;
  font-size: 0.78rem;
}

.message {
  max-width: 88%;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 12px 12px 12px 4px;
  color: #243047;
  background: white;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  font-size: 0.9rem;
}

.message.compact {
  margin-top: 14px;
  font-size: 0.8rem;
}

.bot-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bot-menu button {
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  color: #25405f;
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  min-width: 165px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(223, 230, 239, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

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

.floating-card strong {
  font-size: 1rem;
}

.floating-card-a {
  top: 90px;
  left: 0;
}

.floating-card-b {
  right: -12px;
  bottom: 90px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 52px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-heading-light p {
  color: var(--text-light);
}

.problem-grid,
.feature-grid,
.package-grid {
  display: grid;
  gap: 22px;
}

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

.problem-card,
.feature-card,
.package-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.problem-card {
  padding: 28px;
}

.card-icon {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.problem-card p,
.feature-card p,
.package-card li,
.deployment p,
.benefit-item p {
  color: var(--text-muted);
}

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

.feature-card {
  position: relative;
  min-height: 220px;
  padding: 30px;
  overflow: hidden;
}

.feature-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary);
  font-weight: 800;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(109, 93, 252, 0.06);
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.flow-item {
  min-height: 176px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.flow-icon {
  margin-bottom: 14px;
  font-size: 2rem;
}

.flow-item span {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.flow-arrow {
  color: #b0a8ff;
  font-size: 2rem;
}

.how-note {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.how-note strong {
  color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.benefit-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(109, 93, 252, 0.1);
  font-weight: 900;
}

.benefit-item p {
  margin-bottom: 0;
}

.package-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.package-card {
  padding: 30px;
}

.package-featured {
  border-color: rgba(109, 93, 252, 0.45);
  box-shadow: 0 22px 55px rgba(109, 93, 252, 0.14);
}

.package-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(109, 93, 252, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.package-card ul {
  min-height: 210px;
  padding-left: 20px;
}

.package-card li {
  margin-bottom: 10px;
}

.package-price {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 800;
}

.price-note {
  max-width: 830px;
  margin: 28px auto 0;
  color: var(--text-muted);
  text-align: center;
}

.deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.deployment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.deployment-card > div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.deployment-card span {
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
}

.deployment-card strong {
  display: block;
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-grid > div > p {
  color: var(--text-light);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.contact-lines a {
  color: #b9b2ff;
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9186ff;
}

.form-note {
  margin: 14px 0 0;
  color: #9eabc0;
  font-size: 0.8rem;
}

.site-footer {
  padding: 28px 0;
  color: #8794a8;
  background: #0a1020;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero-grid,
  .benefits-grid,
  .deployment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    max-width: 650px;
    margin: 0 auto;
  }

  .hero-visual {
    min-height: 600px;
  }

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

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .floating-card-a {
    left: 4%;
  }

  .floating-card-b {
    right: 4%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .floating-card {
    min-width: 145px;
    padding: 13px 15px;
  }

  .floating-card-a {
    top: 50px;
    left: 0;
  }

  .floating-card-b {
    right: 0;
    bottom: 55px;
  }

  .problem-grid,
  .feature-grid,
  .package-grid,
  .deployment-card {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .contact-form {
    padding: 22px;
  }
}
