﻿:root {
  --bg: #ffffff;
  --bg-soft: #f7f8ff;
  --surface: #ffffff;
  --surface-2: #f3f5ff;
  --line: #e7eaf4;
  --text: #081225;
  --muted: #667085;
  --muted-2: #8a93a6;
  --accent: #a84bb4;
  --accent-2: #c47ad0;
  --accent-3: #ead2f0;
  --accent-soft: #f8edf9;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow-soft: 0 24px 60px rgba(22, 30, 58, 0.10);
  --shadow-card: 0 16px 40px rgba(22, 30, 58, 0.08);
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --icon-call-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a84bb4' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4.7l2.2-.9 2.1 4.7-1.6 1.2c.9 1.9 2.3 3.3 4.2 4.2l1.2-1.6 4.7 2.1-.9 2.2c-.4 1-1.4 1.6-2.5 1.4C9.9 16.9 5.1 12.1 4 6.1c-.2-1.1.5-2.1 1.5-2.5z'/%3E%3C/svg%3E");
  --icon-chat-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a84bb4' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.8 17.2H6a3 3 0 0 1-3-3V7.8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v6.4a3 3 0 0 1-3 3h-5.6L7.6 20a.5.5 0 0 1-.8-.42v-2.38z'/%3E%3Cpath d='M7.8 9.3h8.4M7.8 12.4h5.6'/%3E%3C/svg%3E");
  --icon-callback-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a84bb4' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.8v3M17 3.8v3M5.6 6h12.8A2.6 2.6 0 0 1 21 8.6v9.1a2.6 2.6 0 0 1-2.6 2.6H5.6A2.6 2.6 0 0 1 3 17.7V8.6A2.6 2.6 0 0 1 5.6 6zM3.4 10.2h17.2'/%3E%3Cpath d='M8 14.7h3.1l-1.2 1.2M11.1 14.7l-1.2-1.2'/%3E%3C/svg%3E");
  --icon-call-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4.7l2.2-.9 2.1 4.7-1.6 1.2c.9 1.9 2.3 3.3 4.2 4.2l1.2-1.6 4.7 2.1-.9 2.2c-.4 1-1.4 1.6-2.5 1.4C9.9 16.9 5.1 12.1 4 6.1c-.2-1.1.5-2.1 1.5-2.5z'/%3E%3C/svg%3E");
  --icon-chat-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.8 17.2H6a3 3 0 0 1-3-3V7.8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v6.4a3 3 0 0 1-3 3h-5.6L7.6 20a.5.5 0 0 1-.8-.42v-2.38z'/%3E%3Cpath d='M7.8 9.3h8.4M7.8 12.4h5.6'/%3E%3C/svg%3E");
  --icon-callback-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.8v3M17 3.8v3M5.6 6h12.8A2.6 2.6 0 0 1 21 8.6v9.1a2.6 2.6 0 0 1-2.6 2.6H5.6A2.6 2.6 0 0 1 3 17.7V8.6A2.6 2.6 0 0 1 5.6 6zM3.4 10.2h17.2'/%3E%3Cpath d='M8 14.7h3.1l-1.2 1.2M11.1 14.7l-1.2-1.2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(620px 360px at 82% 16%, rgba(168, 75, 180, 0.14), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 46%, #ffffff 100%);
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.5;
}

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

button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100vw - 42px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 234, 244, 0.8);
}

.topbar-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1) hue-rotate(180deg);
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--text); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.lang-toggle { position: relative; }

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-caret {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.lang-toggle.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: none;
  min-width: 74px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.lang-toggle.open .lang-menu { display: grid; gap: 4px; }

.lang-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active { background: var(--accent-soft); color: var(--accent); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.cta-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #a84bb4, #c47ad0);
  box-shadow: 0 14px 26px rgba(168, 75, 180, 0.28);
}

.cta-btn.secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 22px rgba(22, 30, 58, 0.06);
}

.page { padding: 66px 0 74px; }

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy { max-width: 560px; }

.kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.subtitle {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.action-pills {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(22, 30, 58, 0.06);
}

.action-pill[data-mock-action="call"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #a84bb4, #c47ad0);
}

.action-pill[data-mock-action="chat"] {
  color: var(--accent);
  border-color: transparent;
  background: linear-gradient(135deg, #eeecff, #fff8fd);
}

.action-pill[data-mock-action="callback"] {
  color: #81328f;
  border-color: rgba(168, 75, 180, 0.16);
  background: #fff;
}

.mock-action-icon,
.feature-icon::before,
.demo-option::before,
.call-hangup::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: transparent;
  background-image: var(--icon-call-violet);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.action-pill[data-mock-action="call"] .mock-action-icon,
.demo-option[data-demo-option="call"]::before,
.call-hangup::before {
  background-image: var(--icon-call-white);
}

[data-mock-action="chat"] .mock-action-icon,
[data-feature-icon="chat"]::before,
.demo-option[data-demo-option="chat"]::before {
  background-image: var(--icon-chat-violet);
}

[data-mock-action="callback"] .mock-action-icon,
[data-feature-icon="callback"]::before,
.demo-option[data-demo-option="callback"]::before {
  background-image: var(--icon-callback-violet);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.visual-blob {
  position: absolute;
  inset: 8% -4% 0 8%;
  border-radius: 42% 58% 44% 56%;
  background: linear-gradient(135deg, rgba(168, 75, 180, 0.12), rgba(196, 122, 208, 0.08));
  filter: blur(0.2px);
}

.product-demo {
  position: relative;
  min-height: 500px;
}

.browser-card {
  position: absolute;
  left: 0;
  top: 54px;
  width: min(510px, 76%);
  min-height: 342px;
  border: 1px solid rgba(231, 234, 244, 0.95);
  border-radius: 26px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.browser-chrome {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 22px;
  border-bottom: 1px solid rgba(231, 234, 244, 0.85);
  background: linear-gradient(180deg, #f8f9ff, #ffffff);
}

.demo-status {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
}

.demo-status::before { display: none; }

.demo-status.is-closed {
  color: #b42318;
  background: #fff1f0;
}

.chat-window {
  position: relative;
  min-height: 198px;
}

.chat-bubble {
  max-width: 238px;
  margin: 0 0 14px 122px;
  padding: 18px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(22, 30, 58, 0.10);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.chat-bubble small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.demo-chat-preview,
.demo-callback-preview {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 26px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.demo-msg,
.demo-form-row {
  width: fit-content;
  max-width: 260px;
  margin: 0 0 10px;
  padding: 12px 15px;
  border-radius: 18px;
  background: #f3f5ff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.demo-msg-out {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, #a84bb4, #c47ad0);
}

.demo-form-title {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 800;
}

.demo-widget-button { display: none; }

.demo-dropdown,
.mockup-actions {
  position: absolute;
  right: 32px;
  bottom: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(0);
  opacity: 1;
}

.demo-option,
.mockup-action {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  box-shadow: 0 14px 28px rgba(22, 30, 58, 0.10);
  font-size: 0;
  cursor: default;
}

.demo-option[data-demo-option="call"] {
  color: #fff;
  background: linear-gradient(135deg, #a84bb4, #c47ad0);
  border-color: transparent;
}

.demo-option[data-demo-option="chat"] {
  color: #a84bb4;
  background: linear-gradient(135deg, #f8edf9, #fff8fd);
  border-color: transparent;
}

.demo-option[data-demo-option="callback"] {
  color: #9840a7;
  background: #fff;
  border-color: rgba(168, 75, 180, 0.16);
}

.demo-option.is-active { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(102,88,246,0.22); }
.demo-option.is-hidden { display: none; }

.demo-input {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: #f6f7fb;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
}

.demo-send {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a84bb4, #c47ad0);
  color: #fff;
}

.call-card {
  position: absolute;
  right: 0;
  top: 108px;
  width: 176px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 18px 18px;
  border: 1px solid rgba(19, 26, 43, 0.24);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 24px 54px rgba(22,30,58,0.13);
}

.call-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
}

.call-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.call-hangup {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--danger);
  box-shadow: 0 14px 28px rgba(239,68,68,0.26);
  animation: callBreath 2s ease-in-out infinite;
  font-size: 0;
}

.call-hangup::before {
  width: 20px;
  height: 20px;
  transform: rotate(135deg);
}

@keyframes callBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.demo-cursor,
.demo-click-ring { display: none; }

.hero-demo[data-demo-scene="chat"] .chat-bubble,
.hero-demo[data-demo-scene="call"] .chat-bubble,
.hero-demo[data-demo-scene="closed"] .chat-bubble { opacity: 0; }
.hero-demo[data-demo-scene="chat"] [data-demo-chat],
.hero-demo[data-demo-scene="call"] [data-demo-chat],
.hero-demo[data-demo-scene="closed"] [data-demo-callback-form] { opacity: 1; transform: translateY(0); }
.hero-demo[data-demo-scene="call"] .call-card { border-color: rgba(102,88,246,0.48); box-shadow: 0 28px 62px rgba(102,88,246,0.18); }

.section {
  padding: 80px 0 0;
}

.section.compact { padding-top: 54px; }

.section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-subtitle {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards-3,
.feature-grid,
.pricing-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.card,
.feature-card,
.plan-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.card h3,
.feature-card h3,
.plan-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}

.feature-icon[data-feature-icon="chat"] { color: #9840a7; background: #f2f0ff; }
.feature-icon[data-feature-icon="callback"] { color: #c47ad0; background: #fff; border: 1px solid rgba(102,88,246,0.16); }

.flow-line {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flow-step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.flow-step::before {
  content: attr(data-step);
  position: absolute;
  top: -17px;
  left: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th, td {
  padding: 18px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td { color: var(--text); font-weight: 650; }

.tax-note { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

.list { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 8px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 26px;
}

.legal h1 { letter-spacing: -0.04em; }
.legal h2 { margin-top: 34px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); text-decoration: underline; }
.legal code {
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--text);
}

.footer {
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .topbar-inner { grid-template-columns: 1fr; justify-items: start; padding: 12px 0; }
  .nav { justify-content: flex-start; }
  .lang-switch { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 480px; }
  .cards-3, .feature-grid, .pricing-grid, .flow-line, .split { grid-template-columns: 1fr; }
  .flow-line { gap: 34px; }
}

@media (max-width: 680px) {
  .container { width: min(100vw - 28px, 1180px); }
  .page { padding-top: 42px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .hero-actions, .action-pills { width: 100%; }
  .cta-btn, .action-pill { width: 100%; }
  .hero-visual { min-height: 540px; }
  .browser-card { width: 100%; top: 26px; }
  .call-card { width: 42%; min-width: 142px; right: 8px; top: 250px; height: 224px; }
  .chat-bubble { margin-left: 18px; }
  .demo-dropdown { left: 20px; right: auto; bottom: 82px; }
  .demo-option { width: 46px; height: 46px; }
  .demo-input { left: 16px; right: 16px; }
  .section { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
