:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f7f8fb;
  --muted: #a9adba;
  --soft: #d7dbe7;
  --brand: #ffffff;
  --green: #61d394;
  --blue: #85b7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 10% 20%, rgba(133, 183, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 90% 40%, rgba(97, 211, 148, 0.10), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(5, 6, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 132px;
  max-width: 48vw;
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.24));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
}

.button.primary {
  background: #f5f7fb;
  color: #090a0d;
  border-color: #f5f7fb;
}

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

button.button {
  font: inherit;
}

.hero {
  padding: 92px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(97, 211, 148, 0.9);
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  max-width: 660px;
}

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

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 24px;
  min-height: 430px;
  display: grid;
  gap: 14px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric,
.conversation,
.status-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 12, 0.55);
  border-radius: 20px;
  padding: 18px;
}

.metric strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}

.metric span,
.conversation span,
.status-panel span {
  color: var(--muted);
  font-size: 13px;
}

.conversation {
  min-height: 150px;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--soft);
  line-height: 1.45;
}

.bubble.user {
  margin-left: auto;
  background: rgba(133, 183, 255, 0.16);
  border: 1px solid rgba(133, 183, 255, 0.25);
}

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

.status-grid.channels-grid {
  grid-template-columns: repeat(2, 1fr);
}

.status-pill {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.channel-pill.whatsapp {
  color: #66dfa1;
  border-color: rgba(102, 223, 161, 0.34);
  background: rgba(102, 223, 161, 0.10);
}

.channel-pill.messenger {
  color: #85b7ff;
  border-color: rgba(133, 183, 255, 0.36);
  background: rgba(133, 183, 255, 0.11);
}

.channel-pill.instagram {
  color: #ff9cd2;
  border-color: rgba(255, 156, 210, 0.34);
  background: rgba(255, 156, 210, 0.10);
}

.channel-pill.telegram {
  color: #7fd7ff;
  border-color: rgba(127, 215, 255, 0.34);
  background: rgba(127, 215, 255, 0.10);
}

.channel-word.whatsapp {
  color: #66dfa1;
}

.channel-word.messenger {
  color: #85b7ff;
}

.channel-word.instagram {
  color: #ff9cd2;
}

.channel-word.telegram {
  color: #7fd7ff;
}

.channel-word.webchat {
  color: #d7dbe7;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
}

.section-head p,
.legal-layout p,
.legal-layout li {
  color: var(--muted);
  line-height: 1.7;
}

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

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 22px;
}

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

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

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 26px;
  padding: 28px;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(97, 211, 148, 0.15);
  border: 1px solid rgba(97, 211, 148, 0.35);
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.cta {
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  border-radius: 30px;
  padding: 46px 24px;
  box-shadow: var(--shadow);
}

.footer {
  margin-top: 56px;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

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

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(16px);
}

.modal-backdrop[hidden] {
  display: none;
}

.demo-modal {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(26, 28, 34, 0.96), rgba(13, 14, 18, 0.96));
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.demo-modal h2 {
  margin-top: 18px;
}

.demo-modal p {
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.demo-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.demo-form textarea {
  resize: vertical;
}

.demo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.11);
}

.legal-layout {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-layout h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.legal-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  padding: 28px;
  margin-top: 22px;
}

.legal-card h2 {
  font-size: 24px;
  margin-top: 4px;
}

@media (max-width: 840px) {
  .nav-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 118px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 58px 0 34px;
  }

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

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

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

  .section-head {
    display: block;
  }

  .metric-row,
  .status-grid {
    grid-template-columns: 1fr;
  }
}
