:root {
  --bg: #05070b;
  --panel: #0c1116;
  --panel-2: #101820;
  --text: #f5f8f6;
  --muted: #aab7b0;
  --line: rgba(255, 255, 255, 0.12);
  --green: #16f05a;
  --green-2: #0cae59;
  --cyan: #54d6c8;
  --amber: #f4c84a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(5, 7, 11, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 194px;
  height: 45px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 10px 0;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #05100b;
  box-shadow: 0 12px 34px rgba(22, 240, 90, 0.22);
}

.btn.secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.btn svg,
.nav-toggle svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: 88svh;
  padding: 120px clamp(18px, 5vw, 72px) 58px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(22, 240, 90, 0.16), transparent 30%),
    linear-gradient(135deg, #05070b 0%, #07100c 48%, #071418 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 190px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0), var(--bg));
}

.hero-content {
  width: min(760px, 100%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 6.1vw, 5.45rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin: 42px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(5, 7, 11, 0.62);
}

.hero-metrics dt {
  color: var(--text);
  font-weight: 850;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.visual-radar {
  position: absolute;
  width: min(560px, 88vw);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 240, 90, 0.24);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(22, 240, 90, 0.09) 0 1px, transparent 1px 54px),
    radial-gradient(circle, rgba(22, 240, 90, 0.13), transparent 62%);
  opacity: 0.88;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(330px, 78vw);
  aspect-ratio: 0.52;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: linear-gradient(145deg, #222b29, #05070b 38%, #1c2b25);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), 0 0 70px rgba(22, 240, 90, 0.13);
  transform: rotate(4deg);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 20px -14px 90px auto;
  width: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.phone-speaker {
  position: absolute;
  inset: 18px 50% auto auto;
  width: 92px;
  height: 25px;
  border-radius: 0 0 15px 15px;
  background: #05070b;
  transform: translateX(50%);
  z-index: 3;
}

.phone-screen {
  height: 100%;
  padding: 46px 18px 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(22, 240, 90, 0.12), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(84, 214, 200, 0.14), transparent 35%),
    #07100c;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.bot-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #041009;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header small {
  color: var(--muted);
}

.chat-line {
  width: fit-content;
  max-width: 92%;
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 15px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.chat-line.customer {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: #15262b;
}

.chat-line.agent {
  border-bottom-left-radius: 4px;
  background: rgba(22, 240, 90, 0.18);
  border: 1px solid rgba(22, 240, 90, 0.18);
}

.screen-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 26px;
}

.screen-actions span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
}

.screen-actions svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 18, 19, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-card svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.floating-card strong {
  font-size: 1.75rem;
  line-height: 1;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.card-leads {
  left: 2%;
  bottom: 18%;
}

.card-human {
  right: 2%;
  top: 18%;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

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

.problem-grid article,
.result-cards article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.problem-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 38px;
  color: var(--green);
}

.problem-grid p,
.flow p,
.results p,
.contact p,
.result-cards span {
  color: var(--muted);
}

.product-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #081008;
}

.workflow-visual {
  position: relative;
  min-height: 540px;
  border-radius: 8px;
  border: 1px solid rgba(22, 240, 90, 0.22);
  background:
    linear-gradient(135deg, rgba(22, 240, 90, 0.14), transparent 42%),
    radial-gradient(circle at 78% 22%, rgba(84, 214, 200, 0.14), transparent 30%),
    #05090b;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-visual::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(22, 240, 90, 0.2);
  border-radius: 50%;
}

.workflow-node,
.campaign-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 7px;
  width: min(210px, 42%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(12, 17, 22, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.workflow-node svg,
.campaign-panel svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.workflow-node span,
.campaign-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.node-client {
  left: 8%;
  top: 12%;
}

.node-ai {
  left: 50%;
  top: 50%;
  width: min(230px, 48%);
  transform: translate(-50%, -50%);
  border-color: rgba(22, 240, 90, 0.4);
  background: linear-gradient(180deg, rgba(22, 240, 90, 0.18), rgba(12, 17, 22, 0.94));
}

.node-team {
  right: 8%;
  bottom: 12%;
}

.workflow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  width: 32%;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.7;
}

.line-one {
  left: 28%;
  top: 38%;
  transform: rotate(25deg);
}

.line-two {
  right: 27%;
  bottom: 37%;
  transform: rotate(25deg);
}

.campaign-panel {
  left: 9%;
  bottom: 13%;
  width: min(240px, 46%);
  border-color: rgba(244, 200, 74, 0.28);
}

.campaign-panel svg {
  color: var(--amber);
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.steps span {
  color: var(--amber);
  font-weight: 900;
}

.steps p {
  margin: 8px 0 0;
}

.features {
  background: #f5f7f2;
  color: #07100c;
}

.features .eyebrow {
  color: #077a3f;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(7, 16, 12, 0.12);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 750;
}

.feature-list svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #078144;
}

.results {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.results p {
  max-width: 700px;
  font-size: 1.05rem;
}

.result-cards {
  display: grid;
  gap: 14px;
}

.result-cards article {
  min-height: 132px;
}

.result-cards strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #07100c, #0b171b);
}

.contact-copy img {
  width: min(360px, 76vw);
  margin-bottom: 28px;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(22, 240, 90, 0.7);
  box-shadow: 0 0 0 3px rgba(22, 240, 90, 0.12);
}

.lead-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-active .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 7, 11, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 90svh;
  }

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

  .product-band,
  .results,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand {
    width: 152px;
    height: 35px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.12rem, 10.8vw, 2.75rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-metrics,
  .problem-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .problem-grid article {
    min-height: 0;
  }

  .problem-grid svg {
    margin-bottom: 24px;
  }

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

  .phone-shell {
    width: min(278px, 78vw);
    transform: rotate(0deg);
  }

  .floating-card {
    padding: 11px;
  }

  .card-leads {
    left: 0;
    bottom: 10%;
  }

  .card-human {
    right: 0;
    top: 8%;
  }

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

  .workflow-node,
  .campaign-panel {
    width: calc(100% - 36px);
    left: 18px;
    right: auto;
    transform: none;
  }

  .node-client {
    top: 28px;
  }

  .node-ai {
    top: 185px;
  }

  .node-team {
    bottom: 112px;
  }

  .campaign-panel {
    bottom: 22px;
  }

  .workflow-line,
  .workflow-visual::before {
    display: none;
  }

  .steps li {
    grid-template-columns: 46px 1fr;
  }

  .lead-form {
    padding: 18px;
  }
}
