/* ===================================
   RoPay Portfolio — Premium Style
   Theme: Purple & Black
   =================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Purple Palette */
  --purple-50: #f7f9ff;
  --purple-100: #edf1ff;
  --purple-200: #dbe3ff;
  --purple-300: #bdc9ff;
  --purple-400: #93a7ff;
  --purple-500: #6682ff;
  --purple-600: #5675ed;
  --purple-700: #4668e3;
  --purple-800: #3655bc;
  --purple-900: #2b438f;

  /* Dark Palette */
  --dark-50: #f8f9fa;
  --dark-100: #e9ecef;
  --dark-200: #dee2e6;
  --dark-300: #ced4da;
  --dark-400: #adb5bd;
  --dark-500: #868e96;
  --dark-600: #495057;
  --dark-700: #343a40;
  --dark-800: #1a1a2e;
  --dark-850: #12121f;
  --dark-900: #0a0a14;
  --dark-950: #060610;

  /* Accent Colors */
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #3b82f6;
  --pink: #6f8cff;
  --cyan: #06b6d4;
  --discord: #4e76ef;

  /* Typography */
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 120px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;
}

html {
  scroll-padding-top: 80px;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--dark-950);
  color: var(--dark-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--purple-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy base navbar placeholder - handled by Framer Modern Navbar */

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-400);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn > svg { flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 100%);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(72, 105, 236, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 105, 236, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(72, 105, 236, 0.3);
  color: var(--purple-300);
  padding: 10px 20px;
  font-size: 14px;
}

.btn-outline:hover {
  background: rgba(72, 105, 236, 0.08);
  border-color: rgba(72, 105, 236, 0.5);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent 30%);
  animation: btnGlow 4s linear infinite;
}

@keyframes btnGlow {
  to { transform: rotate(360deg); }
}

.btn-discord {
  background: var(--discord);
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 12px;
  width: 100%;
  justify-content: center;
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 105, 232, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  text-decoration: none;
  color: var(--dark-200);
  font-size: 22px;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--purple-400);
}

.btn-mobile-cta {
  margin-top: 16px;
  padding: 14px 32px;
  font-size: 16px;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(43, 68, 159, 0.3);
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(72, 105, 236, 0.2);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(61, 96, 221, 0.1);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(72, 105, 236, 0.1);
  border: 1px solid rgba(72, 105, 236, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-300);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: white;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--dark-400);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.stat-number::after {
  content: '+';
  color: var(--purple-400);
}

.stat-label {
  font-size: 13px;
  color: var(--dark-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Visual — Extension Preview */
.hero-visual {
  position: relative;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.extension-preview {
  background: var(--dark-850);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(72, 105, 236, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 380px;
  animation: heroFloat 6s ease-in-out infinite;
}

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

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--dark-500);
  flex: 1;
}

.preview-content {
  padding: 12px;
}

.preview-popup {
  background: var(--dark-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.popup-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.popup-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
}

.popup-balance {
  margin-bottom: 14px;
}

.popup-balance-label {
  font-size: 10px;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.popup-balance-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.popup-amount {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.popup-stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.popup-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popup-stat-label {
  font-size: 9px;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popup-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-200);
  margin-top: 2px;
}

.popup-tx-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.popup-tx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.popup-tx-item:last-child {
  border-bottom: none;
}

.popup-tx-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.popup-tx-icon.income {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.popup-tx-icon.outcome {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.popup-tx-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.popup-tx-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-tx-date {
  font-size: 10px;
  color: var(--dark-600);
}

.popup-tx-amount {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.popup-tx-amount.income { color: var(--green); }
.popup-tx-amount.outcome { color: var(--red); }

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: badgeFloat 5s ease-in-out infinite;
}

.fb-1 {
  top: 10%;
  left: -60px;
  animation-delay: 0s;
}

.fb-2 {
  top: 50%;
  right: -80px;
  animation-delay: 1.5s;
}

.fb-3 {
  bottom: 5%;
  left: -40px;
  animation-delay: 3s;
}

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

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--dark-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================
   FEATURES SECTION
   ============================ */
.features {
  padding: var(--section-padding) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 105, 236, 0.15), transparent);
}

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

.feature-card {
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 105, 236, 0.15);
  background: rgba(26, 26, 46, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(72, 105, 236, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(72, 105, 236, 0.1);
  border: 1px solid rgba(72, 105, 236, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  transition: all 0.3s ease;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card:hover .feature-icon {
  background: rgba(72, 105, 236, 0.15);
  transform: scale(1.05);
}

.feature-icon.icon-green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.feature-icon.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.feature-icon.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.feature-icon.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.15);
  color: var(--pink);
}

.feature-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.65;
}

/* ============================
   HOW IT WORKS SECTION
   ============================ */
.how-it-works {
  padding: var(--section-padding) 0;
  position: relative;
}

.steps-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  top: 0;
  left: 29px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple-700), var(--purple-500), transparent);
  opacity: 0.3;
}

.step-card {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-number-wrap {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(72, 105, 236, 0.3);
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(72, 105, 236, 0.2);
  animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--dark-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Step Visuals */
.step-visual {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}

.mini-browser {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-900);
}

.mini-bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mini-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.mini-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mini-ext-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-300);
  flex: 1;
}

.mini-btn {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: default;
}

/* Catalog Preview */
.catalog-preview {
  display: flex;
  gap: 12px;
}

.catalog-item {
  flex: 1;
  background: var(--dark-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}

.catalog-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(72, 105, 236, 0.2), rgba(43, 68, 159, 0.3));
  margin-bottom: 8px;
}

.catalog-img-2 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.3));
}

.catalog-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-200);
  margin-bottom: 4px;
}

.catalog-price {
  font-size: 11px;
  color: var(--dark-500);
}

.cashback-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Withdraw Preview */
.withdraw-preview {
  background: var(--dark-900);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.withdraw-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.withdraw-row:last-of-type {
  border-bottom: none;
}

.withdraw-label {
  font-size: 12px;
  color: var(--dark-400);
}

.withdraw-value {
  font-size: 12px;
  color: var(--dark-200);
  font-weight: 500;
}

.withdraw-highlight {
  background: rgba(72, 105, 236, 0.05);
  margin: 4px -14px;
  padding: 8px 14px;
  border-radius: 6px;
  border-bottom: none !important;
}

.withdraw-btn-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

/* Injected Buy with RoPay Button */
.btn-ropay-inject {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple-600) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
  cursor: default;
}

/* Game Purchase Visual */
.game-purchase-preview {
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.game-browser-bar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  display: flex;
  align-items: center;
}

.game-title {
  font-size: 10px;
  color: var(--dark-500);
  font-weight: 500;
}

.game-checkout-prompt {
  background: #181d2c;
  margin: 16px auto;
  max-width: 280px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-checkout-header {
  background: #202639;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.roblox-checkout-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.game-checkout-body {
  padding: 12px;
}

.game-checkout-text {
  font-size: 11px;
  color: var(--dark-300);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}

.game-checkout-actions {
  display: flex;
  gap: 8px;
}

.btn-game-buy, .btn-game-cancel {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  cursor: default;
}

.btn-game-buy {
  background: #00e676;
  color: #0c1c0c;
}

.btn-game-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dark-300);
}

/* ============================
   SECURITY SECTION
   ============================ */
.security {
  padding: var(--section-padding) 0;
  position: relative;
}

.security::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 105, 236, 0.15), transparent);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.security-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(26, 26, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.security-item:hover {
  background: rgba(26, 26, 46, 0.5);
  border-color: rgba(72, 105, 236, 0.1);
  transform: translateX(4px);
}

.security-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(72, 105, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.security-item p {
  font-size: 13px;
  color: var(--dark-400);
  line-height: 1.5;
}

/* Shield Visual */
.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(72, 105, 236, 0.1);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: ringRotate 20s linear infinite;
  border-style: dashed;
}

.ring-2 {
  width: 80%;
  height: 80%;
  animation: ringRotate 15s linear infinite reverse;
  border-color: rgba(72, 105, 236, 0.15);
}

.ring-3 {
  width: 60%;
  height: 60%;
  animation: ringRotate 10s linear infinite;
  border-color: rgba(72, 105, 236, 0.2);
  border-style: dashed;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.shield-center {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(72, 105, 236, 0.3));
  animation: shieldPulse 3s ease-in-out infinite;
}

.shield-center svg {
  width: 100%;
  height: 100%;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================
   FAQ SECTION
   ============================ */
.faq {
  padding: var(--section-padding) 0;
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 105, 236, 0.15), transparent);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(26, 26, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(72, 105, 236, 0.1);
}

.faq-item.active {
  border-color: rgba(72, 105, 236, 0.2);
  background: rgba(26, 26, 46, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: white;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--dark-500);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--purple-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.7;
}

/* ============================
   COMMUNITY / DISCORD
   ============================ */
.community {
  padding: var(--section-padding) 0;
  position: relative;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 105, 236, 0.15), transparent);
}

.discord-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.discord-widget-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(67, 105, 232, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(67, 105, 232, 0.05);
}

.discord-iframe {
  display: block;
  border-radius: 16px;
  min-height: 500px;
}

.discord-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.discord-info-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 28px;
}

.discord-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(67, 105, 232, 0.1);
  border: 1px solid rgba(67, 105, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.discord-info-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.discord-info-card p {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.discord-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-300);
  transition: all 0.3s ease;
}

.perk-item:hover {
  border-color: rgba(72, 105, 236, 0.1);
  background: rgba(26, 26, 46, 0.6);
  transform: translateY(-2px);
}

.perk-emoji {
  font-size: 18px;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(43, 68, 159, 0.2), rgba(72, 105, 236, 0.1));
  border: 1px solid rgba(72, 105, 236, 0.2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(72, 105, 236, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
}

.cta-desc {
  font-size: 17px;
  color: var(--dark-400);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: rgba(10, 10, 20, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
}

.footer-tagline {
  font-size: 14px;
  color: var(--dark-500);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-400);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(72, 105, 236, 0.1);
  border-color: rgba(72, 105, 236, 0.2);
  color: var(--purple-400);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--dark-500);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--purple-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--dark-600);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--dark-600);
  max-width: 400px;
  text-align: right;
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(72, 105, 236, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(72, 105, 236, 0.4);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   CUSTOM SCROLLBAR
   ============================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-950);
}

::-webkit-scrollbar-thumb {
  background: rgba(72, 105, 236, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(72, 105, 236, 0.35);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .security-visual {
    order: -1;
  }

  .shield-container {
    width: 200px;
    height: 200px;
  }

  .discord-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .extension-preview {
    width: 320px;
  }

  .floating-badge {
    display: none;
  }

  .step-card {
    flex-direction: column;
    gap: 16px;
  }

  .steps-line {
    display: none;
  }

  .catalog-preview {
    flex-direction: column;
  }

  .discord-perks {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .extension-preview {
    width: 280px;
  }

  .popup-amount {
    font-size: 26px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ============================
   SELECTION STYLE
   ============================ */
::selection {
  background: rgba(72, 105, 236, 0.3);
  color: white;
}

/* ============================
   STEP SCREENSHOT LAYOUT
   ============================ */
.step-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 12px 0;
  width: 100%;
}

.step-screenshot {
  max-width: 280px;
  max-height: 420px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(72, 105, 236, 0.12);
  background: rgba(10, 10, 20, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(72, 105, 236, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.5s ease, 
              border-color 0.5s ease;
  object-fit: contain;
}

.step-screenshot:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(72, 105, 236, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(72, 105, 236, 0.3);
}

@media (max-width: 768px) {
  .step-img-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .step-screenshot {
    max-width: 250px;
  }
}

/* ============================
   LANGUAGE SELECTOR
   ============================ */
.lang-select {
  background: rgba(18, 18, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dark-200);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  margin-right: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 28px;
}

.lang-select option {
  background: var(--dark-900);
  color: var(--dark-100);
  padding: 8px;
}

.lang-select:hover, .lang-select:focus {
  border-color: rgba(72, 105, 236, 0.45);
  color: white;
  box-shadow: 0 0 12px rgba(72, 105, 236, 0.25);
  background-color: rgba(18, 18, 31, 0.95);
}

.mobile-lang-wrap {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-lang-wrap .lang-select {
  margin-right: 0;
  width: 100%;
  max-width: 200px;
  text-align-last: center;
}

/* ==========================================
   🌐 GOOGLE TRANSLATE CUSTOM STYLING
   ========================================== */
#google_translate_element {
  display: inline-block;
  margin-right: 14px;
  vertical-align: middle;
}

.goog-te-gadget {
  font-family: var(--font) !important;
  color: transparent !important;
  font-size: 0 !important;
}

.goog-te-gadget-simple {
  background: rgba(18, 18, 31, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.goog-te-gadget-simple:hover {
  border-color: rgba(72, 105, 236, 0.45) !important;
  box-shadow: 0 0 12px rgba(72, 105, 236, 0.25) !important;
  background-color: rgba(18, 18, 31, 0.95) !important;
}

.goog-te-gadget-simple img {
  display: none !important; /* Hide Google Translate Logo Icon */
}

.goog-te-menu-value {
  color: var(--dark-200) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  font-family: var(--font) !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.goog-te-menu-value span {
  color: var(--dark-200) !important;
}

.goog-te-gadget-simple:hover .goog-te-menu-value span {
  color: white !important;
}

.goog-te-menu-value img {
  display: none !important;
}

/* Hide top warning banner Google puts on translated sites */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Hide original select elements in translate popup */
.goog-te-menu-frame {
  box-shadow: 0 10px 25px rgba(72, 105, 236, 0.2) !important;
  border: 1px solid rgba(72, 105, 236, 0.25) !important;
  border-radius: 12px !important;
  background: var(--dark-900) !important;
}

/* ==========================================================
   RoPay 1.4.5 — Electric Blue / Black visual system
   Inspired by cinematic product pages, tailored to RoPay.
   ========================================================== */
@font-face {
  font-family: 'RoPay Urbanist';
  src: url('fonts/urbanist-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Urbanist';
  src: url('fonts/urbanist-italic-variable.ttf') format('truetype');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --purple-50: #f2f5ff;
  --purple-100: #e9edff;
  --purple-200: #cdd5ff;
  --purple-300: #aab6ff;
  --purple-400: #8190ff;
  --purple-500: #6577ff;
  --purple-600: #4e76ef;
  --purple-700: #3f5fe8;
  --purple-800: #3150dc;
  --purple-900: #23399f;
  --dark-100: #f5f7fb;
  --dark-200: #e4e9f2;
  --dark-300: #c0c8d7;
  --dark-400: #929cad;
  --dark-500: #687386;
  --dark-600: #465063;
  --dark-700: #252b36;
  --dark-800: #10141d;
  --dark-850: #0b0e15;
  --dark-900: #07090e;
  --dark-950: #03050a;
  --green: #15ff00;
  --amber: #ffd000;
  --red: #ff4d5e;
  --blue: #3f72ff;
  --pink: #8190ff;
  --cyan: #58c7ff;
  --discord: #4e76ef;
  --font: 'RoPay Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1240px;
  --section-padding: 144px;
  --border-radius: 22px;
  --border-radius-sm: 12px;
  --line: rgba(138, 153, 193, 0.15);
  --line-strong: rgba(129, 144, 255, 0.3);
  --surface: rgba(11, 14, 21, 0.76);
  --surface-solid: #0a0d14;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-padding-top: 110px; }

body {
  background:
    radial-gradient(circle at 50% -8%, rgba(55, 79, 184, 0.17), transparent 34rem),
    linear-gradient(180deg, #03050a 0%, #05070c 42%, #03050a 100%);
  color: #f7f9ff;
  font-family: var(--font);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

#particles-canvas { opacity: 0.45; }

.container { padding-inline: 32px; }

.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #bfc8ff 38%, #6577ff 72%, #3f72ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Duplicate navbar rules removed to allow Framer Modern Navbar to govern fully */

.nav-container {
  min-height: 68px;
  padding: 10px 14px 10px 18px;
  position: relative;
}

.nav-logo { gap: 10px; }
.nav-logo-img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 7px 15px rgba(40, 80, 255, .45));
  transition: transform 220ms var(--ease-out);
}
.nav-logo-text { font-size: 20px; letter-spacing: -0.04em; }
.nav-links { gap: 24px; }
.nav-link {
  color: #9aa4b5;
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms var(--ease-out);
}
.nav-link::after { bottom: -8px; height: 1px; background: #8190ff; }
.nav-link.active, .nav-link:hover { color: #fff; }

.btn {
  min-height: 42px;
  border-radius: 12px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
  will-change: transform;
}

.btn:focus-visible,
.faq-question:focus-visible,
.lang-select:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid #aab6ff;
  outline-offset: 3px;
}

.btn-primary {
  position: relative;
  background: linear-gradient(180deg, #7180ff 0%, #5065f6 58%, #3d55dd 100%);
  color: #fff;
  border: 1px solid rgba(187, 197, 255, .58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -2px 0 rgba(15,25,92,.42),
    0 4px 0 #263aaf,
    0 14px 34px rgba(47, 70, 220, .26);
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
}

.btn-outline {
  background: rgba(12,15,23,.8);
  border: 1px solid rgba(151,164,203,.2);
  color: #dbe1ec;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 4px 0 #020307;
}

.btn-glow::before {
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: 0;
  transform: skewX(-18deg);
  animation: none;
  transition: transform 480ms var(--ease-out), opacity 180ms var(--ease-out);
}

.hero {
  min-height: 1120px;
  justify-content: flex-start;
  padding: 174px 0 112px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 190px;
  width: min(28vw, 430px);
  height: 620px;
  z-index: -1;
  opacity: .74;
  background:
    linear-gradient(145deg, rgba(52,59,75,.58), rgba(5,7,11,.05) 67%),
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(255,255,255,.025) 77px 78px);
  border: 1px solid rgba(255,255,255,.035);
  filter: drop-shadow(0 42px 80px rgba(0,0,0,.76));
}
.hero::before { left: -5vw; clip-path: polygon(0 10%, 48% 0, 100% 15%, 94% 100%, 0 92%); }
.hero::after { right: -5vw; clip-path: polygon(0 15%, 52% 0, 100% 10%, 100% 92%, 6% 100%); transform: scaleX(-1); }
.hero > .container,
.hero > .hero-visual { position: relative; z-index: 1; }

.hero-glow { position: absolute; z-index: -1; filter: blur(150px); opacity: .32; }
.hero-glow-1 { background: rgba(49, 80, 220, .34); }
.hero-glow-2 { background: rgba(63, 114, 255, .22); }
.hero-glow-3 { background: rgba(67, 105, 232, .13); }

.hero-content { max-width: 950px; }
.hero-badge {
  padding: 7px 14px;
  margin-bottom: 30px;
  background: rgba(12, 16, 28, .7);
  border: 1px solid rgba(129,144,255,.26);
  color: #cbd3ff;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.25);
  letter-spacing: .01em;
}
.badge-dot { background: #15ff00; box-shadow: 0 0 14px rgba(21,255,0,.6); }
.hero-title {
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: .98;
  letter-spacing: -.065em;
  max-width: 1020px;
  margin-inline: auto;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-subtitle {
  max-width: 680px;
  color: #9ca6b7;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  margin-bottom: 34px;
}
.hero-actions { margin-bottom: 0; gap: 18px; }
.btn-lg { min-height: 54px; padding: 14px 24px; border-radius: 14px; }

.hero-visual { margin-top: 74px; perspective: 1300px; }
.extension-preview {
  width: 424px;
  border-radius: 24px;
  background: #06080d;
  border: 1px solid rgba(141,155,201,.22);
  box-shadow:
    0 42px 110px rgba(0,0,0,.78),
    0 0 85px rgba(49,80,220,.18),
    inset 0 1px rgba(255,255,255,.08);
  animation: heroFloat 7s var(--ease-in-out) infinite;
  transform-style: preserve-3d;
}
.preview-browser-bar {
  padding: 12px 15px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border-bottom-color: rgba(255,255,255,.07);
}
.browser-url { background: rgba(0,0,0,.3); color: #727d91; }
.preview-content-real { padding: 0; background: #06070b; }
.hero-product-shot { display: block; width: 100%; height: auto; }
.floating-badge {
  padding: 10px 14px;
  color: #dbe2ee;
  background: rgba(9,12,19,.82);
  border: 1px solid rgba(145,158,198,.18);
  border-radius: 13px;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 20px 48px rgba(0,0,0,.46);
}
.fb-1 { left: -126px; top: 18%; }
.fb-2 { right: -154px; top: 48%; }
.fb-3 { left: -112px; bottom: 12%; }

.section-header { margin-bottom: 72px; }
.section-tag {
  color: #8f9cff;
  font-size: 12px;
  letter-spacing: .17em;
  margin-bottom: 15px;
}
.section-title {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.03;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.section-desc { color: #8e98a9; font-size: 17px; max-width: 640px; }
.features::before, .security::before, .faq::before, .community::before {
  background: linear-gradient(90deg, transparent, rgba(129,144,255,.18), transparent);
}

.features {
  background: linear-gradient(180deg, rgba(8,11,18,.2), rgba(8,11,18,.76) 50%, rgba(8,11,18,.2));
}
.features-grid { grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature-card {
  grid-column: span 4;
  min-height: 250px;
  padding: 32px;
  background:
    radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(93,112,255,.075), transparent 58%),
    linear-gradient(145deg, rgba(16,20,30,.88), rgba(7,9,14,.7));
  border: 1px solid rgba(141,155,199,.13);
  border-radius: 22px;
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 26px 60px rgba(0,0,0,.18);
  transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
.feature-card:nth-child(1) { grid-column: span 5; }
.feature-card:nth-child(2) { grid-column: span 7; }
.feature-card:nth-child(3), .feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: span 4; }
.feature-card:nth-child(6), .feature-card:nth-child(7) { grid-column: span 6; }
.feature-card::before { height: 1px; background: linear-gradient(90deg, transparent, #8190ff, transparent); }
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #e8ebff;
  background: linear-gradient(145deg, rgba(67,105,232,.28), rgba(49,80,220,.09));
  border-color: rgba(129,144,255,.28);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 28px rgba(33,55,173,.18);
}
.feature-icon.icon-green { color: #15ff00; background: rgba(21,255,0,.06); border-color: rgba(21,255,0,.2); }
.feature-icon.icon-blue, .feature-icon.icon-pink, .feature-icon.icon-cyan { color: #8190ff; background: rgba(67,105,232,.1); border-color: rgba(129,144,255,.2); }
.feature-icon.icon-amber, .feature-icon-vip { color: #ffd000; background: rgba(255,208,0,.08); border-color: rgba(255,208,0,.22); }
.feature-title { font-size: 20px; margin-bottom: 10px; }
.feature-desc { color: #8e98aa; font-size: 15px; }
.feature-card-vip {
  border-color: rgba(255,208,0,.2);
  background: radial-gradient(circle at 85% 0, rgba(255,208,0,.09), transparent 38%), linear-gradient(145deg, rgba(16,20,30,.88), rgba(7,9,14,.72));
}

.how-it-works { background: radial-gradient(circle at 50% 42%, rgba(41,63,165,.09), transparent 34rem); }
.steps-container { max-width: 1100px; }
.steps-line { left: 27px; background: linear-gradient(180deg, #8190ff, rgba(67,105,232,.6), transparent); }
.step-card {
  gap: 28px;
  margin-bottom: 28px;
  padding: 26px 28px 26px 14px;
  border: 1px solid rgba(141,155,199,.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(14,18,27,.82), rgba(7,9,14,.64));
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 28px 70px rgba(0,0,0,.16);
}
.step-number {
  border-radius: 14px;
  background: linear-gradient(180deg, #7180ff, #4359e3);
  border: 1px solid rgba(194,201,255,.46);
  box-shadow: inset 0 1px rgba(255,255,255,.4), 0 4px 0 #2538aa, 0 12px 26px rgba(44,65,196,.25);
}
.step-pulse { border-color: rgba(129,144,255,.26); }
.step-content {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(340px, 1.28fr);
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  align-items: start;
}
.step-title { grid-column: 1; font-size: 24px; letter-spacing: -.025em; }
.step-desc { grid-column: 1; margin-bottom: 0; color: #8e98aa; }
.step-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 16px;
  background: rgba(3,5,10,.72);
  border-color: rgba(141,155,199,.12);
  border-radius: 18px;
}
.step-img-container { margin-top: 0; padding: 0; }
.step-screenshot {
  max-width: 280px;
  max-height: 430px;
  border: 1px solid rgba(129,144,255,.22);
  border-radius: 18px;
  background: #05070b;
  box-shadow: 0 22px 55px rgba(0,0,0,.58), 0 0 32px rgba(54,78,210,.09);
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.step-screenshot-pair { max-width: 220px !important; }

.security { background: linear-gradient(180deg, rgba(7,9,14,.18), rgba(9,12,19,.7), rgba(7,9,14,.18)); }
.security-grid { gap: 88px; }
.security-item {
  background: rgba(12,15,23,.72);
  border-color: rgba(141,155,199,.12);
  border-radius: 15px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.security-check { background: rgba(67,105,232,.1); border: 1px solid rgba(129,144,255,.18); }
.shield-ring { border-color: rgba(129,144,255,.16); }
.ring-2 { border-color: rgba(129,144,255,.22); }
.ring-3 { border-color: rgba(129,144,255,.3); }
.shield-center { filter: drop-shadow(0 0 34px rgba(67,105,232,.42)); }

.faq-list { max-width: 860px; gap: 10px; }
.faq-item {
  background: rgba(10,13,20,.76);
  border-color: rgba(141,155,199,.12);
  border-radius: 16px;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.faq-item.active { border-color: rgba(129,144,255,.3); background: rgba(14,18,29,.92); }
.faq-question { padding: 21px 22px; font-size: 16px; }
.faq-answer { transition: max-height 360ms var(--ease-in-out), padding 360ms var(--ease-in-out); }
.faq-item.active .faq-chevron { color: #8190ff; }

.discord-widget-wrap,
.discord-info-card {
  border-color: rgba(129,144,255,.16);
  background: rgba(10,13,20,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 30px 75px rgba(0,0,0,.3);
}
.discord-icon-wrap { background: rgba(67,105,232,.12); border-color: rgba(129,144,255,.24); }
.perk-item { background: rgba(10,13,20,.68); border-color: rgba(141,155,199,.1); transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }

.cta-card {
  background:
    radial-gradient(circle at 50% 0, rgba(67,105,232,.23), transparent 44%),
    linear-gradient(145deg, rgba(15,19,31,.92), rgba(7,9,14,.92));
  border-color: rgba(129,144,255,.23);
  border-radius: 28px;
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 40px 100px rgba(0,0,0,.35);
}
.cta-glow { background: radial-gradient(circle, rgba(67,105,232,.18), transparent 70%); }
.footer { background: rgba(3,5,9,.9); border-top-color: rgba(129,144,255,.1); }
.social-link { transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
.back-to-top {
  background: linear-gradient(180deg, #7180ff, #4258e2);
  border: 1px solid rgba(187,197,255,.42);
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 4px 0 #2638a4, 0 16px 32px rgba(38,56,170,.24);
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.lang-select,
.goog-te-gadget-simple {
  background-color: rgba(10,13,20,.72) !important;
  border-color: rgba(141,155,199,.16) !important;
  transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out) !important;
}
.mobile-menu { background: rgba(3,5,10,.97); }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0) scale(1); }

::-webkit-scrollbar-thumb { background: rgba(101,119,255,.28); }
::selection { background: rgba(101,119,255,.38); color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover .nav-logo-img { transform: scale(1.08) rotate(-4deg); }
  .btn-primary:hover { transform: translateY(-2px); filter: none; }
  .btn-primary:active { transform: translateY(2px); }
  .btn-outline:hover { background: rgba(19,24,36,.96); border-color: rgba(129,144,255,.34); transform: translateY(-2px); }
  .btn-glow:hover::before { opacity: 1; transform: translateX(330%) skewX(-18deg); }
  .feature-card:hover { transform: translateY(-5px); border-color: rgba(129,144,255,.28); background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(93,112,255,.11), transparent 58%), linear-gradient(145deg, rgba(18,23,35,.92), rgba(8,10,16,.76)); }
  .feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.04); }
  .step-screenshot:hover { transform: translateY(-7px) scale(1.018); border-color: rgba(129,144,255,.45); box-shadow: 0 30px 70px rgba(0,0,0,.68), 0 0 42px rgba(54,78,210,.16); }
  .security-item:hover { transform: translateX(5px); background: rgba(15,19,29,.9); border-color: rgba(129,144,255,.2); }
  .faq-item:hover { border-color: rgba(129,144,255,.22); }
  .perk-item:hover, .social-link:hover, .back-to-top:hover { transform: translateY(-3px); }
}

@media (max-width: 1024px) {
  :root { --section-padding: 104px; }
  .nav-links { gap: 16px; }
  .feature-card:nth-child(n) { grid-column: span 6; }
  .feature-card:nth-child(7) { grid-column: 1 / -1; }
  .step-content { grid-template-columns: minmax(190px,.7fr) minmax(300px,1.3fr); gap: 24px; }
  .hero::before, .hero::after { opacity: .45; width: 30vw; }
}

@media (max-width: 768px) {
  :root { --section-padding: 82px; }
  .container { padding-inline: 20px; }
  .navbar { top: 10px; width: calc(100% - 20px); }
  .nav-container { min-height: 62px; padding: 8px 12px; }
  .nav-logo-img { width: 34px; height: 34px; }
  .hero { min-height: auto; padding: 132px 0 86px; }
  .hero::before, .hero::after { width: 44vw; height: 390px; top: 250px; opacity: .25; }
  .hero-title { font-size: clamp(42px, 13vw, 62px); line-height: 1; letter-spacing: -.055em; }
  .hero-title br { display: block; }
  .hero-subtitle { font-size: 16px; }
  .hero-visual { margin-top: 58px; }
  .extension-preview { width: min(368px, calc(100vw - 36px)); border-radius: 20px; }
  .features-grid { gap: 12px; }
  .feature-card:nth-child(n) { grid-column: 1 / -1; min-height: 0; padding: 26px; }
  .step-card { flex-direction: column; padding: 22px; gap: 14px; }
  .step-content { display: block; }
  .step-desc { margin-bottom: 20px; }
  .step-visual { margin-top: 20px; }
  .step-screenshot-pair { max-width: 250px !important; }
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: clamp(34px, 10vw, 46px); }
  .discord-info-card { padding: 24px; }
  .cta-banner { padding-bottom: 86px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .hero-badge { font-size: 11px; }
  .extension-preview { width: calc(100vw - 30px); }
  .preview-browser-bar { padding: 10px 12px; }
  .cta-card { padding: 38px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ==========================================================
   RoPay website — reference-fidelity polish
   Local Helvetica headings + Inter interface typography
   ========================================================== */
@font-face {
  font-family: 'RoPay Helvetica';
  src: url('fonts/helvetica-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Helvetica';
  src: url('fonts/helvetica-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Inter';
  src: url('fonts/inter-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Inter';
  src: url('fonts/inter-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Inter';
  src: url('fonts/inter-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Inter';
  src: url('fonts/inter-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Playfair Display — Luxury High-Contrast Serif */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'RoPay Geist';
  src: url('fonts/geist-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font: 'RoPay Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'RoPay Geist', 'RoPay Helvetica', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --accent: #6682ff;
  --accent-bright: #91a5ff;
  --accent-deep: #3f61df;
  --line: rgba(161, 174, 208, .14);
  --line-strong: rgba(137, 158, 255, .32);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
  font-style: normal;
}

h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.nav-logo-text,
.footer-logo-text,
.cta-title,
.product-stage-heading strong,
.stage-metric strong {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
}

body {
  background: #05070b;
}

body::before {
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
}

#particles-canvas { opacity: .22; }

.gradient-text {
  background: linear-gradient(108deg, #ffffff 4%, #cbd5ff 50%, #7391ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Legacy navbar rules removed to allow Framer Modern Navbar to govern fully */

/* User-supplied Discord brand artwork */
.nav-social-link[aria-label="RoPay Discord"] > svg,
.social-link[aria-label="Discord"] > svg,
#communityCardLink > svg,
#ctaActionSecondary > svg {
  display: none;
}

.nav-social-link[aria-label="RoPay Discord"]::before,
.social-link[aria-label="Discord"]::before,
#communityCardLink::before,
#ctaActionSecondary::before,
.mobile-socials a[href*="discord.gg"]::before {
  content: '';
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: url('assets/discord-icon.png') center / contain no-repeat;
}

.nav-social-link[aria-label="RoPay Discord"]::before,
.social-link[aria-label="Discord"]::before {
  width: 20px;
  height: 20px;
}

.mobile-socials a[href*="discord.gg"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.lang-select {
  min-height: 38px;
  padding: 0 28px 0 12px;
  border-radius: 10px;
  color: #c0c7d3;
  font-size: 12px;
  font-weight: 600;
  background-color: rgba(255,255,255,.025) !important;
  border-color: rgba(255,255,255,.085) !important;
}

/* Reference-like controls: simple depth, no purple under-glow */
.btn {
  font-family: var(--font);
  font-weight: 600;
  border-radius: 11px;
  transition: transform 150ms var(--ease-out), opacity 150ms var(--ease-out), background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.btn-primary {
  background: linear-gradient(180deg, #7d91ff 0%, #617cf5 52%, #526fe8 100%);
  border: 1px solid rgba(214, 221, 255, .54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.43), 0 8px 22px rgba(50, 83, 204, .18);
  text-shadow: 0 1px rgba(0,0,0,.16);
}
.btn-primary::after {
  content: '→';
  width: 23px;
  height: 23px;
  margin-left: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.1);
  font: 500 13px/1 var(--font);
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.btn-nav { min-height: 42px; padding: 8px 10px 8px 14px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 12px 13px 12px 20px; border-radius: 12px; }
.btn-outline {
  color: #d9dfea;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.btn-glow::before { display: none; }

/* Hero */
.hero {
  min-height: 830px;
  padding: 176px 0 170px;
  overflow: clip;
  background: linear-gradient(180deg, #05070b 0%, #06080d 66%, #080b11 100%);
}
.hero::before,
.hero::after {
  display: none;
}
.hero::before { left: -9vw; }
.hero::after { right: -9vw; }
.hero-glow { display: none; }
.hero-pointer-light {
  position: absolute;
  z-index: 0;
  top: -435px;
  left: -435px;
  width: 870px;
  height: 870px;
  pointer-events: none;
  border-radius: 50%;
  opacity: .82;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0, rgba(119,143,226,.07) 26%, rgba(68,94,191,.025) 44%, transparent 69%);
  transform: translate3d(calc(50vw - 435px), 0, 0);
  will-change: transform;
}
.hero-content { width: 100%; max-width: 1040px; }
.hero-badge {
  margin-bottom: 24px;
  padding: 7px 13px;
  color: #c6cddd;
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
}
.hero-title {
  max-width: 1020px;
  font-size: clamp(54px, 6.1vw, 88px);
  line-height: .96;
  letter-spacing: -.062em;
}
.hero-subtitle {
  max-width: 670px;
  color: #929baa;
  font-size: 18px;
  line-height: 1.62;
}
.hero-actions { gap: 12px; }
.hero-visual {
  width: min(1140px, calc(100vw - 64px));
  margin: 76px auto 0;
  perspective: 1600px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
}
.extension-preview.ropay-product-stage {
  width: 100%;
  height: 610px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(166,179,216,.18);
  background: #080b11;
  box-shadow: 0 54px 120px rgba(0,0,0,.68), 0 0 55px rgba(45, 77, 184, .1), inset 0 1px rgba(255,255,255,.06);
  animation: none;
  transform: rotateX(4deg) scale(.985);
  transform-origin: center top;
}
.preview-browser-bar {
  height: 45px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: #0b0e15;
}
.browser-url { max-width: 320px; color: #697384; background: #06080c; }
.product-stage-content {
  height: calc(100% - 45px);
  display: grid;
  grid-template-columns: 196px 1fr;
  background: radial-gradient(circle at 62% 4%, rgba(62,93,196,.08), transparent 32%), #080b10;
}
.product-stage-sidebar {
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.012);
}
.product-stage-brand { display: flex; align-items: center; gap: 9px; margin: 0 8px 26px; color: #fff; font: 700 17px var(--font-display); }
.product-stage-brand img { width: 27px; height: 27px; object-fit: contain; }
.stage-nav-label { padding: 10px 11px; border-radius: 9px; color: #6f7888; font-size: 12px; font-weight: 500; }
.stage-nav-label.active { color: #f3f6ff; background: rgba(255,255,255,.065); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.stage-secure { margin-top: auto; display: flex; align-items: center; gap: 7px; color: #6d7685; font-size: 10px; }
.stage-secure span { width: 6px; height: 6px; border-radius: 50%; background: #15ff00; box-shadow: 0 0 10px rgba(21,255,0,.34); }
.product-stage-main { padding: 27px 30px 32px; min-width: 0; }
.product-stage-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.product-stage-heading > div { display: grid; gap: 4px; }
.stage-eyebrow { color: #778191; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.product-stage-heading strong { color: #f6f8fc; font-size: 27px; letter-spacing: -.035em; }
.stage-live { display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #a6afbe; font-size: 10px; border: 1px solid rgba(255,255,255,.075); border-radius: 999px; background: rgba(255,255,255,.025); }
.stage-live i { width: 6px; height: 6px; border-radius: 50%; background: #15ff00; box-shadow: 0 0 9px rgba(21,255,0,.38); }
.product-stage-grid { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(260px, 1.12fr); gap: 20px; height: 435px; }
.stage-app-shot,
.stage-metric,
.stage-chart { border: 1px solid rgba(255,255,255,.065); background: #05070b; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.stage-app-shot { overflow: hidden; display: flex; justify-content: center; align-items: flex-start; border-radius: 17px; }
.stage-app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.stage-metrics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 148px 1fr; gap: 14px; }
.stage-metric { padding: 20px; display: flex; flex-direction: column; border-radius: 15px; }
.stage-metric > span { color: #7f8999; font-size: 11px; font-weight: 600; }
.stage-metric strong { margin-top: auto; color: #f8faff; font-size: clamp(25px, 2.8vw, 39px); line-height: 1; letter-spacing: -.05em; }
.stage-metric small { margin-top: 8px; color: #677181; font-size: 10px; }
.stage-metric-primary { background: radial-gradient(circle at 100% 0, rgba(88,124,255,.16), transparent 48%), #070a11; }
.stage-metric-primary strong { color: #15ff00; }
.stage-chart { grid-column: 1 / -1; padding: 28px 24px 18px; display: flex; align-items: end; gap: 13px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.018), transparent), repeating-linear-gradient(0deg, transparent 0 43px, rgba(255,255,255,.04) 44px); }
.stage-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7793ff, #385bd5); box-shadow: inset 0 1px rgba(255,255,255,.26); }
.floating-badge { font-size: 11px; border-color: rgba(255,255,255,.09); background: rgba(8,10,15,.88); }
.fb-1 { left: -38px; top: 24%; }
.fb-2 { right: -43px; top: 52%; }
.fb-3 { left: 10px; bottom: 11%; }

.features {
  position: relative;
  margin-top: 0;
  padding-top: var(--section-padding);
  background: linear-gradient(180deg, rgba(8,11,17,0) 0, rgba(8,11,17,.72) 14%, rgba(8,11,17,.78) 52%, rgba(8,11,17,.14) 100%);
}

/* Flat two-column FAQ */
.faq { padding-block: 154px; background: #06080d; }
.faq::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); }
.faq-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.2fr); gap: clamp(70px, 10vw, 150px); align-items: start; }
.faq-intro { position: sticky; top: 122px; }
.faq-intro .section-tag { margin-bottom: 22px; color: #818b9c; }
.faq-intro .section-title { max-width: 490px; margin: 0 0 24px; text-align: left; font-size: clamp(54px, 6vw, 82px); line-height: .92; letter-spacing: -.06em; }
.faq-intro .section-desc { margin: 0; text-align: left; max-width: 400px; color: #858e9c; font-size: 15px; }
.faq-contact { display: inline-flex; gap: 9px; margin-top: 28px; color: #eef1f7; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 3px; }
.faq-list { width: 100%; max-width: none; gap: 0; }
.faq-item {
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  background: transparent;
  box-shadow: none;
  transition: opacity 180ms var(--ease-out);
}
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-item.active { border-color: rgba(255,255,255,.17); background: transparent; }
.faq-question { min-height: 86px; padding: 25px 2px; color: #f0f2f6; font-size: 16px; font-weight: 600; text-align: left; }
.faq-chevron { width: 15px; height: 15px; color: #7f8897; transition: transform 200ms var(--ease-in-out), color 200ms var(--ease-out); }
.faq-item.active .faq-chevron { color: #dce1ec; transform: rotate(180deg); }
.faq-answer {
  height: 0;
  max-height: none;
  overflow: hidden;
  padding: 0 38px 0 2px;
  opacity: 0;
  transition: height 200ms var(--ease-in-out), opacity 150ms var(--ease-out);
}
.faq-item.active .faq-answer { max-height: none; padding: 0 38px 0 2px; opacity: 1; }
.faq-answer p { padding: 0 0 25px; color: #858e9c; font-size: 14px; line-height: 1.72; }

/* Footer follows the reference hierarchy without copying its assets */
.footer {
  position: relative;
  min-height: 510px;
  padding: 132px 0 34px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.07);
  background: #030509;
}
.footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 112%, rgba(58,88,184,.11), transparent 42%); }
.footer-shell { position: relative; z-index: 2; }
.footer-wordmark { position: absolute; z-index: 0; left: 50%; bottom: -11%; transform: translateX(-50%); color: rgba(255,255,255,.026); font: 700 clamp(180px, 29vw, 450px)/.78 var(--font-display); letter-spacing: -.085em; white-space: nowrap; user-select: none; }
.footer-grid { position: relative; grid-template-columns: minmax(330px, 1.7fr) repeat(3, minmax(120px, .5fr)); gap: clamp(38px, 6vw, 88px); padding-bottom: 88px; }
.footer-brand { max-width: 370px; }
.footer-logo { margin-bottom: 22px; }
.footer-logo-img { width: 43px; height: 43px; filter: drop-shadow(0 8px 18px rgba(52,88,220,.28)); }
.footer-logo-text { font-size: 28px; letter-spacing: -.045em; }
.footer-tagline { color: #777f8d; font-size: 14px; line-height: 1.65; }
.footer-social { margin-top: 27px; }
.social-link { width: 38px; height: 38px; color: #9fa7b5; border-color: rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.footer-heading { color: #e9ecf2; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.footer-links { gap: 12px; }
.footer-links a { color: #717a89; font-size: 13px; }
.footer-bottom { position: relative; padding-top: 24px; border-top-color: rgba(255,255,255,.08); }
.footer-copyright, .footer-status { color: #697180; font-size: 11px; }
.footer-status { display: flex; align-items: center; gap: 8px; }
.footer-status span { width: 7px; height: 7px; border-radius: 50%; background: #15ff00; box-shadow: 0 0 9px rgba(21,255,0,.3); }
.footer-disclaimer { position: relative; margin: 16px 0 0; max-width: 660px; color: #4f5662; font-size: 10px; line-height: 1.5; }
.back-to-top {
  background: rgba(12,16,25,.9);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 14px 30px rgba(0,0,0,.3);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: #fff; background: rgba(255,255,255,.05); transform: translateY(-1px); }
  .nav-social-link:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateY(-1px); }
  .btn-primary:hover { transform: translateY(-1px); opacity: .98; }
  .btn-primary:hover::after { transform: translateX(2px); background: rgba(255,255,255,.17); }
  .btn-primary:active, .btn-outline:active, .nav-social-link:active, .nav-link:active { transform: scale(.97); transition-duration: 110ms; }
  .btn-outline:hover { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); transform: translateY(-1px); }
  .faq-item:hover { opacity: .78; border-color: rgba(255,255,255,.18); }
  .faq-contact:hover { color: #8fa4ff; }
  .social-link:hover { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
}

@media (max-width: 1120px) {
  .nav-links, .nav-socials, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .product-stage-content { grid-template-columns: 160px 1fr; }
  .product-stage-sidebar { padding-inline: 13px; }
  .product-stage-grid { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 820px) {
  .navbar { top: 9px; width: calc(100% - 18px); }
  .nav-container { min-height: 56px; padding: 6px 9px 6px 12px; }
  .lang-select { min-height: 36px; }
  .mobile-menu { top: 74px; left: 9px; right: 9px; border-radius: 15px; border: 1px solid rgba(255,255,255,.085); box-shadow: 0 24px 70px rgba(0,0,0,.48); }
  .mobile-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-socials a { padding: 11px 12px; color: #c3cad6; text-decoration: none; text-align: center; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.03); }
  .hero { min-height: 730px; padding: 126px 0 112px; }
  .hero-pointer-light { opacity: .5; }
  .hero-title { font-size: clamp(43px, 12.5vw, 66px); line-height: .98; }
  .hero-subtitle { font-size: 16px; }
  .hero-visual { width: calc(100vw - 26px); margin-top: 52px; }
  .extension-preview.ropay-product-stage { height: 500px; border-radius: 17px; transform: rotateX(2deg); }
  .product-stage-content { display: block; }
  .product-stage-sidebar { display: none; }
  .product-stage-main { padding: 20px; }
  .product-stage-heading strong { font-size: 22px; }
  .product-stage-grid { height: 390px; grid-template-columns: minmax(190px, .9fr) minmax(180px, 1.1fr); gap: 12px; }
  .stage-metrics { grid-template-columns: 1fr; grid-template-rows: 106px 106px 1fr; gap: 9px; }
  .stage-chart { grid-column: 1; padding: 18px 14px 12px; gap: 6px; }
  .stage-metric { padding: 14px; }
  .stage-metric strong { font-size: 23px; }
  .floating-badge { display: none; }
  .features { margin-top: 0; }
  .faq { padding-block: 96px; }
  .faq-layout { grid-template-columns: 1fr; gap: 52px; }
  .faq-intro { position: static; }
  .faq-intro .section-title { font-size: clamp(47px, 14vw, 68px); max-width: 520px; }
  .footer { padding-top: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; padding-bottom: 60px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-wordmark { bottom: -1%; }
}

@media (max-width: 540px) {
  .nav-logo-text { display: none; }
  .hero-title { font-size: clamp(36px, 9.3vw, 43px); letter-spacing: -.052em; }
  .hero-title br { display: none; }
  .hero-actions .btn { width: 100%; justify-content: space-between; padding-left: 16px; padding-right: 10px; font-size: 15px; }
  .extension-preview.ropay-product-stage { height: 468px; }
  .product-stage-main { padding: 15px; }
  .product-stage-heading { margin-bottom: 14px; }
  .product-stage-heading strong { font-size: 19px; }
  .stage-live { display: none; }
  .product-stage-grid { height: 369px; display: block; }
  .stage-app-shot { width: 100%; height: 369px; }
  .stage-metrics { display: none; }
  .faq-question { min-height: 80px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-column:last-of-type { grid-column: 1 / -1; }
  .footer-wordmark { font-size: 170px; }
  .footer-bottom { align-items: flex-start; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pointer-light { display: none; }
}

/* ==========================================================
   Hero + navigation alignment — measured from the supplied
   Nexora reference, then adapted to RoPay's blue system.
   ========================================================== */

/* The reference uses a restrained Helvetica display face and Inter for UI. */
h1,
h2,
.hero-title,
.section-title,
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
}

.nav-logo-text,
.footer-logo-text {
  font-family: var(--font);
  font-weight: 700;
}

/* ==========================================================
   Framer Modern Floating Island Navbar & Components
   ========================================================== */
/* ==========================================================
   Framer Modern Floating Island Navbar
   Single Unified Capsule Shell
   ========================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 32px 0;
  pointer-events: none;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.scrolled {
  padding: 12px 24px 0;
}

.navbar {
  pointer-events: all;
  position: relative;
  width: min(100%, 1240px);
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  border-radius: 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  padding: 8px 16px;
  box-shadow: none;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, max-width, height, background, border-color, box-shadow, transform;
}

.navbar::before {
  display: none;
}

.navbar.scrolled {
  width: min(calc(100% - 24px), 1100px);
  max-width: 1100px;
  height: 58px;
  border-radius: 9999px;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 8px 5px 20px;
  box-shadow: 0 16px 42px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(0);
}

.nav-container.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.navbar.scrolled .nav-container.navbar-inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-10deg) scale(1.08);
}

.nav-logo-text {
  color: #f4f6fa;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.nav-logo .gradient-text {
  background: linear-gradient(135deg, #93a7ff 0%, #6577ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: transparent;
  padding: 0;
  border: none;
}

.nav-link {
  position: relative;
  padding: 7px 15px;
  border-radius: 9999px;
  color: #9ea7b8;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #9ea7b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.nav-social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.lang-select {
  min-height: 32px;
  padding: 0 26px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 9999px;
  color: #c0c8d7;
  font-size: 12px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.04) !important;
  cursor: pointer;
  outline: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.lang-select:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================
   Framer CTA Action Button Component (Navbar Right)
   ========================================================== */
.btn-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #05070c;
  padding: 5px 6px 5px 18px;
  border-radius: 9999px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(255, 255, 255, 0.22);
  transition: transform 260ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              background-color 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta-action:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(255, 255, 255, 0.32);
}

.btn-cta-action:active {
  transform: scale(0.97);
}

.btn-cta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #05070c;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 320ms var(--ease-out), background-color 200ms ease;
}

.btn-cta-action:hover .btn-cta-badge {
  transform: scale(1.06);
  background: #2b438f;
}

.btn-cta-arrow {
  width: 13px;
  height: 13px;
  display: block;
  transition: transform 320ms var(--ease-out);
}

.btn-cta-action:hover .btn-cta-arrow {
  transform: rotate(-45deg);
}

/* ==========================================================
   Framer Shader Button Component (Liquid Gradient Fluid)
   ========================================================== */
.btn-shader {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px 34px;
  min-height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #070912;
  color: #ffffff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 
    0 10px 30px -8px rgba(0, 0, 0, 0.6),
    0 0 20px -2px rgba(78, 118, 239, 0.35);
  transition: transform 260ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              border-color 250ms ease;
  z-index: 1;
}

.btn-shader-canvas {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
  transition: opacity 300ms ease;
}

.btn-shader-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 0 16px 0 rgba(147, 167, 255, 0.6);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.btn-shader-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-shader:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.7),
    0 0 35px 2px rgba(101, 119, 255, 0.55);
}

.btn-shader:hover .btn-shader-canvas {
  opacity: 1;
}

.btn-shader:hover .btn-shader-arrow {
  transform: translateX(4px);
}

.btn-shader:active {
  transform: scale(0.97);
}

.btn-shader-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 260ms var(--ease-out);
}

/* ==========================================================
   Hero Section, Aura Background & Volumetric Light
   ========================================================== */
.hero {
  min-height: 880px;
  padding: 170px 0 150px;
  isolation: isolate;
  position: relative;
  overflow: clip;
  background: #06060c;
}

/* Framer Aura Background WebGL Layer */
.aura-background-container {
  position: absolute;
  inset: 0;
  height: 940px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  opacity: 0.8;
}

.aura-background-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-banner {
  position: absolute;
  inset: -40px 0 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(6,6,12,.92) 0%, rgba(6,6,12,.2) 34%, rgba(6,6,12,.14) 66%, rgba(6,6,12,.92) 100%),
    linear-gradient(180deg, rgba(5,8,18,.02) 0%, rgba(5,8,18,.35) 54%, #06060c 92%),
    url('assets/hero-architecture.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 70%;
  filter: hue-rotate(12deg) saturate(.72) brightness(.72) contrast(.94);
  opacity: .75;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 77%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 77%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(60% 40% at 50% 30%, rgba(31,36,62,.32) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6,6,12,.15) 0%, rgba(6,6,12,.02) 38%, #06060c 86%);
}

/* Realistic Volumetric Studio Spotlight */
.hero-light-rays {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 720px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.light-emitter-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(580px, 75vw);
  height: 1.5px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(101, 119, 255, 0.1) 20%, 
    rgba(215, 235, 255, 0.7) 50%, 
    rgba(101, 119, 255, 0.1) 80%, 
    transparent 100%
  );
  box-shadow: 
    0 0 20px 2px rgba(140, 175, 255, 0.35),
    0 0 50px 10px rgba(101, 119, 255, 0.15);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

.hero-light-rays canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 960px);
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 15px;
  color: #c7ceda;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 16, 25, 0.45);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  animation: heroEnterReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* ==========================================================
   Editorial High-Contrast Hero Typography
   (Sans-Serif + Playfair Display Italic)
   ========================================================== */
.hero-title {
  max-width: 960px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.8vw, 86px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 24px;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  animation: heroEnterReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-serif-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.06em;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 30%, #b8caff 75%, #7695ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(118, 149, 255, 0.45));
  display: inline-block;
  padding-right: 0.08em;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #a5adba;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 1 !important;
  visibility: visible !important;
  animation: heroEnterReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroEnterReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroEnterReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions .btn-outline {
  padding: 13px 26px;
  min-height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e9f2;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: transform 260ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}

.hero-actions .btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.hero-actions .btn-outline:active {
  transform: scale(0.97);
}

/* ==========================================================
   Heading Scroll Animations ([data-tm-preset])
   ========================================================== */
[data-tm-preset] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-tm-preset].tm-active,
[data-tm-preset].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preset: pop */
[data-tm-preset="pop"] {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tm-preset="pop"].tm-active,
[data-tm-preset="pop"].visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Preset: fade */
[data-tm-preset="fade"] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tm-preset="fade"].tm-active,
[data-tm-preset="fade"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preset: fade */
[data-tm-preset="fade"] .tm-token {
  transform: translateY(16px);
  opacity: 0;
}
[data-tm-preset="fade"].tm-active .tm-token,
.tm-active[data-tm-preset="fade"] .tm-token {
  transform: translateY(0);
  opacity: 1;
}

/* Eyebrow badge animation */
.section-tag {
  display: inline-block;
  transition: transform 0.6s var(--ease-out), opacity 0.6s ease;
}

@media (max-width: 1120px) {
  .navbar-wrapper {
    padding-inline: 15px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 820px) {
  .navbar-wrapper {
    padding: 10px 12px 0;
  }
  .navbar {
    height: 56px;
    padding: 5px 8px 5px 16px;
  }
  .btn-cta-action {
    display: none;
  }
  .hero {
    min-height: 740px;
    padding: 132px 0 112px;
  }
  .hero-title {
    font-size: clamp(38px, 10vw, 56px);
  }
  .hero-bg-banner {
    background-size: auto 610px;
    background-position: center top;
    opacity: .62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light-rays {
    display: none;
  }
}

/* Keep the live Discord widget visible inside the dark RoPay surface. */
.discord-widget-wrap {
  position: relative;
  min-height: 500px;
}

.discord-iframe {
  display: block;
  width: 100%;
  height: 500px;
  min-height: 500px;
  border: 0;
  border-radius: inherit;
  background: #2b2d31;
  color-scheme: dark;
}

/* The supplied Discord artwork is used consistently in the community card. */
.discord-icon-wrap > svg {
  display: none;
}

.discord-brand-art {
  display: block;
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(67, 105, 232, .3));
}

.footer-bottom-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}


@media (max-width: 540px) {
  .footer-bottom-actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* ==========================================================================
   CUSTOM WEB CREATOR — ADVANCED UI & MOTION STACK
   ========================================================================== */

/* 1. Navbar Top Edge Blur Vignette */
.navbar-top-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.88) 0%, rgba(5, 7, 12, 0.45) 50%, transparent 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: 998;
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar-top-blur.scrolled {
  opacity: 1;
}

/* 2. Hero Stats Strip (CountUp Metrics) */
.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 24px;
  padding: 12px 28px;
  background: rgba(12, 16, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-val {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 30%, #9aa7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--dark-400, #94a3b8);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 680px) {
  .hero-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-radius: 20px;
    padding: 16px 20px;
    width: 100%;
    max-width: 360px;
  }
  .hero-stat-divider {
    display: none;
  }
}

/* 3. Card Spotlight Radial Gleam & 3D Tilt */
.feature-card,
.step-card,
.security-card,
.discord-info-card,
.cta-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.feature-card::before,
.step-card::before,
.security-card::before,
.discord-info-card::before,
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    550px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(99, 102, 241, 0.16),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 4;
}

.feature-card:hover::before,
.step-card:hover::before,
.security-card:hover::before,
.discord-info-card:hover::before,
.cta-card:hover::before {
  opacity: 1;
}

/* 4. Spring FAQ Accordion */
.faq-item {
  background: rgba(14, 18, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.22);
  background: rgba(18, 24, 42, 0.6);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(18, 24, 46, 0.8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(99, 102, 241, 0.08);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #818cf8;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* 5. Sonner-style Floating Toast Notifications */
.sonner-toaster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100vw - 48px);
}

.sonner-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(12, 16, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.sonner-toast.sonner-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.sonner-toast.sonner-exit {
  transform: translateY(12px) scale(0.92);
  opacity: 0;
}

.sonner-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.sonner-content {
  flex: 1;
  min-width: 0;
}

.sonner-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.sonner-message {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.sonner-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.sonner-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   FRAMER MARKETPLACE TRENDING BENTO COMPONENTS
   ========================================================================== */

.features-grid.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bento-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #a5b4fc;
  letter-spacing: 0.2px;
}

.bento-pill-badge.badge-green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #86efac;
}

.bento-pill-badge.badge-orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.28);
  color: #fdba74;
}

.bento-pill-badge.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
  color: #93c5fd;
}

.bento-pill-badge.badge-gold {
  background: rgba(234, 179, 8, 0.14);
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde047;
}

/* 1. Framer Border Beam Component */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.border-beam {
  position: relative;
  overflow: hidden;
}

.border-beam::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--beam-angle, 0deg) at 50% 50%,
    transparent 0deg,
    transparent 75deg,
    #6366f1 130deg,
    #a855f7 180deg,
    #38bdf8 230deg,
    transparent 290deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: border-beam-spin 3.5s linear infinite;
  z-index: 5;
}

@keyframes border-beam-spin {
  from { --beam-angle: 0deg; }
  to { --beam-angle: 360deg; }
}

/* 2. Interactive Calculator Widget */
.bento-calc-widget {
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(18, 24, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
}

.bento-calc-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
}

.bento-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.bento-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.8);
  cursor: grab;
  transition: transform 0.2s;
}

.bento-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
}

.bento-calc-result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
}

.bento-calc-res-lbl {
  font-size: 12px;
  color: #c7d2fe;
  display: block;
}

.bento-calc-res-val {
  font-size: 18px;
  font-weight: 800;
  color: #a5b4fc;
}

.bento-calc-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  background: rgba(234, 179, 8, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
}

/* 3. OTP Simulator Widget */
.bento-otp-widget {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-otp-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(14, 20, 38, 0.85);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: 12px;
}

.bento-otp-code {
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
  color: #818cf8;
  letter-spacing: 1.5px;
}

.bento-otp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bento-otp-btn:hover {
  background: rgba(99, 102, 241, 0.4);
}

.bento-otp-verify-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #86efac;
  font-weight: 500;
}

.bento-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.8s infinite;
}

.bento-live-pulse.gold {
  background: #eab308;
  box-shadow: 0 0 8px #eab308;
}

/* 4. Gamified Quest Checklist */
.bento-quest-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-quest-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 12px;
}

.bento-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-ongoing-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.bento-quest-txt {
  flex: 1;
  color: #e2e8f0;
  font-weight: 500;
}

.bento-quest-rew {
  font-weight: 700;
  color: #86efac;
}

.bento-quest-rew.pending {
  color: #94a3b8;
}

.bento-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
}

.bento-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: inherit;
}

/* 5. Sparkline Chart Widget */
.bento-chart-container {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(14, 20, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.bento-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 70px;
}

.bento-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bento-bar {
  width: 16px;
  border-radius: 4px 4px 0 0;
  background: rgba(99, 102, 241, 0.25);
  transition: height 0.6s ease;
}

.bento-bar.active-bar {
  background: linear-gradient(180deg, #818cf8, #4f46e5);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.bento-bar-label {
  font-size: 10px;
  color: #64748b;
}

.bento-chart-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bento-metric-total {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
}

.bento-metric-sub {
  font-size: 11px;
  color: #86efac;
  font-weight: 600;
}

/* 6. Instant Gamepass Cashout Simulator */
.bento-withdraw-widget {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-withdraw-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 12px;
}

.bento-withdraw-item.highlight {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.bento-w-lbl {
  color: #94a3b8;
}

.bento-w-val {
  font-weight: 700;
  font-family: monospace;
  color: #ffffff;
}

.bento-w-val.text-green {
  color: #86efac;
}

.bento-withdraw-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #86efac;
  margin-top: 2px;
}

/* 7. Wide VIP UGC Boost Showcase */
.bento-vip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 10px;
}

.bento-vip-text-wrap {
  flex: 1;
}

.bento-vip-api-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: #fde047;
  font-weight: 500;
}

.bento-ugc-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}

.bento-ugc-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(234, 179, 8, 0.07);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-ugc-chip:hover {
  transform: translateX(4px);
  border-color: rgba(234, 179, 8, 0.4);
}

.bento-ugc-badge-mini {
  font-size: 9px;
  font-weight: 800;
  background: #eab308;
  color: #000000;
  padding: 2px 5px;
  border-radius: 4px;
}

.bento-ugc-chip-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.bento-ugc-chip-price {
  font-size: 12px;
  color: #94a3b8;
  font-family: monospace;
}

.bento-ugc-chip-boost {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
}

@media (max-width: 992px) {
  .features-grid.bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2,
  .bento-span-3 {
    grid-column: span 1;
  }
  .bento-vip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-ugc-chips {
    width: 100%;
  }
}

/* RoPay refinement: preserve the existing blue palette and sharpen hierarchy. */
.hero-title {
  max-width: min(1080px, 100%);
  font-size: clamp(56px, 5.35vw, 78px);
  line-height: 1.02;
}

.faq-intro .section-title {
  max-width: 440px;
  font-size: clamp(54px, 5.3vw, 72px);
  line-height: .98;
}

.faq-item:hover {
  opacity: 1;
}

.faq-item.active {
  background: rgba(101, 119, 255, .045);
}

.faq-question:focus-visible,
.hamburger:focus-visible,
.mobile-link:focus-visible,
.btn:focus-visible,
.btn-shader:focus-visible,
.btn-cta-action:focus-visible,
.nav-link:focus-visible,
.faq-contact:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 820px) {
  .faq-intro .section-title {
    max-width: 600px;
    font-size: clamp(44px, 10.5vw, 62px);
    line-height: 1;
  }
}

@media (max-width: 540px) {
  .hero-title {
    max-width: 370px;
    font-size: clamp(34px, 8.6vw, 39px);
    line-height: 1.04;
    letter-spacing: -.045em;
  }

  .hero-serif-highlight {
    font-size: .88em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .hero-title,
  .hero-badge,
  .hero-subtitle,
  .hero-actions,
  .animate-on-scroll,
  [data-tm-preset] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

