/* ==========================================================================
   Skyrez — Redesign v2
   Design language: deep navy + Skyrez orange, Rubik type, pill buttons,
   soft-shadow cards. Inspired by bunny.net's structure, built on Skyrez's
   own logo colors (#325392 navy / #f68a22 orange).
   This file sits ON TOP of the existing css/styles.css (Bootstrap 5 grid
   + utilities) and restyles components with its own class names, so it
   never fights Bootstrap's theme variables.
   ========================================================================== */

:root {
  --navy: #325392;
  --navy-ink: #16294a;
  --navy-deep: #16283f;
  --navy-deeper: #0c1626;
  --orange: #f68a22;
  --orange-deep: #dd7412;
  --paper: #ffffff;
  --mist: #eef3fa;
  --mist-deep: #e2ecf7;
  --line: #dbe4f0;
  --ink: #16233a;
  --ink-soft: #5a6d8a;
  --ink-on-dark: #eef3fa;
  --ink-on-dark-soft: #a9bad4;
  --shadow-soft: 0 10px 40px rgba(22, 41, 74, 0.08);
  --shadow-lift: 0 20px 60px rgba(12, 22, 38, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 100px;
}

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
}

.lead {
  font-weight: 400;
  color: var(--ink-soft);
}

a {
  color: var(--navy);
}
a:hover {
  color: var(--orange);
}

/* ---- layout rhythm ------------------------------------------------- */

.rd-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.rd-section--tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.rd-section--mist {
  background: var(--mist);
}
.rd-section--dark {
  background: var(--navy-deeper);
  color: var(--ink-on-dark);
}
.rd-section--dark h1, .rd-section--dark h2, .rd-section--dark h3,
.rd-section--dark h4, .rd-section--dark p {
  color: var(--ink-on-dark);
}
.rd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.rd-eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ---- buttons --------------------------------------------------------- */

.btn-rd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.1;
}
.btn-rd:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.btn-rd-primary {
  background: var(--orange);
  color: #1a1103;
  box-shadow: 0 8px 24px rgba(246, 138, 34, 0.35);
}
.btn-rd-primary:hover {
  background: var(--orange-deep);
  color: #1a1103;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(246, 138, 34, 0.4);
}
.btn-rd-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ink-on-dark);
}
.btn-rd-ghost-light:hover {
  border-color: #fff;
  color: #fff;
}
.btn-rd-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy-ink);
}
.btn-rd-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-rd-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* ---- navbar ------------------------------------------------------------ */

#mainNav.rd-navbar {
  background: var(--navy-deeper);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
#mainNav.rd-navbar .navbar-brand img {
  width: 210px;
  display: block;
}
#mainNav.rd-navbar .nav-link {
  font-weight: 500;
  color: var(--ink-on-dark-soft) !important;
  font-size: 0.95rem;
}
#mainNav.rd-navbar .nav-link:hover,
#mainNav.rd-navbar .nav-link:focus,
#mainNav.rd-navbar .nav-link.active {
  color: #fff !important;
}
#mainNav.rd-navbar .navbar-toggler {
  color: var(--ink-on-dark-soft);
  border-color: rgba(255, 255, 255, 0.25);
  font-size: 1.3rem;
  line-height: 1;
}
#mainNav.rd-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(246, 138, 34, 0.35);
}
.rd-navbar .dropdown-menu {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.rd-navbar .dropdown-item.active,
.rd-navbar .dropdown-item:active {
  background: var(--orange);
  color: #1a1103;
}

@media (max-width: 640px) {
  .rd-navbar .navbar-brand img { width: 160px; }
}

/* ---- hero -------------------------------------------------------------- */

.rd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 25%, rgb(241 133 29 / 35%), transparent 60%),
    linear-gradient(180deg, #000103 0%, #1a2e53 100%);
  padding-top: 9.5rem;
  padding-bottom: 5rem;
  color: var(--ink-on-dark);
}
.rd-hero h1 { color: #fff; font-size: 3.6rem; line-height: 1.05; }
.rd-hero .lead { color: var(--ink-on-dark-soft); font-size: 1.25rem; }
.rd-hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.rd-hero-art img { display: block; width: 100%; }

@media (max-width: 991.98px) {
  .rd-hero h1 { font-size: 2.6rem; }
}

/* ---- feature cards ------------------------------------------------------ */

.rd-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.rd-icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.rd-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.rd-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---- quote band ---------------------------------------------------------- */

.rd-quote {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-ink) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
}
.rd-quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}
.rd-quote blockquote {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ---- product/use-case rows ------------------------------------------------ */

.rd-usecase-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ---- demo cards ------------------------------------------------------------ */

.rd-demo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rd-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.rd-demo-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
}
.rd-demo-card .rd-demo-body {
  padding: 1.4rem;
  text-align: center;
}
.rd-demo-card h5 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}
.rd-demo-card p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ---- final CTA band --------------------------------------------------------- */

.rd-cta-band {
  background: linear-gradient(120deg, var(--navy-deeper) 0%, var(--navy-deep) 60%, var(--navy) 130%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rd-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 70% at 90% 100%, rgba(246, 138, 34, 0.3), transparent 60%);
}
.rd-cta-band > * { position: relative; z-index: 1; }
.rd-cta-band h2 { color: #fff; font-size: 2.4rem; margin-bottom: 1.6rem; }

/* ---- footer ------------------------------------------------------------------ */

.rd-footer {
  background: var(--navy-deeper);
  color: var(--ink-on-dark-soft);
  padding: 3.5rem 0 2rem;
}
.rd-footer .rd-footer-brand img {
  width: 190px;
  margin-bottom: 1rem;
}
.rd-footer h6 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.rd-footer a {
  color: var(--ink-on-dark-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
.rd-footer a:hover {
  color: var(--orange);
}
.rd-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.rd-footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.rd-footer-social a {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.6rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: nowrap;
  opacity: 0.75;
}
.rd-footer-social a:hover {
  background: var(--orange);
  color: #fff;
  opacity: 1;
}
.rd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-on-dark-soft);
}
.rd-footer-lang a {
  color: var(--ink-on-dark-soft);
}

/* ---- sub-page hero (about/pricing/contact/help/legal) --------------------------- */

.rd-hero-sub {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 25%, rgb(241 133 29 / 35%), transparent 60%),
    linear-gradient(180deg, #000103 0%, #1a2e53 100%);
  padding-top: 8.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  color: var(--ink-on-dark);
}
.rd-hero-sub h1 { color: #fff; font-size: 2.6rem; margin-bottom: 0.6rem; }
.rd-hero-sub p { color: var(--ink-on-dark-soft); font-size: 1.1rem; max-width: 46rem; margin: 0 auto; }

@media (max-width: 640px) {
  .rd-hero-sub { padding-top: 6.5rem; }
  .rd-hero-sub h1 { font-size: 1.8rem; }
}

/* ---- prose (about / legal pages) ------------------------------------------------- */

.rd-prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.rd-prose .lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
}
.rd-prose h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.rd-prose h3 {
  font-size: 1.08rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.rd-prose p { margin-bottom: 1rem; }
.rd-prose ul { margin-bottom: 1rem; padding-left: 1.3rem; }
.rd-prose ul li { margin-bottom: 0.4rem; }
.rd-prose a { text-decoration: underline; }

/* legal pages get a divider under h2 + an "updated" pill */
.rd-legal h2 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.rd-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

/* ---- value / stat cards (about page) ---------------------------------------------- */

.rd-value-card {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
}
.rd-value-card .rd-icon-chip { background: color-mix(in srgb, var(--navy) 12%, transparent); color: var(--navy); }

/* ---- FAQ (help page) --------------------------------------------------------------- */

.rd-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.rd-faq-item:last-child { border-bottom: none; }
.rd-faq-question {
  cursor: pointer;
  color: var(--navy-ink);
  font-weight: 600;
  font-size: 1.02rem;
  user-select: none;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
}
.rd-faq-question i { color: var(--orange); margin-top: 0.2rem; flex-shrink: 0; }
.rd-faq-question:hover { color: var(--orange); }
.rd-faq-answer {
  margin-top: 0.9rem;
  margin-left: 1.6rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---- pricing cards ------------------------------------------------------------------ */

.rd-pricing-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rd-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.rd-pricing-card .rd-vertical-icon {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.4rem;
}
.rd-pricing-card h4 {
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 1.1rem;
}
.rd-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
}
.rd-feature-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.rd-feature-list li::before {
  content: "\F26D";
  font-family: "bootstrap-icons";
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}
.rd-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.4rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.rd-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: auto;
}
.rd-pricing-table th {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0.5rem 0.3rem;
  border: 1px solid var(--line);
  background: var(--mist);
}
.rd-pricing-table td {
  text-align: center;
  padding: 0.6rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}
.rd-price-amount { font-size: 1.3rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.rd-price-amount span { font-size: 0.72rem; font-weight: 400; color: var(--ink-soft); display: block; }
.rd-price-free { font-size: 1.2rem; font-weight: 700; color: var(--orange); line-height: 1.1; }
.rd-price-free span { font-size: 0.72rem; font-weight: 400; color: var(--ink-soft); display: block; }

.rd-commission-note {
  background: var(--mist);
  border-left: 4px solid var(--navy);
  padding: 0.9rem 1.4rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---- contact page ----------------------------------------------------------------- */

.rd-contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.2rem;
}
.rd-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.rd-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.rd-info-text { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.rd-info-text strong { color: var(--ink); display: block; font-size: 0.86rem; margin-bottom: 2px; }

.rd-form-label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.rd-form-control {
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
}
.rd-form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(50, 83, 146, 0.15);
}
.rd-alert-success {
  background: #eaf7f0;
  border: 1px solid #9fd9bb;
  border-radius: 10px;
  padding: 1rem 1.3rem;
  color: #1a6e45;
}
.rd-alert-error {
  background: #fdeeee;
  border: 1px solid #f0b4b4;
  border-radius: 10px;
  padding: 1rem 1.3rem;
  color: #a12424;
}
.rd-recaptcha-note { font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---- blog post ---------------------------------------------------------------------- */

.rd-post-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 25%, rgb(241 133 29 / 35%), transparent 60%),
    linear-gradient(180deg, #000103 0%, #1a2e53 100%);
  padding-top: 8.5rem;
  padding-bottom: 3rem;
  color: var(--ink-on-dark);
}
.rd-post-hero .rd-back-link {
  color: var(--ink-on-dark-soft);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.rd-post-hero .rd-back-link:hover { color: #fff; }
.rd-post-hero h1 { color: #fff; font-size: 2.4rem; line-height: 1.2; }
.rd-post-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--orange) 20%, transparent);
  color: #ffd9ac;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-right: 0.4rem;
}
.rd-post-meta {
  color: var(--ink-on-dark-soft);
  font-size: 0.92rem;
}
.rd-post-meta span { margin-right: 1.2rem; }

.rd-related-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  height: 100%;
  padding: 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.rd-related-card h6 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.rd-related-card p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---- misc ---------------------------------------------------------------------- */

.rd-beta-banner {
  background: var(--orange);
  color: #1a1103;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
}
.rd-beta-banner a { color: #1a1103; text-decoration: underline; }

@media (max-width: 640px) {
  .rd-hero { padding-top: 7.5rem; }
  .rd-hero h1 { font-size: 2.1rem; }
  .rd-quote blockquote { font-size: 1.2rem; }
  .rd-cta-band h2 { font-size: 1.8rem; }
}
