/* ============================================================
   ARCHETYPE A — "Fortress" (Bastion)
   Class prefix: rmp-
   Dark theme with primary/secondary accent colors
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary-color: #6d4aff;
  --secondary-color: #00d4aa;
  --bg-deep: #0d0d1a;
  --bg-surface: #13132b;
  --bg-elevated: #1a1a3e;
  --bg-card: #16162e;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6e6e8a;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ---- Keyframe Animations (CSS-only entrance) ---- */
@keyframes rmp-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rmp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rmp-scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes rmp-slide-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes rmp-slide-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes rmp-glow-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}
@keyframes rmp-counter-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Site Wrapper ---- */
.rmp-site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.rmp-content {
  flex: 1;
}

/* === HEADER / MASTHEAD === */
.rmp-masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-base);
}
.rmp-masthead.rmp-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.rmp-primary-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.rmp-nav-links-left,
.rmp-nav-links-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.rmp-nav-links-left {
  justify-content: flex-end;
}
.rmp-nav-links-right {
  justify-content: flex-start;
}
.rmp-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0 16px;
}
.rmp-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}
.rmp-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.rmp-nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.rmp-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.rmp-action-btn {
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color, #6d4aff);
  border-radius: var(--radius-md);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  margin-left: 1rem;
}
.rmp-action-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Mobile toggle */
.rmp-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.rmp-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.rmp-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rmp-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.rmp-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === HERO === */
.rmp-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 24px 80px;
  text-align: center;
  overflow: hidden;
}
.rmp-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.rmp-hero-heading {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color, #6d4aff) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rmp-fade-up 0.8s ease both;
}
.rmp-hero-subheading {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
  animation: rmp-fade-up 0.8s ease 0.15s both;
}
.rmp-hero-actions {
  animation: rmp-fade-up 0.8s ease 0.3s both;
}
.rmp-hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-color, #6d4aff) 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
  animation: rmp-glow-pulse 6s ease-in-out infinite;
}

/* ---- Shared Buttons ---- */
.rmp-btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
}
.rmp-btn:hover {
  transform: translateY(-2px);
}
.rmp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color, #6d4aff), var(--secondary-color, #00d4aa));
  box-shadow: 0 4px 20px rgba(109, 74, 255, 0.3);
}
.rmp-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(109, 74, 255, 0.45);
}
.rmp-btn-outline {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-light);
}
.rmp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary-color, #6d4aff);
}
.rmp-btn-lg {
  padding: 17px 42px;
  font-size: 1.08rem;
}

/* === METRICS / STATS ASIDE BAR === */
.rmp-metrics-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 24px;
}
.rmp-metrics-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.rmp-metric {
  text-align: center;
  animation: rmp-counter-rise 0.7s ease both;
}
.rmp-metric:nth-child(1) { animation-delay: 0.1s; }
.rmp-metric:nth-child(2) { animation-delay: 0.2s; }
.rmp-metric:nth-child(3) { animation-delay: 0.3s; }
.rmp-metric:nth-child(4) { animation-delay: 0.4s; }
.rmp-metric-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-color, #6d4aff);
}
.rmp-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === FEATURES / CAPABILITIES (2x2 grid) === */
.rmp-capabilities {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.rmp-section-header {
  text-align: center;
  margin-bottom: 60px;
}
.rmp-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.rmp-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.rmp-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.rmp-capability {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--transition-base), border-color var(--transition-base),
    box-shadow var(--transition-base);
  animation: rmp-scale-in 0.6s ease both;
}
.rmp-capability:nth-child(1) { animation-delay: 0.1s; }
.rmp-capability:nth-child(2) { animation-delay: 0.2s; }
.rmp-capability:nth-child(3) { animation-delay: 0.3s; }
.rmp-capability:nth-child(4) { animation-delay: 0.4s; }
.rmp-capability:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color, #6d4aff);
  box-shadow: 0 8px 32px rgba(109, 74, 255, 0.12);
}
.rmp-capability-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.15), rgba(0, 212, 170, 0.08));
  color: var(--primary-color, #6d4aff);
  margin-bottom: 20px;
}
.rmp-capability-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.rmp-capability-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === PRICING / PLANS (2-tier) === */
.rmp-plans {
  padding: 100px 24px;
  background: var(--bg-surface);
}
.rmp-plans .rmp-section-header {
  margin-bottom: 56px;
}
.rmp-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}
.rmp-plan {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: rmp-fade-up 0.7s ease both;
}
.rmp-plan:nth-child(1) { animation-delay: 0.15s; }
.rmp-plan:nth-child(2) { animation-delay: 0.3s; }
.rmp-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.rmp-plan-featured {
  border-color: var(--primary-color, #6d4aff);
  background: linear-gradient(180deg, rgba(109, 74, 255, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 40px rgba(109, 74, 255, 0.1);
}
.rmp-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color, #6d4aff), var(--secondary-color, #00d4aa));
  border-radius: 20px;
  white-space: nowrap;
}
.rmp-plan-header {
  margin-bottom: 28px;
}
.rmp-plan-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rmp-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.rmp-price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.rmp-price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.rmp-plan-features {
  margin-bottom: 32px;
  text-align: left;
}
.rmp-plan-feature {
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding-left: 28px;
  position: relative;
}
.rmp-plan-feature:last-child {
  border-bottom: none;
}
.rmp-plan-feature::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary-color, #00d4aa);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rmp-plan .rmp-btn {
  width: 100%;
}
.rmp-plans-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === FINAL CTA === */
.rmp-final-cta {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}
.rmp-final-cta-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.rmp-final-cta-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
  animation: rmp-fade-up 0.7s ease both;
}
.rmp-final-cta-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  animation: rmp-fade-up 0.7s ease 0.12s both;
}
.rmp-final-cta .rmp-btn {
  animation: rmp-fade-up 0.7s ease 0.24s both;
}
.rmp-final-cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary-color, #00d4aa) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  animation: rmp-glow-pulse 7s ease-in-out infinite;
}

/* === FAQ / QUESTIONS (details/summary) === */
.rmp-questions {
  padding: 100px 24px;
  background: var(--bg-surface);
}
.rmp-questions .rmp-section-header {
  margin-bottom: 48px;
}
.rmp-questions-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rmp-question {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
  animation: rmp-fade-up 0.6s ease both;
}
.rmp-question:nth-child(1) { animation-delay: 0.1s; }
.rmp-question:nth-child(2) { animation-delay: 0.2s; }
.rmp-question:nth-child(3) { animation-delay: 0.3s; }
.rmp-question[open] {
  border-color: var(--primary-color, #6d4aff);
}
.rmp-question-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast);
}
.rmp-question-trigger::-webkit-details-marker {
  display: none;
}
.rmp-question-trigger::marker {
  display: none;
  content: '';
}
.rmp-question-trigger::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
  background: var(--text-muted);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition-base);
}
.rmp-question[open] .rmp-question-trigger::after {
  transform: rotate(180deg);
}
.rmp-question-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}
.rmp-question-answer {
  padding: 0 24px 20px;
}
.rmp-question-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === FOOTER === */
.rmp-site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 40px;
}
.rmp-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.rmp-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rmp-footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.rmp-footer-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.rmp-footer-about {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 400px;
}
.rmp-footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rmp-footer-links-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.rmp-footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rmp-footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.rmp-footer-link:hover {
  color: var(--primary-color, #6d4aff);
}

/* === MOBILE RESPONSIVE (768px breakpoint) === */
@media (max-width: 768px) {
  .rmp-mobile-toggle {
    display: flex;
  }
  .rmp-primary-nav {
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }
  .rmp-nav-links-left,
  .rmp-nav-links-right {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
  }
  .rmp-primary-nav.rmp-nav-open .rmp-nav-links-left,
  .rmp-primary-nav.rmp-nav-open .rmp-nav-links-right {
    display: flex;
  }
  .rmp-masthead {
    height: auto;
    min-height: var(--nav-height);
  }
  .rmp-primary-nav.rmp-nav-open {
    padding-bottom: 16px;
    background: rgba(13, 13, 26, 0.98);
  }
  .rmp-nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }
  .rmp-action-btn {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }
  .rmp-hero {
    padding: calc(var(--nav-height) + 48px) 20px 60px;
  }
  .rmp-hero-heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .rmp-hero-glow {
    width: 400px;
    height: 400px;
  }
  .rmp-metrics-list {
    gap: 24px;
  }
  .rmp-metric {
    flex: 0 0 calc(50% - 12px);
  }
  .rmp-metric-number {
    font-size: 1.6rem;
  }
  .rmp-capabilities {
    padding: 64px 20px;
  }
  .rmp-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rmp-capability {
    padding: 28px 24px;
  }
  .rmp-plans {
    padding: 64px 20px;
  }
  .rmp-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
  }
  .rmp-plan {
    padding: 32px 24px;
  }
  .rmp-price-amount {
    font-size: 2.2rem;
  }
  .rmp-final-cta {
    padding: 64px 20px;
  }
  .rmp-final-cta-glow {
    width: 350px;
    height: 350px;
  }
  .rmp-questions {
    padding: 64px 20px;
  }
  .rmp-question-trigger {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .rmp-question-answer {
    padding: 0 20px 16px;
  }
  .rmp-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rmp-site-footer {
    padding: 40px 20px 32px;
  }
}

/* ---- Small screens (480px) fine-tuning ---- */
@media (max-width: 480px) {
  .rmp-hero-heading {
    font-size: 1.7rem;
  }
  .rmp-hero-subheading {
    font-size: 0.95rem;
  }
  .rmp-btn {
    padding: 12px 24px;
    font-size: 0.92rem;
  }
  .rmp-btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }
  .rmp-section-title {
    font-size: 1.5rem;
  }
  .rmp-metrics-list {
    gap: 16px;
  }
  .rmp-metric {
    flex: 0 0 calc(50% - 8px);
  }
  .rmp-metric-number {
    font-size: 1.35rem;
  }
  .rmp-metric-label {
    font-size: 0.75rem;
  }
}

/* ---- Selection & Scrollbar ---- */
::selection {
  background: var(--primary-color, #6d4aff);
  color: #fff;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---- Focus visible for accessibility ---- */
:focus-visible {
  outline: 2px solid var(--primary-color, #6d4aff);
  outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* === Download Platform Links === */
.rmp-download-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.rmp-dl-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.rmp-dl-link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  transition: all 0.2s;
}
.rmp-dl-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* === Download Buttons Grid === */
.rmp-download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.rmp-download-btns .rmp-btn {
  flex: 1 1 0;
  min-width: 140px;
  max-width: 220px;
  text-align: center;
  padding: 14px 20px;
}
@media (max-width: 768px) {
  .rmp-download-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .rmp-download-btns .rmp-btn {
    max-width: 100%;
    width: 100%;
  }
}

/* === Language Switcher === */
.rmp-lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
}
.rmp-lang-icon { opacity: 0.5; }
.rmp-lang-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.rmp-lang-link:hover { color: #fff; }
.rmp-lang-sep { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ── Section headers for extra content sections ── */
.rmp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    padding: 0 20px;
}
.rmp-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
.rmp-section-intro {
    font-size: 1.063rem;
    line-height: 1.7;
    opacity: 0.7;
}

/* ── Features grid section spacing ── */
.rmp-features-grid-section {
    padding: 80px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.rmp-features-grid-section + .rmp-features-grid-section {
    margin-top: 40px;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Features grid: fixed 3 columns on desktop ── */
@media (min-width: 769px) {
    .rmp-features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ── Section header responsive ── */
@media (max-width: 768px) {
    .rmp-section-title { font-size: 1.75rem; }
    .rmp-section-intro { font-size: 0.938rem; }
}
@media (max-width: 480px) {
    .rmp-section-title { font-size: 1.5rem; }
    .rmp-section-header { margin-bottom: 32px; }
}

/* === Mobile & Overflow Fixes === */
body {
  overflow-x: hidden;
}

.rmp-hero-subheading,
.rmp-capability-text,
.rmp-faq-entry p,
.rmp-plan-feature {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 360px) {
  .rmp-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .rmp-capabilities,
  .rmp-plans,
  .rmp-faq-list {
    padding-left: 16px;
    padding-right: 16px;
  }
}
