/* =========================================================
   Revenue Solutions Microsite – Styles
   ========================================================= */

/* ---- HERO ---- */
.rs-hero {
  background:
    radial-gradient(circle at 15% 30%, rgba(245,158,11,.45), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(14,165,164,.4), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(124,58,237,.5), transparent 50%),
    linear-gradient(135deg, #0b1e4e 0%, #13296b 45%, #3b2c9b 100%) !important;
  color: #fff;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.rs-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}
.rs-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  left: -150px; top: -200px;
  background: radial-gradient(circle, rgba(245,158,11,.3), transparent 70%);
  filter: blur(40px);
  border-radius: 50%;
  animation: floatOrb 6s ease-in-out infinite alternate;
}
.rs-hero .container { position: relative; z-index: 2; }

.rs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  padding: .45rem 1.25rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95) !important;
  margin-bottom: 1.5rem;
}
.rs-hero-badge i { font-size: 1rem; }

.rs-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 1.25rem;
}

.rs-hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.9) !important;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.rs-hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---- STATS BAR ---- */
.rs-stats {
  background: linear-gradient(135deg, #0b1e4e, #1e3a8a);
  padding: 2.5rem 0;
  position: relative;
}
.rs-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
}
.rs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.rs-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rs-stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ---- SECTION COMMON ---- */
.rs-overview, .rs-process, .rs-industries, .rs-global, .rs-why {
  padding: 5rem 0;
  position: relative;
}
.rs-overview { background: #fff; }
.rs-process { background: linear-gradient(180deg, #f8fafc, #f1f5f9); }
.rs-industries { background: #fff; }
.rs-global { background: linear-gradient(180deg, #f8fafc, #f1f5f9); }
.rs-why { background: #fff; }

.rs-overview h2, .rs-process h2, .rs-industries h2, .rs-global h2, .rs-why h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  color: #0f172a;
  margin-bottom: .75rem;
  position: relative;
}
.rs-overview h2::after, .rs-process h2::after, .rs-industries h2::after, .rs-why h2::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #0ea5a4);
  margin: .75rem auto 0;
  border-radius: 3px;
}

.rs-section-sub {
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ---- FEATURE CARDS ---- */
.rs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.rs-feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.rs-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #0ea5a4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.rs-feature-card:hover::before { transform: scaleX(1); }
.rs-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,23,42,.08), 0 0 0 1px rgba(124,58,237,.08);
}
.rs-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.rs-icon-teal    { background: linear-gradient(135deg, rgba(14,165,164,.15), rgba(6,182,212,.08)); color: #0d9488; box-shadow: inset 0 0 0 1px rgba(14,165,164,.18); }
.rs-icon-indigo  { background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(99,102,241,.08)); color: #4f46e5; box-shadow: inset 0 0 0 1px rgba(79,70,229,.18); }
.rs-icon-amber   { background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(251,191,36,.08)); color: #d97706; box-shadow: inset 0 0 0 1px rgba(245,158,11,.18); }
.rs-icon-emerald { background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(52,211,153,.08)); color: #059669; box-shadow: inset 0 0 0 1px rgba(16,185,129,.18); }
.rs-icon-rose    { background: linear-gradient(135deg, rgba(244,63,94,.12), rgba(251,113,133,.08)); color: #e11d48; box-shadow: inset 0 0 0 1px rgba(244,63,94,.16); }
.rs-icon-blue    { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(96,165,250,.08)); color: #2563eb; box-shadow: inset 0 0 0 1px rgba(59,130,246,.18); }

.rs-feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: .6rem;
}
.rs-feature-card p {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.65;
}

/* ---- TIMELINE / PROCESS ---- */
.rs-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.rs-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #7c3aed, #0ea5a4);
}
.rs-timeline-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}
.rs-timeline-item:last-child { margin-bottom: 0; }

.rs-timeline-num {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 8px 24px rgba(124,58,237,.25);
  position: relative;
  z-index: 1;
}
.rs-timeline-content {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.rs-timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: .4rem;
}
.rs-timeline-content p {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.65;
}

/* ---- INDUSTRIES GRID ---- */
.rs-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.rs-industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.75rem 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.rs-industry:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  background: #fff;
}
.rs-industry i {
  font-size: 1.75rem;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(14,165,164,.08));
  color: #7c3aed;
}
.rs-industry span {
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
}

/* ---- PRODUCT CATEGORIES ---- */
.rs-products {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  position: relative;
}
.rs-products h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  color: #0f172a;
  margin-bottom: .75rem;
}
.rs-products h2::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #0ea5a4);
  margin: .75rem auto 0;
  border-radius: 3px;
}
.rs-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.rs-product-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default;
}
.rs-product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  border-color: rgba(124,58,237,.15);
}
.rs-product-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(14,165,164,.08));
  color: #7c3aed;
}
.rs-product-item span {
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

/* ---- GLOBAL REACH (Interactive Map) ---- */
.rs-global h2::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #0ea5a4);
  margin: .75rem auto 0;
  border-radius: 3px;
}

.rs-map-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.rs-interactive-map {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(124,58,237,.08), transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(14,165,164,.08), transparent 50%),
    linear-gradient(135deg, #fafbfc, #f5f7fb);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  border: 1px solid rgba(124,58,237,.1);
  box-shadow: 0 8px 32px rgba(15,23,42,.06);
}
.rs-interactive-map::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.04) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}

.rs-world-svg {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
}
.rs-map-dots circle {
  transition: fill .3s;
}

/* Animated connection lines */
.rs-line-anim {
  animation: dashFlow 20s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

/* Marker pulse */
.rs-pulse-ring {
  fill: none;
  stroke: rgba(124,58,237,.35);
  stroke-width: 1.5;
  animation: markerPulse 2.5s ease-in-out infinite;
}
.rs-pulse-2 {
  animation-delay: .8s;
}
.rs-marker-hub .rs-pulse-ring {
  stroke: rgba(245,158,11,.45);
}
@keyframes markerPulse {
  0%, 100% { r: 10; opacity: 0; }
  50% { r: 18; opacity: .6; }
}

.rs-marker-label {
  font-size: 9px;
  font-weight: 700;
  fill: #1e293b;
  text-anchor: middle;
  letter-spacing: .1em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(255,255,255,.9);
  stroke-width: 2.5px;
  stroke-linejoin: round;
}
.rs-label-hub {
  fill: #b45309;
  font-size: 10px;
  font-weight: 800;
}

/* Tooltip */
.rs-map-tooltip {
  position: absolute;
  background: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(124,58,237,.15);
  color: #0f172a;
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(15,23,42,.1);
}
.rs-map-tooltip.active { opacity: 1; }

/* Marker hover interaction */
.rs-marker {
  cursor: pointer;
  transition: transform .2s;
}
.rs-marker:hover circle:last-of-type {
  r: 7;
}

/* Region cards below map */
.rs-region-cards {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.rs-region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
  min-width: 160px;
  flex: 0 1 auto;
}
.rs-region-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15,23,42,.07);
}
.rs-region-card i {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.rs-region-card div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rs-region-card strong {
  display: block;
  font-size: .9rem;
  color: #0f172a;
  margin-bottom: .25rem;
  white-space: nowrap;
}
.rs-region-card span {
  font-size: .78rem;
  color: #64748b;
  line-height: 1.45;
}

/* ---- WHY S-ANCIAL ---- */
.rs-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.rs-why-card {
  background: linear-gradient(180deg, #fff, #faf5ff);
  border: 1px solid rgba(124,58,237,.08);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.rs-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(124,58,237,.08);
}
.rs-why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(14,165,164,.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .75rem;
}
.rs-why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: .5rem;
}
.rs-why-card p {
  font-size: .92rem;
  color: #64748b;
  line-height: 1.65;
}

/* ---- CTA ---- */
.rs-cta {
  background:
    radial-gradient(circle at 30% 50%, rgba(124,58,237,.5), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(14,165,164,.35), transparent 45%),
    linear-gradient(135deg, #0b1e4e, #13296b, #3b2c9b);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rs-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.rs-cta .container { position: relative; z-index: 2; }
.rs-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 1rem;
}
.rs-cta h2::after { display: none; }
.rs-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.rs-cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .rs-features-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-industries-grid { grid-template-columns: repeat(3, 1fr); }
  .rs-products-grid { grid-template-columns: repeat(3, 1fr); }
  .rs-region-cards { gap: 1rem; }
}

@media (max-width: 768px) {
  .rs-hero { padding: 6.5rem 0 3.5rem; }
  .rs-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .rs-stat-num { font-size: 2rem; }
  .rs-features-grid { grid-template-columns: 1fr; }
  .rs-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-products-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-region-cards { gap: .75rem; }
  .rs-region-card { min-width: 140px; padding: 1rem 1.25rem; }
  .rs-interactive-map { padding: 1.25rem; }
  .rs-why-grid { grid-template-columns: 1fr; }
  .rs-timeline::before { left: 28px; }
  .rs-timeline-num { width: 56px; height: 56px; font-size: 1.1rem; }
  .rs-overview, .rs-process, .rs-industries, .rs-global, .rs-why, .rs-products { padding: 3.5rem 0; }
  .rs-cta { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .rs-hero h1 { font-size: 1.75rem; }
  .rs-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .rs-stat-num { font-size: 1.75rem; }
  .rs-industries-grid { grid-template-columns: 1fr 1fr; }
  .rs-products-grid { grid-template-columns: 1fr; }
  .rs-region-card { min-width: 120px; }
  .rs-interactive-map { padding: 1rem; border-radius: 14px; }
  .rs-timeline { padding-left: 0; }
  .rs-timeline::before { left: 24px; }
  .rs-timeline-num { width: 48px; height: 48px; font-size: 1rem; }
  .rs-timeline-content { padding: 1.25rem; }
}
