/* ════════════════════════════════════════════════════════════
   RIDE-SHARE APP DEVELOPMENT — page-specific styles
   Builds on ../../taxi-app-development/css/styles.css
   Theme: Clean light SaaS, yellow primary CTAs, blue accent headings
   ════════════════════════════════════════════════════════════ */

:root {
  --rs-blue:        #1E4FD9;
  --rs-blue-dark:   #0F3490;
  --rs-blue-soft:   #EEF3FF;
  --rs-green:       #10B981;
  --rs-ink:         #0B1B3F;
  --rs-ink-soft:    #46557C;
  --rs-card-shadow: 0 14px 36px rgba(15,26,26,0.08);
}

/* ── ACCENT HELPERS ───────────────────────────────────── */
.rs-accent        { color: var(--rs-blue); }
.rs-accent-yellow { color: var(--primary); }
.rs-marker {
  position: relative;
  display: inline-block;
  color: var(--rs-blue);
}
.rs-marker::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.rs-hero {
  position: relative;
  padding: 130px 0 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 10%, rgba(30,79,217,0.16), transparent 45%),
    radial-gradient(circle at 5%  80%, rgba(255,180,0,0.12),  transparent 55%),
    radial-gradient(circle at 96% 90%, rgba(16,185,129,0.07), transparent 50%),
    linear-gradient(180deg, #EDF2FF 0%, #F6F9FF 55%, #FAFBFF 100%);
  color: var(--rs-ink);
}

/* Topo lines */
.rs-hero::before {
  content: '';
  position: absolute;
  inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><g fill='none' stroke='%231E4FD9' stroke-opacity='0.08' stroke-width='1'><path d='M-40 240 Q 40 180 120 220 T 280 200 T 440 240'/><path d='M-40 200 Q 40 140 120 180 T 280 160 T 440 200'/><path d='M-40 160 Q 40 100 120 140 T 280 120 T 440 160'/><path d='M-40 120 Q 40  60 120 100 T 280  80 T 440 120'/><path d='M-40  80 Q 40  20 120  60 T 280  40 T 440  80'/></g></svg>");
  background-size: 320px 320px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
}

.rs-hero .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}

/* bg orbs */
.rs-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rs-orb {
  position: absolute; border-radius: 50%;
  filter: blur(55px); will-change: transform;
}
.rs-orb-1 { top:12%; left:4%;    width:220px; height:220px; background:radial-gradient(circle,rgba(30,79,217,0.24),transparent 70%); animation:rsOrb1 14s ease-in-out infinite; }
.rs-orb-2 { top:50%; right:5%;   width:180px; height:180px; background:radial-gradient(circle,rgba(255,180,0,0.22),transparent 70%);  animation:rsOrb2 18s ease-in-out infinite; }
.rs-orb-3 { bottom:8%;left:35%;  width:260px; height:260px; background:radial-gradient(circle,rgba(16,185,129,0.12),transparent 70%); animation:rsOrb3 22s ease-in-out infinite; }
@keyframes rsOrb1  { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-20px)} }
@keyframes rsOrb2  { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-25px,18px)} }
@keyframes rsOrb3  { 0%,100%{transform:translate(0,0)} 50%{transform:translate(18px,-30px)} }

.rs-bg-icon {
  position: absolute; width:36px; height:36px; fill:var(--rs-blue);
  opacity: 0.1; animation: rsFadeFloat 8s ease-in-out infinite;
}
.rs-icon-car   { top:18%; right:48%; animation-delay:0s; }
.rs-icon-route { top:60%; left:2%;   animation-delay:2s; }
.rs-icon-users { top:25%; right:8%;  animation-delay:4s; }
@keyframes rsFadeFloat { 0%,100%{opacity:0.08;transform:translateY(0)} 50%{opacity:0.15;transform:translateY(-10px)} }

/* hero content */
.rs-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,79,217,0.08);
  border: 1px solid rgba(30,79,217,0.18);
  color: var(--rs-blue); font-size: 0.82rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.5px;
  margin-bottom: 22px; text-transform: uppercase;
}

.rs-hero-content h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800; line-height: 1.2;
  color: var(--rs-ink); letter-spacing: -1px;
  margin-bottom: 22px;
}

.rs-hero-sub {
  font-size: 1.07rem; color: var(--rs-ink-soft);
  line-height: 1.75; margin-bottom: 24px; max-width: 520px;
}
.rs-hero-sub strong { color: var(--rs-ink); }

.rs-hero-checks {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 28px;
}
.rs-hero-checks span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 600; color: var(--rs-ink-soft);
}
.rs-hero-checks svg {
  width: 16px; height: 16px; fill: var(--rs-green); flex-shrink: 0;
}

/* stats row */
.rs-hero-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(30,79,217,0.12);
}
.rs-stat {
  display: flex; flex-direction: column; padding: 0 28px;
}
.rs-stat:first-child { padding-left: 0; }
.rs-stat strong {
  font-size: 1.8rem; font-weight: 800; color: var(--rs-ink);
  line-height: 1; letter-spacing: -1px;
}
.rs-stat strong em { color: var(--rs-blue); font-style: normal; font-size: 1.3rem; }
.rs-stat span { font-size: 0.78rem; color: var(--rs-ink-soft); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.rs-stat-sep { width: 1px; height: 40px; background: rgba(30,79,217,0.15); flex-shrink: 0; }

/* ── PHONE MOCKUP GROUP ─────────────────────────────── */
.rs-hero-visual {
  position: relative; display: flex; justify-content: center;
  align-items: flex-end; min-height: 390px; padding-bottom: 60px;
}

.rs-phone-group {
  position: relative; display: flex;
  justify-content: center; align-items: flex-end;
}

.rs-phone {
  width: 240px; background: #0B1B3F;
  border-radius: 36px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,27,63,0.35), 0 8px 24px rgba(11,27,63,0.20);
  border: 2px solid rgba(255,255,255,0.08);
  position: relative;
}
.rs-phone::before {
  content: ''; display: block; width: 80px; height: 8px;
  background: rgba(255,255,255,0.18); border-radius: 999px;
  margin: 12px auto 0;
}

.rs-phone-back {
  transform: translateX(30px) rotate(-6deg) scale(0.88);
  z-index: 1; opacity: 0.85;
}
.rs-phone-front {
  z-index: 2; transform: translateX(-20px);
}

.rs-phone-screen {
  background: #fff; margin: 8px 8px 8px;
  border-radius: 28px; overflow: hidden; min-height: 400px;
}

/* map screen (back phone) */
.rs-app-map {
  position: relative; height: 240px;
  background: linear-gradient(160deg, #e8f0fe 0%, #d2e3fc 100%);
  overflow: hidden;
}
.rs-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,79,217,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,79,217,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.rs-map-route {
  position: absolute; top:30%; left:20%; right:25%; bottom:35%;
  border: 3px solid #1E4FD9; border-radius: 20px 20px 0 20px;
  border-right: none; border-bottom: none;
}
.rs-map-pin {
  position: absolute; width: 24px; height: 24px; fill: var(--primary);
}
.rs-pin-a { top: 22%; left: 18%; }
.rs-pin-b { bottom: 25%; right: 22%; fill: #E94560; }
.rs-map-car {
  position: absolute; top: 45%; left: 42%;
  width: 28px; height: 28px;
  background: var(--rs-blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px rgba(30,79,217,0.2);
  animation: rsCarMove 3s ease-in-out infinite;
}
.rs-map-car svg { width: 16px; height: 16px; fill: #fff; }
@keyframes rsCarMove { 0%,100%{transform:translate(0,0)} 50%{transform:translate(10px,-8px)} }

.rs-app-bar {
  padding: 14px 12px 12px; background: #fff;
}
.rs-app-bar-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.rs-app-label { font-size: 0.78rem; font-weight: 700; color: var(--rs-green); }
.rs-app-eta   { font-size: 0.72rem; font-weight: 700; color: var(--rs-blue); background: var(--rs-blue-soft); padding: 2px 8px; border-radius: 999px; }
.rs-app-driver { display: flex; align-items: center; gap: 8px; }
.rs-driver-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--rs-blue); color: #fff; font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-driver-info strong { display: block; font-size: 0.75rem; font-weight: 700; color: var(--rs-ink); }
.rs-driver-info span   { font-size: 0.66rem; color: var(--rs-ink-soft); }
.rs-app-price { margin-left: auto; font-size: 0.85rem; font-weight: 800; color: var(--rs-ink); }

/* booking screen (front phone) */
.rs-app-header-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(30,79,217,0.08);
}
.rs-app-logo-dot { width: 24px; height: 24px; background: var(--rs-blue); border-radius: 50%; display: block; }
.rs-app-brand { font-size: 0.85rem; font-weight: 800; color: var(--rs-ink); flex: 1; }
.rs-app-notif { font-size: 0.9rem; }

.rs-app-search { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.rs-search-row {
  display: flex; align-items: center; gap: 8px;
  background: #F4F8FB; border-radius: 8px; padding: 8px 10px;
}
.rs-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.rs-dot-green { background: var(--rs-green); }
.rs-dot-red   { background: #E94560; }
.rs-search-row input {
  border: none; background: none; font-size: 0.72rem; color: var(--rs-ink);
  font-family: inherit; width: 100%; outline: none; font-weight: 600;
}

.rs-ride-options {
  display: flex; gap: 6px; padding: 0 12px 10px;
}
.rs-ride-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 10px;
  border: 1.5px solid rgba(30,79,217,0.12);
  cursor: pointer; transition: all 0.2s;
}
.rs-ride-opt svg { width: 18px; height: 18px; fill: var(--rs-ink-soft); }
.rs-ride-opt span { font-size: 0.62rem; font-weight: 600; color: var(--rs-ink-soft); }
.rs-ride-opt b    { font-size: 0.68rem; font-weight: 800; color: var(--rs-ink); }
.rs-ride-opt-active {
  border-color: var(--rs-blue);
  background: var(--rs-blue-soft);
}
.rs-ride-opt-active svg  { fill: var(--rs-blue); }
.rs-ride-opt-active span { color: var(--rs-blue); }

.rs-book-btn {
  display: block; width: calc(100% - 24px); margin: 0 12px 12px;
  background: var(--rs-blue); color: #fff;
  border: none; border-radius: 10px; padding: 12px;
  font-size: 0.8rem; font-weight: 800; cursor: pointer;
  font-family: inherit; transition: background 0.2s;
}
.rs-book-btn:hover { background: var(--rs-blue-dark); }

/* floating tags */
.rs-hero-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(30,79,217,0.12);
  border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(11,27,63,0.12);
  z-index: 5;
}
.rs-hero-float div { display: flex; flex-direction: column; }
.rs-hero-float strong { font-size: 0.8rem; font-weight: 700; color: var(--rs-ink); }
.rs-hero-float span   { font-size: 0.7rem; color: var(--rs-ink-soft); margin-top: 1px; }
.rs-float-tl { top: 8%; left: -4%; animation: rsFloat 4s ease-in-out infinite; }
.rs-float-br { bottom: 12%; right: -4%; animation: rsFloat 4s ease-in-out infinite 2s; }
@keyframes rsFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes rsImgFloat { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-12px)} }

.rs-float-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rs-green); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: rsPulse 2s ease-in-out infinite;
}
.rs-float-dot-yellow {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,180,0,0.25);
}
@keyframes rsPulse { 0%,100%{box-shadow:0 0 0 3px rgba(16,185,129,0.25)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0.10)} }

/* ── TICKER ───────────────────────────────────────────── */
.rs-ticker {
  position: relative; z-index: 2;
  background: var(--rs-ink);
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.rs-ticker-track {
  display: flex; align-items: center; gap: 0;
  animation: rsTicker 38s linear infinite;
  white-space: nowrap; width: max-content;
}
/* drag control handled by JS — hover pause removed */
.rs-ticker-track span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 24px; font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.65); white-space: nowrap;
}
.rs-ticker-track span.sep { color: rgba(255,255,255,0.2); padding: 0 4px; }
.rs-ticker-track i {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.rs-ticker-track b { color: #fff; font-weight: 700; }
@keyframes rsTicker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════════════════════════════
   TRUST / MARQUEE
══════════════════════════════════════════════════════ */
.rs-trust {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #F6F9FF 0%, #fff 100%);
  border-bottom: 1px solid rgba(30,79,217,0.08);
  position: relative;
  overflow: hidden;
}
.rs-trust::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(30,79,217,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.rs-trust-head {
  text-align: center;
  margin-bottom: 52px;
  position: relative; z-index: 1;
}

/* Live badge */
.rs-trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,79,217,0.07);
  border: 1px solid rgba(30,79,217,0.18);
  color: var(--rs-blue);
  font-size: 0.8rem; font-weight: 700;
  padding: 7px 18px; border-radius: 999px;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.rs-trust-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rs-green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
  animation: rsPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Main title */
.rs-trust-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: var(--rs-ink);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.rs-trust-highlight {
  position: relative;
  color: var(--rs-blue);
  display: inline-block;
}
.rs-trust-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #FFD060);
  border-radius: 2px;
}

/* Description */
.rs-trust-desc {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* Pill badges */
.rs-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.rs-trust-pills span {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid rgba(30,79,217,0.12);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--rs-ink);
  box-shadow: 0 2px 8px rgba(15,26,26,0.05);
}
.rs-trust-pills svg {
  width: 14px; height: 14px; fill: var(--rs-green); flex-shrink: 0;
}

@media (max-width: 768px) {
  .rs-trust-title { font-size: 1.6rem; }
  .rs-trust-pills { gap: 8px; }
  .rs-trust-pills span { font-size: 0.78rem; padding: 5px 12px; }
  .rs-trust-head { margin-bottom: 36px; }
}

.rs-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.rs-marquee-track {
  display: flex; gap: 24px; align-items: center;
  animation: rsMarquee 32s linear infinite; width: max-content;
}
/* drag control handled by JS */
.rs-logo-card {
  flex-shrink: 0; width: 180px; height: 88px;
  background: #fff;
  border: 1.5px solid rgba(30,79,217,0.10);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(15,26,26,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rs-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,79,217,0.14);
  border-color: rgba(30,79,217,0.28);
}
.rs-logo-card img {
  max-height: 52px; width: auto; max-width: 100%;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}
.rs-logo-card:hover img { transform: scale(1.06); }
@keyframes rsMarquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════════════════════════════
   SHARED SECTION HELPERS
══════════════════════════════════════════════════════ */
.rs-section { padding: 100px 0; }

.rs-intro {
  text-align: center; max-width: 720px; margin: 0 auto 64px;
}
.rs-intro h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800; color: var(--rs-ink); letter-spacing: -0.5px;
  margin: 12px 0 16px;
}
.rs-intro p { color: var(--text-mid); font-size: 1.02rem; line-height: 1.78; }

/* ══════════════════════════════════════════════════════
   POWER / FEATURE GRID
══════════════════════════════════════════════════════ */
.rs-power {
  background:
    radial-gradient(ellipse at 8% 0%,   rgba(30,79,217,0.08)  0%, transparent 55%),
    radial-gradient(ellipse at 92% 100%, rgba(255,180,0,0.07)  0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16,185,129,0.04)  0%, transparent 60%),
    linear-gradient(180deg, #EDF2FF 0%, #F4F7FF 45%, #F9FBFF 100%);
  position: relative; overflow: hidden;
}

.rs-power-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.rs-power-card {
  background: #fff; border-radius: 22px; padding: 36px 30px;
  border: 1.5px solid rgba(30,79,217,0.08);
  box-shadow: 0 8px 32px rgba(15,26,26,0.06), 0 2px 8px rgba(15,26,26,0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative; overflow: hidden;
}
.rs-power-card::after {
  content: '';
  position: absolute;
  bottom: -28px; right: -28px;
  width: 110px; height: 110px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.07;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.rs-power-card:hover { transform: translateY(-6px); }
.rs-power-card:hover::after { opacity: 0.13; transform: scale(1.15); }

/* Larger, more prominent icon */
.rs-power-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--rs-blue-soft); display: flex;
  align-items: center; justify-content: center; margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(30,79,217,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rs-power-card:hover .rs-power-icon { transform: scale(1.06); }
.rs-power-icon svg { width: 28px; height: 28px; fill: var(--rs-blue); }
.rs-power-icon.rs-icon-blue  { background: var(--rs-blue-soft); box-shadow: 0 4px 14px rgba(30,79,217,0.15); }
.rs-power-icon.rs-icon-blue svg { fill: var(--rs-blue); }
.rs-power-icon.rs-icon-yellow { background: #FFF3CC; box-shadow: 0 4px 14px rgba(255,180,0,0.18); }
.rs-power-icon.rs-icon-yellow svg { fill: #C88B00; }
.rs-power-icon.rs-icon-green { background: #D1FAE5; box-shadow: 0 4px 14px rgba(16,185,129,0.18); }
.rs-power-icon.rs-icon-green svg { fill: #059669; }
.rs-power-icon.rs-icon-red  { background: #FFE4E9; box-shadow: 0 4px 14px rgba(233,69,96,0.16); }
.rs-power-icon.rs-icon-red svg { fill: #D92048; }
.rs-power-icon.rs-icon-purple { background: #EDE9FE; box-shadow: 0 4px 14px rgba(124,58,237,0.16); }
.rs-power-icon.rs-icon-purple svg { fill: #6D28D9; }
.rs-power-icon.rs-icon-teal { background: #CCFBF1; box-shadow: 0 4px 14px rgba(13,148,136,0.16); }
.rs-power-icon.rs-icon-teal svg { fill: #0F766E; }

.rs-power-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 12px; line-height: 1.3; }
.rs-power-card p  { font-size: 0.92rem; color: var(--text-mid); line-height: 1.72; }

.rs-power-cta { display: flex; gap: 16px; justify-content: center; }

/* ── POWER: background orbs ─────────────────────────── */
.rs-power-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.rs-power-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.rs-power-orb-1 {
  width: 420px; height: 420px; top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(30,79,217,0.14), transparent 70%);
}
.rs-power-orb-2 {
  width: 320px; height: 320px; bottom: -20px; left: -60px;
  background: radial-gradient(circle, rgba(255,180,0,0.11), transparent 70%);
}
.rs-power .container { position: relative; z-index: 1; }

/* ── POWER: section-tag with live dot ───────────────── */
.rs-power .section-tag::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rs-blue);
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(30,79,217,0.22);
  animation: rsPulse 2s ease-in-out infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── POWER: split header ────────────────────────────── */
.rs-power-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 68px;
  position: relative;
}

/* Subtle vertical separator */
.rs-power-header::before {
  content: '';
  position: absolute;
  left: 53%; top: 8%; bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(30,79,217,0.14) 25%,
    rgba(30,79,217,0.14) 75%,
    transparent 100%);
  pointer-events: none;
}

.rs-power-header-left { position: relative; }

.rs-power-header-left h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800; line-height: 1.17;
  color: var(--rs-ink); margin: 18px 0 0;
  letter-spacing: -1.5px;
}

/* Colored accent bar below heading */
.rs-power-header-left h2::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--rs-blue) 0%, var(--primary) 100%);
  border-radius: 999px;
}

.rs-power-header-right { padding-bottom: 0; }

/* Description with left accent border */
.rs-power-header-right > p {
  font-size: 1.04rem; color: var(--text-mid); line-height: 1.82;
  margin-bottom: 32px;
  padding-left: 18px;
  border-left: 3px solid rgba(30,79,217,0.25);
  border-radius: 1px;
}

/* ── POWER: header meta stats — separate color-coded cards ── */
.rs-power-meta {
  display: flex;
  gap: 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.rs-power-meta-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 18px;
  gap: 5px;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(30,79,217,0.09);
  box-shadow: 0 4px 18px rgba(15,26,26,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative; overflow: hidden;
}

/* Colored top bar per stat */
.rs-power-meta-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
}
.rs-power-meta-item:nth-child(1)::before { background: linear-gradient(90deg, var(--rs-blue), #5B8AFF); }
.rs-power-meta-item:nth-child(2)::before { background: linear-gradient(90deg, var(--rs-green), #34D399); }
.rs-power-meta-item:nth-child(3)::before { background: linear-gradient(90deg, #C88B00, var(--primary)); }

/* Subtle corner glow */
.rs-power-meta-item::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 64px; height: 64px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.rs-power-meta-item:nth-child(1)::after { background: var(--rs-blue); }
.rs-power-meta-item:nth-child(2)::after { background: var(--rs-green); }
.rs-power-meta-item:nth-child(3)::after { background: var(--primary); }

.rs-power-meta-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15,26,26,0.11);
}

.rs-power-meta-item strong {
  font-size: 1.9rem; font-weight: 900;
  line-height: 1; letter-spacing: -1.5px;
  display: block;
}
.rs-power-meta-item:nth-child(1) strong { color: var(--rs-blue); }
.rs-power-meta-item:nth-child(2) strong { color: #059669; }
.rs-power-meta-item:nth-child(3) strong { color: #C88B00; }

.rs-power-meta-item span {
  font-size: 0.7rem; color: var(--text-mid);
  font-weight: 700; text-align: left;
  text-transform: uppercase; letter-spacing: 0.6px;
  line-height: 1.4;
}

/* ── POWER: card internals ──────────────────────────── */
.rs-pc-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 18px;
}
.rs-pc-num {
  font-size: 2.8rem; font-weight: 900; line-height: 1;
  color: rgba(30,79,217,0.10); letter-spacing: -2px;
  user-select: none;
}
.rs-pc-tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 22px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--rs-blue-soft); color: var(--rs-blue);
}

/* Card accent bars + tinted backgrounds per colour */
.rs-pc-blue   { border-top: 3px solid var(--rs-blue);   background: linear-gradient(155deg, #ffffff 55%, rgba(30,79,217,0.04) 100%); }
.rs-pc-yellow { border-top: 3px solid var(--primary);    background: linear-gradient(155deg, #ffffff 55%, rgba(255,180,0,0.05)  100%); }
.rs-pc-green  { border-top: 3px solid var(--rs-green);   background: linear-gradient(155deg, #ffffff 55%, rgba(16,185,129,0.05) 100%); }
.rs-pc-red    { border-top: 3px solid #E94560;           background: linear-gradient(155deg, #ffffff 55%, rgba(233,69,96,0.05)  100%); }
.rs-pc-purple { border-top: 3px solid #7C3AED;           background: linear-gradient(155deg, #ffffff 55%, rgba(124,58,237,0.05) 100%); }
.rs-pc-teal   { border-top: 3px solid #0D9488;           background: linear-gradient(155deg, #ffffff 55%, rgba(13,148,136,0.05) 100%); }

/* Decorative blob per card colour */
.rs-pc-blue::after   { background: var(--rs-blue); }
.rs-pc-yellow::after { background: var(--primary); }
.rs-pc-green::after  { background: var(--rs-green); }
.rs-pc-red::after    { background: #E94560; }
.rs-pc-purple::after { background: #7C3AED; }
.rs-pc-teal::after   { background: #0D9488; }

/* Colour-specific hover shadows */
.rs-pc-blue:hover   { box-shadow: 0 20px 52px rgba(30,79,217,0.18),  0 4px 12px rgba(30,79,217,0.08);  border-color: rgba(30,79,217,0.22); }
.rs-pc-yellow:hover { box-shadow: 0 20px 52px rgba(255,180,0,0.18),  0 4px 12px rgba(255,180,0,0.08);  border-color: rgba(255,180,0,0.28); }
.rs-pc-green:hover  { box-shadow: 0 20px 52px rgba(16,185,129,0.18), 0 4px 12px rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.24); }
.rs-pc-red:hover    { box-shadow: 0 20px 52px rgba(233,69,96,0.18),  0 4px 12px rgba(233,69,96,0.08);  border-color: rgba(233,69,96,0.22); }
.rs-pc-purple:hover { box-shadow: 0 20px 52px rgba(124,58,237,0.18), 0 4px 12px rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.22); }
.rs-pc-teal:hover   { box-shadow: 0 20px 52px rgba(13,148,136,0.18), 0 4px 12px rgba(13,148,136,0.08); border-color: rgba(13,148,136,0.22); }

/* Number watermark tints */
.rs-pc-yellow .rs-pc-num  { color: rgba(255,180,0,0.15); }
.rs-pc-green  .rs-pc-num  { color: rgba(16,185,129,0.15); }
.rs-pc-red    .rs-pc-num  { color: rgba(233,69,96,0.15); }
.rs-pc-purple .rs-pc-num  { color: rgba(124,58,237,0.15); }
.rs-pc-teal   .rs-pc-num  { color: rgba(13,148,136,0.15); }

/* Tag per colour */
.rs-pc-yellow .rs-pc-tag  { background: #FFF3CC; color: #976600; }
.rs-pc-green  .rs-pc-tag  { background: #D1FAE5; color: #047857; }
.rs-pc-red    .rs-pc-tag  { background: #FFE4E9; color: #B91C3A; }
.rs-pc-purple .rs-pc-tag  { background: #EDE9FE; color: #5B21B6; }
.rs-pc-teal   .rs-pc-tag  { background: #CCFBF1; color: #0D7A72; }

/* ── POWER: CTA strip ───────────────────────────────── */
.rs-power-cta-strip {
  display: flex; align-items: center;
  justify-content: space-between; gap: 36px;
  margin-top: 60px; padding: 42px 56px;
  background: linear-gradient(120deg, #0B1B3F 0%, #1a3370 60%, #0B1B3F 100%);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(11,27,63,0.22), 0 4px 16px rgba(11,27,63,0.12);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.rs-power-cta-strip::before {
  content: '';
  position: absolute; top: -60px; right: 8%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,79,217,0.4), transparent 70%);
  pointer-events: none;
}
.rs-power-cta-strip::after {
  content: '';
  position: absolute; bottom: -50px; left: 15%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,0.15), transparent 70%);
  pointer-events: none;
}
.rs-power-cta-text {
  display: flex; flex-direction: column; gap: 8px;
  position: relative; z-index: 1;
}
.rs-power-cta-text strong {
  font-size: 1.35rem; font-weight: 800;
  color: #fff; line-height: 1.2;
}
.rs-power-cta-text span {
  font-size: 0.97rem; color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.rs-power-cta-btns {
  display: flex; gap: 14px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.rs-power-cta-btns .btn-outline {
  background: transparent !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: #fff !important;
}
.rs-power-cta-btns .btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.65) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════
   APP SHOWCASE
══════════════════════════════════════════════════════ */
.rs-apps-section { background: #fff; }

.rs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
}
.rs-showcase:last-child { margin-bottom: 0; }
.rs-showcase-rtl { direction: rtl; }
.rs-showcase-rtl > * { direction: ltr; }

.rs-showcase-body h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800; color: var(--rs-ink); letter-spacing: -0.5px;
  margin: 10px 0 16px;
}
.rs-showcase-desc {
  color: var(--text-mid); line-height: 1.75; margin-bottom: 28px;
}

.rs-mini-list {
  list-style: none; display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 32px;
}
.rs-mini-list li {
  display: flex; gap: 16px; align-items: flex-start;
}
.rs-mini-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--rs-blue-soft); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}
.rs-mini-icon svg { width: 20px; height: 20px; fill: var(--rs-blue); }
.rs-mini-list h4 { font-size: 0.96rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 4px; }
.rs-mini-list p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.68; margin: 0; }

.rs-app-mockup {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 28px 72px rgba(15,26,26,0.14);
  border: 1px solid rgba(30,79,217,0.06);
}
.rs-app-mockup img { width: 100%; display: block; }

/* ══════════════════════════════════════════════════════
   STAND OUT / FEATURES
══════════════════════════════════════════════════════ */
.rs-features-section { background: #F6F9FF; }

.rs-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.rs-split-left h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800; color: var(--rs-ink); letter-spacing: -0.5px;
  margin: 12px 0 18px;
}
.rs-split-left > p { color: var(--text-mid); font-size: 1rem; line-height: 1.78; margin-bottom: 32px; }

/* comparison table */
.rs-compare {
  border: 1px solid rgba(30,79,217,0.12);
  border-radius: 14px; overflow: hidden; margin-bottom: 32px;
}
.rs-compare-row {
  display: grid; grid-template-columns: 1fr 100px 100px;
  align-items: center; padding: 12px 18px;
  border-bottom: 1px solid rgba(30,79,217,0.07);
  font-size: 0.88rem;
}
.rs-compare-row:last-child { border-bottom: none; }
.rs-compare-head {
  background: var(--rs-ink); color: #fff; font-weight: 700; font-size: 0.8rem;
}
.rs-compare-row:not(.rs-compare-head):nth-child(even) { background: rgba(30,79,217,0.03); }
.rs-col-ongraph { text-align: center; font-weight: 700; }
.rs-col-saas    { text-align: center; font-weight: 700; }
.rs-yes     { color: var(--rs-green); font-size: 1.1rem; }
.rs-no      { color: #E94560;        font-size: 1.1rem; }
.rs-partial { color: var(--primary); font-size: 1.1rem; }

/* features grid */
.rs-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.rs-feat-card {
  background: #fff; border-radius: 14px; padding: 24px 22px;
  border: 1px solid rgba(30,79,217,0.08);
  box-shadow: var(--rs-card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rs-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(15,26,26,0.11);
}
.rs-feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--rs-blue-soft); display: flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.rs-feat-icon svg { width: 20px; height: 20px; fill: var(--rs-blue); }
.rs-feat-icon-yellow { background: #FFF8E7; }
.rs-feat-icon-yellow svg { fill: var(--primary); }
.rs-feat-icon-green  { background: #ECFDF5; }
.rs-feat-icon-green  svg { fill: var(--rs-green); }
.rs-feat-icon-teal   { background: #F0FDFA; }
.rs-feat-icon-teal   svg { fill: #0D9488; }
.rs-feat-icon-red    { background: #FFF0F0; }
.rs-feat-icon-red    svg { fill: #E94560; }
.rs-feat-icon-blue   { background: var(--rs-blue-soft); }
.rs-feat-icon-blue   svg { fill: var(--rs-blue); }
.rs-feat-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 8px; }
.rs-feat-card p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.rs-testimonials { background: #fff; }

.rs-testi-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.rs-testi-card {
  background: #F6F9FF; border-radius: 20px; padding: 36px 32px;
  border: 1px solid rgba(30,79,217,0.08);
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.rs-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15,26,26,0.10);
}
.rs-testi-featured {
  background: var(--rs-ink);
}
.rs-testi-featured p, .rs-testi-featured .rs-testi-quote {
  color: rgba(255,255,255,0.9);
}
.rs-testi-featured .rs-testi-author strong { color: #fff; }
.rs-testi-featured .rs-testi-author span   { color: rgba(255,255,255,0.6); }
.rs-testi-featured .rs-testi-stars { color: var(--primary); }
.rs-testi-featured .rs-testi-avatar {
  background: rgba(255,255,255,0.15); color: #fff;
}

.rs-testi-quote {
  font-size: 3.5rem; line-height: 1; color: rgba(30,79,217,0.15);
  font-weight: 900; margin-bottom: 16px; display: block;
}
.rs-testi-card p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px;
}
.rs-testi-author {
  display: flex; align-items: center; gap: 12px;
}
.rs-testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rs-blue-soft); color: var(--rs-blue);
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rs-testi-author strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--rs-ink); }
.rs-testi-author span   { font-size: 0.78rem; color: var(--text-mid); }
.rs-testi-stars { margin-left: auto; color: var(--primary); font-size: 0.85rem; white-space: nowrap; }

/* ══════════════════════════════════════════════════════
   COST BANNER
══════════════════════════════════════════════════════ */
.rs-cost-banner {
  background: linear-gradient(160deg, #0B1B3F 0%, #112466 100%);
  padding: 96px 0;
}
.rs-cost-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center;
}
.rs-cost-left .section-tag { color: rgba(255,180,0,0.9); border-color: rgba(255,180,0,0.3); background: rgba(255,180,0,0.08); }
.rs-cost-left h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800; color: #fff; letter-spacing: -0.5px; margin: 12px 0 18px;
}
.rs-cost-left > p { color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 32px; }

.rs-cost-tiers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.rs-cost-tier {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 22px 20px 28px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.rs-cost-tier::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  border-radius: 16px 0 0 16px;
}
.rs-cost-tier:nth-child(1)::before { background: linear-gradient(180deg,#3B82F6,#1E4FD9); }
.rs-cost-tier:nth-child(2)::before { background: linear-gradient(180deg,#FFD166,#FFB400); }
.rs-cost-tier:nth-child(3)::before { background: linear-gradient(180deg,#A78BFA,#7C3AED); }
.rs-cost-tier:hover {
  background: rgba(255,255,255,0.10);
  transform: translateX(3px);
  box-shadow: -3px 0 18px rgba(30,79,217,0.12);
}
.rs-tier-popular {
  border-color: rgba(255,180,0,0.45);
  background: rgba(255,180,0,0.07);
  box-shadow: 0 0 0 1px rgba(255,180,0,0.18), 0 6px 28px rgba(255,180,0,0.08);
}
.rs-tier-popular:hover {
  background: rgba(255,180,0,0.11);
  box-shadow: 0 0 0 1px rgba(255,180,0,0.3), -3px 0 20px rgba(255,180,0,0.14);
}
.rs-tier-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px;
}
.rs-tier-title-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.rs-tier-title-row strong { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.rs-tier-badge {
  display: inline-flex; align-items: center;
  background: var(--primary); color: var(--rs-ink);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.3px;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.rs-tier-top > strong { font-size: 1rem; font-weight: 700; color: #fff; }
.rs-tier-price {
  font-size: 1.05rem; font-weight: 800; color: var(--primary);
  white-space: nowrap; flex-shrink: 0; line-height: 1.3;
}
.rs-cost-tier p { font-size: 0.875rem; color: rgba(255,255,255,0.70); line-height: 1.7; margin: 0; }

.rs-cost-right { position: relative; }
.rs-cost-visual { position: relative; }
.rs-cost-visual img { border-radius: 16px; box-shadow: 0 30px 72px rgba(0,0,0,0.4); width: 100%; animation: rsImgFloat 7s ease-in-out infinite 0.5s; }
.rs-cost-tag {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(30,79,217,0.10); border-radius: 12px;
  padding: 10px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); z-index: 2;
}
.rs-cost-tag div { display: flex; flex-direction: column; }
.rs-cost-tag strong { font-size: 0.78rem; font-weight: 700; color: var(--rs-ink); }
.rs-cost-tag span   { font-size: 0.7rem; color: var(--text-mid); margin-top: 1px; }
.rs-cost-tag-top { top: -16px; left: -16px; animation: rsFloat 4s ease-in-out infinite; }
.rs-cost-tag-bot { bottom: -16px; right: -16px; animation: rsFloat 4s ease-in-out infinite 2s; }

/* ══════════════════════════════════════════════════════
   REVENUE STREAMS
══════════════════════════════════════════════════════ */
.rs-revenue { background: #fff; }

.rs-revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rs-revenue-card {
  background: #F6F9FF; border-radius: 18px; padding: 32px 26px;
  border: 1px solid rgba(30,79,217,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.rs-revenue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15,26,26,0.10);
}
.rs-revenue-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--rs-blue-soft); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
}
.rs-revenue-icon svg { width: 24px; height: 24px; fill: var(--rs-blue); }
.rs-rev-yellow     { background: #FFF8E7; } .rs-rev-yellow svg { fill: var(--primary); }
.rs-rev-green      { background: #ECFDF5; } .rs-rev-green  svg { fill: var(--rs-green); }
.rs-rev-blue       { background: var(--rs-blue-soft); } .rs-rev-blue svg { fill: var(--rs-blue); }
.rs-rev-purple     { background: #F5F0FF; } .rs-rev-purple svg { fill: #7C3AED; }
.rs-rev-teal       { background: #F0FDFA; } .rs-rev-teal   svg { fill: #0D9488; }
.rs-revenue-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 8px; }
.rs-revenue-card p  { font-size: 0.92rem; color: var(--text-mid); line-height: 1.72; margin-bottom: 14px; }
.rs-revenue-highlight {
  display: inline-flex; align-items: center;
  background: var(--rs-blue-soft); color: var(--rs-blue);
  font-size: 0.8rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}

/* ══════════════════════════════════════════════════════
   WHY ONGRAPH
══════════════════════════════════════════════════════ */
.rs-why-section { background: #F6F9FF; }

.rs-why-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.rs-why-left h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800; color: var(--rs-ink); letter-spacing: -0.5px; margin: 12px 0 18px;
}
.rs-why-left > p { color: var(--text-mid); line-height: 1.75; margin-bottom: 32px; }

.rs-why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px;
}
.rs-why-stat {
  background: #fff; border-radius: 14px; padding: 24px 20px;
  border: 1px solid rgba(30,79,217,0.08);
  box-shadow: var(--rs-card-shadow);
  display: flex; flex-direction: column;
}
.rs-why-stat strong {
  font-size: 1.9rem; font-weight: 800; color: var(--rs-blue);
  line-height: 1; letter-spacing: -1px;
}
.rs-why-stat strong span { font-size: 1.3rem; }
.rs-why-stat > span { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-top: 6px; }

.rs-why-list { display: flex; flex-direction: column; gap: 0; }
.rs-why-item {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid rgba(30,79,217,0.08);
}
.rs-why-item:last-child { border-bottom: none; }
.rs-why-num {
  font-size: 1.5rem; font-weight: 800; color: rgba(30,79,217,0.15);
  min-width: 44px; line-height: 1; padding-top: 2px; flex-shrink: 0;
}
.rs-why-item h4 { font-size: 1rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 6px; }
.rs-why-item p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════════════════════
   CLIENTS — marquee redesign
══════════════════════════════════════════════════════ */
.rs-clients-section {
  background: var(--rs-ink);
  overflow: hidden;
  padding-bottom: 80px;
  position: relative;
}
.rs-clients-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 50%, rgba(30,79,217,0.3), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255,180,0,0.12), transparent 50%);
}
.rs-clients-top { padding: 80px 0 52px; position: relative; z-index: 1; }

.rs-clients-head {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 20px;
}
.rs-clients-head .section-tag {
  background: rgba(30,79,217,0.25) !important;
  color: #7BA8FF !important;
  border-color: rgba(30,79,217,0.35) !important;
}
.rs-clients-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  max-width: 640px;
}
.rs-clients-head > p {
  color: rgba(255,255,255,0.72); font-size: 1rem;
  line-height: 1.78; max-width: 560px; margin: 0;
}
.rs-clients-metrics {
  display: flex; gap: 16px; margin-top: 12px;
  flex-wrap: wrap; justify-content: center;
}
.rs-cm-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 24px 32px;
  min-width: 150px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.rs-cm-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.rs-cm-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(30,79,217,0.35);
  display: flex; align-items: center; justify-content: center;
}
.rs-cm-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.rs-cm-item strong { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.rs-cm-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }
.rs-cm-sep { display: none; }

/* marquee rows */
.rs-clients-marquee-wrap { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }

.rs-client-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.rs-client-track {
  display: flex; gap: 16px; align-items: center;
  animation: rsClientScroll 28s linear infinite; width: max-content;
}
.rs-client-track-rev { animation-direction: reverse; animation-duration: 24s; }
/* drag control handled by JS */

.rs-cl-card {
  flex-shrink: 0; width: 210px; height: 100px;
  background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 28px;
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rs-cl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
}
.rs-cl-card img {
  max-height: 60px; width: auto; max-width: 100%;
  object-fit: contain; filter: none;
  opacity: 1;
}
@keyframes rsClientScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════
   FINAL CTA  — purple-violet redesign
══════════════════════════════════════════════════════ */
.rs-cta-final {
  position: relative; padding: 130px 0;
  background: linear-gradient(135deg,
    #0D0B2C 0%,
    #190650 20%,
    #2D1083 45%,
    #1E1870 65%,
    #080520 100%);
  overflow: hidden; isolation: isolate; text-align: center;
}

/* Dot-grid pattern overlay */
.rs-cta-final::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.9) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.9) 0%, transparent 100%);
}

/* Central glow pulse */
.rs-cta-final::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 420px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.20) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* Orbs */
.rs-cta-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rs-cta-orb { position: absolute; border-radius: 50%; }

.rs-cta-orb-1 {
  top: -18%; right: 2%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139,58,237,0.45), transparent 65%);
  filter: blur(90px);
  animation: rsOrb2 18s ease-in-out infinite;
}
.rs-cta-orb-2 {
  bottom: -18%; left: -4%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,180,0,0.28), transparent 65%);
  filter: blur(80px);
  animation: rsOrb1 14s ease-in-out infinite;
}

/* Top horizontal accent bar */
.rs-cta-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,58,237,0.6) 25%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,180,0,0.6) 75%,
    transparent 100%);
}

/* Bottom horizontal accent bar */
.rs-cta-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,58,237,0.3) 30%,
    rgba(255,180,0,0.3) 70%,
    transparent 100%);
}

.rs-cta-final .container { position: relative; z-index: 1; }

/* ── Content ──────────────────────────────────────── */
.rs-cta-content { max-width: 780px; margin: 0 auto; }

.rs-cta-content h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 900; color: #fff;
  letter-spacing: -2px; margin: 18px 0 20px; line-height: 1.12;
  text-shadow: 0 0 80px rgba(180,130,255,0.25);
}
.rs-cta-content p {
  color: rgba(255,255,255,0.78); font-size: 1.08rem;
  line-height: 1.8; margin-bottom: 40px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.rs-cta-content .hero-btns { justify-content: center; gap: 16px; }

/* Glowing primary button */
.rs-cta-content .btn-primary {
  box-shadow: 0 8px 36px rgba(255,180,0,0.45), 0 2px 12px rgba(255,180,0,0.3);
  transition: transform 0.22s, box-shadow 0.22s;
}
.rs-cta-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 52px rgba(255,180,0,0.60), 0 4px 20px rgba(255,180,0,0.40);
}

/* ── Section tag ──────────────────────────────────── */
.rs-tag-light {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(10px) !important;
  letter-spacing: 2px !important;
  font-size: 0.7rem !important;
}
.rs-tag-light::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFB400;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(255,180,0,0.25);
  animation: rsPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Outline CTA button ───────────────────────────── */
.rs-cta-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff; padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
  text-decoration: none; backdrop-filter: blur(8px);
}
.rs-cta-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-2px);
}

/* ── Platform logos bar ───────────────────────────── */
.rs-cta-logos {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 44px;
  font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 10px 24px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.4px;
}
.rs-cta-logos svg { opacity: 0.60; transition: opacity 0.2s; }
.rs-cta-logos svg:hover { opacity: 1; }
.rs-cta-logos span:last-child { color: rgba(255,255,255,0.65); font-weight: 700; }

/* ── Trust strip below logos ──────────────────────── */
.rs-cta-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; margin-top: 20px;
  flex-wrap: wrap;
}
.rs-cta-trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: rgba(255,255,255,0.50); font-weight: 600;
}
.rs-cta-trust-item svg { width: 14px; height: 14px; fill: #10B981; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   SECTION-TAG shared override (ensure rs- pages match)
══════════════════════════════════════════════════════ */
.rs-section .section-tag,
.rs-apps-section .section-tag,
.rs-features-section .section-tag,
.rs-testimonials .section-tag,
.rs-cost-banner .section-tag,
.rs-revenue .section-tag,
.rs-why-section .section-tag,
.rs-clients-section .section-tag,
.rs-cta-final .section-tag,
.rs-power .section-tag,
.faq-section .section-tag {
  display: inline-flex; align-items: center;
  background: var(--rs-blue-soft);
  color: var(--rs-blue);
  border: 1px solid rgba(30,79,217,0.18);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}

/* ── FAQ chevron fix — styles.css uses SVG fill which has no effect on <span> */
.faq-chevron {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(30,79,217,0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7A9A' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 18px; background-repeat: no-repeat; background-position: center;
  transition: transform 0.3s ease, background-color 0.25s;
  fill: none;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background-color: rgba(255,180,0,0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFB400' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
}
.faq-item summary:hover .faq-chevron { background-color: rgba(30,79,217,0.12); }

/* ══════════════════════════════════════════════════════
   APP SHOWCASE — TAB INTERFACE (enhanced)
══════════════════════════════════════════════════════ */

/* Larger intro heading */
.rs-apps-section .rs-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -1px; line-height: 1.18;
}
.rs-apps-section .rs-intro { margin-bottom: 0; }

/* ── Tab navigation — pill style ─────────────────── */
.rs-apps-section {
  background: linear-gradient(180deg, #EDF1FB 0%, #F5F8FF 55%, #fafbff 100%);
  position: relative;
}
.rs-apps-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(30,79,217,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}

.rs-tabs { margin-top: 52px; position: relative; z-index: 1; }

.rs-tabs-nav {
  display: flex; gap: 6px;
  background: #fff;
  border: 1px solid rgba(30,79,217,0.13);
  border-radius: 18px;
  padding: 6px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: 0 4px 20px rgba(30,79,217,0.08), 0 1px 4px rgba(30,79,217,0.06);
  margin-bottom: 0;
}
.rs-tabs-nav::-webkit-scrollbar { display: none; }

.rs-tab-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 22px; background: transparent; border: none;
  font-size: 0.91rem; font-weight: 600; cursor: pointer;
  color: var(--text-mid);
  border-bottom: none; margin-bottom: 0;
  transition: color 0.22s, background 0.22s, box-shadow 0.22s;
  white-space: nowrap; border-radius: 13px;
}
.rs-tab-btn:hover {
  color: var(--rs-blue);
  background: rgba(30,79,217,0.07);
}
.rs-tab-btn.is-active {
  color: #fff;
  background: var(--rs-blue);
  border-bottom: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(30,79,217,0.32);
}
.rs-tab-icon { width: 20px; height: 20px; display: flex; align-items: center; flex-shrink: 0; }
.rs-tab-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Tab panels — card style ──────────────────────── */
.rs-tab-panel { display: none; }
.rs-tab-panel.is-active {
  display: block;
  background: #fff;
  border: 1px solid rgba(30,79,217,0.1);
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(30,79,217,0.09), 0 2px 8px rgba(30,79,217,0.05);
  margin-top: 14px;
  overflow: hidden;
  animation: rsFadeIn 0.35s ease;
}
@keyframes rsFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Tab content grid ─────────────────────────────── */
.rs-tab-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
  padding: 52px 52px 52px;
}

/* ── Tab info (left side) ─────────────────────────── */
.rs-tab-info h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800;
  color: var(--rs-ink); margin-bottom: 14px; line-height: 1.22;
  letter-spacing: -0.5px;
}
.rs-tab-info > p {
  color: var(--text-mid); font-size: 1rem; line-height: 1.8; margin-bottom: 30px;
  padding-left: 16px;
  border-left: 3px solid rgba(30,79,217,0.2);
  border-radius: 1px;
}

/* ── Feature list — card-style items ─────────────── */
.rs-tab-list {
  list-style: none; padding: 0; margin: 0 0 34px;
  display: flex; flex-direction: column; gap: 12px;
}
.rs-tab-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(248,250,255,0.9);
  border: 1.5px solid rgba(30,79,217,0.07);
  transition: background 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.rs-tab-list li:hover {
  background: #EEF3FF;
  border-color: rgba(30,79,217,0.18);
  transform: translateX(5px);
  box-shadow: 0 4px 18px rgba(30,79,217,0.08);
}
/* Icon as a filled box */
.rs-tab-list li > svg {
  width: 40px; height: 40px;
  fill: var(--rs-blue);
  flex-shrink: 0;
  background: rgba(30,79,217,0.10);
  border-radius: 10px;
  padding: 9px;
  box-sizing: border-box;
  transition: background 0.22s, transform 0.22s;
}
.rs-tab-list li:hover > svg {
  background: rgba(30,79,217,0.16);
  transform: scale(1.08);
}
.rs-tab-list li strong {
  display: block; font-size: 0.96rem; font-weight: 700;
  color: var(--rs-ink); margin-bottom: 3px; line-height: 1.3;
}
.rs-tab-list li span { font-size: 0.875rem; color: var(--text-mid); line-height: 1.68; }

/* ── Tab media (right side) — clean, no outer box ── */
.rs-tab-media {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.rs-tab-media::before { display: none; }
.rs-tab-media::after  { display: none; }

.rs-tab-media img {
  position: relative; z-index: 1;
  width: 100%; max-width: 600px; border-radius: 24px;
  box-shadow: 0 24px 64px rgba(11,27,63,0.18), 0 6px 20px rgba(11,27,63,0.10);
  animation: rsImgFloat 6s ease-in-out infinite;
}
/* Wide variant (Admin Dashboard web screenshot) */
.rs-tab-media-wide img {
  max-width: 620px; border-radius: 16px;
}

/* ══════════════════════════════════════════════════════
   BUSINESS MODELS
══════════════════════════════════════════════════════ */
.rs-biz-section { background: var(--rs-blue-soft); }
.rs-biz-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.rs-biz-card {
  background: #fff; border-radius: 18px; padding: 32px 28px;
  border: 1px solid rgba(30,79,217,0.08);
  box-shadow: var(--rs-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rs-biz-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(15,26,26,0.12); }
.rs-biz-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--rs-blue-soft); display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  border: 1px solid rgba(30,79,217,0.15);
}
.rs-biz-icon svg { width: 26px; height: 26px; fill: var(--rs-blue); }
.rs-biz-card h4 { font-size: 1.08rem; font-weight: 700; color: var(--rs-ink); margin-bottom: 10px; }
.rs-biz-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   WHY ONGRAPH — DARK 6-CARD GRID
══════════════════════════════════════════════════════ */
.rs-why-section {
  background: var(--rs-ink);
  position: relative; overflow: hidden;
}
.rs-why-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,79,217,0.2), transparent 70%);
  pointer-events: none;
}
.rs-intro-light h2 { color: #fff; }
.rs-intro-light p { color: rgba(255,255,255,0.75); }
.rs-tag-light-blue {
  background: rgba(30,79,217,0.25) !important;
  color: #7BA8FF !important;
  border-color: rgba(30,79,217,0.35) !important;
}

.rs-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.rs-why-card {
  background: rgba(255,255,255,0.06); border-radius: 18px; padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.09);
  transition: background 0.25s ease, transform 0.25s ease;
}
.rs-why-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); }
.rs-why-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(30,79,217,0.35); display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
}
.rs-why-card-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.rs-why-card h4 { font-size: 1.08rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rs-why-card p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.7; }

.rs-why-stats-row {
  display: flex; gap: 0; margin-top: 52px;
  border: 1px solid rgba(255,255,255,0.10); border-radius: 16px;
  overflow: hidden; background: rgba(255,255,255,0.04);
}
.rs-why-stat-box {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px; gap: 6px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.rs-why-stat-box:last-child { border-right: none; }
.rs-why-stat-box strong { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.rs-why-stat-box span { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 500; text-align: center; }

/* ══════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════ */
.rs-case-section { background: #fff; }
.rs-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 52px;
}
.rs-case-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1.5px solid rgba(30,79,217,0.08);
  box-shadow: 0 8px 32px rgba(11,27,63,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column;
}
.rs-case-card:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(11,27,63,0.13); }

/* Colored top accents */
.rs-cc-blue   { border-top: 4px solid var(--rs-blue); }
.rs-cc-green  { border-top: 4px solid var(--rs-green); }
.rs-cc-purple { border-top: 4px solid #7C3AED; }

/* Image area */
.rs-case-img { height: 230px; overflow: hidden; flex-shrink: 0; position: relative; }
.rs-case-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.4s ease;
}
.rs-case-card:hover .rs-case-img img { transform: scale(1.04); }
.rs-case-img-overlay { position: absolute; bottom: 12px; left: 14px; }
.rs-case-cat {
  display: inline-block;
  background: rgba(11,27,63,0.72); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  letter-spacing: 0.4px; text-transform: uppercase;
}

/* Body */
.rs-case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }

/* Header row */
.rs-case-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rs-case-logo {
  width: 46px; height: 46px; border-radius: 12px;
  color: #fff; font-size: 0.82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 0.5px;
}
.rs-cl-blue   { background: var(--rs-blue); }
.rs-cl-green  { background: var(--rs-green); }
.rs-cl-purple { background: #7C3AED; }

.rs-case-title h4 {
  font-size: 1.05rem; font-weight: 800; color: var(--rs-ink);
  margin: 0 0 3px; line-height: 1.2;
}
.rs-case-region { font-size: 0.75rem; color: var(--text-mid); font-weight: 600; }

.rs-case-body > p {
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 20px; flex: 1;
}

/* Stats strip */
.rs-case-stats {
  display: flex; gap: 0; margin-bottom: 22px;
  background: #F6F9FF; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(30,79,217,0.08);
}
.rs-cs-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: 12px 6px; gap: 3px;
  border-right: 1px solid rgba(30,79,217,0.08);
}
.rs-cs-item:last-child { border-right: none; }
.rs-cs-item strong { font-size: 1.05rem; font-weight: 800; color: var(--rs-blue); line-height: 1; }
.rs-cc-green  .rs-cs-item strong { color: var(--rs-green); }
.rs-cc-purple .rs-cs-item strong { color: #7C3AED; }
.rs-cs-item span { font-size: 0.7rem; color: var(--text-mid); font-weight: 600; text-align: center; line-height: 1.4; }

/* CTA button */
.rs-case-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 20px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: all 0.2s ease; width: 100%; box-sizing: border-box;
}
.rs-case-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; flex-shrink: 0; }
.rs-case-btn-primary { background: var(--primary); color: var(--rs-ink); border: 2px solid var(--primary); }
.rs-case-btn-primary:hover { background: #e6a200; border-color: #e6a200; transform: translateY(-1px); }
.rs-case-btn-outline { background: transparent; color: var(--rs-blue); border: 2px solid rgba(30,79,217,0.22); }
.rs-case-btn-outline:hover { background: var(--rs-blue-soft); border-color: var(--rs-blue); }
.rs-cc-green  .rs-case-btn-outline { color: var(--rs-green); border-color: rgba(16,185,129,0.3); }
.rs-cc-green  .rs-case-btn-outline:hover { background: #ECFDF5; border-color: var(--rs-green); }
.rs-cc-purple .rs-case-btn-outline { color: #7C3AED; border-color: rgba(124,58,237,0.3); }
.rs-cc-purple .rs-case-btn-outline:hover { background: #F5F0FF; border-color: #7C3AED; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rs-hero .container { grid-template-columns: 1fr; gap: 50px; }
  .rs-hero-visual { justify-content: flex-start; }
  .rs-power-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-power-header { grid-template-columns: 1fr; gap: 32px; }
  .rs-showcase { grid-template-columns: 1fr; gap: 40px; }
  .rs-showcase-rtl { direction: ltr; }
  .rs-split-hero { grid-template-columns: 1fr; gap: 48px; }
  .rs-testi-grid { grid-template-columns: 1fr 1fr; }
  .rs-testi-featured { grid-column: 1 / -1; }
  .rs-cost-inner { grid-template-columns: 1fr; gap: 48px; }
  /* Tab content: keep 2-col at 1100px but equalize */
  .rs-tab-content { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .rs-tab-media img { max-width: 480px; }
  .rs-tab-media-wide img { max-width: 520px; }
  .rs-revenue-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-why-split { grid-template-columns: 1fr; gap: 48px; }
  .rs-biz-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-why-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-case-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-tab-content { grid-template-columns: 1fr; gap: 48px; }
  .rs-tab-media img { max-width: 100%; }
  .rs-tab-media-wide img { max-width: 100%; }
  .rs-tab-media::before { display: none; }
  .rs-tab-media::after { display: none; }
  .rs-tab-info > p { padding-left: 14px; }
}

@media (max-width: 768px) {
  .rs-section { padding: 64px 0; }
  .rs-hero { padding: 80px 0 0; }
  .rs-hero-content h1 { font-size: 2rem; line-height: 1.22; }
  .rs-hero-sub { max-width: 100%; font-size: 1rem; }
  .rs-phone-group { transform: scale(0.85); transform-origin: center top; }
  .rs-hero-float { display: none; }

  /* ── Hero mobile: image above text, stats as 2×2 grid ── */
  .rs-hero .container { gap: 28px; }
  .rs-hero-visual {
    order: -1;
    min-height: auto;
    padding-bottom: 0;
    padding-top: 0;
    justify-content: center;
  }
  .rs-hero-img-wrap {
    max-width: 300px;
    margin: 0 auto;
    animation: none;
    filter: drop-shadow(0 12px 28px rgba(11,27,63,0.18));
  }
  .rs-hero-img { max-height: 270px; border-radius: 16px; }
  .rs-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
    background: rgba(30,79,217,0.12);
    border-radius: 14px;
    overflow: hidden;
    flex-wrap: unset;
  }
  .rs-stat {
    padding: 14px 16px;
    background: #fff;
    gap: 4px;
  }
  .rs-stat:first-child { padding-left: 16px; }
  .rs-stat strong { font-size: 1.5rem; letter-spacing: -0.5px; }
  .rs-stat-sep { display: none; }

  /* keep 2-col grids on tablet — collapse only at 480px */
  .rs-power-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-feat-grid  { grid-template-columns: repeat(2, 1fr); }
  .rs-biz-grid   { grid-template-columns: repeat(2, 1fr); }
  .rs-why-grid   { grid-template-columns: repeat(2, 1fr); }
  .rs-case-grid  { grid-template-columns: repeat(2, 1fr); }
  .rs-revenue-grid { grid-template-columns: repeat(2, 1fr); }

  .rs-power-header { grid-template-columns: 1fr; gap: 28px; }
  .rs-power-cta-strip { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
  .rs-power-cta-btns { width: 100%; flex-direction: column; }
  .rs-clients-head { grid-template-columns: 1fr; gap: 28px; }
  .rs-testi-grid { grid-template-columns: 1fr; }
  .rs-why-stats { grid-template-columns: 1fr 1fr; }
  .rs-why-stats-row { flex-wrap: wrap; }
  .rs-why-stat-box { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .rs-why-stat-box:last-child { border-bottom: none; }
  .rs-cl-card { width: 170px; height: 84px; }
  .rs-cl-card img { max-height: 48px; }
  .rs-compare { overflow-x: auto; }
  .rs-compare-row { grid-template-columns: 1fr 80px 80px; font-size: 0.8rem; }
  .rs-cost-tiers { gap: 12px; }
  .rs-cta-final { padding: 80px 0; }
  .rs-cta-content h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -1.5px; }
  .rs-cta-content { max-width: 100%; }
  .rs-cta-logos { padding: 9px 18px; gap: 10px; }
  .rs-power-cta { flex-direction: column; align-items: center; }
  .rs-tab-btn { padding: 9px 13px; font-size: 0.8rem; border-radius: 10px; }
  .rs-tab-btn span:last-child { display: none; }
  .rs-tab-icon { width: 18px; height: 18px; }
  .rs-tab-list li { padding: 14px 14px; gap: 12px; }
  .rs-tab-list li > svg { width: 36px; height: 36px; padding: 8px; }
  .rs-tabs-nav { padding: 5px; gap: 4px; border-radius: 14px; }
  .rs-tab-panel.is-active { border-radius: 16px; margin-top: 10px; }
  .rs-tab-content { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .rs-tab-media img { max-width: 100%; animation: none; }
  .rs-tab-media-wide img { max-width: 100%; }
  .rs-feat-phone-img { animation: none; }
  .rs-revenue-img-wrap img { animation: none; }
  .rs-cm-item { min-width: 130px; padding: 18px 20px; }
  .rs-cm-item strong { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .rs-hero-content h1 { font-size: 1.75rem; line-height: 1.25; }
  .rs-hero-sub { font-size: 0.95rem; }
  .rs-hero-img-wrap { max-width: 260px; }
  .rs-hero-img { max-height: 240px; }
  .rs-stat { padding: 12px 14px; }
  .rs-stat strong { font-size: 1.3rem; }

  /* single-column at small phone */
  .rs-power-grid   { grid-template-columns: 1fr; }
  .rs-feat-grid    { grid-template-columns: 1fr; }
  .rs-biz-grid     { grid-template-columns: 1fr; }
  .rs-why-grid     { grid-template-columns: 1fr; }
  .rs-case-grid    { grid-template-columns: 1fr; }
  .rs-revenue-grid { grid-template-columns: 1fr; }
  .rs-why-stats-row { flex-direction: column; }
  .rs-why-stat-box { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .rs-why-stat-box:last-child { border-bottom: none; }
  .rs-why-stats { grid-template-columns: 1fr; }

  .rs-cta-content h2 { font-size: 1.7rem; line-height: 1.22; letter-spacing: -1px; }
  .rs-cta-content .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .rs-cta-logos { flex-wrap: wrap; padding: 8px 16px; font-size: 0.72rem; }
  .rs-cta-trust { gap: 16px; }
  .rs-cta-final { padding: 72px 0; }
  .rs-cta-final::before { background-size: 24px 24px; }
  .rs-power-meta { flex-direction: column; }
  .rs-power-meta-item { border-right: none; border-bottom: 1px solid rgba(30,79,217,0.10); }
  .rs-power-meta-item:last-child { border-bottom: none; }
  .rs-power-cta-btns { flex-direction: column; }
  .rs-tab-btn span:last-child { display: inline; font-size: 0.74rem; }
  .rs-tab-content { padding: 22px 18px 22px; gap: 28px; }
  .rs-tab-panel.is-active { border-radius: 14px; margin-top: 8px; }
  .rs-tab-list { gap: 10px; }
  .rs-tab-list li { padding: 12px 12px; }
  .rs-tab-list li > svg { width: 32px; height: 32px; padding: 7px; border-radius: 8px; }
  .rs-tab-info > p { border-left: none; padding-left: 0; }
  .rs-tab-info h3 { font-size: 1.45rem; }
  .rs-clients-metrics { gap: 10px; }
  .rs-cm-item { min-width: 110px; padding: 14px 16px; }
  .rs-cm-item strong { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════
   HERO IMAGE (replaces CSS phone mockup)
══════════════════════════════════════════════════════ */
.rs-hero-img-wrap {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(11,27,63,0.22));
  animation: rsHeroImgFloat 6s ease-in-out infinite;
}
.rs-hero-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  max-height: 420px;
  object-fit: contain;
}
@keyframes rsHeroImgFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ══════════════════════════════════════════════════════
   APP MOCKUP — WEB SCREENSHOT VARIANT
   (wider aspect for desktop screenshots)
══════════════════════════════════════════════════════ */
.rs-app-mockup-web {
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(15,26,26,0.16);
  border: 1px solid rgba(30,79,217,0.10);
  background: #fff;
  overflow: hidden;
}
.rs-app-mockup-web img {
  width: 100%; display: block;
  border-radius: 14px;
}

/* ══════════════════════════════════════════════════════
   FEATURE PHONES — stand-out section phone pair
══════════════════════════════════════════════════════ */
.rs-feat-phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}
.rs-feat-phone-img {
  width: calc(50% - 8px);
  max-width: 200px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(11,27,63,0.18);
  display: block;
  object-fit: cover;
  border: 1px solid rgba(30,79,217,0.08);
  animation: rsImgFloat 6s ease-in-out infinite;
}
.rs-feat-phone-img:nth-child(2) { animation-delay: 1.5s; }

/* ══════════════════════════════════════════════════════
   REVENUE CARDS — image variant
══════════════════════════════════════════════════════ */
.rs-revenue-card-img {
  background: #fff;
  padding: 0 0 24px;
  overflow: hidden;
}
.rs-revenue-img-wrap {
  width: 100%;
  background: #F6F9FF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 20px;
  min-height: 160px;
}
.rs-revenue-img-wrap img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  animation: rsImgFloat 6s ease-in-out infinite;
  object-fit: contain;
  display: block;
}
.rs-revenue-card-img h4,
.rs-revenue-card-img p,
.rs-revenue-card-img .rs-revenue-highlight {
  padding: 0 22px;
}
.rs-revenue-card-img h4 { margin-bottom: 8px; }
.rs-revenue-card-img p  { margin-bottom: 14px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — image adjustments
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rs-hero-img-wrap { max-width: 380px; }
  .rs-feat-phones { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .rs-hero-img-wrap { max-width: 380px; margin: 0 auto; }
  .rs-feat-phones { justify-content: center; gap: 14px; }
  .rs-feat-phone-img { max-width: 155px; }
  .rs-revenue-img-wrap { min-height: 130px; padding: 16px; }
  .rs-revenue-img-wrap img { max-height: 110px; }
}
@media (max-width: 480px) {
  .rs-hero-img-wrap { max-width: 320px; }
  .rs-feat-phones { gap: 10px; }
  .rs-feat-phone-img { max-width: 140px; border-radius: 20px; }
  .rs-revenue-img-wrap { min-height: 110px; padding: 12px; }
  .rs-revenue-img-wrap img { max-height: 95px; }
}

/* ══════════════════════════════════════════════════════
   POWER SECTION — enhanced mobile responsive
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rs-power-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .rs-power-header { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
  .rs-power-header::before { display: none; }
  .rs-power-cta-strip { padding: 36px 40px; }
}
@media (max-width: 768px) {
  .rs-power-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .rs-power-card { padding: 28px 22px; border-radius: 18px; }
  .rs-power-icon { width: 50px; height: 50px; border-radius: 14px; }
  .rs-power-icon svg { width: 24px; height: 24px; }
  .rs-pc-num { font-size: 2.2rem; }
  .rs-power-cta-strip { padding: 30px 24px; margin-top: 44px; border-radius: 18px; }
  .rs-power-meta { gap: 10px; }
  .rs-power-meta-item { padding: 16px 14px; border-radius: 14px; }
  .rs-power-meta-item strong { font-size: 1.5rem; }
  .rs-power-header-left h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); letter-spacing: -1px; }
  .rs-power-header-right > p { padding-left: 14px; }
  .rs-power-header-left h2::after { width: 44px; height: 3px; margin-top: 16px; }
}
@media (max-width: 480px) {
  .rs-power-grid { grid-template-columns: 1fr; }
  .rs-power-card { padding: 26px 20px; }
  .rs-power-cta-strip { flex-direction: column; align-items: flex-start; gap: 22px; }
  .rs-power-cta-btns { width: 100%; flex-direction: column; }
  .rs-power-meta { flex-direction: column; gap: 10px; }
  .rs-power-meta-item { padding: 16px 16px; border-radius: 14px; }
  .rs-power-header::before { display: none; }
}
