/* relynk.css — Relynk site CSS */
/* Brand: industrial OT / SCADA | Accent: #00A8E8 cyan-blue | Font: Manrope + JetBrains Mono */
/* BEM prefix: rl- */

/* ============================================================ */
/* HARD GUARD: horizontal overflow */
/* ============================================================ */
html, body { overflow-x: hidden; }

/* ============================================================ */
/* ROOT TOKENS */
/* ============================================================ */
:root {
  --rl-accent: #00A8E8;
  --rl-accent-rgb: 0,168,232;
  --rl-accent-dark: #0086ba;
  --rl-bg-dark: #0d1b2a;
  --rl-bg-alt: #111f30;
  --rl-bg-surface: #162436;
  --rl-bg-light: #f4f7fa;
  --rl-bg-white: #ffffff;
  --rl-text-primary: #f1f5f9;
  --rl-text-secondary: #94a3b8;
  --rl-text-muted: #64748b;
  --rl-text-dark: #1a2332;
  --rl-text-body: #4a5568;
  --rl-border-dark: #1e3350;
  --rl-border-light: rgba(0,0,0,0.08);
  --rl-font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --rl-font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --rl-container-max: 1180px;
  --rl-container-pad: 24px;
}

/* ============================================================ */
/* RESET + BASE */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--rl-font-sans);
  background: #ffffff;
  color: var(--rl-text-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rl-font-sans);
  letter-spacing: -0.025em;
  margin-top: 0;
  color: var(--rl-text-dark);
}

a { color: var(--rl-accent); text-decoration: none; }
a:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Shared container */
.rl-container {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

/* Section backgrounds */
.rl-section--white { background: #ffffff; }
.rl-section--light { background: var(--rl-bg-light); }
.rl-section--dark { background: var(--rl-bg-dark); color: var(--rl-text-primary); }

/* ============================================================ */
/* NAV — rl-nav */
/* ============================================================ */
.rl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.rl-nav--scrolled {
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Solid light nav for sub-pages */
.rl-nav--solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: fixed;
}

.rl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  height: 64px;
}

.rl-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.rl-nav__logo-img {
  height: 32px;
  width: auto;
}

.rl-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.rl-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f1f5f9;
  border-radius: 2px;
  transition: all 0.3s;
}

.rl-nav--solid .rl-nav__toggle span {
  background: var(--rl-text-dark);
}

.rl-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rl-nav__list a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.rl-nav__list a:hover {
  color: #ffffff;
  opacity: 1;
}

.rl-nav--solid .rl-nav__list a {
  color: #334155;
}

.rl-nav--solid .rl-nav__list a:hover {
  color: var(--rl-text-dark);
  opacity: 1;
}

.rl-nav__cta {
  background: var(--rl-accent) !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.rl-nav__cta:hover {
  filter: brightness(1.1);
  opacity: 1 !important;
}

/* Responsive nav hamburger */
@media (max-width: 768px) {
  .rl-nav__toggle { display: flex; }
  .rl-nav__list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--rl-bg-dark);
    padding: 16px;
    border-top: 1px solid var(--rl-border-dark);
    gap: 4px;
  }
  .rl-nav__list.open { display: flex; }
  .rl-nav--solid .rl-nav__list {
    background: #ffffff;
    border-top-color: rgba(0,0,0,0.08);
  }
  .rl-nav--solid .rl-nav__list a { color: #0f172a; }
}

/* ============================================================ */
/* HERO — rl-hero (full-bleed dark with gradient) */
/* ============================================================ */
.rl-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--rl-bg-dark);
  color: var(--rl-text-primary);
}

.rl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rl-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.72) 55%, rgba(13,27,42,0.30) 100%);
  z-index: 1;
}

.rl-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-hero__content {
  max-width: 680px;
}

.rl-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rl-accent);
  margin-bottom: 20px;
  font-family: var(--rl-font-mono);
}

.rl-hero__headline {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.rl-hero__subheadline {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(148,163,184,1);
  margin-bottom: 36px;
  max-width: 560px;
}

.rl-hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.rl-btn--primary {
  display: inline-block;
  padding: 13px 30px;
  background: var(--rl-accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--rl-font-sans);
}

.rl-btn--primary:hover { filter: brightness(1.1); opacity: 1; }

.rl-btn--outline {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(226,232,240,0.35);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.rl-btn--outline:hover { border-color: #e2e8f0; color: #ffffff; opacity: 1; }

.rl-btn--outline-dark {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: var(--rl-text-dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.18);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.rl-btn--outline-dark:hover { border-color: var(--rl-accent); color: var(--rl-accent); opacity: 1; }

@media (max-width: 768px) {
  .rl-hero { min-height: 78vh; }
  .rl-hero__overlay {
    background: linear-gradient(180deg, rgba(13,27,42,0.50) 0%, rgba(13,27,42,0.90) 100%);
  }
  .rl-hero__content { max-width: 100%; }
  .rl-hero__cta-group { flex-direction: column; }
  .rl-btn--primary, .rl-btn--outline { text-align: center; }
}

/* ============================================================ */
/* PAGE HERO (sub-pages) */
/* ============================================================ */
.rl-page-hero {
  background: linear-gradient(135deg, var(--rl-bg-dark) 0%, var(--rl-bg-surface) 100%);
  color: var(--rl-text-primary);
  padding: 120px 0 60px;
}

.rl-page-hero__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-page-hero__breadcrumb {
  font-size: 13px;
  color: var(--rl-text-muted);
  margin-bottom: 20px;
}

.rl-page-hero__breadcrumb a {
  color: var(--rl-text-muted);
  text-decoration: none;
}

.rl-page-hero__breadcrumb a:hover { color: var(--rl-text-primary); opacity: 1; }

.rl-page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 740px;
}

.rl-page-hero p {
  font-size: 17px;
  color: var(--rl-text-secondary);
  max-width: 600px;
  margin: 0;
  line-height: 1.7;
}

/* ============================================================ */
/* STATS BAR — rl-stats */
/* ============================================================ */
.rl-stats {
  background: var(--rl-bg-light);
  padding: 64px 0;
}

.rl-stats__grid {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.rl-stats__item {
  text-align: center;
}

.rl-stats__number {
  font-size: 42px;
  font-weight: 800;
  color: var(--rl-accent);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--rl-font-mono);
}

.rl-stats__label {
  font-size: 14px;
  color: var(--rl-text-body);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .rl-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ============================================================ */
/* SECTION INTRO — shared heading block */
/* ============================================================ */
.rl-section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.rl-section-intro h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.rl-section-intro p {
  font-size: 17px;
  color: var(--rl-text-body);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================ */
/* FEATURES — rl-features */
/* ============================================================ */
.rl-features {
  padding: 80px 0;
}

/* Intro paragraph section (What We Do) */
.rl-features__intro {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-features__intro-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.rl-features__intro-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.rl-features__intro-text p {
  font-size: 17px;
  color: var(--rl-text-body);
  line-height: 1.75;
}

/* 2-col feature pairs */
.rl-features__pair {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.rl-features__pair:last-child { margin-bottom: 0; }

.rl-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rl-feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,168,232,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-accent);
  font-size: 20px;
}

.rl-feature__body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 10px;
}

.rl-feature__body p {
  font-size: 15px;
  color: var(--rl-text-body);
  line-height: 1.7;
  margin: 0;
}

.rl-feature__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-accent);
  text-decoration: none;
}

.rl-feature__link:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .rl-features__pair {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* 6-up feature grid */
.rl-features-6 {
  padding: 80px 0;
}

.rl-features-6__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

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

@media (max-width: 900px) {
  .rl-features-6__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .rl-features-6__grid { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* FEATURE CARD — rl-fcard */
/* ============================================================ */
.rl-fcard {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rl-fcard:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.rl-fcard--outlined {
  border: 2px solid var(--rl-accent);
}

.rl-fcard--light-bg {
  background: var(--rl-bg-light);
  border: none;
}

.rl-fcard__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(0,168,232,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-accent);
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.rl-fcard--center .rl-fcard__icon {
  margin-left: auto;
  margin-right: auto;
}

.rl-fcard h3, .rl-fcard h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 10px;
}

.rl-fcard p {
  font-size: 15px;
  color: var(--rl-text-body);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.rl-fcard--center { text-align: center; }

/* ============================================================ */
/* SPLIT SECTION (two-col image + text) */
/* ============================================================ */
.rl-split {
  padding: 80px 0;
}

.rl-split__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rl-split--reverse .rl-split__inner {
  direction: rtl;
}

.rl-split--reverse .rl-split__inner > * {
  direction: ltr;
}

.rl-split__text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.rl-split__text p {
  font-size: 16px;
  color: var(--rl-text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.rl-split__text p:last-of-type { margin-bottom: 0; }

.rl-split__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  font-size: 16px;
  color: var(--rl-text-body);
  line-height: 2;
}

.rl-split__list li::before {
  content: "—";
  color: var(--rl-accent);
  margin-right: 10px;
  font-weight: 700;
}

.rl-split__visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  display: block;
}

.rl-split__caption {
  font-size: 13px;
  color: var(--rl-text-muted);
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .rl-split__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rl-split--reverse .rl-split__inner { direction: ltr; }
}

/* ============================================================ */
/* PROCESS STEPS — rl-process */
/* ============================================================ */
.rl-process {
  padding: 80px 0;
}

.rl-process__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

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

.rl-process__card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rl-process__card--featured {
  border: 2px solid var(--rl-accent);
  box-shadow: 0 4px 24px rgba(0,168,232,0.12);
}

.rl-process__num-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,168,232,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--rl-accent);
}

.rl-process__card--featured .rl-process__num-icon {
  background: rgba(0,168,232,0.18);
}

.rl-process__card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 12px;
}

.rl-process__card p {
  font-size: 15px;
  color: var(--rl-text-body);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .rl-process__grid { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* TESTIMONIALS — rl-testimonials */
/* ============================================================ */
.rl-testimonials {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.rl-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--rl-bg-dark);
}

.rl-testimonials__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rl-testimonials__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rl-testimonials__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(13,27,42,0.90);
}

.rl-testimonials__inner {
  position: relative;
  z-index: 2;
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.rl-testimonials__header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.rl-testimonials__header p {
  font-size: 17px;
  color: rgba(148,163,184,0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

@media (max-width: 900px) {
  .rl-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .rl-testimonials__grid { grid-template-columns: 1fr; }
}

.rl-tcard {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.rl-tcard__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rl-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.rl-tcard blockquote {
  margin: 0 0 16px;
  padding: 0;
  font-size: 15px;
  color: rgba(226,232,240,0.90);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.rl-tcard figcaption {
  font-size: 13px;
  font-weight: 600;
  color: var(--rl-text-muted);
}

/* ============================================================ */
/* CTA BANNER — rl-cta */
/* ============================================================ */
.rl-cta {
  background: var(--rl-bg-light);
  padding: 80px 0;
  text-align: center;
}

.rl-cta--dark {
  background: linear-gradient(135deg, var(--rl-bg-dark) 0%, var(--rl-bg-surface) 100%);
}

.rl-cta__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-cta h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.rl-cta--dark h2 { color: #ffffff; }

.rl-cta p {
  font-size: 17px;
  color: var(--rl-text-body);
  margin-bottom: 36px;
  line-height: 1.7;
}

.rl-cta--dark p { color: rgba(148,163,184,0.9); }

.rl-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.rl-cta__note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--rl-text-muted);
}

/* ============================================================ */
/* ABOUT PAGE — specific sections */
/* ============================================================ */
.rl-approach {
  padding: 80px 0;
}

.rl-approach__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

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

@media (max-width: 900px) {
  .rl-approach__grid { grid-template-columns: 1fr; }
}

/* Stat mini-grid inside about split */
.rl-team-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.rl-team-stats__item {
  text-align: center;
}

.rl-team-stats__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--rl-accent);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--rl-font-mono);
}

.rl-team-stats__label {
  font-size: 13px;
  color: var(--rl-text-muted);
}

/* ============================================================ */
/* PRODUCT PAGE — Technical Architecture */
/* ============================================================ */
.rl-arch {
  padding: 80px 0;
}

.rl-arch__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-arch__img {
  text-align: center;
  margin-bottom: 56px;
}

.rl-arch__img img {
  max-width: 880px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .rl-arch__stages { grid-template-columns: 1fr; }
}

.rl-stage-card {
  border-radius: 10px;
  padding: 32px;
  height: 100%;
}

.rl-stage-card--light {
  background: #ffffff;
  border-top: 4px solid var(--rl-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.rl-stage-card--dark {
  background: var(--rl-bg-dark);
  border-top: 4px solid var(--rl-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.rl-stage-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--rl-font-mono);
}

.rl-stage-card--light .rl-stage-card__label { color: var(--rl-accent); }
.rl-stage-card--dark .rl-stage-card__label { color: rgba(0,168,232,0.8); }

.rl-stage-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rl-stage-card--light h4 { color: var(--rl-text-dark); }
.rl-stage-card--dark h4 { color: #ffffff; }

.rl-stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.rl-stage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid;
}

.rl-stage-list li:last-child { border-bottom: none; }

.rl-stage-card--light .rl-stage-list li {
  color: var(--rl-text-body);
  border-bottom-color: #e2e8f0;
}

.rl-stage-card--dark .rl-stage-list li {
  color: rgba(176,200,224,0.9);
  border-bottom-color: var(--rl-border-dark);
}

.rl-stage-list li i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 13px;
}

.rl-stage-card--light .rl-stage-list li i { color: var(--rl-accent); }
.rl-stage-card--dark .rl-stage-list li i { color: rgba(0,168,232,0.75); }

/* ============================================================ */
/* SECURITY SECTION */
/* ============================================================ */
.rl-security {
  padding: 80px 0;
}

.rl-security__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .rl-security__inner { grid-template-columns: 1fr; gap: 40px; }
}

.rl-security-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.rl-security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.rl-security-item:last-child { margin-bottom: 0; }

.rl-security-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0,168,232,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-accent);
  font-size: 18px;
  flex-shrink: 0;
}

.rl-security-item h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 6px;
}

.rl-security-item p {
  font-size: 14px;
  color: var(--rl-text-body);
  margin: 0;
  line-height: 1.6;
}

.rl-security-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.rl-security-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
  color: var(--rl-text-body);
  line-height: 1.5;
}

.rl-security-checklist li:last-child { border-bottom: none; }

.rl-security-checklist li i {
  color: #38a169;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.rl-security__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--rl-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rl-security__link:hover { opacity: 0.8; }

/* ============================================================ */
/* CUSTOMER METRICS — rl-metrics */
/* ============================================================ */
.rl-metrics {
  padding: 80px 0;
}

.rl-metrics__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .rl-metrics__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .rl-metrics__grid { grid-template-columns: 1fr; }
}

.rl-metric-card {
  background: var(--rl-bg-dark);
  border-radius: 12px;
  padding: 40px 24px;
  color: #ffffff;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rl-metric-card__number {
  font-size: 52px;
  font-weight: 800;
  color: var(--rl-accent);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--rl-font-mono);
}

.rl-metric-card__title {
  font-size: 16px;
  color: rgba(176,200,224,0.9);
  margin-bottom: 12px;
}

.rl-metric-card__sub {
  font-size: 12px;
  color: rgba(90,122,154,0.9);
  margin-top: auto;
  line-height: 1.5;
}

.rl-quote-block {
  background: #f7f9fc;
  border-left: 4px solid var(--rl-accent);
  border-radius: 0 10px 10px 0;
  padding: 32px 36px;
  margin-top: 48px;
}

.rl-quote-block blockquote {
  font-size: 18px;
  color: var(--rl-text-dark);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.7;
  padding: 0;
}

.rl-quote-block__cite {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rl-quote-block__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rl-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.rl-quote-block__info div:first-child {
  font-size: 14px;
  font-weight: 700;
  color: var(--rl-text-dark);
}

.rl-quote-block__info div:last-child {
  font-size: 13px;
  color: var(--rl-text-muted);
}

/* ============================================================ */
/* INTEGRATION ECOSYSTEM */
/* ============================================================ */
.rl-integrations {
  padding: 80px 0;
}

.rl-integrations__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

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

@media (max-width: 900px) {
  .rl-integrations__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .rl-integrations__grid { grid-template-columns: 1fr; }
}

.rl-icard {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 28px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rl-icard__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.rl-icard__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-accent);
  font-size: 18px;
  flex-shrink: 0;
}

.rl-icard h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin: 0;
}

.rl-icard p {
  font-size: 14px;
  color: var(--rl-text-body);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

.rl-integrations__logos {
  text-align: center;
  margin-top: 48px;
}

.rl-integrations__logos img {
  max-width: 800px;
  width: 100%;
  opacity: 0.85;
  margin: 0 auto;
}

/* ============================================================ */
/* CONTACT PAGE — rl-contact */
/* ============================================================ */
.rl-contact {
  padding: 80px 0;
}

.rl-contact__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .rl-contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

.rl-contact__form-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 8px;
}

.rl-contact__form-head p {
  font-size: 15px;
  color: var(--rl-text-muted);
  margin-bottom: 36px;
}

/* Form field styles */
.rl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 560px) {
  .rl-form-row { grid-template-columns: 1fr; }
}

.rl-form-group {
  margin-bottom: 20px;
}

.rl-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--rl-text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.rl-form-group input,
.rl-form-group select,
.rl-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 15px;
  color: var(--rl-text-dark);
  background: #ffffff;
  font-family: var(--rl-font-sans);
  transition: border-color 0.2s, outline 0.2s;
  box-sizing: border-box;
}

.rl-form-group input:focus,
.rl-form-group select:focus,
.rl-form-group textarea:focus {
  outline: 2px solid var(--rl-accent);
  outline-offset: 0;
  border-color: var(--rl-accent);
}

.rl-form-group textarea { resize: vertical; }

.rl-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--rl-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--rl-font-sans);
  transition: filter 0.2s;
  text-align: center;
}

.rl-form-submit:hover { filter: brightness(1.1); }

/* Contact info column */
.rl-contact__info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 32px;
}

.rl-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.rl-contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0,168,232,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-accent);
  font-size: 17px;
  flex-shrink: 0;
}

.rl-contact-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 4px;
}

.rl-contact-item p {
  font-size: 14px;
  color: var(--rl-text-body);
  margin: 0;
  line-height: 1.5;
}

.rl-contact-item a { color: var(--rl-accent); }

.rl-contact__note {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
}

.rl-contact__note--accented {
  border-left: 3px solid var(--rl-accent);
}

.rl-contact__note h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rl-text-dark);
  margin-bottom: 10px;
}

.rl-contact__note p {
  font-size: 14px;
  color: var(--rl-text-body);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================ */
/* FOOTER — rl-footer */
/* ============================================================ */
.rl-footer {
  background: var(--rl-bg-dark);
  color: var(--rl-text-secondary);
  padding: 60px 0 0;
}

.rl-footer__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .rl-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .rl-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.rl-footer__brand p {
  font-size: 14px;
  color: var(--rl-text-muted);
  line-height: 1.7;
  margin: 16px 0 0;
}

.rl-footer__brand a {
  color: var(--rl-text-secondary);
  font-size: 14px;
}

.rl-footer__brand a:hover { color: var(--rl-text-primary); opacity: 1; }

.rl-footer__logo {
  height: 32px;
  width: auto;
  display: block;
}

.rl-footer__col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rl-text-primary);
  margin-bottom: 16px;
  font-family: var(--rl-font-mono);
}

.rl-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rl-footer__col li { margin-bottom: 10px; }

.rl-footer__col a {
  font-size: 14px;
  color: var(--rl-text-muted);
  text-decoration: none;
}

.rl-footer__col a:hover { color: var(--rl-text-primary); opacity: 1; }

.rl-footer__col p {
  font-size: 14px;
  color: var(--rl-text-muted);
  line-height: 1.65;
  margin: 0 0 10px;
}

.rl-footer__divider {
  max-width: var(--rl-container-max);
  margin: 40px auto 0;
  padding: 0 var(--rl-container-pad);
  border: 0;
  border-top: 1px solid var(--rl-border-dark);
}

.rl-footer__bottom {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 20px var(--rl-container-pad) 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rl-footer__bottom p {
  font-size: 13px;
  color: var(--rl-text-muted);
  margin: 0;
}

.rl-footer__bottom a {
  font-size: 13px;
  color: var(--rl-text-muted);
  text-decoration: none;
}

.rl-footer__bottom a:hover { color: var(--rl-text-secondary); opacity: 1; }

.rl-footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================ */
/* COOKIE BANNER — rl-cookie */
/* ============================================================ */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--rl-bg-alt);
  border-top: 1px solid var(--rl-border-dark);
  padding: 16px 24px;
}

.rl-cookie__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rl-cookie__text {
  font-size: 14px;
  color: var(--rl-text-secondary);
  flex: 1;
  min-width: 200px;
  margin: 0;
  line-height: 1.5;
}

.rl-cookie__text a { color: var(--rl-accent); }

.rl-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-accept {
  padding: 8px 20px;
  background: var(--rl-accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--rl-font-sans);
}

#cookie-decline {
  padding: 8px 20px;
  background: transparent;
  color: var(--rl-text-muted);
  border: 1px solid var(--rl-border-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--rl-font-sans);
}

/* ============================================================ */
/* PLATFORM PREVIEW SECTION */
/* ============================================================ */
.rl-platform-preview {
  padding: 80px 0;
}

.rl-platform-preview__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .rl-platform-preview__inner { grid-template-columns: 1fr; gap: 40px; }
}

.rl-platform-preview h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--rl-text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.rl-platform-preview p {
  font-size: 16px;
  color: var(--rl-text-body);
  margin-bottom: 20px;
  line-height: 1.75;
}

.rl-platform-preview__visual img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: block;
  width: 100%;
}

/* ============================================================ */
/* HERO PRODUCT IMAGE SECTION */
/* ============================================================ */
.rl-product-visual {
  padding: 60px 0;
  text-align: center;
}

.rl-product-visual__inner {
  max-width: var(--rl-container-max);
  margin: 0 auto;
  padding: 0 var(--rl-container-pad);
}

.rl-product-visual__inner img {
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.rl-product-visual__caption {
  font-size: 14px;
  color: var(--rl-text-muted);
  margin-top: 16px;
}

/* ============================================================ */
/* UTILITY */
/* ============================================================ */
.rl-mono {
  font-family: var(--rl-font-mono);
}

.rl-text-accent { color: var(--rl-accent); }

.rl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
