/* Ray Panel — brand system from logo.png (coral → teal / black) */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-FD-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --rp-ink: #0b0b10;
  --rp-ink-2: #14141c;
  --rp-coral: #f06868;
  --rp-peach: #f09050;
  --rp-amber: #f8b050;
  --rp-teal: #78c8b8;
  --rp-cyan: #60b8d0;
  --rp-magenta: #e8558a;
  --rp-surface: #f7f8fb;
  --rp-grad-ray: linear-gradient(135deg, #f8b050 0%, #f06868 42%, #78c8b8 78%, #60b8d0 100%);
  --rp-grad-panel: linear-gradient(160deg, #f06868 0%, #e8558a 55%, #c44b9a 100%);
  --rp-grad-cta: linear-gradient(120deg, #f09050 0%, #f06868 45%, #60b8d0 100%);
  --rp-glow-coral: rgba(240, 104, 104, 0.35);
  --rp-glow-teal: rgba(96, 184, 208, 0.35);
}

html,
body {
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  letter-spacing: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

/* Brand overrides for landing CTAs */
.btn-primary {
  --bs-btn-bg: #f06868;
  --bs-btn-border-color: #f06868;
  --bs-btn-hover-bg: #e25555;
  --bs-btn-hover-border-color: #e25555;
  --bs-btn-active-bg: #d44848;
  --bs-btn-active-border-color: #d44848;
  background-image: var(--rp-grad-cta) !important;
  border: 0 !important;
}

.btn-success {
  --bs-btn-bg: #60b8d0;
  --bs-btn-border-color: #60b8d0;
  --bs-btn-hover-bg: #4aa8c2;
  --bs-btn-hover-border-color: #4aa8c2;
}

.btn-light-primary {
  color: #d44848 !important;
  background: rgba(240, 104, 104, 0.1) !important;
}

.text-primary,
.link-primary {
  color: #e25555 !important;
}

.badge-light-primary {
  color: #d44848 !important;
  background: rgba(240, 104, 104, 0.12) !important;
}

.badge-primary {
  background: var(--rp-grad-cta) !important;
  border: 0 !important;
}

.menu-state-title-primary .menu-item .menu-link.active .menu-title,
.menu-state-title-primary .menu-item .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
.menu-state-title-primary .menu-item .menu-link:focus:not(.disabled):not(.active):not(.here) .menu-title {
  color: #f06868 !important;
}

.rp-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--rp-grad-ray);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rp-hero-title {
  font-weight: 800;
  line-height: 1.35;
}

.rp-hero-sub {
  max-width: 46rem;
  margin-inline: auto;
  line-height: 1.9;
  color: rgba(226, 232, 240, 0.78) !important;
}

.rp-gradient-text {
  background: var(--rp-grad-ray);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rp-btn-glow {
  box-shadow: 0 12px 34px var(--rp-glow-coral);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(96, 184, 208, 0.4);
}

/* ===== Modern hero ===== */
.rp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(240, 104, 104, 0.22), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(96, 184, 208, 0.2), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(232, 85, 138, 0.12), transparent 45%),
    linear-gradient(180deg, #07070b 0%, #101018 55%, #14141c 100%);
  color: #fff;
}

.rp-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.rp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: rp-float 12s ease-in-out infinite;
}

.rp-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(240, 144, 80, 0.55), transparent 70%);
}

.rp-orb-2 {
  width: 380px;
  height: 380px;
  right: -60px;
  top: 20%;
  background: radial-gradient(circle, rgba(96, 184, 208, 0.5), transparent 70%);
  animation-delay: -4s;
}

.rp-orb-3 {
  width: 280px;
  height: 280px;
  left: 35%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(232, 85, 138, 0.35), transparent 70%);
  animation-delay: -7s;
}

.rp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.7;
}

.rp-slash {
  position: absolute;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 144, 80, 0.55), rgba(96, 184, 208, 0.55), transparent);
  transform: rotate(-18deg);
  top: 38%;
  left: -20%;
  opacity: 0.55;
}

.rp-slash-2 {
  top: 58%;
  transform: rotate(14deg);
  opacity: 0.28;
  background: linear-gradient(90deg, transparent, rgba(232, 85, 138, 0.45), transparent);
}

.rp-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.rp-ring-1 {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -80px;
}

.rp-ring-2 {
  width: 340px;
  height: 340px;
  right: -40px;
  top: 20px;
  border-color: rgba(96, 184, 208, 0.15);
}

.rp-hero-inner {
  position: relative;
  z-index: 2;
}

.rp-hero-wave {
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
  color: #fff;
}

.rp-hero-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

/* Header on brand hero — Metronic uses body[data-kt-sticky-landing-header=on] */
.rp-hero .landing-header {
  background: transparent;
}

[data-kt-sticky-landing-header="on"] .landing-header {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(11, 11, 16, 0.08);
}

/* Top of page (over dark hero): light menu */
body:not([data-kt-sticky-landing-header="on"]) .rp-hero .landing-header .menu-link {
  color: rgba(255, 255, 255, 0.82) !important;
}

body:not([data-kt-sticky-landing-header="on"]) .rp-hero .landing-header .menu-link.active,
body:not([data-kt-sticky-landing-header="on"]) .rp-hero .landing-header .menu-link:hover {
  color: #fff !important;
  background-color: transparent !important;
}

/* Sticky (over white content): dark menu + brand accent */
[data-kt-sticky-landing-header="on"] .landing-header .menu-link {
  color: #3f4254 !important;
}

[data-kt-sticky-landing-header="on"] .landing-header .menu-link.active,
[data-kt-sticky-landing-header="on"] .landing-header .menu-link:hover {
  color: #f06868 !important;
  background-color: rgba(240, 104, 104, 0.1) !important;
}

.rp-logo-img {
  height: 56px;
  width: auto;
  border-radius: 10px;
}

[data-kt-sticky-landing-header="on"] .rp-logo-img,
.rp-page .rp-logo-img {
  height: 48px;
}

.landing-header .logo-sticky {
  display: none !important;
}

.landing-header .logo-default {
  display: block !important;
}

[data-kt-sticky-landing-header="on"] .landing-header .logo-sticky {
  display: block !important;
}

[data-kt-sticky-landing-header="on"] .landing-header .logo-default {
  display: none !important;
}

.landing-header .menu-link {
  font-weight: 600 !important;
}

/* Mobile menu toggle contrast */
body:not([data-kt-sticky-landing-header="on"]) .rp-hero #kt_landing_menu_toggle i {
  color: #fff !important;
}

[data-kt-sticky-landing-header="on"] #kt_landing_menu_toggle i {
  color: #3f4254 !important;
}

.rp-feature-card,
.rp-price-card,
.rp-module-card,
.rp-testimonial-card,
.rp-widget-card,
.rp-audience-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  border-radius: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.rp-feature-card:hover,
.rp-module-card:hover,
.rp-testimonial-card:hover,
.rp-widget-card:hover,
.rp-audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 11, 16, 0.08);
  border-color: rgba(240, 104, 104, 0.28);
}

.rp-audience-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}

.rp-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rp-price-card > ul {
  flex: 1 1 auto;
  margin-bottom: 0 !important;
}

.rp-price-card > .btn {
  margin-top: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.rp-price-card.is-popular {
  border-color: rgba(240, 104, 104, 0.4);
  box-shadow: 0 22px 50px rgba(240, 104, 104, 0.16);
}

.rp-price-card.is-popular:hover {
  transform: translateY(-4px);
}

.rp-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(240, 104, 104, 0.14), rgba(96, 184, 208, 0.14));
  flex-shrink: 0;
  color: #e25555;
}

.rp-section-soft {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(240, 104, 104, 0.07), transparent 60%),
    radial-gradient(700px 360px at 10% 20%, rgba(96, 184, 208, 0.08), transparent 55%),
    var(--rp-surface);
}

.rp-section-dark {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(240, 104, 104, 0.18), transparent 55%),
    radial-gradient(700px 360px at 90% 30%, rgba(96, 184, 208, 0.16), transparent 50%),
    var(--rp-ink);
  color: #fff;
}

.rp-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(96, 184, 208, 0.16);
  color: #60b8d0;
}

.rp-cta-panel {
  border-radius: 1.5rem;
  background: var(--rp-grad-cta);
  overflow: hidden;
  position: relative;
}

.rp-cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.rp-widget-panel {
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 60px rgba(11, 11, 16, 0.12);
  overflow: hidden;
}

.rp-widget-panel .rp-widget-bar {
  height: 2.75rem;
  background: var(--rp-ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
}

.rp-widget-panel .rp-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #475569;
}

.rp-widget-panel .rp-dot:nth-child(1) { background: #f06868; }
.rp-widget-panel .rp-dot:nth-child(2) { background: #f8b050; }
.rp-widget-panel .rp-dot:nth-child(3) { background: #78c8b8; }

.rp-mini-stat {
  border-radius: 1rem;
  background: var(--rp-surface);
  padding: 1rem 1.15rem;
  height: 100%;
}

.rp-progress {
  height: 0.45rem;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
}{
  "failed": 0,
  "success": 0,
  "discarded": 0,
  "processed": 0
}

.rp-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rp-grad-cta);
}

.rp-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 110px;
}

.rp-chart-bars span {
  flex: 1;
  border-radius: 0.4rem 0.4rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #60b8d0, #78c8b8);
  opacity: 0.9;
}

.rp-chart-bars span:nth-child(odd) {
  background: linear-gradient(180deg, #f09050, #f06868);
}

.rp-kpi-card {
  height: 100%;
  border-radius: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 11, 16, 0.04);
}

.rp-stat-chip {
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 11, 16, 0.12);
  min-height: 8.5rem;
}

.rp-stat-chip--green { background: linear-gradient(145deg, #22c55e, #16a34a); }
.rp-stat-chip--blue { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.rp-stat-chip--pink { background: linear-gradient(145deg, #f472b6, #db2777); }
.rp-stat-chip--purple { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.rp-stat-chip--orange { background: linear-gradient(145deg, #fb923c, #ea580c); }
.rp-stat-chip--cyan { background: linear-gradient(145deg, #22d3ee, #0891b2); }

.rp-dash-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 28px 64px rgba(11, 11, 16, 0.12);
}

.rp-dash-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.rp-queue-item {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: var(--rp-surface, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.rp-ticket-col {
  text-align: center;
  padding: 0.9rem 0.5rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.rp-ticket-col.is-high {
  background: rgba(240, 104, 104, 0.08);
  border-color: rgba(240, 104, 104, 0.18);
}

.rp-ticket-col.is-mid {
  background: rgba(248, 176, 80, 0.1);
  border-color: rgba(248, 176, 80, 0.22);
}

.rp-ticket-col.is-low {
  background: rgba(96, 184, 208, 0.1);
  border-color: rgba(96, 184, 208, 0.2);
}

.rp-ops-footer {
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 36px rgba(11, 11, 16, 0.05);
}

.rp-faq .accordion-button {
  font-weight: 700;
  font-family: inherit;
}

.rp-faq .accordion-button:not(.collapsed) {
  background: rgba(240, 104, 104, 0.08);
  color: #e25555;
  box-shadow: none;
}

.rp-faq .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #fff;
}

.rp-illus {
  display: block;
  margin-inline: auto;
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.rp-illus-lg {
  max-height: 360px;
}

/* Product slider */
.rp-slider {
  position: relative;
}

.rp-slider .tns-outer {
  direction: ltr;
}

.rp-slide-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 11, 16, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.rp-slide-frame img {
  width: 100%;
  display: block;
}

.rp-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(11, 11, 16, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rp-slider-nav.prev { left: -0.5rem; }
.rp-slider-nav.next { right: -0.5rem; }

@media (min-width: 992px) {
  .rp-slider-nav.prev { left: -1.25rem; }
  .rp-slider-nav.next { right: -1.25rem; }
}

@keyframes rp-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(18px) scale(1.04); }
}

@keyframes rp-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.rp-animate { animation: rp-rise 0.7s ease both; }
.rp-animate-delay-1 { animation-delay: 0.12s; }
.rp-animate-delay-2 { animation-delay: 0.24s; }
.rp-animate-delay-3 { animation-delay: 0.36s; }

@media (max-width: 991.98px) {
  .rp-hero-title { font-size: 2rem !important; }
  .rp-price-card.is-popular { transform: none; }
  .rp-logo-img { height: 44px; }
  [data-kt-sticky-landing-header="on"] .rp-logo-img,
  .rp-page .rp-logo-img { height: 40px; }
  .rp-orb-1, .rp-orb-2 { width: 260px; height: 260px; }
}

/* SEO rich panel */
.rp-seo-panel {
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at 12% 18%, rgba(240, 104, 104, 0.08), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(96, 184, 208, 0.1), transparent 40%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 48px rgba(11, 11, 16, 0.06);
}

.rp-compare-card {
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.rp-compare-card.is-good {
  border-color: rgba(96, 184, 208, 0.35);
  background: linear-gradient(180deg, #fff, rgba(96, 184, 208, 0.06));
}

.rp-slide-frame figcaption {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* One-line conversion pitch */
.rp-pitch {
  background:
    linear-gradient(90deg, rgba(240, 104, 104, 0.08), rgba(96, 184, 208, 0.1)),
    #0b0b10;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-pitch-line {
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.6;
  color: #fff;
  letter-spacing: -0.02em;
  background: var(--rp-grad-ray);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== Multi-page shell ========== */
.rp-page .landing-header {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(11, 11, 16, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rp-page .landing-header .menu-link {
  color: #3f4254 !important;
}

.rp-page .landing-header .menu-link.active,
.rp-page .landing-header .menu-link:hover {
  color: #f06868 !important;
  background-color: rgba(240, 104, 104, 0.1) !important;
}

.rp-page .landing-header .logo-default {
  display: none !important;
}

.rp-page .landing-header .logo-sticky {
  display: block !important;
}

.rp-page #kt_landing_menu_toggle i {
  color: #3f4254 !important;
}

.rp-page-hero {
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(240, 104, 104, 0.22), transparent 55%),
    radial-gradient(600px 280px at 10% 40%, rgba(96, 184, 208, 0.18), transparent 50%),
    var(--rp-ink);
  padding-top: 1rem;
}

.rp-page-hero .rp-hero-sub {
  max-width: 40rem;
  margin-inline: 0;
  text-align: start;
}

.rp-breadcrumb a {
  text-decoration: none;
}

.rp-prose {
  max-width: 48rem;
}

.rp-contact-aside {
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(180deg, #fff, #f8fafc),
    radial-gradient(circle at 90% 0%, rgba(96, 184, 208, 0.1), transparent 45%);
}

.rp-legal {
  max-width: 46rem;
  margin-inline: auto;
}

.rp-legal h2 {
  scroll-margin-top: 6rem;
}

/* Gallery bento */
.rp-gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.rp-gallery-item {
  grid-column: span 12;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0b0b10;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(11, 11, 16, 0.08);
  min-height: 240px;
}

@media (min-width: 768px) {
  .rp-gallery-item {
    grid-column: span 6;
    min-height: 280px;
  }
  .rp-gallery-item--hero {
    grid-column: span 12;
    min-height: 420px;
  }
}

@media (min-width: 1200px) {
  .rp-gallery-item {
    grid-column: span 4;
  }
  .rp-gallery-item--hero {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 100%;
  }
}

.rp-gallery-item .rp-gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  text-align: start;
}

.rp-gallery-item picture,
.rp-gallery-item picture img,
.rp-slide-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-slide-frame picture img {
  width: 100%;
  height: auto;
  display: block;
}

.rp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.rp-gallery-zoom {
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b10;
  box-shadow: 0 10px 24px rgba(11, 11, 16, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.rp-gallery-item:hover .rp-gallery-zoom,
.rp-gallery-item:focus-within .rp-gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.rp-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

body.rp-lb-open {
  overflow: hidden;
}

.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.rp-lightbox[hidden] {
  display: none !important;
}

.rp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rp-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 2.5rem);
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0b0b10;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: rp-lb-in 0.28s ease both;
}

@keyframes rp-lb-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.rp-lightbox-stage {
  background: #111118;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  max-height: min(72vh, 820px);
  overflow: auto;
}

.rp-lightbox-stage img {
  max-width: 100%;
  max-height: min(72vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.rp-lightbox-meta {
  padding: 1.1rem 1.35rem 1.25rem;
  background: linear-gradient(180deg, #14141c, #0b0b10);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-lightbox-close {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.rp-lightbox-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.rp-lightbox-nav.prev { right: 0.75rem; }
.rp-lightbox-nav.next { left: 0.75rem; }

.rp-lightbox-close:hover,
.rp-lightbox-nav:hover {
  background: rgba(240, 104, 104, 0.9);
}

@media (max-width: 767.98px) {
  .rp-lightbox-nav { top: auto; bottom: 5.5rem; }
  .rp-lightbox-nav.prev { right: 1rem; }
  .rp-lightbox-nav.next { left: 1rem; }
}

.rp-gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(11, 11, 16, 0.88));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
  z-index: 2;
}

.rp-gallery-item figcaption strong {
  font-size: 1.05rem;
}

.rp-gallery-item figcaption span:last-child {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 600;
}

.rp-gallery-item--soon {
  background:
    radial-gradient(circle at 30% 20%, rgba(240, 104, 104, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(96, 184, 208, 0.12), transparent 45%),
    #f8fafc;
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.rp-gallery-soon {
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 2rem;
}

.rp-gallery-filter.active {
  box-shadow: 0 8px 20px rgba(240, 104, 104, 0.25);
}


.rp-ops-shot {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(11, 11, 16, 0.1);
}

.rp-ops-shot picture,
.rp-ops-shot img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 992px) {
  .rp-ops-shot img { height: 220px; }
}

.rp-case-card {
  border-radius: 1.35rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 16px 40px rgba(11, 11, 16, 0.06);
}

.rp-case-card .rp-case-media {
  height: 220px;
  overflow: hidden;
  background: #0b0b10;
}

.rp-case-card .rp-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.rp-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rp-case-aside {
  border-radius: 1rem;
  background: var(--rp-surface, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.35rem;
}


.rp-case-media--tall {
  height: 100%;
  min-height: 280px;
}

.rp-case-media--tall img {
  height: 100%;
  min-height: 280px;
}

@media (min-width: 992px) {
  .rp-case-media--tall,
  .rp-case-media--tall img {
    min-height: 100%;
  }
}

.rp-case-chip {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  padding: 0.65rem 0.9rem;
}

.rp-case-metric {
  background: #f8fafc;
  border-radius: 0.9rem;
  padding: 0.85rem 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: center;
  height: 100%;
}

.rp-case-aside.is-good {
  border-color: rgba(96, 184, 208, 0.28);
  background: linear-gradient(180deg, #fff, rgba(96, 184, 208, 0.06));
}

.rp-case-quote {
  border-radius: 1rem;
  background: rgba(240, 104, 104, 0.06);
  border: 1px solid rgba(240, 104, 104, 0.14);
  padding: 1.1rem 1.2rem;
}

.rp-case-jump {
  border-radius: 999px !important;
}

.rp-case-detail {
  scroll-margin-top: 6rem;
}

/* ===== SEO landing upgrades: sell / flow / panels / compare ===== */
#sell,
#how,
#automation,
#panels,
#compare {
  scroll-margin-top: 5.5rem;
}

.rp-sell-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rp-sell-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.rp-sell-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rp-coral);
  background: rgba(240, 104, 104, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.rp-sell-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rp-sell-list li {
  position: relative;
  padding-right: 1.1rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.rp-sell-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--rp-grad-ray);
}

.rp-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.rp-flow-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.15rem;
  padding: 1.25rem 1rem 1.35rem;
  text-align: center;
  height: 100%;
}

.rp-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.85rem;
  left: -0.65rem;
  width: 0.7rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 104, 104, 0.15), rgba(96, 184, 208, 0.55));
}

.rp-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: var(--rp-grad-cta);
}

.rp-auto-chip {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  transition: border-color 0.2s ease;
}

.rp-auto-chip:hover {
  border-color: rgba(96, 184, 208, 0.35);
}

.rp-shot-frame {
  position: relative;
  border-radius: 1.35rem;
  padding: 0.75rem;
  background: linear-gradient(145deg, rgba(240, 104, 104, 0.18), rgba(96, 184, 208, 0.18));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.rp-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.rp-shot-frame.is-client {
  background: linear-gradient(145deg, rgba(96, 184, 208, 0.2), rgba(248, 176, 80, 0.16));
}

.rp-compare-table-wrap {
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

.rp-compare-table {
  margin: 0;
  min-width: 640px;
}

.rp-compare-table thead th {
  background: #0b0b10;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem 1.1rem;
  border: 0;
}

.rp-compare-table tbody th,
.rp-compare-table tbody td {
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-color: rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}

.rp-compare-table tbody th {
  color: #0f172a;
  width: 22%;
  background: #f8fafc;
}

.rp-compare-table tbody td:last-child {
  color: #0f172a;
  background: rgba(96, 184, 208, 0.06);
}

.rp-compare-table tbody tr:hover td:last-child {
  background: rgba(96, 184, 208, 0.12);
}

@media (max-width: 1199.98px) {
  .rp-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rp-flow-step:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .rp-flow {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .rp-flow-step:nth-child(2n)::after {
    display: none;
  }
  .rp-flow-step {
    text-align: start;
    padding: 1rem;
  }
  .rp-hero .btn-lg {
    width: 100%;
  }
}
