:root {
  --bg: #040713;
  --bg-soft: #090d1c;
  --ink: #080a16;
  --text: #ffffff;
  --muted: #a7adca;
  --muted-dark: #5e6685;
  --line: rgba(141, 117, 255, 0.24);
  --purple: #7c3cff;
  --purple-two: #a855ff;
  --violet: #4c1dff;
  --pink: #ff4fd8;
  --blue: #2f6bff;
  --green: #38d987;
  --white: #ffffff;
  --paper: #f7f8ff;
  --card: rgba(17, 21, 43, 0.76);
  --shadow-purple: 0 28px 90px rgba(101, 60, 255, 0.42);
  --shadow-soft: 0 22px 70px rgba(10, 16, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 5vw, 78px);
  background: rgba(4, 7, 19, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.trust-row,
.logos div,
.feature-list article,
.lead-line,
.stats,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
}

.brand-name {
  color: var(--white);
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  background: linear-gradient(135deg, #8a5cff 10%, #6524ff 46%, #ba6dff 86%);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(124, 60, 255, 0.45);
}

.brand-mark.logo-mark {
  overflow: hidden;
  background: #050713;
  border: 1px solid rgba(142, 118, 255, 0.3);
}

.brand-mark.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.35);
}

.nav {
  gap: clamp(22px, 4vw, 54px);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
}

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

.header-actions {
  gap: 20px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switcher select {
  width: auto;
  min-height: auto;
  padding: 0 18px 0 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher select option {
  color: var(--ink);
}

.login-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 0.92rem;
}

.primary-btn,
.secondary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, #8d5cff, #5a19ff 58%, #8b2cff);
  box-shadow: 0 18px 40px rgba(99, 48, 255, 0.4);
}

.primary-btn.small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.secondary-btn,
.outline-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.outline-btn {
  color: var(--violet);
  background: var(--white);
  border-color: rgba(76, 29, 255, 0.26);
}

.primary-btn:hover,
.secondary-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.primary-btn span {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  min-height: 100vh;
  padding: 132px clamp(22px, 5vw, 78px) 70px;
  background:
    radial-gradient(circle at 76% 53%, rgba(123, 60, 255, 0.34), transparent 26%),
    radial-gradient(circle at 52% 64%, rgba(255, 79, 216, 0.12), transparent 22%),
    linear-gradient(180deg, #060817 0%, #06091a 58%, #050714 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 72% 52%, black, transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -13vw;
  bottom: -24vw;
  width: 70vw;
  aspect-ratio: 1;
  border: 1px solid rgba(138, 92, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 34px rgba(138, 92, 255, 0.02),
    inset 0 0 0 84px rgba(138, 92, 255, 0.018),
    0 0 120px rgba(110, 54, 255, 0.22);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.logos,
.product,
.automation,
.pricing,
.contact {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 24px;
  padding: 0 14px;
  color: #c7adff;
  background: rgba(124, 60, 255, 0.18);
  border: 1px solid rgba(168, 85, 255, 0.28);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pill.light {
  color: var(--violet);
  background: rgba(124, 60, 255, 0.09);
  border-color: rgba(124, 60, 255, 0.22);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 0 13px;
  color: #efe7ff;
  background: rgba(124, 60, 255, 0.16);
  border: 1px solid rgba(168, 85, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(124, 60, 255, 0.34);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 4%, #9b73ff 34%, #6b2dff 72%, #c16cff);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.4vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.message-card,
.crm-card,
.dashboard {
  border: 1px solid rgba(142, 118, 255, 0.42);
  background: linear-gradient(180deg, rgba(31, 35, 72, 0.88), rgba(18, 21, 48, 0.82));
  box-shadow: var(--shadow-purple);
  backdrop-filter: blur(16px);
}

.dm-stack {
  position: absolute;
  left: 0;
  top: 88px;
  display: grid;
  gap: 34px;
  width: min(310px, 42%);
}

.message-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
}

.message-card p,
.crm-card p,
.section-title p,
.feature-list p,
.workflow p,
.price-card p,
.contact-panel p {
  color: var(--muted-dark);
  line-height: 1.65;
}

.message-card p,
.crm-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.channel-icon,
.avatar,
.brand-mini {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, #ff4fd8, #ff8b37);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.channel-icon.dark {
  background: linear-gradient(135deg, #06070c, #25283b);
}

.channel-icon.blue {
  background: linear-gradient(135deg, #2f6bff, #725cff);
}

.ai-core {
  position: absolute;
  top: 182px;
  left: 43%;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(154, 106, 255, 0.9);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15), transparent 44%),
    linear-gradient(145deg, #21154d, #0d1028);
  box-shadow: 0 0 70px rgba(124, 60, 255, 0.76);
}

.ai-core span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--white);
  background: linear-gradient(135deg, #a175ff, #682bff);
  border-radius: 18px;
  font-size: 2.7rem;
  font-weight: 950;
}

.flow-line {
  position: absolute;
  top: 252px;
  height: 2px;
  border-top: 2px dashed rgba(169, 118, 255, 0.86);
}

.flow-line::after {
  content: ">";
  position: absolute;
  right: -4px;
  top: -14px;
  color: #b387ff;
  font-weight: 900;
}

.flow-line.left {
  left: 29%;
  width: 15%;
}

.flow-line.right {
  left: calc(43% + 150px);
  width: 15%;
}

.crm-card {
  position: absolute;
  right: 0;
  top: 178px;
  width: min(250px, 34%);
  padding: 20px;
  border-radius: 18px;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.qualified {
  width: fit-content;
  margin-top: 18px;
  padding: 8px 10px;
  color: #8df0b8;
  background: rgba(56, 217, 135, 0.13);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.visual-caption {
  position: absolute;
  left: 43%;
  top: 360px;
  width: 160px;
  color: #bfa8ff;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
}

.logos {
  padding: 30px clamp(22px, 5vw, 78px);
  color: var(--ink);
  background: var(--paper);
  text-align: center;
}

.early {
  padding: 80px clamp(22px, 5vw, 78px) 88px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid rgba(76, 29, 255, 0.1);
}

.early .section-title {
  margin-bottom: 34px;
}

.early-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.early-grid article {
  min-height: 180px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(76, 29, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.early-grid p {
  margin-bottom: 0;
  color: var(--muted-dark);
  line-height: 1.65;
}

.logos p {
  margin-bottom: 24px;
  color: #252944;
  font-weight: 800;
}

.logos div {
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(22px, 7vw, 92px);
  color: #6b7190;
  font-size: 1.22rem;
  font-weight: 900;
}

.logo-strip .integration-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(120px, 15vw, 168px);
  opacity: 0.6;
}

.integration-logo svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.integration-logo text {
  fill: currentColor;
  stroke: none;
  font: 800 18px "Inter", Arial, sans-serif;
}

.product,
.automation,
.pricing,
.contact {
  scroll-margin-top: 96px;
  padding: clamp(70px, 8vw, 118px) clamp(22px, 5vw, 78px);
  background: var(--paper);
}

.product {
  padding-top: 80px;
  padding-bottom: 100px;
}

.section-title {
  max-width: 830px;
  margin-bottom: 42px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title p:not(.pill) {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.03rem;
}

.section-title.centered p:not(.pill) {
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(76, 29, 255, 0.11);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.feature-list span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--violet);
  background: rgba(124, 60, 255, 0.1);
  border-radius: 999px;
  font-weight: 950;
}

.dashboard {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 420px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 60, 255, 0.36), transparent 30%),
    linear-gradient(145deg, #12172e, #080b19);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.58);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.brand-mini {
  background: linear-gradient(135deg, #8d5cff, #4c1dff);
}

.dashboard-main {
  padding: 16px;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dash-head button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 14px;
}

.lead-line {
  gap: 14px;
  min-height: 72px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.lead-line div {
  flex: 1;
}

.lead-line small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
}

.lead-line em {
  padding: 7px 10px;
  color: #8df0b8;
  background: rgba(56, 217, 135, 0.13);
  border-radius: 999px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.stats {
  gap: 12px;
  margin-top: 16px;
}

.stats div {
  flex: 1;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.8rem;
}

.stats span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
}

.automation {
  border-top: 1px solid rgba(76, 29, 255, 0.1);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.workflow.timeline {
  position: relative;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  gap: 0;
}

.workflow.timeline::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 38px;
  width: 2px;
  background: linear-gradient(180deg, rgba(124, 60, 255, 0.15), rgba(124, 60, 255, 0.72), rgba(124, 60, 255, 0.15));
}

.workflow article,
.price-card,
.contact-panel {
  background: var(--white);
  border: 1px solid rgba(76, 29, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.workflow article {
  position: relative;
  min-height: 238px;
  padding: 26px 18px;
  color: var(--ink);
  text-align: center;
}

.workflow.timeline article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 124px;
  margin-bottom: 18px;
  padding: 24px 28px;
  text-align: left;
}

.workflow.timeline article h3,
.workflow.timeline article p {
  max-width: 360px;
}

.workflow.timeline article p {
  margin-bottom: 0;
}

.workflow article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 74px;
  width: 20px;
  border-top: 2px dashed rgba(124, 60, 255, 0.54);
}

.workflow.timeline article:not(:last-child)::after {
  content: "↓";
  right: auto;
  top: auto;
  bottom: -22px;
  left: 37px;
  width: auto;
  border: 0;
  color: var(--violet);
  font-size: 1.1rem;
  font-weight: 950;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  color: var(--white);
  background: linear-gradient(135deg, #8d5cff, #4c1dff);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(76, 29, 255, 0.24);
}

.workflow.timeline .step-icon {
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 520px;
  padding: 34px;
  color: var(--ink);
}

.price-card.popular {
  border-color: rgba(124, 60, 255, 0.72);
  box-shadow: 0 26px 80px rgba(76, 29, 255, 0.19);
  transform: translateY(-12px);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 16px;
  color: var(--white);
  background: linear-gradient(135deg, #8d5cff, #4c1dff);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 8px 0 12px;
}

.price-line strong {
  margin: 0;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1;
}

.price-line span {
  margin-bottom: 14px;
  color: #29304a;
  font-size: 0.94rem;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  color: #29304a;
}

.launch-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 7px 10px;
  color: var(--violet);
  background: rgba(124, 60, 255, 0.09);
  border: 1px solid rgba(124, 60, 255, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--violet);
  font-weight: 950;
}

.price-card a {
  align-self: end;
  width: 100%;
}

.contact {
  background:
    radial-gradient(circle at 22% 14%, rgba(124, 60, 255, 0.24), transparent 24%),
    linear-gradient(180deg, #080b1a, #050713);
}

.final-cta {
  padding: clamp(52px, 7vw, 86px) clamp(22px, 5vw, 78px);
  background: #050713;
}

.final-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(142, 118, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 50%, rgba(124, 60, 255, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(24, 29, 62, 0.88), rgba(10, 13, 32, 0.96));
}

.final-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  color: var(--text);
  background: linear-gradient(145deg, rgba(24, 29, 62, 0.88), rgba(13, 16, 36, 0.94));
  border-color: rgba(142, 118, 255, 0.34);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
}

select option {
  color: var(--ink);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-note {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #8df0b8;
}

.form-status[data-state="error"] {
  color: #ff9a9a;
}

.site-footer {
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(22px, 5vw, 78px);
  background: #040713;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-nav a:hover {
  color: var(--white);
}

.legal-page {
  min-height: 100vh;
  background: #050815;
  color: var(--white);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-header > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-document {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: #b8a7ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-document h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.legal-document h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-document p,
.legal-document li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-note {
  margin-top: 42px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.seo-page {
  min-height: 100vh;
  background: #050815;
  color: var(--white);
}

.seo-header {
  position: relative;
}

.seo-header-link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.seo-header-link:hover {
  color: var(--white);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.95;
}

.seo-hero-copy > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.seo-hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-purple);
}

.seo-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-section {
  padding: clamp(60px, 8vw, 110px) clamp(22px, 5vw, 78px);
}

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

.seo-grid article,
.seo-cta {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.seo-grid span {
  color: #b8a7ff;
  font-size: 0.8rem;
  font-weight: 900;
}

.seo-grid h3,
.seo-cta h2 {
  margin: 12px 0 10px;
}

.seo-grid p,
.seo-band li,
.seo-cta p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.seo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(54px, 7vw, 86px) clamp(22px, 5vw, 78px);
  background: #080d1f;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-band h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.seo-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.seo-cta {
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .hero,
  .product-grid,
  .contact-panel,
  .seo-hero,
  .seo-band {
    grid-template-columns: 1fr;
  }

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

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

  .workflow.timeline,
  .pricing-grid,
  .early-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .workflow article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 22px;
  }

  .nav,
  .header-actions .primary-btn {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }

  .language-switcher {
    min-height: 40px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .login-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.86rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(12, 15, 34, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-purple);
  }

  .site-header.is-open .nav a {
    padding: 15px;
  }

  .hero {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

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

  .dm-stack,
  .ai-core,
  .crm-card,
  .visual-caption,
  .flow-line {
    position: static;
  }

  .dm-stack,
  .crm-card {
    width: 100%;
  }

  .hero-visual {
    display: grid;
    gap: 18px;
  }

  .ai-core {
    width: 118px;
    height: 118px;
    margin: 0 auto;
  }

  .visual-caption {
    width: auto;
  }

  .dashboard,
  .pricing-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .workflow.timeline article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .workflow.timeline::before {
    left: 50px;
  }

  .workflow.timeline article:not(:last-child)::after {
    left: 49px;
  }

  .workflow.timeline .step-icon {
    width: 60px;
    height: 60px;
  }

  .final-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-sidebar {
    display: none;
  }

  .price-card.popular {
    transform: none;
  }

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