:root {
  --rg-premium-bg: #070f19;
  --rg-premium-bg-soft: #0b1a2b;
  --rg-premium-surface: rgba(18, 36, 58, 0.78);
  --rg-premium-surface-strong: #10243b;
  --rg-premium-border: rgba(148, 173, 203, 0.2);
  --rg-premium-highlight: #c6a85b;
  --rg-premium-highlight-soft: rgba(198, 168, 91, 0.22);
  --rg-premium-text: #e6edf6;
  --rg-premium-muted: #9db0c7;
  --rg-premium-glow: 0 24px 48px rgba(3, 8, 15, 0.4);
}

body {
  background: radial-gradient(circle at 20% 0%, #102239 0%, var(--rg-premium-bg) 42%, #060b13 100%);
  color: #e7ecf3;
  font-size: 18px;
  line-height: 1.65;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
}

p {
  margin-bottom: 1.1em;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  margin-top: 2rem;
}

h3 {
  font-size: 24px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rg-premium-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.rg-premium-section {
  padding: 4.5rem 0;
}

.rg-premium-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  padding-top: 4.75rem;
}

.rg-premium-hero__title {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin: 0 0 1rem;
}

.rg-premium-hero__lead {
  color: var(--rg-premium-muted);
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

.rg-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rg-btn-premium,
.rg-btn-ghost {
  border-radius: 999px;
  border: 1px solid var(--rg-premium-border);
  padding: 0.7rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.rg-btn-premium {
  background: linear-gradient(130deg, #1e3555, #2a4b78);
  box-shadow: 0 0 0 1px rgba(198, 168, 91, 0.28) inset;
}

.rg-btn-ghost {
  background: rgba(9, 20, 34, 0.55);
}

.rg-btn-premium:hover,
.rg-btn-ghost:hover,
.rg-btn-premium:focus,
.rg-btn-ghost:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 13, 22, 0.45);
  text-decoration: none;
}

.rg-premium-chart {
  border: 1px solid var(--rg-premium-border);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(17, 34, 53, 0.9), rgba(9, 19, 33, 0.95));
  box-shadow: var(--rg-premium-glow);
  min-height: 330px;
  position: relative;
  overflow: hidden;
}

.rg-premium-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rg-chart-line {
  stroke: #89c2ff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 8;
  animation: rg-line-drift 9s linear infinite;
}

.rg-chart-indicator {
  stroke: rgba(198, 168, 91, 0.85);
  stroke-width: 1.8;
  fill: none;
}

@keyframes rg-line-drift {
  to {
    stroke-dashoffset: -160;
  }
}

.rg-platform-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(198, 168, 91, 0.35);
  background: rgba(198, 168, 91, 0.08);
  color: #f4e4bf;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rg-premium-tool-grid,
.rg-feature-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rg-tool-card-premium,
.rg-feature-panel {
  border: 1px solid var(--rg-premium-border);
  background: linear-gradient(165deg, rgba(17, 36, 58, 0.86), rgba(9, 20, 34, 0.9));
  border-radius: 16px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.rg-tool-card-premium:hover,
.rg-feature-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 168, 91, 0.48);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.35), 0 0 32px rgba(198, 168, 91, 0.07);
}

.rg-tool-card-premium__media {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: block;
}

.rg-tool-card-premium__body,
.rg-feature-panel__body {
  padding: 1rem;
}

.rg-platform-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.rg-platform-logo-card {
  border: 1px solid var(--rg-premium-border);
  background: rgba(9, 20, 35, 0.72);
  border-radius: 14px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-platform-logo-card img {
  max-width: 140px;
  max-height: 30px;
  width: auto;
}

.rg-preview-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--rg-premium-border);
  border-radius: 14px;
  background: rgba(7, 15, 27, 0.65);
  padding: 0.8rem;
}

.rg-preview-row img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 150px;
}

.rg-premium-cta {
  border: 1px solid rgba(198, 168, 91, 0.34);
  background: linear-gradient(120deg, rgba(31, 58, 95, 0.65), rgba(15, 27, 45, 0.88));
  border-radius: 18px;
  padding: 2rem;
}

.rg-blog-single .container {
  max-width: 980px;
}

.rg-blog-single .entry-content {
  background: rgba(8, 17, 28, 0.75);
  border: 1px solid var(--rg-premium-border);
  border-radius: 14px;
  padding: 1.5rem;
}

.rg-blog-single blockquote {
  border-left: 3px solid var(--rg-premium-highlight);
  margin: 1.4rem 0;
  padding: 0.35rem 1rem;
  color: #c5d4e8;
  background: rgba(198, 168, 91, 0.08);
}

.rg-blog-single pre,
.rg-blog-single code {
  background: #0a1726;
  border: 1px solid rgba(157, 176, 199, 0.2);
  border-radius: 8px;
}

.rg-blog-toc,
.rg-post-toc {
  border: 1px solid var(--rg-premium-border);
  border-radius: 10px;
  background: rgba(8, 18, 31, 0.7);
  padding: 0.85rem 1rem;
}


.site-footer p,
.site-footer li {
  font-size: 16px;
  line-height: 1.6;
}

.navbar .navbar-nav > li > a,
.navbar .navbar-nav li a,
.hestia-nav-bar .navbar-nav > li > a {
  font-size: 16px;
}

.rg-tool-card-premium__body,
.rg-tool-card-premium__body p,
.rg-feature-panel__body,
.rg-feature-panel__body p {
  font-size: 16px;
}

.rg-single-tool .rg-tool-hero {
  border: 1px solid var(--rg-premium-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 29, 47, 0.86), rgba(8, 18, 31, 0.9));
  padding: 1.7rem;
}

.rg-install-steps li {
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.8rem;
  background: rgba(12, 26, 43, 0.58);
  border: 1px solid rgba(148, 173, 203, 0.16);
  border-radius: 8px;
}

@media (max-width: 980px) {
  body {
    font-size: 17px;
  }

  .rg-premium-hero,
  .rg-premium-tool-grid,
  .rg-feature-panel-grid,
  .rg-platform-row {
    grid-template-columns: 1fr;
  }

  .rg-preview-row {
    grid-template-columns: 1fr;
  }
}
