
.rcsfhero {
  position: relative;
  padding: calc(var(--h-head) + 44px) 0 72px;
  background: #fff;
  overflow: hidden;
}
.rcsfhero .hero-mesh .h1b { top: -200px; right: -60px; }
.rcsfhero .hero-mesh .h2b { bottom: -160px; left: -80px; }

/* Breadcrumbs */
.rcsf-breadcrumbs {
  margin-bottom: 20px;
}
.rcsf-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
}
.rcsf-breadcrumbs-list a {
  color: var(--slate);
  transition: color 0.2s ease;
}
.rcsf-breadcrumbs-list a:hover {
  color: var(--blue);
}
.rcsf-breadcrumbs-list .sep {
  color: var(--slate-light);
  font-size: 0.75rem;
}
.rcsf-breadcrumbs-list .active {
  color: var(--blue);
  font-weight: 600;
}

.rcsf-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.rcsf-copy .eyebrow { margin-bottom: 14px; }
.rcsf-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.rcsf-copy .sub {
  color: var(--slate);
  font-size: 1.06rem;
  max-width: 510px;
  margin-bottom: 24px;
}
.rcsf-cta { display: flex; gap: 13px; flex-wrap: wrap; }

/* Trust strip */
.rcsf-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.rcsf-trust .tp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 700;
  color: var(--slate);
}
.rcsf-trust .tp .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,.18);
  flex: 0 0 auto;
}

/* ----- HERO VISUAL: ANIMATED FALLBACK MOCKUP ----- */
.rcsf-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}
.rcsf-stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-12), transparent 66%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Fallback visualization card showing RCS vs SMS version */
.rcsf-visualizer {
  position: relative;
  z-index: 2;
  width: 430px;
  background: #fff;
  border: 1px solid var(--blue-12);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(24,104,251,.22), 0 0 0 7px #eef4ff;
  padding: 24px;
  animation: floaty 6.5s ease-in-out infinite;
}

.rcsf-vis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.rcsf-vis-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rcsf-vis-header .brand .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-08);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
}
.rcsf-vis-header .brand .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .86rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
}
.rcsf-vis-header .brand .verified {
  color: var(--blue);
  display: flex;
  align-items: center;
}
.rcsf-vis-header .brand .verified svg { width: 14px; height: 14px; }
.rcsf-vis-header .channel-tag {
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  transition: all .4s ease;
}
.rcsf-vis-header .channel-tag.rcs {
  background: var(--blue-08);
  color: var(--blue);
}
.rcsf-vis-header .channel-tag.sms {
  background: #f1f5f9;
  color: #64748b;
}

/* Delivery status simulator */
.rcsf-delivery-box {
  background: var(--bg-tint);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: .78rem;
  border: 1px solid var(--line);
}
.rcsf-delivery-box .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.rcsf-delivery-box .line:last-child { margin-bottom: 0; }
.rcsf-delivery-box .label { color: var(--slate); }
.rcsf-delivery-box .val { font-weight: 700; color: var(--ink); }
.rcsf-delivery-box .val.checking { color: var(--blue); animation: blink 1.2s infinite; }
.rcsf-delivery-box .val.delivering { color: var(--blue); }
.rcsf-delivery-box .val.success { color: var(--ok); }
.rcsf-delivery-box .val.fallback { color: #f97316; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Rich Card Mockup inside Widget */
.rcsf-card-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15,23,42,.03);
  transition: opacity .4s ease, transform .4s ease, height .4s ease;
}
.rcsf-card-preview.sms-mode {
  border-color: #e2e8f0;
  box-shadow: none;
}
.rcsf-card-image {
  width: 100%;
  height: 110px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.rcsf-card-image::after {
  content: "🚚";
  font-size: 2.5rem;
}
.rcsf-card-body {
  padding: 12px;
}
.rcsf-card-body h6 {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.rcsf-card-body p {
  font-size: .74rem;
  color: var(--slate);
  line-height: 1.4;
}
.rcsf-card-actions {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
}
.rcsf-card-btn {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.rcsf-card-btn:hover {
  background: var(--blue-04);
  border-color: var(--blue-18);
}

/* SMS representation */
.rcsf-sms-preview {
  padding: 12px 14px;
  background: #f1f5f9;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: .78rem;
  line-height: 1.5;
  color: #334155;
  position: relative;
  max-width: 90%;
  align-self: flex-start;
}
.rcsf-sms-preview b {
  color: #1e293b;
  display: block;
  font-size: .7rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Status message */
.rcsf-sim-status {
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  margin-top: 14px;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.rcsf-sim-status svg { width: 14px; height: 14px; }
.rcsf-sim-status.rcs-active { color: var(--blue); }
.rcsf-sim-status.sms-active { color: #f97316; }

/* Floating Badges */
.rcsf-badge {
  position: absolute;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--blue-12);
  border-radius: 13px;
  padding: 9px 13px;
  box-shadow: var(--shadow-blue);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floaty 5s ease-in-out infinite;
}
.rcsf-badge .bi {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.rcsf-badge .bi svg { width: 16px; height: 16px; }
.rcsf-badge span b { font-family: var(--font-head); font-size: .92rem; display: block; line-height: 1; }
.rcsf-badge span small { font-size: .66rem; color: var(--slate); }
.rcsf-badge.b1 { top: 4%; right: -4%; animation-delay: 0s; }
.rcsf-badge.b2 { bottom: 8%; left: -6%; animation-delay: 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----- STAT CARDS ----- */
.rcsf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rcsf-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: .25s;
}
.rcsf-stat-card:hover {
  border-color: var(--blue-25);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.rcsf-stat-card .snum {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.rcsf-stat-card .slbl { font-size: .84rem; color: var(--slate); }

/* ----- FEATURES GRID ----- */
.rcsf-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rcsf-feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 22px;
  transition: .28s;
}
.rcsf-feat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}
.rcsf-feat .ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.rcsf-feat .ic svg { width: 25px; height: 25px; }
.rcsf-feat h4 { font-size: 1.04rem; margin-bottom: 8px; }
.rcsf-feat p { font-size: .88rem; color: var(--slate); }

/* ----- USE CASES TABLE ----- */
.rcsf-uc { background: var(--bg-tint); }
.rcsf-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.rcsf-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .93rem;
}
.rcsf-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .84rem;
  padding: 14px 22px;
  text-align: left;
  letter-spacing: .04em;
}
.rcsf-table thead th:first-child { border-radius: var(--r-card) 0 0 0; }
.rcsf-table thead th:last-child { border-radius: 0 var(--r-card) 0 0; }
.rcsf-table tbody tr { border-bottom: 1px solid var(--line); transition: .15s; }
.rcsf-table tbody tr:last-child { border-bottom: none; }
.rcsf-table tbody tr:hover { background: var(--blue-04); }
.rcsf-table tbody td { padding: 14px 22px; color: var(--slate); }
.rcsf-table tbody td:first-child { font-weight: 700; color: var(--ink); }
.rcsf-table tbody td .uc-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.rcsf-table tbody td .uc-icon svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; }

/* ----- HOW IT WORKS ----- */
.rcsf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
}
.rcsf-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-25));
  z-index: 0;
}
.rcsf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.rcsf-step .sn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(24,104,251,.35);
  margin-bottom: 20px;
  flex: 0 0 auto;
}
.rcsf-step h4 { font-size: .98rem; margin-bottom: 8px; }
.rcsf-step p { font-size: .84rem; color: var(--slate); }

/* ----- INTEGRATION + TERMINAL ----- */
.rcsf-int {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: flex-start;
}
.rcsf-int-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rcsf-int-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  transition: .22s;
}
.rcsf-int-opt:hover { border-color: var(--blue-25); box-shadow: var(--shadow-soft); }
.rcsf-int-opt .oi {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.rcsf-int-opt .oi svg { width: 22px; height: 22px; }
.rcsf-int-opt h5 { font-size: 1rem; margin-bottom: 4px; }
.rcsf-int-opt p { font-size: .85rem; color: var(--slate); }

/* Terminal */
.rcsf-term {
  background: #0a1330;
  border-radius: 18px;
  box-shadow: var(--glow);
  overflow: hidden;
  font-family: var(--font-mono);
}
.rcsf-term .th {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rcsf-term .th i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.rcsf-term .th span { margin-left: 8px; font-size: .7rem; color: #8fb2ff; letter-spacing: .06em; }
.rcsf-term pre {
  margin: 0;
  padding: 20px 18px;
  font-size: .78rem;
  line-height: 1.8;
  color: #dbe7ff;
  white-space: pre-wrap;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rcsf-term .c-k { color: #8fb2ff; }
.rcsf-term .c-s { color: #7cf5a0; }
.rcsf-term .c-n { color: #ffd479; }
.rcsf-term .c-c { color: #5d719c; }
.rcsf-term .ok { color: #7cf5a0; font-weight: 700; }
.rcsf-term .fallback-txt { color: #ffab7a; }
.rcsf-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: #8fb2ff;
  vertical-align: -2px;
  animation: emC .8s step-end infinite;
}
@keyframes emC { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ----- WHY TEXTSPEED ----- */
.rcsf-why { background: var(--bg-tint); }
.rcsf-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.rcsf-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: .25s;
}
.rcsf-why-card:hover {
  border-color: var(--blue-25);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.rcsf-why-card .wi {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.rcsf-why-card .wi svg { width: 24px; height: 24px; }
.rcsf-why-card h4 { font-size: 1.04rem; margin-bottom: 7px; }
.rcsf-why-card p { font-size: .88rem; color: var(--slate); }

/* ----- PRICE TEASER ----- */
.rcsf-price { background: #fff; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .rcsf-grid { grid-template-columns: 1fr; text-align: center; }
  .rcsf-copy .sub { margin: 0 auto 24px; }
  .rcsf-cta { justify-content: center; }
  .rcsf-trust { justify-content: center; }
  .rcsf-breadcrumbs-list { justify-content: center; }
  .rcsf-stage {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    z-index: 1;
    padding: 0 16px;
  }
  .rcsf-visualizer {
    width: 100%;
    max-width: 430px;
  }
  .rcsf-feats { grid-template-columns: repeat(2, 1fr); }
  .rcsf-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rcsf-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .rcsf-steps::before { display: none; }
  .rcsf-step { align-items: flex-start; text-align: left; flex-direction: row; gap: 16px; }
  .rcsf-step .sn { width: 46px; height: 46px; font-size: 1rem; flex: 0 0 46px; margin-bottom: 0; }
  .rcsf-int { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rcsf-feats { grid-template-columns: 1fr; }
  .rcsf-stats-grid { grid-template-columns: repeat(1, 1fr); }
  .rcsf-steps { grid-template-columns: 1fr; }
  .rcsf-why-grid { grid-template-columns: 1fr; }
  .rcsf-trust { gap: 14px; }
  .rcsf-table { min-width: 580px; }
  .rcsf-stage {
    padding: 0 12px;
    min-height: auto;
    overflow: visible;
  }
  .rcsf-visualizer {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(24,104,251,.18), 0 0 0 5px #eef4ff;
  }
  /* Hide floating badges on small screens to avoid overflow */
  .rcsf-badge.b1,
  .rcsf-badge.b2 {
    display: none;
  }
  .rcsf-stage::before {
    width: 220px;
    height: 220px;
  }
}
