/* ============================================================
   Raft AI4BI — Role Landing Pages Shared Styles
   Layered on raft-styles.css + raft-dark.css
   ============================================================ */

/* ── BREADCRUMB ─────────────────────────────────────────── */
.rp-breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.rp-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rp-breadcrumb a {
  color: var(--muted);
  transition: color 180ms ease;
}
.rp-breadcrumb a:hover {
  color: var(--text);
}
.rp-bc-sep {
  color: var(--faint);
}
.rp-bc-cur {
  color: var(--text);
  font-weight: 600;
}

/* ── ROLE HERO ──────────────────────────────────────────── */
.rp-hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #07080f 0%, #0b0f1f 60%, #060a18 100%);
  position: relative;
  overflow: hidden;
}
.rp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(0, 195, 255, 0.06) 1px,
    transparent 0
  );
  background-size: 32px 32px;
  pointer-events: none;
}
.rp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rp-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00c3ff;
  padding: 7px 14px;
  background: rgba(0, 195, 255, 0.1);
  border: 1px solid rgba(0, 195, 255, 0.22);
  border-radius: 999px;
  width: fit-content;
}
.rp-h1 {
  font-size: clamp(2.2rem, 1.4rem + 2.2vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #fff;
}
.rp-h1 em {
  font-style: normal;
  color: #00c3ff;
}
.rp-lead {
  font-size: 17px;
  color: rgba(220, 228, 255, 0.62);
  line-height: 1.72;
  max-width: 520px;
}
.rp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.rp-hero-mock {
  background: linear-gradient(180deg, #0e1525, #0a1020);
  border: 1px solid rgba(0, 195, 255, 0.15);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.55);
}

/* ── PAIN POINTS ────────────────────────────────────────── */
.rp-pain {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.rp-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rp-pain-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rp-pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rp-pain-icon svg {
  width: 22px;
  height: 22px;
  stroke: #00c3ff;
}
.rp-pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  font-style: italic;
}
.rp-pain-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── SOLUTION BLOCKS ────────────────────────────────────── */
.rp-solutions {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.rp-solutions-head {
  text-align: center;
  margin-bottom: 64px;
}
.rp-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.rp-block:last-child {
  margin-bottom: 0;
}
.rp-block.reverse .rp-block-copy {
  order: 2;
}
.rp-block.reverse .rp-block-visual {
  order: 1;
}
.rp-block-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rp-block-copy h3 {
  font-size: clamp(1.3rem, 1rem + 0.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
}
.rp-block-copy p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}
.rp-block > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.rp-block-visual {
  background: linear-gradient(180deg, #0e1525, #0a1020);
  border: 1px solid rgba(0, 195, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.chat-warpper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin: auto;
}
.chat-warpper img {
  width: fit-content;
}

/* ── STATS / METRICS ────────────────────────────────────── */
.rp-stats {
  padding: 80px 0;
  background: #050609;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.rp-stats-head {
  text-align: center;
  margin-bottom: 56px;
}
.rp-stats-head h2 {
  color: #fff;
  font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.rp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
.rp-stat {
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  transition: background 0.25s;
}
.rp-stat:hover {
  background: rgba(0, 195, 255, 0.07);
}
.rp-stat-val {
  font-size: clamp(2rem, 1.4rem + 1.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #00c3ff;
}
.rp-stat-label {
  font-size: 13px;
  color: rgba(220, 228, 255, 0.5);
  line-height: 1.5;
}

/* ── QUOTE ──────────────────────────────────────────────── */
.rp-quote-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.rp-quote-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.rp-quote-mark {
  font-size: 96px;
  font-weight: 800;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  line-height: 0.6;
  display: block;
  margin-bottom: 8px;
  user-select: none;
}
.rp-quote-text {
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}
.rp-quote-author {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
}
.rp-quote-author strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-style: normal;
}

/* ── FEATURE LIST ───────────────────────────────────────── */
.rp-features-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.rp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.rp-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.rp-feature-item:hover {
  border-color: rgba(47, 107, 255, 0.3);
  box-shadow: var(--shadow-sm);
}
.rp-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rp-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #00c3ff;
}
.rp-feature-copy h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.rp-feature-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── COMPARISON TABLE ───────────────────────────────────── */
.rp-compare-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.rp-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.rp-compare-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.rp-compare-table th:first-child {
  background: var(--surface-2);
  color: var(--muted);
}
.rp-compare-table th:last-child {
  background: var(--primary);
  color: #fff;
}
.rp-compare-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.rp-compare-table tr:nth-child(odd) td:first-child {
  background: var(--surface);
}
.rp-compare-table tr:nth-child(even) td:first-child {
  background: var(--surface-2);
}
.rp-compare-table td:first-child {
  color: var(--muted);
}
.rp-compare-table td:last-child {
  background: rgba(47, 107, 255, 0.06);
  color: var(--text);
  font-weight: 600;
}
.rp-compare-table tr:hover td {
  background: var(--soft-blue);
}

/* ── TECH SPECS GRID ────────────────────────────────────── */
.rp-tech-section {
  padding: 80px 0;
  background: #07080f;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.rp-tech-head {
  text-align: center;
  margin-bottom: 48px;
}
.rp-tech-head h2 {
  color: #fff;
}
.rp-tech-head p {
  color: rgba(220, 228, 255, 0.5);
}
.rp-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rp-tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.rp-tech-card:hover {
  background: rgba(0, 195, 255, 0.08);
  border-color: rgba(0, 195, 255, 0.25);
}
.rp-tech-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.rp-tech-card p {
  font-size: 13px;
  color: rgba(220, 228, 255, 0.5);
  line-height: 1.6;
}
.rp-tech-badge {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(0, 195, 255, 0.12);
  border: 1px solid rgba(0, 195, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #00c3ff;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* ── CONTACT / CTA ──────────────────────────────────────── */
.rp-contact {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

/* ── HERO 3D DASHBOARD ──────────────────────────────────── */
.rp-hero-dash-3d-wrap {
  position: relative;
  perspective: 1100px;
  padding-top: 22px;
}
.rp-hero-one-click {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 18px;
  background: var(--accent, #d97706);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(217, 119, 6, 0.5);
  letter-spacing: 0.03em;
}
.rp-hero-one-click svg {
  width: 13px; height: 13px; flex-shrink: 0; stroke: #fff;
}
.rp-hero-dash {
  background: #07080f;
  border: 1px solid rgba(0, 195, 255, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotateX(6deg) rotateY(-5deg) scale(0.97);
  transform-origin: center top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rp-hero-dash-3d-wrap:hover .rp-hero-dash {
  transform: rotateX(1deg) rotateY(-1deg) scale(1);
}
.rp-hero-dash-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b0f1a;
}
.rp-hero-dash-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Brief card */
.rp-hero-brief {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.rp-hero-brief-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.rp-hero-brief-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.rp-hero-brief-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(220, 228, 255, 0.55);
  line-height: 1.4;
}
.rp-brief-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rp-brief-dot.blue  { background: #2f6bff; }
.rp-brief-dot.amber { background: #f4b860; }
.rp-brief-dot.green { background: #4fd1a5; }

/* KPI row — hero highlight */
.rp-hero-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.rp-hero-kpi {
  border-radius: 9px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.rp-hero-kpi--primary {
  background: #0d1524;
  border: 1px solid rgba(47, 107, 255, 0.35);
  box-shadow: 0 0 18px rgba(47, 107, 255, 0.18), inset 0 1px 0 rgba(47, 107, 255, 0.12);
}
.rp-hero-kpi--warn {
  background: #0d1117;
  border: 1px solid rgba(244, 184, 96, 0.35);
  box-shadow: 0 0 18px rgba(244, 184, 96, 0.12), inset 0 1px 0 rgba(244, 184, 96, 0.08);
}
.rp-hero-kpi-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 228, 255, 0.4);
}
.rp-hero-kpi-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rp-hero-kpi-val.warn { color: #f4b860; }

/* Charts row */
.rp-hero-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.rp-hero-chart-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 8px 10px;
}
.rp-hero-chart-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 228, 255, 0.35);
  margin-bottom: 8px;
}

/* Vertical bar chart */
.rp-hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}
.rp-hero-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  height: 100%;
  justify-content: flex-end;
}
.rp-hero-bar-track {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rp-hero-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #2f6bff, rgba(47, 107, 255, 0.5));
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.rp-hero-bar-item span {
  font-size: 8px;
  color: rgba(220, 228, 255, 0.35);
}

/* Donut chart */
.rp-hero-donut-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rp-hero-donut {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.rp-hero-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rp-hero-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: rgba(220, 228, 255, 0.5);
}
.rp-hero-legend-item span {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

/* ── DASHBOARD 3D MOCK ──────────────────────────────────── */
.rp-dash-wrapper {
  position: relative;
  perspective: 1200px;
  padding-top: 20px;
}
.rp-one-click-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 18px;
  background: var(--accent, #d97706);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.45);
  letter-spacing: 0.03em;
}
.rp-one-click-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: #fff;
}
.rp-dash-3d {
  background: #07080f;
  border: 1px solid rgba(0, 195, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateX(5deg) rotateY(-4deg) scale(0.98);
  transform-origin: center top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rp-dash-wrapper:hover .rp-dash-3d {
  transform: rotateX(1deg) rotateY(-1deg) scale(1);
}
.rp-dash-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b0f1a;
}
.rp-dash-chrome-dots {
  display: flex;
  gap: 5px;
}
.rp-dash-chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.rp-dash-chrome-dot:nth-child(1) { background: #2f6bff; }
.rp-dash-chrome-dot:nth-child(2) { background: #4fd1a5; }
.rp-dash-chrome-dot:nth-child(3) { background: #f4b860; }
.rp-dash-chrome-title {
  font-size: 11px;
  color: rgba(220, 228, 255, 0.38);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.rp-dash-chrome-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #4fd1a5;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rp-dash-chrome-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fd1a5;
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-dash-chrome-live::before { animation: none; }
}
.rp-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.05);
  gap: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rp-kpi-card {
  background: #0d1117;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rp-kpi-label {
  font-size: 10px;
  color: rgba(220, 228, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}
.rp-kpi-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rp-kpi-unit {
  font-size: 0.52em;
  font-weight: 600;
  color: rgba(220, 228, 255, 0.4);
  margin-left: 2px;
}
.rp-kpi-sub {
  font-size: 10px;
  color: rgba(220, 228, 255, 0.3);
  margin-top: 2px;
}
.rp-kpi-warn {
  font-size: 10px;
  color: #f4b860;
  font-weight: 700;
}
.rp-kpi-card--warn .rp-kpi-val { color: #f4b860; }
.rp-dash-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rp-dash-table {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  overflow: hidden;
}
.rp-dash-table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 6px 11px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}
.rp-dash-table-row:last-child { border-bottom: none; }
.rp-dash-table-row--head {
  background: rgba(255, 255, 255, 0.04);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rp-dash-table-row--head span { color: rgba(220, 228, 255, 0.32); }
.rp-dash-table-row span:first-child { color: rgba(220, 228, 255, 0.52); }
.rp-dash-table-row span:last-child { color: #fff; font-weight: 600; }
.rp-dash-table-row .neg { color: #f4b860; }
.rp-dash-bars { display: flex; flex-direction: column; gap: 6px; }
.rp-dash-bar-section-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220, 228, 255, 0.3);
  margin-bottom: 2px;
}
.rp-dash-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.rp-dash-bar-item span:first-child {
  color: rgba(220, 228, 255, 0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-dash-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.rp-dash-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2f6bff, rgba(47, 107, 255, 0.35));
  border-radius: 4px;
}
.rp-dash-bar-val {
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  text-align: right;
}

/* ── AI CHAT MOCK ──────────────────────────────────────── */
.rp-ai-chat {
  background: #07080f;
  border: 1px solid rgba(0, 195, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  min-height: 420px;
}
.rp-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b0f1a;
}
.rp-chat-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.rp-chat-header-left svg {
  width: 16px;
  height: 16px;
  stroke: #00c3ff;
  flex-shrink: 0;
}
.rp-chat-close-btn {
  font-size: 14px;
  color: rgba(220, 228, 255, 0.35);
  cursor: pointer;
  line-height: 1;
}
.rp-chat-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.rp-chat-timestamp {
  text-align: right;
  font-size: 10px;
  color: rgba(220, 228, 255, 0.28);
  letter-spacing: 0.04em;
}
.rp-chat-user-msg {
  align-self: flex-end;
  background: rgba(47, 107, 255, 0.16);
  border: 1px solid rgba(47, 107, 255, 0.28);
  border-radius: 12px 12px 3px 12px;
  padding: 9px 12px;
  font-size: 12px;
  color: rgba(220, 228, 255, 0.88);
  max-width: 88%;
  line-height: 1.55;
}
.rp-chat-ai-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rp-chat-ai-label {
  font-size: 10px;
  font-weight: 800;
  color: #00c3ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rp-chat-ai-text {
  font-size: 12px;
  color: rgba(220, 228, 255, 0.7);
  line-height: 1.6;
}
.rp-chat-result-block {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  overflow: hidden;
}
.rp-chat-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rp-chat-result-row:last-child { border-bottom: none; }
.rp-chat-result-row span:first-child { color: rgba(220, 228, 255, 0.42); }
.rp-chat-result-row span:last-child { color: #fff; font-weight: 600; }
.rp-chat-result-row .ok { color: #4fd1a5; }
.rp-chat-result-row .warn { color: #f4b860; }
.rp-chat-section-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220, 228, 255, 0.3);
  margin-top: 2px;
}
.rp-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b0f1a;
}
.rp-chat-input-placeholder {
  flex: 1;
  font-size: 12px;
  color: rgba(220, 228, 255, 0.28);
  font-style: italic;
}
.rp-chat-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.rp-chat-send-btn svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  flex-shrink: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rp-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rp-block.reverse .rp-block-copy,
  .rp-block.reverse .rp-block-visual {
    order: unset;
  }
  .rp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rp-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .rp-hero {
    padding: 48px 0 56px;
  }
  .rp-h1 {
    font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem);
  }
  .rp-pain-grid {
    grid-template-columns: 1fr;
  }
  .rp-features-grid {
    grid-template-columns: 1fr;
  }
  .rp-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rp-tech-grid {
    grid-template-columns: 1fr;
  }
  .rp-quote-card {
    padding: 28px 24px;
  }
  .rp-quote-text {
    font-size: 16px;
  }
  .rp-compare-table {
    font-size: 13px;
  }
  .rp-compare-table th,
  .rp-compare-table td {
    padding: 12px 14px;
  }
}
