:root {
  --bg: #f5eef0;
  --bg-soft: #fff7f8;
  --surface: #ffffff;
  --surface-soft: #fff4f6;
  --border: rgba(178, 23, 51, 0.12);
  --text: #241519;
  --muted: #58434a;
  --red: #b21733;
  --red-deep: #7f0f24;
  --red-soft: #f36c86;
  --dark: #2a1419;
  --dark-soft: #422028;
  --white-soft: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px rgba(67, 19, 28, 0.1);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(242, 111, 133, 0.12), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(180deg, #fffdfd 0%, #f7eff1 42%, #f3eaed 100%);
}

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

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(178, 23, 51, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(178, 23, 51, 0.42);
  box-shadow: 0 0 0 4px rgba(178, 23, 51, 0.08);
}

textarea {
  resize: vertical;
}

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

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding-top: 16px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 250, 251, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(64, 18, 27, 0.08);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-soft) 100%);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 34px rgba(178, 23, 51, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand-copy small,
.nav a,
.hero-lead,
.section-heading p,
.solution-card p,
.case-meta,
.flow-step p,
.stat span,
.form-status,
.footer,
.contact-points span,
.panel-card p,
.case-problem span,
.case-solution span,
.case-result span,
.demo-header p,
.brief-plan p,
.demo-bubble,
.demo-brief p,
.signal-track span {
  color: var(--muted);
}

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

.nav a {
  font-size: 0.96rem;
  transition: color 180ms ease;
}

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

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red) 0%, #cf3854 100%);
  box-shadow: 0 14px 28px rgba(178, 23, 51, 0.22);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 78px 0 28px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 28px;
  padding: 42px;
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 244, 246, 0.98) 56%, rgba(245, 219, 225, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px rgba(63, 20, 30, 0.08);
}

.hero-copy,
.hero-panel,
.section,
.signal-strip,
.footer {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible,
.hero-copy.is-visible,
.hero-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badges,
.section-heading,
.hero-stack,
.form-copy,
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(178, 23, 51, 0.1);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.is-soft {
  background: rgba(255, 255, 255, 0.75);
  color: #8d4152;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #241518;
}

.hero-lead {
  max-width: 670px;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  color: #503d45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, #cf3a57 100%);
  box-shadow: 0 18px 34px rgba(178, 23, 51, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(178, 23, 51, 0.14);
}

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

.stat {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(178, 23, 51, 0.1);
  box-shadow: 0 14px 34px rgba(67, 19, 28, 0.06);
}

.stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: var(--red);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-card,
.solution-card,
.case-card,
.flow-step,
.form-card,
.demo-shell,
.demo-brief {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 28px;
}

.panel-card-main {
  min-height: 280px;
}

.card-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-card h2,
.panel-card strong {
  display: block;
  margin: 0 0 12px;
  font-size: 1.48rem;
  line-height: 1.2;
}

.accent-panel {
  background: linear-gradient(160deg, var(--red) 0%, #d84a65 100%);
  color: #fff;
}

.accent-panel .card-kicker,
.accent-panel p,
.accent-panel li {
  color: rgba(255, 255, 255, 0.9);
}

.proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.proof-list li {
  position: relative;
  padding-left: 24px;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.signal-strip {
  padding-bottom: 18px;
}

.signal-track {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signal-track span {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(178, 23, 51, 0.1);
  font-weight: 700;
  color: #7a4b58;
}

.section {
  padding: 68px 0;
}

.section-heading {
  align-items: flex-start;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading.is-dark h2,
.section-heading.is-dark p {
  color: rgba(255, 255, 255, 0.94);
}

.cards-grid,
.cases-grid,
.flow-grid,
.demo-layout {
  display: grid;
  gap: 20px;
}

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

.cards-grid-compact {
  margin-bottom: 26px;
}

.solution-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(67, 19, 28, 0.12);
  border-color: rgba(178, 23, 51, 0.16);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(178, 23, 51, 0.1), rgba(243, 108, 134, 0.16));
  border: 1px solid rgba(178, 23, 51, 0.12);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.solution-card h3,
.case-card h3,
.flow-step h3,
.demo-brief h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(178, 23, 51, 0.08);
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
}

.section-dark,
.section-demo {
  position: relative;
  color: #fff;
}

.section-dark::before,
.section-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.section-demo::before {
  background:
    radial-gradient(circle at top right, rgba(243, 108, 134, 0.2), transparent 28%),
    linear-gradient(180deg, #251317 0%, #3b1b23 100%);
}

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

.case-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(178, 23, 51, 0.16), rgba(243, 108, 134, 0.2));
}

.case-icon svg {
  width: 26px;
  height: 26px;
  color: var(--red);
}

.case-meta {
  margin: 4px 0 0;
  font-size: 0.94rem;
}

.case-problem,
.case-solution,
.case-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.98rem;
}

.case-problem {
  background: rgba(178, 23, 51, 0.07);
}

.case-solution {
  background: rgba(243, 108, 134, 0.12);
}

.case-result {
  background: rgba(40, 167, 69, 0.08);
}

.case-problem svg,
.case-solution svg,
.case-result svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.case-problem svg {
  color: var(--red);
}

.case-solution svg {
  color: #cf3854;
}

.case-result svg {
  color: #1d8d4b;
}

.nda-banner {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nda-banner strong,
.nda-banner span {
  color: rgba(255, 255, 255, 0.92);
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
}

.flow-step {
  position: relative;
  padding: 32px 28px 28px;
  counter-increment: step;
}

.flow-step::before {
  content: counter(step);
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: "Sora", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(178, 23, 51, 0.12);
}

.niches-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.niches-cloud span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(178, 23, 51, 0.08);
  color: #8b4f5d;
  font-weight: 700;
}

.demo-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: start;
}

.demo-shell,
.demo-brief {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.demo-shell {
  padding: 24px;
}

.demo-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.demo-tab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.demo-tab.is-active {
  background: linear-gradient(135deg, var(--red) 0%, #d03b58 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(178, 23, 51, 0.2);
}

.demo-chat {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(178, 23, 51, 0.08);
  background: rgba(255, 244, 246, 0.92);
}

.demo-header strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: var(--text);
}

.demo-header p {
  margin: 4px 0 0;
  font-size: 0.94rem;
}

.demo-reset {
  border: 1px solid rgba(178, 23, 51, 0.12);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.demo-messages {
  display: grid;
  gap: 12px;
  min-height: 320px;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.demo-bubble {
  max-width: 84%;
  padding: 14px 16px;
  border-radius: 18px;
  white-space: pre-wrap;
}

.demo-bubble.user {
  justify-self: end;
  background: rgba(178, 23, 51, 0.1);
  color: var(--text);
}

.demo-bubble.bot {
  justify-self: start;
  background: rgba(255, 243, 245, 1);
  border: 1px solid rgba(178, 23, 51, 0.08);
  color: var(--text);
}

.demo-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 18px;
}

.demo-chip {
  border: 1px solid rgba(178, 23, 51, 0.12);
  background: rgba(255, 244, 246, 0.88);
  color: #7a4553;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.demo-chip:hover,
.demo-chip:focus-visible {
  background: rgba(178, 23, 51, 0.08);
  border-color: rgba(178, 23, 51, 0.22);
}

.demo-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid rgba(178, 23, 51, 0.08);
}

.demo-brief {
  padding: 26px;
}

.brief-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.brief-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-item span,
.brief-plan-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.brief-item strong,
.brief-plan p,
.demo-brief h3,
.demo-brief .card-kicker {
  color: #fff;
}

.brief-plan {
  padding: 16px 0 22px;
}

.brief-plan p {
  margin: 8px 0 0;
}

.section-form {
  padding-bottom: 86px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 10px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-points svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.form-card {
  padding: 28px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label > span {
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.submit-button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.96rem;
}

.form-status.is-success {
  color: #1c8f49;
}

.form-status.is-error {
  color: var(--red);
}

.footer {
  padding: 0 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(178, 23, 51, 0.08);
}

@media (max-width: 1120px) {
  .hero-shell,
  .cards-grid,
  .cases-grid,
  .flow-grid,
  .form-layout,
  .demo-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    align-items: center;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 249, 250, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 44px rgba(64, 18, 27, 0.09);
  }

  .topbar.menu-open .nav {
    display: flex;
  }

  .topbar.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .section {
    padding-top: 54px;
  }

  .hero-shell,
  .cards-grid,
  .cases-grid,
  .flow-grid,
  .form-layout,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .demo-input-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .topbar {
    top: 10px;
    padding-top: 10px;
  }

  .hero-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .topbar-inner,
  .panel-card,
  .solution-card,
  .case-card,
  .flow-step,
  .form-card,
  .demo-shell,
  .demo-brief {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button {
    width: 100%;
  }

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