:root {
  --bg: #050505;
  --bg-alt: #0b0b0e;
  --panel: rgba(17, 17, 19, 0.92);
  --panel-soft: rgba(22, 22, 24, 0.78);
  --panel-strong: rgba(26, 26, 29, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f2f0;
  --muted: rgba(245, 242, 240, 0.72);
  --muted-soft: rgba(245, 242, 240, 0.52);
  --accent: #ff3131;
  --accent-deep: #a90000;
  --accent-soft: rgba(255, 49, 49, 0.18);
  --accent-glow: rgba(255, 49, 49, 0.28);
  --gold: #b18a52;
  --success: #65ffb0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 49, 49, 0.15), transparent 0 24%),
    radial-gradient(circle at 85% 16%, rgba(177, 138, 82, 0.08), transparent 0 18%),
    radial-gradient(circle at 100% 24%, rgba(255, 49, 49, 0.16), transparent 0 26%),
    linear-gradient(180deg, #040404 0%, #0b0b0d 48%, #040404 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 86%);
  opacity: 0.34;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

input::placeholder {
  color: var(--muted-soft);
}

input:focus,
select:focus {
  border-color: rgba(255, 49, 49, 0.48);
  background: rgba(255, 255, 255, 0.05);
}

select {
  appearance: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  position: relative;
  padding: 96px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent),
    rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 49, 49, 0.16), rgba(255, 49, 49, 0.04)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 49, 49, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: #ff3131;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-lockup strong,
.brand-lockup span {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-lockup strong {
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-lockup span {
  font-size: 0.68rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform var(--transition);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 600;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

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

.button-primary {
  background: linear-gradient(135deg, #ff3a3a, #d71414);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 49, 49, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(255, 49, 49, 0.34);
}

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

.button-compact {
  min-height: 46px;
  padding: 0 18px;
}

.button-block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 49, 49, 0.22);
  border-radius: 999px;
  background: rgba(255, 49, 49, 0.08);
  color: #ff8b8b;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2,
.hero-copy h1,
.modal-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading h2,
.modal-copy h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading p,
.hero-copy p,
.modal-copy p,
.cta-copy p,
.service-card p,
.process-card p,
.result-card p,
.industry-card p,
.about-copy p,
.demo-card p,
.testimonial-card p,
.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.hero {
  overflow: clip;
  padding-top: 72px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 49, 49, 0.18), transparent 0 18%),
    radial-gradient(circle at 70% 30%, rgba(255, 49, 49, 0.12), transparent 0 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions,
.cta-points,
.stack-strip,
.slot-preview,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-line {
  color: var(--muted-soft);
  font-size: 0.96rem;
}

.stack-strip span,
.cta-points span,
.slot-preview span,
.about-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 242, 240, 0.8);
}

.stack-strip span {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% -14% 18%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 49, 49, 0.22), transparent 62%);
  filter: blur(20px);
}

.dashboard-frame {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 49, 49, 0.25);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(9, 9, 11, 0.92);
  box-shadow: var(--shadow);
}

.dashboard-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 49, 49, 0.4), transparent 30%, rgba(255, 49, 49, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dashboard-topbar,
.dashboard-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-title strong,
.cta-card__heading strong {
  display: block;
  font-size: 1rem;
}

.dashboard-title span,
.cta-card__heading span,
.stat-block span,
.event-card span,
.event-card small,
.stat-block small,
.demo-status,
.demo-label,
.footer-bottom p {
  color: var(--muted-soft);
}

.dashboard-k,
.flow-core-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 49, 49, 0.12);
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.system-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(90, 255, 158, 0.09);
  border: 1px solid rgba(101, 255, 176, 0.18);
  color: #b1ffd6;
  font-size: 0.92rem;
}

.system-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(101, 255, 176, 0.12);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 178px;
  gap: 16px;
}

.dashboard-sidebar,
.dashboard-events,
.flow-card,
.stat-block,
.service-card,
.process-card,
.result-card,
.industry-card,
.demo-card,
.testimonial-card,
.cta-card,
.footer-column,
.chat-drawer,
.modal-panel,
.about-stack {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.dashboard-sidebar,
.dashboard-events {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
}

.sidebar-chip {
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-chip.is-active {
  color: #fff;
  background: rgba(255, 49, 49, 0.16);
  border: 1px solid rgba(255, 49, 49, 0.2);
}

.dashboard-flow {
  display: grid;
  align-items: center;
  gap: 16px;
}

.flow-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 24px;
}

.flow-card small {
  color: #fca8a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flow-card strong,
.event-card strong,
.service-card h3,
.process-card h3,
.industry-card h3,
.demo-card h3,
.testimonial-card strong,
.footer-column h3 {
  font-size: 1.06rem;
  margin: 0;
}

.flow-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 49, 49, 0.12);
}

.flow-icon svg,
.service-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.ai-core {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 49, 49, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.ai-core::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% 10%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 49, 49, 0.3), transparent 70%);
}

.flow-line {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.flow-line span {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 49, 49, 0.2));
  animation: dash 1.8s infinite ease-in-out;
}

.flow-line span:nth-child(2) {
  animation-delay: 0.2s;
}

.flow-line span:nth-child(3) {
  animation-delay: 0.4s;
}

.event-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-stats {
  gap: 14px;
}

.stat-block {
  flex: 1 1 0;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
}

.stat-block strong,
.result-card strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.06em;
}

.services-grid,
.results-cards,
.industries-grid {
  display: grid;
  gap: 18px;
}

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

.service-card {
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 24px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 49, 49, 0.22);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.24);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 49, 49, 0.1);
}

.service-accent {
  color: #ff8f8f;
  font-weight: 600;
}

.service-card a,
.footer-column a {
  color: #ffc0c0;
  transition: color var(--transition);
}

.service-card a:hover,
.service-card a:focus-visible,
.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
}

.process-shell {
  display: grid;
  gap: 30px;
}

.process-heading {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.process-heading h2,
.cta-copy h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 24px;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -18px;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.process-card:last-child::after {
  display: none;
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 49, 49, 0.28);
  background: rgba(255, 49, 49, 0.1);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

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

.result-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
}

.result-kicker {
  color: #ff9a9a;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.industry-card {
  display: grid;
  gap: 12px;
  padding: 24px 20px;
  border-radius: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.demo-card,
.testimonial-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 26px;
}

.demo-card {
  position: relative;
  overflow: hidden;
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 49, 49, 0.18), transparent 68%);
  pointer-events: none;
}

.demo-card.is-live {
  border-color: rgba(255, 49, 49, 0.32);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

.demo-card.is-live .waveform span {
  animation-play-state: running;
}

.demo-card__top,
.author,
.cta-panel,
.cta-card__heading,
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 64px;
}

.waveform span {
  width: 6px;
  flex: 1 1 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5c5c, rgba(255, 49, 49, 0.2));
  transform-origin: bottom;
  animation: wave 1s ease-in-out infinite;
  animation-play-state: paused;
}

.waveform span:nth-child(odd) {
  animation-delay: 0.12s;
}

.waveform span:nth-child(3n) {
  animation-delay: 0.28s;
}

.waveform span:nth-child(1) { height: 18px; }
.waveform span:nth-child(2) { height: 32px; }
.waveform span:nth-child(3) { height: 22px; }
.waveform span:nth-child(4) { height: 38px; }
.waveform span:nth-child(5) { height: 28px; }
.waveform span:nth-child(6) { height: 44px; }
.waveform span:nth-child(7) { height: 26px; }
.waveform span:nth-child(8) { height: 35px; }
.waveform span:nth-child(9) { height: 24px; }
.waveform span:nth-child(10) { height: 48px; }
.waveform span:nth-child(11) { height: 20px; }
.waveform span:nth-child(12) { height: 41px; }
.waveform span:nth-child(13) { height: 24px; }
.waveform span:nth-child(14) { height: 34px; }
.waveform span:nth-child(15) { height: 28px; }
.waveform span:nth-child(16) { height: 46px; }
.waveform span:nth-child(17) { height: 22px; }
.waveform span:nth-child(18) { height: 38px; }
.waveform span:nth-child(19) { height: 26px; }
.waveform span:nth-child(20) { height: 18px; }

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

.testimonial-card {
  align-content: space-between;
}

.quote {
  color: var(--text);
  font-size: 1.08rem;
}

.author {
  justify-content: flex-start;
}

.author div {
  display: grid;
  gap: 2px;
}

.author span {
  color: var(--muted);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 49, 49, 0.22), rgba(177, 138, 82, 0.2));
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

.cta-section {
  padding-top: 44px;
}

.cta-panel {
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 49, 49, 0.18);
  background:
    radial-gradient(circle at left, rgba(255, 49, 49, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(72, 5, 5, 0.96), rgba(20, 8, 8, 0.96));
  box-shadow: var(--shadow);
}

.cta-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.cta-card {
  min-width: min(100%, 360px);
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
}

.site-footer {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding-bottom: 34px;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.brand-footer {
  width: fit-content;
}

.footer-column {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
}

.footer-column h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  padding: 18px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.floating-demo,
.floating-chat {
  position: fixed;
  bottom: 22px;
  z-index: 55;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.floating-demo {
  right: 22px;
  background: linear-gradient(135deg, #ff3a3a, #d71414);
  color: #fff;
}

.floating-chat {
  left: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.92);
}

.chat-drawer {
  position: fixed;
  left: 22px;
  bottom: 88px;
  z-index: 56;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(12, 12, 14, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.chat-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header strong {
  display: block;
}

.chat-header span {
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.chat-close,
.modal-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.modal-close {
  z-index: 3;
}

.chat-body {
  display: grid;
  gap: 10px;
}

.chat-bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
}

.chat-bubble-bot {
  background: rgba(255, 255, 255, 0.04);
}

.chat-bubble-user {
  justify-self: end;
  background: rgba(255, 49, 49, 0.14);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 3, 4, 0.82);
  backdrop-filter: blur(18px);
}

.modal-panel {
  position: relative;
  width: min(840px, 100%);
  display: grid;
  gap: 24px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 49, 49, 0.12), transparent 24%),
    rgba(10, 10, 12, 0.96);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.modal-copy {
  display: grid;
  gap: 16px;
  padding-right: 48px;
}

.demo-form,
.field-grid,
.slot-picker,
.chat-actions {
  display: grid;
  gap: 18px;
}

.site-toast {
  position: fixed;
  top: 96px;
  right: 22px;
  z-index: 90;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 49, 49, 0.22);
  background: rgba(10, 10, 12, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.site-toast strong {
  font-size: 0.96rem;
}

.site-toast span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.field-grid label,
.slot-picker {
  display: grid;
  gap: 10px;
}

.field-grid span,
.slot-picker p {
  color: var(--muted-soft);
}

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot-pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.slot-pill:hover,
.slot-pill:focus-visible {
  transform: translateY(-1px);
}

.slot-pill.is-selected {
  border-color: rgba(255, 49, 49, 0.28);
  background: rgba(255, 49, 49, 0.12);
}

.form-feedback {
  min-height: 1.6em;
  color: var(--muted-soft);
}

.form-feedback.is-success {
  color: #ffd3d3;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dash {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.6);
  }

  50% {
    transform: scaleY(1.2);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .results-grid,
  .about-grid,
  .proof-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .results-grid,
  .about-grid {
    gap: 28px;
  }

  .sticky-copy {
    position: static;
  }

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

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

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 10, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a::after {
    display: none;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dashboard-stats {
    flex-direction: column;
  }

  .results-cards,
  .industries-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .process-card::after {
    display: none;
  }

  .floating-demo,
  .floating-chat {
    bottom: 16px;
  }

  .floating-demo {
    right: 16px;
  }

  .floating-chat {
    left: 16px;
  }

  .chat-drawer {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .site-toast {
    top: auto;
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 84px;
    transform: translateY(10px);
  }

  .site-toast.is-visible {
    transform: translateY(0);
  }
}

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

  .nav-row {
    min-height: 76px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-lockup strong {
    font-size: 1.3rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .demo-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .demo-actions .button,
  .site-nav .button,
  .cta-card .button {
    width: 100%;
  }

  .dashboard-frame,
  .service-card,
  .process-card,
  .result-card,
  .industry-card,
  .demo-card,
  .testimonial-card,
  .cta-panel,
  .cta-card,
  .modal-panel {
    border-radius: 22px;
  }

  .services-grid,
  .process-rail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slot-preview,
  .cta-points,
  .about-stack {
    gap: 10px;
  }

  .footer-grid {
    gap: 16px;
  }

  .modal-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
