
/* ==========================================================================
   瑞派龙 AI (ruipailong.com.cn) — 曜石暗金与星海蓝旗舰设计系统
   100% 独立定制 UI (Homepage + Split-Screen Auth + Dark Obsidian Console)
   ========================================================================== */

:root,
html,
html.dark {
  color-scheme: dark !important;
  --rpl-bg-deep: #060913;
  --rpl-bg-panel: #0c1326;
  --rpl-bg-card: rgba(14, 22, 42, 0.78);
  --rpl-bg-elevated: #131d38;
  --rpl-border: rgba(251, 191, 36, 0.16);
  --rpl-border-subtle: rgba(148, 163, 184, 0.14);
  --rpl-gold: #f59e0b;
  --rpl-gold-bright: #fbbf24;
  --rpl-gold-soft: #fde68a;
  --rpl-blue: #38bdf8;
  --rpl-indigo: #6366f1;
  --rpl-text: #f8fafc;
  --rpl-text-muted: #94a3b8;
}

body {
  background-color: var(--rpl-bg-deep) !important;
  color: var(--rpl-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}

/* ==========================================================================
   1. HOMEPAGE (.rpl-landing-root)
   ========================================================================== */
.rpl-landing-root {
  min-height: 100vh;
  background: #060913;
  color: #f8fafc;
  overflow-x: hidden;
  position: relative;
}

/* Floating Pill Header */
.rpl-pill-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.rpl-pill-nav {
  pointer-events: auto;
  width: min(100%, 1320px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px 10px 20px;
  border-radius: 999px;
  background: rgba(8, 13, 26, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rpl-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #ffffff;
}

.rpl-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.rpl-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.rpl-brand-accent {
  margin-left: 3px;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rpl-brand-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

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

.rpl-nav-link {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rpl-nav-link:hover {
  color: #fbbf24;
}

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

.rpl-btn-ghost {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rpl-btn-ghost:hover {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
}

.rpl-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #090d16 !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.rpl-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.5);
  filter: brightness(1.06);
}

/* Hero Section */
.rpl-hero-section {
  position: relative;
  min-height: 100svh;
  padding: 108px 24px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.rpl-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.rpl-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.08) contrast(1.05);
}

.rpl-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 19, 0.96) 0%, rgba(6, 9, 19, 0.82) 42%, rgba(6, 9, 19, 0.32) 76%, rgba(6, 9, 19, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 9, 19, 0.75) 0%, transparent 28%, rgba(6, 9, 19, 0.96) 100%);
}

.rpl-hero-glow {
  position: absolute;
  top: -15%;
  left: 15%;
  width: 680px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Promo Ticker */
.rpl-promo-ticker {
  width: min(100%, 1320px);
  margin: 0 auto 32px;
  padding: 9px 16px;
  border-radius: 16px;
  background: rgba(12, 19, 38, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.25);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.rpl-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.rpl-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.rpl-promo-items {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.82rem;
  color: #e2e8f0;
  scrollbar-width: none;
}

.rpl-promo-items::-webkit-scrollbar {
  display: none;
}

.rpl-promo-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  text-decoration: none;
}

.rpl-promo-item strong {
  color: #fbbf24;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rpl-tag-gold {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
}

.rpl-tag-blue {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 700;
}

.rpl-tag-amber {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #e9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.rpl-promo-sep {
  color: rgba(251, 191, 36, 0.45);
}

.rpl-promo-highlight {
  color: #6ee7b7;
  font-weight: 600;
}

/* Hero Container */
.rpl-hero-container {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.rpl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fbbf24;
  margin-bottom: 20px;
}

.rpl-eyebrow-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #38bdf8);
  border-radius: 2px;
}

.rpl-hero-title {
  font-size: clamp(2.75rem, 5.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 24px;
}

.rpl-title-gradient {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 48%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rpl-hero-desc {
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.84);
  max-width: 600px;
  margin: 0 0 34px;
}

.rpl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.rpl-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #060913 !important;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
  transition: all 0.22s ease;
}

.rpl-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.55);
}

.rpl-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #fde68a !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.rpl-cta-secondary:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #fbbf24;
  transform: translateY(-1px);
}

.rpl-cta-glass {
  display: inline-flex;
  align-items: center;
  padding: 15px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rpl-cta-glass:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

/* KPI Row */
.rpl-kpi-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.rpl-kpi-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rpl-kpi-val span {
  font-size: 0.95rem;
  color: #fbbf24;
  margin-left: 2px;
}

.rpl-kpi-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

.rpl-kpi-divider {
  width: 1px;
  height: 36px;
  background: rgba(148, 163, 184, 0.18);
}

/* Right Interactive Console Card */
.rpl-console-card {
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88) 0%, rgba(8, 13, 27, 0.94) 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  padding: 24px;
}

.rpl-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rpl-console-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rpl-console-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

.rpl-console-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.rpl-console-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.rpl-console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
}

.rpl-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.rpl-console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
  padding: 5px;
  border-radius: 14px;
  background: rgba(6, 9, 19, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.rpl-console-tab {
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.rpl-console-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24) 0%, rgba(56, 189, 248, 0.18) 100%);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rpl-console-panel {
  display: none;
}

.rpl-console-panel.active {
  display: block;
}

.rpl-code-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(4, 7, 15, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  margin-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: #7dd3fc;
  overflow-x: auto;
}

.rpl-http-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-weight: 800;
  font-size: 0.7rem;
}

.rpl-model-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rpl-model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(19, 29, 56, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  text-decoration: none;
  transition: all 0.18s ease;
}

.rpl-model-row:hover {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.1);
  transform: translateX(3px);
}

.rpl-model-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.rpl-dot-amber,
.rpl-dot-blue,
.rpl-dot-emerald,
.rpl-dot-purple {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rpl-dot-amber { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.rpl-dot-blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.rpl-dot-emerald { background: #34d399; box-shadow: 0 0 8px #34d399; }
.rpl-dot-purple { background: #c084fc; box-shadow: 0 0 8px #c084fc; }

.rpl-model-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.rpl-model-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rpl-model-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  font-weight: 800;
  color: #fde68a;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.3);
  white-space: nowrap;
}

.rpl-console-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94a3b8;
}

.rpl-console-link {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
}

/* Bento Grid Section */
.rpl-section {
  padding: 96px 24px;
  position: relative;
}

.rpl-section-alt {
  background: linear-gradient(180deg, rgba(12, 19, 38, 0.6) 0%, rgba(6, 9, 19, 1) 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.rpl-section-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.rpl-section-head {
  margin-bottom: 52px;
}

.rpl-section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 14px;
}

.rpl-section-title span {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rpl-section-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0;
}

.rpl-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.rpl-bento-span-7 { grid-column: span 7; }
.rpl-bento-span-5 { grid-column: span 5; }

.rpl-bento-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 410px;
  background: #0c1326;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.rpl-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.5);
}

.rpl-bento-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rpl-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rpl-bento-card:hover .rpl-bento-img {
  transform: scale(1.04);
}

.rpl-bento-img-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.15) 0%, rgba(6, 9, 19, 0.72) 52%, rgba(6, 9, 19, 0.96) 100%);
}

.rpl-bento-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.rpl-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.rpl-bento-tag-gold {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.74rem;
  font-weight: 700;
}

.rpl-bento-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 600;
}

.rpl-bento-content h3,
.rpl-matrix-inner h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.rpl-bento-content p,
.rpl-matrix-inner p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.82);
  margin: 0 0 18px;
}

.rpl-bento-cta {
  display: inline-flex;
  align-items: center;
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.rpl-bento-matrix {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 60%),
              linear-gradient(160deg, #0f172a 0%, #090e1d 100%);
  justify-content: center;
}

.rpl-matrix-inner {
  padding: 32px;
}

.rpl-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.rpl-price-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(6, 9, 19, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-decoration: none;
  transition: all 0.2s ease;
}

.rpl-price-item:hover {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.rpl-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rpl-price-model {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.rpl-price-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.rpl-price-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
}

.rpl-price-num span {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-left: 3px;
}

.rpl-price-note {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* 3 Steps Grid */
.rpl-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rpl-step-card {
  padding: 32px;
  border-radius: 24px;
  background: rgba(14, 22, 42, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.rpl-step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.rpl-step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

.rpl-step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 18px;
}

.rpl-step-card code {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  padding: 2px 6px;
  border-radius: 5px;
}

.rpl-step-link {
  color: #fbbf24;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

/* Footer */
.rpl-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 44px 24px;
  background: #04070f;
}

.rpl-footer-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rpl-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rpl-footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.rpl-footer-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.rpl-footer-copy {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.rpl-footer-links {
  display: flex;
  gap: 24px;
}

.rpl-footer-links a {
  color: #94a3b8;
  font-size: 0.86rem;
  text-decoration: none;
}

.rpl-footer-links a:hover {
  color: #fbbf24;
}

.rpl-footer-legal {
  font-size: 0.78rem;
  color: #475569;
}

@media (max-width: 1024px) {
  .rpl-hero-container {
    grid-template-columns: 1fr;
  }
  .rpl-bento-span-7,
  .rpl-bento-span-5 {
    grid-column: span 12;
  }
  .rpl-steps-grid {
    grid-template-columns: 1fr;
  }
  .rpl-nav-links {
    display: none;
  }
}

/* ==========================================================================
   2. LOGIN & REGISTER SPLIT-SCREEN STUDIO UI (AuthLayout Override)
   ========================================================================== */
body.rpl-auth-page > #app > div.relative.flex.min-h-screen {
  background: radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 82% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 48%),
              #060913 !important;
  padding: 24px !important;
}

body.rpl-auth-page > #app > div.relative.flex.min-h-screen > div.absolute {
  display: none !important;
}

body.rpl-auth-page > #app > div.relative.flex.min-h-screen > div.relative.z-10.w-full.max-w-md {
  max-width: 1060px !important;
  display: grid !important;
  grid-template-columns: 1.08fr 0.92fr !important;
  background: rgba(11, 18, 35, 0.88) !important;
  border: 1px solid rgba(251, 191, 36, 0.26) !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(245, 158, 11, 0.1) !important;
  backdrop-filter: blur(24px) !important;
}

/* Left showcase panel injected by rpl-ui.js */
.rpl-auth-showcase {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  background: #080d1a;
  border-right: 1px solid rgba(251, 191, 36, 0.16);
  overflow: hidden;
}

.rpl-auth-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.06);
}

.rpl-auth-showcase-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.15) 0%, rgba(6, 9, 19, 0.68) 52%, rgba(6, 9, 19, 0.97) 100%);
}

.rpl-auth-showcase-body {
  position: relative;
  z-index: 2;
}

.rpl-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.rpl-auth-showcase-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 12px;
}

.rpl-auth-showcase-title span {
  color: #fbbf24;
}

.rpl-auth-showcase-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rpl-auth-showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.rpl-auth-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Right form wrapper inside AuthLayout */
.rpl-auth-form-col {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 20, 38, 0.95) 0%, rgba(8, 13, 26, 0.98) 100%);
}

body.rpl-auth-page .card-glass {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  body.rpl-auth-page > #app > div.relative.flex.min-h-screen > div.relative.z-10.w-full.max-w-md {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
  }
  .rpl-auth-showcase {
    display: none !important;
  }
}

/* ==========================================================================
   3. GLOBAL USER INTERFACE RESKIN (Model Plaza, Dashboard, Keys, Redeem, etc.)
   ========================================================================== */

/* Override Primary Gradient & Accent Colors from Teal to Amber-Gold & Sapphire */
.text-gradient {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 55%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.btn-primary,
button.bg-primary-600,
a.bg-primary-600,
.bg-gradient-to-r.from-primary-500.to-primary-600 {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #070b14 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(253, 230, 138, 0.4) !important;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28) !important;
}

.btn-primary:hover,
button.bg-primary-600:hover,
a.bg-primary-600:hover {
  filter: brightness(1.06) !important;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.42) !important;
}

/* Inputs */
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  background-color: rgba(8, 13, 26, 0.85) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #f8fafc !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* Sidebar & App Header in User Console */
.sidebar {
  background: linear-gradient(180deg, #080d1a 0%, #050811 100%) !important;
  border-right: 1px solid rgba(251, 191, 36, 0.15) !important;
}

.sidebar-header {
  border-bottom: 1px solid rgba(251, 191, 36, 0.14) !important;
}

.sidebar-link {
  color: #94a3b8 !important;
}

.sidebar-link:hover {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #fde68a !important;
}

.sidebar-link-active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.05) 100%) !important;
  color: #fbbf24 !important;
  border-left: 3px solid #fbbf24 !important;
  font-weight: 700 !important;
}

/* Cards & Glass Surfaces in Console */
.card,
.glass-card,
.stat-card {
  background: rgba(12, 19, 38, 0.82) !important;
  border: 1px solid rgba(251, 191, 36, 0.15) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38) !important;
}

.stat-icon-primary,
.badge-primary {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
}

/* Model Plaza Standalone & Embedded Reskin */
.onetake-plaza-bg {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.14) 0%, rgba(56, 189, 248, 0.08) 38%, transparent 70%),
              #060913 !important;
  color: #f8fafc !important;
}

/* Custom Hero Banner injected at top of Model Plaza */
.rpl-plaza-hero {
  margin-bottom: 24px;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(28, 22, 14, 0.88) 100%);
  border: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.rpl-plaza-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.rpl-plaza-hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
}

.rpl-plaza-hero-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.rpl-plaza-hero-title span {
  color: #fbbf24;
}

.rpl-plaza-hero-sub {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
}

.rpl-plaza-hero-actions {
  display: flex;
  gap: 12px;
  z-index: 2;
  flex-shrink: 0;
}
