:root {
  --bg: #080611;
  --bg-deep: #05040a;
  --surface: #100d1a;
  --surface-2: #151122;
  --surface-3: #1b1628;
  --ink: #f7f5fb;
  --muted: #aaa5b6;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --orange: #ff642d;
  --violet: #9b5cff;
  --aqua: #24c8d5;
  --max: 1260px;
  --radius: 22px;
  --small-radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.entry-curtain {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--ink);
  background: #030207;
  pointer-events: none;
  animation: curtain-out 760ms cubic-bezier(0.76, 0, 0.24, 1) 700ms forwards;
}

.entry-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.08em;
  animation: entry-mark 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.entry-mark img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
}

.entry-curtain p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  animation: entry-copy 480ms ease 180ms both;
}

.scroll-progress {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
.brand,
.button,
.header-cta {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #111;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 6, 17, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 6, 17, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
  font-size: 14px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.header-cta {
  color: #fff;
  background: var(--orange);
}

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

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 20%;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.18);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% 42%;
  opacity: 0.88;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.06);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: hero-pulse 7s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(430px, 0.95fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 920px;
  margin-inline: auto;
  padding: 126px 0 116px;
}

.hero-copy {
  width: 100%;
}

.eyebrow,
.section-kicker,
.mini-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
  font-size: clamp(68px, 7.1vw, 108px);
  line-height: 0.77;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  animation: title-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 span:nth-child(1) { animation-delay: 880ms; }
.hero h1 span:nth-child(2) { animation-delay: 980ms; }
.hero h1 span:nth-child(3) { animation-delay: 1080ms; }
.hero h1 span:nth-child(4) { animation-delay: 1180ms; }

.hero .eyebrow,
.hero-lede,
.hero-actions {
  animation: copy-in 620ms ease both;
}

.hero .eyebrow { animation-delay: 820ms; }
.hero-lede { animation-delay: 1280ms; }
.hero-actions { animation-delay: 1360ms; }

.hero-priorities {
  width: 100%;
  animation: priority-in 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 1240ms both;
}

.priority-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #d8d4df;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.priority-label i {
  color: var(--orange);
  font-size: 20px;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  perspective: 1000px;
}

.priority-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 188px;
  padding: 22px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(12, 9, 21, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(18px);
}

.priority-card:hover,
.priority-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(20, 16, 32, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.priority-card > i {
  margin: 24px 0 18px;
  color: var(--aqua);
  font-size: 31px;
}

.priority-card:nth-child(2) > i { color: var(--orange); }
.priority-card:nth-child(3) > i { color: var(--aqua); }

.priority-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.06;
}

.priority-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.priority-index {
  color: #777182;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.priority-products {
  grid-column: 1 / -1;
  border-color: rgba(255, 100, 45, 0.72);
  background: rgba(31, 14, 15, 0.92);
}

.priority-products > i,
.priority-products .priority-index {
  color: var(--orange);
}

.priority-products > i {
  margin-bottom: 12px;
}

.priority-media {
  border-color: rgba(36, 200, 213, 0.34);
}

.store-proof {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #f4d7cc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-proof i {
  color: #fff;
  font-size: 15px;
}

.violet,
.violet-text {
  color: var(--violet) !important;
}

.aqua,
.aqua-text {
  color: var(--aqua) !important;
}

.orange,
.orange-text {
  color: var(--orange) !important;
}

.hero-lede {
  max-width: 630px;
  margin-bottom: 28px;
  color: #d2ced9;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

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

.button-primary {
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
}

.button-ghost {
  color: var(--ink);
  background: rgba(8, 6, 17, 0.56);
  border: 1px solid var(--line-strong);
}

.button-ghost:hover {
  border-color: var(--ink);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 0;
  color: #bbb6c5;
  font-size: 13px;
}

.motion-marquee {
  display: flex;
  gap: 44px;
  overflow: hidden;
  padding: 18px 0;
  color: #d8d4df;
  background: var(--orange);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.motion-marquee > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 26px;
  animation: marquee 26s linear infinite;
}

.motion-marquee i {
  color: #1b0c09;
  font-style: normal;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  color: var(--aqua);
  font-size: 17px;
}

.capability-switcher {
  padding-top: 110px;
  padding-bottom: 88px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading-row p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.tabs {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab-list button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  padding: 14px 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
}

.tab-list button:last-child {
  border-right: 0;
}

.tab-list button::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 3px;
  background: transparent;
}

.tab-list button[aria-selected="true"] {
  color: var(--ink);
  background: var(--surface-2);
}

.tab-list button[aria-selected="true"]::after {
  background: var(--violet);
}

.tab-list i {
  font-size: 22px;
}

.tab-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 22px;
  min-height: 540px;
  padding: 34px;
  animation: tabIn 280ms ease both;
}

.tab-panel[hidden] {
  display: none;
}

@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-copy {
  align-self: center;
  padding: 22px 10px 22px 8px;
}

.panel-copy h3 {
  font-size: clamp(30px, 3.3vw, 48px);
}

.panel-copy > p:not(.mini-label) {
  color: var(--muted);
}

.panel-copy .text-link {
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #d9d5df;
  font-size: 14px;
}

.check-list li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.check-list i {
  color: var(--violet);
}

.app-preview {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.app-preview-talkfast {
  border-color: rgba(155, 92, 255, 0.4);
}

.app-preview-consil {
  border-color: rgba(36, 200, 213, 0.38);
}

.app-preview-yourbd {
  border-color: rgba(255, 105, 54, 0.38);
}

.app-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.app-preview-head img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 13px;
}

.app-preview-head div {
  display: grid;
}

.app-preview-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.app-preview-head span {
  color: var(--muted);
  font-size: 12px;
}

.app-screen {
  width: min(92%, 320px);
  height: 395px;
  margin: 0 auto;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line-strong);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.app-preview > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -22px 0;
  padding: 16px 22px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
}

.app-preview-links {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.app-preview-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: rgba(8, 6, 17, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-decoration: none;
  font-size: 20px;
}

.wide-preview {
  position: relative;
  grid-column: 2 / -1;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.wide-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.wide-preview span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(8, 6, 17, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-weight: 700;
}

.automation-preview {
  grid-column: 2 / -1;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 300px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}

#panel-automation .bot-demo-grid {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.media-tab-panel {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.68fr);
}

.media-tab-preview {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg-deep);
  border: 1px solid rgba(36, 200, 213, 0.38);
  border-radius: 18px;
  text-decoration: none;
}

.media-tab-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.14);
}

.media-tab-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.media-tab-preview:hover > img {
  transform: scale(1.035);
}

.media-tab-status,
.media-tab-caption,
.media-tab-play {
  position: absolute;
  z-index: 2;
}

.media-tab-status {
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: rgba(5, 4, 10, 0.76);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.media-tab-status i {
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--aqua);
}

.media-tab-play {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 50px rgba(255, 100, 45, 0.34);
}

.media-tab-play i {
  font-size: 24px;
}

.media-tab-caption {
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 520px;
  padding: 16px;
  background: rgba(5, 4, 10, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.automation-preview div,
.automation-flow div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 20px 12px;
  text-align: center;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.automation-preview div > i,
.automation-flow div > i {
  margin-bottom: 8px;
  color: var(--aqua);
  font-size: 34px;
}

.automation-preview div:nth-of-type(3) > i,
.automation-flow div:nth-of-type(3) > i {
  color: var(--orange);
}

.automation-preview span,
.automation-flow span {
  color: var(--muted);
  font-size: 12px;
}

.flow-arrow {
  color: var(--muted);
}

.bot-demo-grid {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.bot-demo {
  min-width: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.bot-demo-telegram {
  box-shadow: inset 0 2px 0 rgba(155, 92, 255, 0.54);
}

.bot-demo-whatsapp {
  box-shadow: inset 0 2px 0 rgba(49, 215, 130, 0.54);
}

.bot-demo-head,
.bot-chat-head,
.bot-demo-outcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bot-demo-head {
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.bot-platform {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-platform > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #267ed8;
  border-radius: 11px;
  font-size: 23px;
}

.bot-demo-whatsapp .bot-platform > i {
  background: #1aa765;
}

.bot-platform > span,
.bot-chat-head > span:last-child,
.bot-result span {
  display: grid;
}

.bot-platform strong,
.bot-chat-head strong,
.bot-result strong {
  font-family: "Space Grotesk", sans-serif;
}

.bot-platform small,
.bot-chat-head small,
.bot-result small {
  color: var(--muted);
  font-size: 10px;
}

.bot-demo-head button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.bot-demo-head button:hover,
.bot-demo-head button:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
}

.bot-window {
  min-height: 390px;
  padding: 13px;
  background: #090713;
}

.bot-chat-head {
  justify-content: flex-start;
  padding: 10px 12px 14px;
  border-bottom: 1px solid var(--line);
}

.bot-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--violet);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.bot-demo-whatsapp .bot-avatar {
  color: #31d782;
}

.bot-avatar i {
  font-size: 20px;
}

.bot-chat-head small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bot-chat-head small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #31d782;
  border-radius: 50%;
}

.bot-conversation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 300px;
  padding: 15px 2px 2px;
}

.chat-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.4;
}

.bot-bubble {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.user-bubble {
  align-self: flex-end;
  color: #fff;
  background: #403064;
  border-bottom-right-radius: 4px;
}

.bot-demo-whatsapp .user-bubble {
  background: #176b4a;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quick-replies span {
  padding: 7px 10px;
  color: #d9cfff;
  border: 1px solid rgba(155, 92, 255, 0.55);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.quick-replies .is-picked {
  color: #fff;
  background: var(--violet);
}

.bot-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 12px;
  background: rgba(155, 92, 255, 0.1);
  border: 1px solid rgba(155, 92, 255, 0.34);
  border-radius: 12px;
}

.bot-demo-whatsapp .bot-result {
  background: rgba(49, 215, 130, 0.09);
  border-color: rgba(49, 215, 130, 0.34);
}

.bot-result > i {
  color: var(--violet);
  font-size: 24px;
}

.bot-demo-whatsapp .bot-result > i {
  color: #31d782;
}

.bot-demo-outcome {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 13px 16px 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bot-demo-outcome span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bot-demo-outcome i {
  color: var(--aqua);
  font-size: 14px;
}

body.bot-demos-ready .bot-demo [data-bot-step] {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

body.bot-demos-ready .bot-demo.is-running [data-bot-step] {
  animation: bot-step-in 460ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--step-delay) forwards;
}

body.bot-demos-ready .bot-demo.is-complete [data-bot-step] {
  opacity: 1;
  transform: none;
}

.service-map {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 74px;
  padding-top: 28px;
  padding-bottom: 112px;
}

.service-map-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.service-map-intro h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.service-map-intro > p:last-child {
  max-width: 500px;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  display: grid;
  grid-template-columns: 34px 40px 1fr;
  gap: 20px;
  min-height: 230px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid article > span {
  color: #777182;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.service-grid article > i {
  color: var(--violet);
  font-size: 34px;
}

.service-grid article:nth-child(2) > i {
  color: var(--orange);
}

.service-grid article:nth-child(3) > i {
  color: var(--aqua);
}

.service-grid h3 {
  font-size: 24px;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.projects {
  padding: 98px 0 112px;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 42px;
}

.project-controls {
  display: flex;
  gap: 10px;
}

.project-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.project-controls button:hover {
  border-color: var(--ink);
}

.project-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(540px, 46vw);
  gap: 18px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  min-height: 0;
  padding: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  scroll-snap-align: start;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 420ms ease;
}

.project-card:hover img {
  transform: scale(1.055);
}

.project-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  padding: 20px;
  color: var(--ink);
  background: rgba(8, 6, 17, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
}

.project-overlay small,
.project-overlay strong,
.project-overlay em {
  grid-column: 1;
}

.project-overlay small {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-overlay strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.project-overlay em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.project-overlay > i {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.products {
  padding-top: 112px;
  padding-bottom: 118px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-consil {
  grid-column: 1 / -1;
  min-height: 460px;
}

.product-consil .product-info {
  align-content: center;
  padding-inline: clamp(36px, 5vw, 72px);
}

.product-consil .product-image {
  background:
    radial-gradient(circle at 50% 24%, rgba(36, 200, 213, 0.18), transparent 48%),
    var(--surface-2);
}

.product-yourbd .product-image {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 105, 54, 0.16), transparent 50%),
    var(--surface-2);
}

.product-yourbd .product-image img {
  object-position: 52% center;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 0.72fr);
  min-height: 520px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-info {
  align-content: start;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 38px 20px 36px 36px;
}

.product-info > img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
}

.product-info h3 {
  margin: 0;
  font-size: 34px;
}

.product-info .mini-label {
  margin: 10px 0 3px;
}

.product-info > p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 16px;
}

.store-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: 10px;
}

.store-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 13px;
  color: var(--ink);
  background: #050505;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-decoration: none;
}

.store-links a:hover {
  border-color: var(--ink);
}

.store-links i {
  font-size: 25px;
}

.store-links span {
  display: grid;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
}

.store-links small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-image {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 34px 18px 0;
  background: var(--surface-2);
  border-left: 1px solid var(--line);
}

.live-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(8, 6, 17, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.live-badge i {
  color: var(--orange);
  font-size: 15px;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.product-image img {
  width: min(100%, 270px);
  height: 455px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line-strong);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.more-products {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 22px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.more-products span {
  margin-right: auto;
}

.more-products a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
}

.ai-media-section {
  padding: 118px 0;
  overflow: hidden;
  background: #07050d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-media-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.ai-media-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid rgba(36, 200, 213, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.5), 0 0 90px rgba(155, 92, 255, 0.08);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 200ms ease, border-color 200ms ease;
}

.ai-media-stage:hover {
  border-color: rgba(36, 200, 213, 0.62);
}

.ai-media-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.08);
  pointer-events: none;
}

.ai-media-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 5.2s linear;
}

.ai-media-stage.is-playing > img {
  transform: scale(1.075) translateX(-1.5%);
}

.ai-media-stage-top,
.ai-media-subtitle,
.ai-media-play,
.ai-media-timeline {
  position: absolute;
  z-index: 2;
}

.ai-media-stage-top {
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #eeeaf4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ai-media-stage-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(5, 4, 10, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.ai-media-stage-top span:last-child {
  border-color: transparent;
}

.ai-media-stage-top i {
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--aqua);
}

.ai-media-play {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  color: #fff;
  background: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 20px 70px rgba(255, 100, 45, 0.38);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.ai-media-play:hover,
.ai-media-play:focus-visible {
  background: #ff784c;
  transform: translate(-50%, -50%) scale(1.08);
}

.ai-media-play i {
  font-size: 28px;
}

.ai-media-subtitle {
  right: 22px;
  bottom: 42px;
  left: 22px;
  display: grid;
  gap: 5px;
  max-width: 520px;
  padding: 15px 17px;
  background: rgba(5, 4, 10, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.ai-media-subtitle small {
  color: var(--aqua);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ai-media-subtitle strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(15px, 1.45vw, 21px);
  line-height: 1.14;
}

.ai-media-timeline {
  right: 22px;
  bottom: 22px;
  left: 22px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.ai-media-timeline i {
  display: block;
  width: 32%;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
}

.ai-media-stage.is-playing .ai-media-timeline i {
  animation: media-progress 5.2s linear both;
}

.ai-media-copy h2 {
  font-size: clamp(44px, 5.5vw, 76px);
}

.ai-media-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.media-capability-list {
  display: grid;
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.media-capability-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.media-capability-list article > i {
  color: var(--aqua);
  font-size: 26px;
}

.media-capability-list article:nth-child(2) > i {
  color: var(--orange);
}

.media-capability-list article:nth-child(3) > i {
  color: var(--violet);
}

.media-capability-list div {
  display: grid;
  gap: 2px;
}

.media-capability-list strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.media-capability-list span {
  color: var(--muted);
  font-size: 13px;
}

.media-production-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #d9d4e0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-production-line span {
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.media-production-line i {
  color: var(--muted);
}

@keyframes media-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(3.12); }
}

.automation-section {
  padding: 96px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.automation-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: center;
}

.automation-heading h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.automation-heading > p:last-child {
  color: var(--muted);
}

.automation-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.automation-flow > i {
  color: var(--muted);
}

.automation-channels {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.automation-channels span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.automation-channels i {
  color: var(--violet);
  font-size: 18px;
}

.automation-channels span:nth-child(2) i {
  color: var(--aqua);
}

.automation-channels span:nth-child(3) i {
  color: var(--orange);
}

.process {
  display: grid;
  grid-template-columns: 0.64fr 1.36fr;
  gap: 70px;
  padding-top: 116px;
  padding-bottom: 116px;
}

.process-intro h2 {
  font-size: clamp(40px, 5vw, 62px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 205px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--line-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 50px;
  font-weight: 700;
}

.process-list li > i {
  color: var(--violet);
  font-size: 32px;
}

.process-list li:nth-child(2) > i,
.process-list li:nth-child(4) > i {
  color: var(--aqua);
}

.process-list li:nth-child(3) > i {
  color: var(--orange);
}

.process-list strong {
  display: block;
  margin: 3px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.contact-orbit {
  position: absolute;
  inset: 0 42% 0 0;
  opacity: 0.38;
}

.contact-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 58%;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 80px;
  align-items: center;
  min-height: 440px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact h2 {
  margin-bottom: 0;
  font-size: clamp(52px, 7vw, 92px);
}

.contact h2 span {
  display: block;
  color: var(--orange);
}

.contact-action > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.contact-action > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  color: var(--ink);
  background: rgba(16, 13, 26, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  text-decoration: none;
}

.contact-action > a > i:first-child {
  color: var(--orange);
  font-size: 28px;
}

.contact-action > a > i:last-child {
  font-size: 22px;
}

.contact-action > a span {
  display: grid;
  overflow-wrap: anywhere;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
}

.contact-action > a small {
  margin-bottom: 3px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(230px, 1fr) minmax(210px, 0.9fr) auto;
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  background: #030207;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand p,
.footer-brand small,
.footer-company p,
.footer-address p {
  margin: 8px 0 0;
}

.footer-brand small {
  display: block;
  color: #777182;
  font-size: 10px;
}

.footer-company strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.footer-company p + p {
  margin-top: 5px;
}

.footer-company span {
  color: var(--ink);
  font-weight: 700;
}

.footer-label {
  margin: 0 !important;
  color: #777182;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-address {
  font-style: normal;
}

.footer-address a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
}

.site-footer nav {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.project-dialog {
  width: min(1160px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: #090711;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.72);
}

.project-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.7fr);
  animation: dialog-in 260ms ease both;
}

.project-dialog::backdrop {
  background: rgba(3, 2, 7, 0.86);
  backdrop-filter: blur(16px);
}

.dialog-image {
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 28px;
  background: #030207;
}

.dialog-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.dialog-copy {
  align-self: center;
  padding: 48px 42px;
}

.dialog-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
}

.dialog-copy > p:not(.mini-label) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.dialog-close {
  position: fixed;
  z-index: 3;
  top: max(34px, calc((100vh - min(760px, 100vh - 40px)) / 2 + 14px));
  right: max(34px, calc((100vw - min(1160px, 100vw - 40px)) / 2 + 14px));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(8, 6, 17, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.dialog-close i {
  font-size: 22px;
}

body.reveal-enabled .reveal-item {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.reveal-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes curtain-out {
  to { transform: translateY(-102%); visibility: hidden; }
}

@keyframes entry-mark {
  from { opacity: 0; transform: scale(0.76) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes entry-copy {
  from { opacity: 0; letter-spacing: 0.75em; }
  to { opacity: 1; letter-spacing: 0.42em; }
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(70px) rotate(2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes priority-in {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-pulse {
  from { opacity: 0.72; filter: saturate(0.92); }
  to { opacity: 0.94; filter: saturate(1.18); }
}

@keyframes marquee {
  to { transform: translateX(calc(-100% - 44px)); }
}

@keyframes live-pulse {
  50% { opacity: 0.42; transform: scale(0.82); }
}

@keyframes bot-step-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Legal pages retain the same brand shell. */
.legal-page {
  min-height: 100vh;
  padding: 132px 24px 80px;
  background: var(--bg);
}

.legal-document {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 50px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.legal-document h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-document h2 {
  margin-top: 42px;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document a {
  color: var(--aqua);
}

.updated {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    order: 4;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
  }

  .site-nav.is-open {
    max-height: 420px;
    padding: 18px 0 10px;
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    margin-left: auto;
  }

  .header-cta {
    justify-self: end;
    margin-left: 12px;
  }

  .hero-copy {
    width: min(720px, 100%);
  }

  .hero-visual {
    inset-inline-start: 18%;
    opacity: 0.68;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 132px 0 108px;
  }

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

  .priority-card {
    min-height: 178px;
    padding: 18px;
  }

  .priority-card > i {
    margin: 20px 0 16px;
  }

  .tab-panel {
    grid-template-columns: 1fr 1fr;
  }

  .media-tab-panel {
    grid-template-columns: 1fr;
  }

  .media-tab-preview {
    min-height: 520px;
  }

  .panel-copy {
    grid-column: 1 / -1;
    max-width: 780px;
    padding-inline: 0;
  }

  .wide-preview,
  .automation-preview,
  .bot-demo-grid {
    grid-column: 1 / -1;
  }

  .service-map,
  .ai-media-inner,
  .automation-inner,
  .process {
    grid-template-columns: 1fr;
  }

  .service-map-intro {
    position: static;
  }

  .automation-channels {
    grid-column: 1;
  }

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

  .ai-media-copy {
    max-width: 760px;
  }

  .contact-inner {
    gap: 42px;
  }

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

@media (max-width: 900px) {
  .priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-image {
    min-height: 0;
    padding: 22px;
  }

  .dialog-copy {
    padding: 34px 28px 42px;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .hero-inner {
    width: min(100% - 32px, var(--max));
  }

  h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 11px 16px;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .hero-inner {
    gap: 38px;
    align-items: start;
    padding: 112px 0 42px;
  }

  .hero-visual {
    inset: 0;
    opacity: 0.46;
  }

  .hero-visual img {
    object-position: 64% 20%;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 94px);
    line-height: 0.8;
  }

  .hero-lede {
    max-width: 540px;
    font-size: 18px;
  }

  .hero-proof {
    position: relative;
    inset: auto;
    gap: 9px 16px;
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
    padding-bottom: 28px;
  }

  .priority-card {
    min-height: 174px;
  }

  .motion-marquee {
    padding-block: 14px;
    font-size: 11px;
  }

  .capability-switcher,
  .products,
  .process {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading-row,
  .projects-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tab-list {
    grid-template-columns: repeat(3, minmax(104px, 1fr));
    overflow-x: auto;
  }

  .tab-list button {
    flex-direction: column;
    gap: 6px;
    min-height: 84px;
    padding: 12px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .panel-copy,
  .wide-preview,
  .automation-preview,
  .bot-demo-grid,
  .media-tab-preview {
    grid-column: 1;
  }

  .app-preview {
    min-height: 520px;
  }

  .app-screen {
    height: 400px;
  }

  .wide-preview {
    min-height: 390px;
  }

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

  .automation-preview > i,
  .automation-flow > i {
    transform: rotate(90deg);
  }

  .bot-demo-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .bot-window {
    min-height: 370px;
  }

  .service-map {
    gap: 38px;
    padding-bottom: 82px;
  }

  .service-grid article {
    min-height: 190px;
  }

  .ai-media-section {
    padding: 82px 0;
  }

  .ai-media-inner {
    gap: 38px;
  }

  .ai-media-stage {
    border-radius: 17px;
  }

  .ai-media-play {
    width: 62px;
    height: 62px;
  }

  .projects {
    padding: 80px 0;
  }

  .project-track {
    grid-auto-columns: minmax(82vw, 82vw);
    padding-inline: 16px;
  }

  .project-card {
    min-height: 0;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-info {
    padding: 28px;
  }

  .product-image {
    min-height: 420px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-image img {
    height: 390px;
  }

  .more-products {
    align-items: flex-start;
    flex-direction: column;
  }

  .more-products span {
    margin-right: 0;
  }

  .automation-section {
    padding: 82px 0;
  }

  .automation-inner {
    gap: 34px;
  }

  .automation-channels {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .process {
    gap: 38px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    min-height: 600px;
  }

  .contact-orbit {
    inset: 0;
    opacity: 0.22;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 16px;
  }

  .legal-page {
    padding: 106px 16px 60px;
  }

  .legal-document {
    padding: 28px 22px;
  }

  .project-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .dialog-close {
    top: 22px;
    right: 22px;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .priority-card {
    min-height: 166px;
    padding: 16px;
  }

  .priority-products {
    min-height: 184px;
  }

  .priority-card > i {
    margin: 17px 0 14px;
  }

  .priority-card strong {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .tab-panel {
    padding: 16px;
  }

  .tab-list button {
    white-space: normal;
  }

  .media-tab-preview {
    min-height: 360px;
  }

  .ai-media-stage {
    aspect-ratio: 4 / 5;
  }

  .ai-media-stage > img {
    object-position: 42% center;
  }

  .ai-media-stage-top span:last-child {
    display: none;
  }

  .ai-media-subtitle {
    right: 14px;
    bottom: 32px;
    left: 14px;
  }

  .ai-media-timeline {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .product-info {
    grid-template-columns: 56px 1fr;
    padding: 24px 20px;
  }

  .product-info > img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .product-info h3 {
    font-size: 28px;
  }

  .store-links a {
    width: 100%;
  }
}
