/* ==========================================================================
   OSpectra — Design tokens
   ========================================================================== */
:root {
  --navy: #14103a;
  --navy-deep: #0f0c2c;
  --purple: #5B3FE0;
  --purple-light: #8a6ef5;
  --purple-pale: #efeafd;
  --lavender-bg: #f4f2fd;
  --pink: #ec4899;
  --teal: #14b8a6;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --ink: #17143a;
  --muted: #6b6a85;
  --line: #e7e3f6;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 20px 45px -20px rgba(23, 20, 58, 0.25);
  --gradient-brand: linear-gradient(120deg, #5a3fe0 0%, #8b4fe0 45%, #e6479b 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 1440px) {
  .wrap {
    max-width: 1200px;
  }
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platformFlow section {
  height: auto;
}

.platformFlow {
  font-family: var(--font-roboto), sans-serif;
}

.accent-purple {
  color: var(--purple);
}

.accent-purple-text {
  color: var(--purple);
}

.accent-green {
  color: var(--green);
}

.accent-red {
  color: #E52FA0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.eyebrow-dot {
  background: var(--purple-pale);
}

.eyebrow-dot span {
  color: #E52FA0;
}

.eyebrow-pink {
  background: var(--purple-pale);
  color: var(--purple);
}

.ui-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A39DBC;
  margin-bottom: 6px;
}

.ui-eyebrow.light {
  color: rgba(255, 255, 255, 0.55);
}

.ui-eyebrow.block {
  margin-top: 18px;
}

.pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 20px;
  background: var(--purple-pale);
  color: var(--purple);
}

.white-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 26px;
  border-radius: 40px;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(108, 76, 240, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(108, 76, 240, 0.7);
}

.btn-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.btn-circle.dark {
  background: rgba(20, 16, 58, 0.15);
  color: var(--navy);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 26px;
  border-radius: 40px;
  background: var(--purple-pale);
  color: var(--ink);
}

.btn-link span {
  color: var(--purple);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  padding: 10px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 60px);
  color: var(--purple);
  font-family: var(--font-montserrat-bold), sans-serif;
}

.hero-copy h1 span {
  font-weight: 300;
  color: #180F5A;
}

.hero-copy h1+h1 {
  display: none;
}

.lede {
  font-size: 15px;
  /* max-width: 480px; */
  color: #6B6B80;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.chip {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6B6B80;
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 20px;
}

/* Hero demo card */
.demo-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  color: #fff;
  position: relative;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
}

.demo-tag {
  margin-left: auto;
}

.demo-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
}

.demo-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 18px;
  color: #180F5A;
  font-weight: 600;
}

.mini-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--gradient-brand);
  display: inline-block;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.stat-box {
  background: #fff;
  border: 1px solid #ECE8FB;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8C86A8;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.feed-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feed-time {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  font-size: 11px;
}

.feed-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 0;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.dot.blue {
  background: #60a5fa;
}

.dot.green {
  background: #4ade80;
}

.mini-caption {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 10px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-bottom: 22px;
}

.bar-chart span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--purple-light), var(--purple));
}

.bar-chart span:nth-child(5) {
  background: linear-gradient(180deg, #f472b6, var(--pink));
}

.bar-chart span:nth-child(6) {
  background: linear-gradient(180deg, #a78bfa, var(--purple));
}

.avatar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  flex-wrap: wrap;
}

.avatar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.avatar-item div {
  display: flex;
  flex-direction: column;
}

.avatar-item strong {
  font-size: 12px;
}

.avatar-item small {
  color: rgba(255, 255, 255, 0.45);
}

.avatar-item small.ready {
  color: #4ade80;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.avatar.filled {
  background: var(--gradient-brand);
}

.center-stat {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.center-stat .big {
  font-size: 18px;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  background: var(--lavender-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ticker-inner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.ticker-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ticker-nav span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION GENERIC
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-head {
  display: flex;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  margin-bottom: 56px;
  flex-direction: column;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 50px);
  color: var(--purple);
}

.section-head h2 span {
  font-weight: 300;
  color: #180F5A;
}

.section-note {
  font-size: 14.5px;
  padding-top: 8px;
  font-weight: 400;
}

/* connected trio */
.card-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border: 1px solid #EFECFB;
}

.trio-card {
  padding: 30px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.trio-card:first-child,
.trio-card:nth-child(2) {
  border-right: 1px solid #EFECFB;
}

.trio-card:hover {
  transform: translateY(-6px);
}

.trio-card.light {
  background: #fff;
  border: 1px solid var(--line);
}

.trio-num {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #C0B8E4;
  margin-bottom: 40px;
}

.trio-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 500;
  color: #180F5A;
}

.trio-card p {
  font-size: 14.5px;
  margin-bottom: 20px;
  font-weight: 400;
}

/* agents head */
.agents-head {
  padding-bottom: 20px;
  text-align: left;
}

.agents-head h2 {
  font-size: clamp(26px, 3vw, 50px);
  max-width: 840px;
  color: var(--purple);
}

.agents-head h2 span {
  font-weight: 300;
  color: #180F5A;
}

/* agent block */
.agent-block {
  padding: 60px 0;
}

.agent-block.alt {
  background: var(--lavender-bg);
}

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.agent-copy .eyebrow {
  color: #A39DBC;
  background: none;
}

.agent-grid.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.agent-copy h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--purple);
}

.agent-copy h3 span {
  font-weight: 300;
  color: #180F5A;
}

.agent-copy>p {
  font-size: 14.5px;
  max-width: 480px;
  color: #6B6B80;
  font-weight: 400;
  margin-bottom: 30px;
}

.checklist {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #4A4A63;
  font-weight: 400;
  line-height: 1.6;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 50px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout {
  background: var(--lavender-bg);
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 12px;
}

.agent-block.alt .callout {
  background: #fff;
}

.callout-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
}

.callout p {
  margin: 10px 0 0;
  font-size: 15px;
  color: #4A4A63;
  font-weight: 400;
}

/* generic ui card */
.ui-card {
  background: #F7F6FE;
  border: 1px solid #ECE8FB;
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.ui-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ui-card-head h4 {
  margin: 0;
  font-size: 19px;
  color: #180F5A;
  font-weight: 600;
  margin-top: 15px;
}

.mini-btn {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 1px;
}

.mini-btn.full {
  width: 100%;
  background: var(--purple);
  margin-top: 18px;
  padding: 13px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.stat-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.stat-grid div {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #ECE8FB;
}

.stat-grid strong {
  font-size: 22px;
  font-weight: 700;
}

.stat-grid small {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 14px;
}

.pipeline-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.pipeline-table td {
  padding: 15px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.9;
}

.pipeline-table td strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #180F5A;
}

.pipeline-table td small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

.tag-green {
  background: #F1EEFC;
  color: var(--purple);
  font-weight: 500;
}

.status-next-action {
  border: 1px solid #E4DFF7;
}

.tag-amber {
  background: rgba(217, 119, 6, 0.12);
  color: #B07B18;
  font-weight: 500;
}

.reco-bar {
  background: #180F5A;
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.8;
  font-weight: 400;
}

.reco-icon {
  color: var(--purple-light);
  flex-shrink: 0;
}

/* ==========================================================================
   VISITS ACCORDION CARD
   ========================================================================== */
.visits-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.agent-visual {
  background: #F7F6FE;
  padding: 30px;
  border: 1px solid #ECE8FB;
  border-radius: 20px;
}

.visits-list-panel,
.visit-detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.visits-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.status-pill {
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.visits-list-panel h4 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.visit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--lavender-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

.visit-item:hover {
  transform: translateX(2px);
}

.visit-item.is-active {
  background: #fff;
  border-color: var(--purple);
  box-shadow: 0 8px 20px -12px rgba(108, 76, 240, 0.5);
}

.visit-time {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  width: 40px;
  flex-shrink: 0;
}

.visit-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.visit-info strong {
  font-size: 14px;
  font-weight: 600;
}

.visit-info small {
  font-size: 11.5px;
  color: var(--muted);
}

.visit-status {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.status-complete {
  color: var(--green);
}

.status-next {
  background: rgba(108, 76, 240, 0.14);
  color: var(--purple);
  font-weight: 500;
}

.status-upcoming {
  color: var(--muted);
}

.readiness-bar {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12.5px;
  margin-top: 20px;
  line-height: 1.9;
}

.readiness-bar small {
  display: block;
  color: #9F94D8;
  font-size: 11px;
  margin-top: 3px;
  font-weight: 400;
}

.visit-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.visit-detail-panel h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.detail-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.detail-focus {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.alert-box {
  background: #fff7e6;
  border: 1px solid #fde3ad;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 12px 0 6px;
}

.alert-box strong {
  display: block;
  font-size: 12.5px;
  color: #92620a;
  margin-bottom: 4px;
}

.alert-box p {
  margin: 0;
  font-size: 12.5px;
  color: #92620a;
}

.alert-box.calm {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.alert-box.calm strong,
.alert-box.calm p {
  color: #047857;
}

/* ==========================================================================
   PRIORITY / CLAIMS
   ========================================================================== */
.priority-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.priority-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.priority-box h5 {
  font-size: 16px;
  margin: 4px 0 10px;
  font-weight: 600;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
  font-size: 12.5px;
}

.check.ok {
  position: relative;
  padding-left: 25px;
  padding-bottom: 10px;
}

span.check.ok:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 50px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.priority-box .muted {
  font-weight: 400;
}

.check.bad {
  color: var(--red);
  font-weight: 500;
}

.correction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 0px;
  flex-wrap: wrap;
}

.correction-row strong {
  font-size: 13px;
  font-weight: 600;
}

.correction-row p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
}

.claims-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 400;
}

/* ==========================================================================
   PRODUCT DEMO / FEATURE CARDS
   ========================================================================== */
.demo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.feature-card {
  background: var(--lavender-bg);
  border-radius: var(--radius-lg);
  padding: 32px 0px;
  border: 1px solid var(--line);
}

.feature-card h4 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--ink);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 22px;
}

.feature-grid span {
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.6;
}

.feature-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.feature-footer p {
  font-size: 12.5px;
  margin: 0;
  font-weight: 400;
}

.feature-footer .eyebrow {
  line-height: 1.5;
}

.why-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 24px;
}

.why-item {
  text-align: center;
  flex: 1;
}

.why-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: #fff;
  margin: 0 auto;
  margin-bottom: 10px;
}

.why-icon.purple {
  background: var(--purple);
}

.why-icon.pink {
  background: var(--pink);
}

.why-icon.teal {
  background: var(--teal);
}

.why-item strong {
  font-size: 14.5px;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  line-height: 1.5;
}

.why-item p {
  font-size: 13px;
  margin: 0;
  font-weight: 400;
}

.gradient-cta {
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  padding: 26px;
  color: #fff;
  margin-bottom: 22px;
  text-align: center;
}

.gradient-cta h5 {
  font-size: 17px;
  margin-bottom: 8px;
}

.gradient-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 18px;
}

.gradient-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.gradient-cta-btns .btn {
  padding: 11px 20px;
  font-size: 12px;
}

/* ==========================================================================
   DARK GRAPH SECTION
   ========================================================================== */
.graph-section {
  background: var(--navy-deep);
  color: #fff;
  border-radius: 40px;
  margin: 0 20px;
  padding: 80px 36px;
}

.graph-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.graph-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
}

.graph-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  max-width: 460px;
}

.graph-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.system-tags span {
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.graph-circle-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 24px;
}

.graph-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 60px rgba(140, 90, 240, 0.45);
}

.graph-circle strong {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.graph-circle span {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0;
}

.graph-circle small {
  font-size: 10.5px;
  opacity: 0.85;
  line-height: 1.4;
}

.agent-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.agent-tags span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 20px;
  color: #fff;
}

.graph-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.graph-footer strong {
  font-size: 13px;
}

.graph-footer small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
}

/* ==========================================================================
   ROLES SECTION
   ========================================================================== */
.roles-section {
  background: #fff;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  background: var(--gradient-brand);
  border-radius: 40px;
  margin: 0 20px 60px;
  padding: 90px 0;
  color: #fff;
  text-align: center;
}

.final-cta-inner {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
  max-width: 520px;
}

.final-cta .btn-white {
  margin-top: 12px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

   @media (max-width: 1024px) {

  .hero-grid,
  .agent-grid,
  .agent-grid.reverse,
  .graph-inner {
    grid-template-columns: 1fr;
  }

  .agent-grid.reverse .agent-visual {
    order: -1;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .demo-two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section-head {
    margin-bottom: 24px;
     gap: 24px;
  }
  .trio-card:first-child, .trio-card:nth-child(2) {
    border: 1px solid #EFECFB;
}
  .agent-grid {
    gap: 24px;
  }
  .why-list, .feature-footer {
    flex-direction: column;
  }
  .feature-footer p {
      padding: 0 16px;
  }
  .ui-card, .agent-visual {
    padding: 26px 12px;
  }
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding: 0px 0 40px;
  }

  .section {
    padding:12px 0;
  }

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

  .stat-grid,
  .stat-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .graph-section,
  .final-cta {
    border-radius: 24px;
    margin: 0 12px;
    padding: 60px 12px;
  }

  .ticker-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pipeline-table {
    font-size: 12px;
  }

  .pipeline-table th:nth-child(2),
  .pipeline-table td:nth-child(2) {
    display: none;
  }
}

@media (max-width: 480px) {
  .demo-body {
    padding: 16px;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .avatar-row {
    justify-content: flex-start;
  }

  .correction-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .correction-row button {
    width: 100%;
  }
}