/* =============================================
   RIIBASE FRESH THEME - White + Offwhite + Blue
   ============================================= */

/* --- Google Fonts: Inter --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --rb-primary: #2563EB;
    --rb-primary-hover: #1D4ED8;
    --rb-primary-dark: #1E40AF;
    --rb-primary-darker: #1e3a8a;
    --rb-primary-light: #EFF6FF;
    --rb-primary-lighter: #DBEAFE;
    --rb-primary-mid: #93C5FD;
    --rb-white: #FFFFFF;
    --rb-offwhite: #F8FAFC;
    --rb-offwhite-2: #F1F5F9;
    --rb-offwhite-3: #E2E8F0;
    --rb-text-dark: #0F172A;
    --rb-text-medium: #475569;
    --rb-text-light: #94A3B8;
    --rb-border: #E2E8F0;
    --rb-border-dark: #CBD5E1;
    --rb-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --rb-shadow: 0 4px 16px rgba(37,99,235,0.08), 0 2px 6px rgba(0,0,0,0.06);
    --rb-shadow-lg: 0 10px 40px rgba(37,99,235,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --rb-radius: 12px;
    --rb-radius-sm: 8px;
    --rb-radius-lg: 20px;
    --rb-radius-full: 9999px;
    --rb-transition: all 0.25s ease;
    --rb-nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body.rb-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--rb-text-medium);
    background-color: var(--rb-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Allow rb-body styles to cascade to all public pages */
.rb-page { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.rb-heading {
    font-family: 'Inter', sans-serif;
    color: var(--rb-text-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rb-h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.rb-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.rb-h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.rb-h4 { font-size: 1.25rem; }
.rb-h5 { font-size: 1.1rem; }
.rb-h6 { font-size: 0.95rem; }

.rb-lead {
    font-size: 1.125rem;
    color: var(--rb-text-medium);
    line-height: 1.75;
    font-weight: 400;
}

.rb-text { color: var(--rb-text-medium); }
.rb-text-dark { color: var(--rb-text-dark); }
.rb-text-light { color: var(--rb-text-light); }
.rb-text-primary { color: var(--rb-primary); }

/* --- Utility Classes --- */
.rb-section { padding: 100px 0; }
.rb-section-sm { padding: 60px 0; }
.rb-section-lg { padding: 140px 0; }
.rb-section-pt { padding-top: 100px; }
.rb-section-pb { padding-bottom: 100px; }

.rb-bg-white { background-color: var(--rb-white); }
.rb-bg-offwhite { background-color: var(--rb-offwhite); }
.rb-bg-offwhite-2 { background-color: var(--rb-offwhite-2); }
.rb-bg-primary { background-color: var(--rb-primary); }
.rb-bg-primary-dark { background-color: var(--rb-primary-dark); }
.rb-bg-primary-light { background-color: var(--rb-primary-light); }

.rb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--rb-primary-light);
    color: var(--rb-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--rb-radius-full);
    border: 1px solid var(--rb-primary-lighter);
}

.rb-badge-white {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

/* --- Buttons --- */
.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--rb-radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--rb-transition);
    border: 2px solid transparent;
    line-height: 1.4;
    white-space: nowrap;
}

.rb-btn:hover { text-decoration: none; transform: translateY(-1px); }
.rb-btn:active { transform: translateY(0); }

.rb-btn-primary {
    background-color: var(--rb-primary);
    color: #fff;
    border-color: var(--rb-primary);
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.rb-btn-primary:hover {
    background-color: var(--rb-primary-hover);
    border-color: var(--rb-primary-hover);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}

.rb-btn-outline {
    background-color: transparent;
    color: var(--rb-primary);
    border-color: var(--rb-primary);
}

.rb-btn-outline:hover {
    background-color: var(--rb-primary);
    color: #fff;
}

.rb-btn-outline-white {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.rb-btn-outline-white:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

.rb-btn-white {
    background-color: #fff;
    color: var(--rb-primary);
    border-color: #fff;
}

.rb-btn-white:hover {
    background-color: var(--rb-primary-light);
    color: var(--rb-primary-dark);
    border-color: var(--rb-primary-lighter);
}

.rb-btn-ghost {
    background-color: transparent;
    color: var(--rb-text-dark);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

.rb-btn-ghost:hover { color: var(--rb-primary); transform: none; }

.rb-btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.rb-btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.rb-btn-xl { padding: 18px 44px; font-size: 1.125rem; }

/* --- Cards --- */
.rb-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    border: 1px solid var(--rb-border);
    transition: var(--rb-transition);
    overflow: hidden;
}

.rb-card:hover {
    border-color: var(--rb-primary-lighter);
    box-shadow: var(--rb-shadow-lg);
    transform: translateY(-4px);
}

.rb-card-body { padding: 32px; }
.rb-card-body-sm { padding: 24px; }
.rb-card-body-lg { padding: 40px; }

.rb-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rb-radius-sm);
    background-color: var(--rb-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-bottom: 20px;
}

/* --- Section Headers --- */
.rb-section-header { margin-bottom: 64px; }
.rb-section-header-sm { margin-bottom: 40px; }

.rb-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rb-primary);
    display: block;
    margin-bottom: 14px;
}

.rb-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--rb-text-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.rb-section-subtitle {
    font-size: 1.0625rem;
    color: var(--rb-text-medium);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Divider --- */
.rb-divider {
    height: 1px;
    background: var(--rb-border);
    border: none;
    margin: 0;
}

/* =============================================
   NAVBAR
   ============================================= */
.rb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    height: var(--rb-nav-height);
    display: flex;
    align-items: center;
}

.rb-nav.scrolled {
    border-bottom-color: var(--rb-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.rb-nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.rb-nav-logo { flex-shrink: 0; }
.rb-nav-logo img { height: 32px; width: auto; display: block; }

.rb-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.rb-nav-links a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rb-text-medium);
    text-decoration: none;
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
}

.rb-nav-links a:hover {
    color: var(--rb-primary);
    background-color: var(--rb-primary-light);
    text-decoration: none;
}

.rb-nav-links a.active { color: var(--rb-primary); font-weight: 600; }

.rb-nav-dropdown { position: relative; }

.rb-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    box-shadow: var(--rb-shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--rb-transition);
    z-index: 100;
    list-style: none;
    margin: 0;
}

.rb-nav-dropdown:hover .rb-dropdown-menu,
.rb-nav-dropdown.open .rb-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rb-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--rb-text-medium);
    border-radius: var(--rb-radius-sm);
    text-decoration: none;
    transition: var(--rb-transition);
}

.rb-dropdown-menu li a:hover {
    color: var(--rb-primary);
    background: var(--rb-primary-light);
}

.rb-dropdown-menu li a i { color: var(--rb-primary); width: 16px; font-size: 0.9rem; }

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

/* Mobile nav toggle */
.rb-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
}

.rb-nav-toggle:hover { background: var(--rb-offwhite-2); }

.rb-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--rb-text-dark);
    border-radius: 2px;
    transition: var(--rb-transition);
}

.rb-nav-mobile {
    display: none;
    position: fixed;
    top: var(--rb-nav-height);
    left: 0;
    right: 0;
    background: var(--rb-white);
    border-bottom: 1px solid var(--rb-border);
    z-index: 999;
    padding: 16px 24px 24px;
    box-shadow: var(--rb-shadow-lg);
    max-height: calc(100vh - var(--rb-nav-height));
    overflow-y: auto;
}

.rb-nav-mobile.open { display: block; }

.rb-nav-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.rb-nav-mobile ul li a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--rb-text-dark);
    text-decoration: none;
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
}

.rb-nav-mobile ul li a:hover { background: var(--rb-primary-light); color: var(--rb-primary); }

.rb-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rb-mobile-row > a {
    flex: 1;
}
.rb-mobile-sub-toggle {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--rb-text-light);
    font-size: 0.75rem;
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
    display: flex;
    align-items: center;
}
.rb-mobile-sub-toggle:hover {
    background: var(--rb-primary-light);
    color: var(--rb-primary);
}
.rb-mobile-sub-toggle i {
    transition: transform 0.25s ease;
}
.rb-mobile-sub-toggle.open i {
    transform: rotate(180deg);
}

.rb-nav-mobile-sub {
    display: none;
    padding-left: 16px;
    border-left: 2px solid var(--rb-primary-lighter);
    margin: 4px 0 8px 12px;
}
.rb-nav-mobile-sub.open {
    display: block;
}
.rb-nav-mobile-sub ul {
    border: none;
    padding: 0;
    margin: 0;
}
.rb-nav-mobile-sub ul li a {
    font-size: 0.875rem;
    padding: 8px 12px;
    color: var(--rb-text-medium);
}

.rb-nav-mobile-actions { display: flex; flex-direction: column; gap: 8px; }
.rb-nav-mobile-actions .rb-btn { justify-content: center; }

@media (max-width: 991px) {
    .rb-nav-links, .rb-nav-actions { display: none; }
    .rb-nav-toggle { display: flex; margin-left: auto; }
}

/* Page offset for fixed nav */
.rb-page-offset { padding-top: var(--rb-nav-height); }

/* =============================================
   HERO SECTION
   ============================================= */
.rb-hero {
    background: linear-gradient(135deg, var(--rb-primary-light) 0%, var(--rb-white) 50%, var(--rb-offwhite) 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    position: relative;
}

.rb-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rb-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.rb-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rb-primary-light);
    border: 1px solid var(--rb-primary-lighter);
    color: var(--rb-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--rb-radius-full);
    margin-bottom: 24px;
}

.rb-hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rb-primary);
    animation: rb-pulse 2s infinite;
}

@keyframes rb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.rb-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--rb-text-dark);
    margin-bottom: 24px;
}

.rb-hero-title .rb-highlight {
    color: var(--rb-primary);
    position: relative;
}

.rb-hero-title .rb-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    background: var(--rb-primary-lighter);
    border-radius: 2px;
}

.rb-hero-desc {
    font-size: 1.125rem;
    color: var(--rb-text-medium);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 520px;
}

.rb-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.rb-hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.rb-hero-stat {}
.rb-hero-stat-number {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--rb-text-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}
.rb-hero-stat-label {
    font-size: 0.8125rem;
    color: var(--rb-text-light);
    font-weight: 500;
    margin-top: 2px;
}

.rb-hero-divider {
    width: 1px;
    height: 36px;
    background: var(--rb-border-dark);
}

.rb-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-hero-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    border: 1px solid var(--rb-border);
    box-shadow: var(--rb-shadow-lg);
    overflow: hidden;
}

.rb-hero-card-header {
    background: var(--rb-offwhite);
    padding: 14px 20px;
    border-bottom: 1px solid var(--rb-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rb-hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.rb-hero-card-body { padding: 24px; }

/* Dashboard mock in hero */
.rb-dashboard-mock {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    border: 1px solid var(--rb-border);
    box-shadow: 0 24px 64px rgba(37,99,235,0.12), 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
}

.rb-mock-topbar {
    background: var(--rb-primary-dark);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-mock-dot { width: 10px; height: 10px; border-radius: 50%; }

.rb-mock-body { padding: 20px; }

.rb-mock-card {
    background: var(--rb-offwhite);
    border-radius: var(--rb-radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--rb-border);
}

.rb-mock-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rb-mock-progress {
    height: 6px;
    background: var(--rb-border);
    border-radius: var(--rb-radius-full);
    overflow: hidden;
}

.rb-mock-progress-bar {
    height: 100%;
    background: var(--rb-primary);
    border-radius: var(--rb-radius-full);
}

.rb-floating-badge {
    position: absolute;
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    padding: 12px 18px;
    box-shadow: var(--rb-shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rb-text-dark);
    white-space: nowrap;
    animation: rb-float 4s ease-in-out infinite;
}

.rb-floating-badge-1 { top: -20px; left: -40px; animation-delay: 0s; }
.rb-floating-badge-2 { bottom: 30px; right: -30px; animation-delay: 2s; }

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

/* =============================================
   TRUSTED BY LOGOS STRIP
   ============================================= */
.rb-logos-strip {
    padding: 40px 0;
    background: var(--rb-white);
    border-top: 1px solid var(--rb-border);
    border-bottom: 1px solid var(--rb-border);
}

.rb-logos-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rb-text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.rb-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.rb-logo-item img {
    height: 40px;
    width: auto;
    filter: grayscale(1) opacity(0.45);
    transition: var(--rb-transition);
}

.rb-logo-item img:hover { filter: grayscale(0) opacity(1); }

/* =============================================
   FEATURES / ABOUT SECTION
   ============================================= */
.rb-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 767px) { .rb-features-grid { grid-template-columns: 1fr; } }

.rb-feature-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    border: 1px solid var(--rb-border);
    padding: 32px;
    transition: var(--rb-transition);
    position: relative;
    overflow: hidden;
}

.rb-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--rb-primary);
    opacity: 0;
    transition: var(--rb-transition);
}

.rb-feature-card:hover { border-color: var(--rb-primary-lighter); box-shadow: var(--rb-shadow); }
.rb-feature-card:hover::before { opacity: 1; }

.rb-feature-card.rb-feature-popular {
    background: linear-gradient(135deg, var(--rb-primary-light) 0%, var(--rb-white) 100%);
    border-color: var(--rb-primary-lighter);
}

.rb-feature-card.rb-feature-popular::before { opacity: 1; }

.rb-feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--rb-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-primary);
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.rb-feature-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin-bottom: 10px;
}

.rb-feature-card-desc {
    font-size: 0.9rem;
    color: var(--rb-text-medium);
    line-height: 1.65;
    margin: 0;
}

.rb-popular-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--rb-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--rb-radius-full);
}

/* =============================================
   BENEFITS / WHY CHOOSE US SECTION
   ============================================= */
.rb-benefits-section { background: var(--rb-offwhite); }

.rb-benefits-visual {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    border: 1px solid var(--rb-border);
    box-shadow: var(--rb-shadow-lg);
    padding: 36px;
    position: relative;
}

.rb-benefits-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.rb-stat-block {
    background: var(--rb-offwhite);
    border-radius: var(--rb-radius-sm);
    padding: 20px;
    border: 1px solid var(--rb-border);
    text-align: center;
}

.rb-stat-block-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rb-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.rb-stat-block-label {
    font-size: 0.8125rem;
    color: var(--rb-text-light);
    font-weight: 500;
}

.rb-benefits-activity {
    background: var(--rb-offwhite);
    border-radius: var(--rb-radius-sm);
    padding: 16px 20px;
    border: 1px solid var(--rb-border);
}

.rb-activity-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rb-border);
}

.rb-activity-row:last-child { border-bottom: none; padding-bottom: 0; }
.rb-activity-row:first-child { padding-top: 0; }

.rb-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rb-primary);
    flex-shrink: 0;
}

.rb-activity-text {
    font-size: 0.85rem;
    color: var(--rb-text-medium);
    flex: 1;
}

.rb-activity-time {
    font-size: 0.775rem;
    color: var(--rb-text-light);
    white-space: nowrap;
}

.rb-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--rb-text-medium);
}

.rb-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rb-primary-light);
    border: 1.5px solid var(--rb-primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.rb-check-icon i { font-size: 0.625rem; color: var(--rb-primary); }

/* =============================================
   INDUSTRY SOLUTIONS (SERVICES)
   ============================================= */
.rb-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 992px) {
    .rb-solutions-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 575px) { .rb-solutions-grid { grid-template-columns: 1fr; } }

.rb-solution-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    border: 1px solid var(--rb-border);
    padding: 32px 24px;
    transition: var(--rb-transition);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.rb-solution-card:hover {
    border-color: var(--rb-primary);
    box-shadow: var(--rb-shadow-lg);
    transform: translateY(-4px);
    text-decoration: none;
}

.rb-solution-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--rb-radius);
    background: var(--rb-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-primary);
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: var(--rb-transition);
}

.rb-solution-card:hover .rb-solution-icon {
    background: var(--rb-primary);
    color: #fff;
}

.rb-solution-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin-bottom: 10px;
}

.rb-solution-desc {
    font-size: 0.875rem;
    color: var(--rb-text-medium);
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.rb-steps-section { background: var(--rb-offwhite); }

.rb-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

@media (max-width: 767px) { .rb-steps-grid { grid-template-columns: 1fr; } }

.rb-steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 16px);
    right: calc(16.67% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--rb-primary-lighter), var(--rb-primary), var(--rb-primary-lighter));
    display: none;
}

@media (min-width: 768px) { .rb-steps-grid::before { display: block; } }

.rb-step-card {
    text-align: center;
    position: relative;
}

.rb-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--rb-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(37,99,235,0.3);
    position: relative;
    z-index: 1;
}

.rb-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin-bottom: 12px;
}

.rb-step-desc {
    font-size: 0.9rem;
    color: var(--rb-text-medium);
    line-height: 1.65;
    max-width: 240px;
    margin: 0 auto;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.rb-testimonials-section { background: var(--rb-white); }

.rb-testimonial-card {
    background: var(--rb-offwhite);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    padding: 28px 32px;
    height: 100%;
    transition: var(--rb-transition);
}

.rb-testimonial-card:hover {
    border-color: var(--rb-primary-lighter);
    box-shadow: var(--rb-shadow);
    background: var(--rb-white);
}

.rb-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: #FBBF24;
    font-size: 0.9rem;
}

.rb-testimonial-text {
    font-size: 0.9375rem;
    color: var(--rb-text-medium);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.rb-testimonial-text::before { content: '\201C'; }
.rb-testimonial-text::after { content: '\201D'; }

.rb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rb-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--rb-text-dark);
}

.rb-author-role {
    font-size: 0.8rem;
    color: var(--rb-text-light);
}

/* =============================================
   PRICING SECTION (Home Page)
   ============================================= */
.rb-pricing-home { background: var(--rb-primary-dark); position: relative; overflow: hidden; }

.rb-pricing-home::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.rb-pricing-home::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.rb-pricing-home .rb-section-label { color: var(--rb-primary-mid); }
.rb-pricing-home .rb-section-title { color: #fff; }
.rb-pricing-home .rb-section-subtitle { color: rgba(255,255,255,0.7); }

.rb-plan-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--rb-radius);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: var(--rb-transition);
    cursor: pointer;
}

.rb-plan-pill:hover, .rb-plan-pill.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.rb-plan-pill-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
}

.rb-plan-pill-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.rb-plan-pill-price {
    text-align: right;
    flex-shrink: 0;
}

.rb-plan-pill-amount {
    font-size: 1.625rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.rb-plan-pill-period {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* =============================================
   CTA / FAQ SECTION
   ============================================= */
.rb-cta-section {
    background: linear-gradient(135deg, var(--rb-primary-dark) 0%, var(--rb-primary-darker) 100%);
    position: relative;
    overflow: hidden;
}

.rb-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.rb-cta-section .rb-section-title { color: #fff; }
.rb-cta-section .rb-section-subtitle { color: rgba(255,255,255,0.75); }

.rb-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
}

.rb-faq-question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
}

.rb-faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.75rem;
    transition: var(--rb-transition);
    margin-top: 2px;
}

.rb-faq-item.open .rb-faq-toggle { background: var(--rb-primary-mid); transform: rotate(180deg); }

.rb-faq-answer {
    display: none;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    padding-top: 14px;
}

.rb-faq-item.open .rb-faq-answer { display: block; }

.rb-cta-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--rb-radius-lg);
    padding: 48px 40px;
    text-align: center;
}

.rb-cta-card-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.rb-cta-card-desc { color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
.rb-footer {
    background: var(--rb-text-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}

.rb-footer-cta {
    background: linear-gradient(135deg, var(--rb-primary) 0%, var(--rb-primary-dark) 100%);
    border-radius: var(--rb-radius-lg);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 72px;
    position: relative;
    overflow: hidden;
}

.rb-footer-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.rb-footer-cta-title {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.rb-footer-cta-subtitle { color: rgba(255,255,255,0.75); font-size: 1rem; margin: 0; }

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

@media (max-width: 991px) {
    .rb-footer-links-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .rb-footer-cta { flex-direction: column; text-align: center; padding: 40px 32px; }
}

@media (max-width: 575px) { .rb-footer-links-grid { grid-template-columns: 1fr; gap: 24px; } }

.rb-footer-logo { margin-bottom: 18px; display: block; }
.rb-footer-logo img { height: 28px; filter: brightness(0) invert(1) opacity(0.9); }

.rb-footer-about {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.rb-social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--rb-radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--rb-transition);
}

.rb-social-icon:hover {
    background: var(--rb-primary);
    border-color: var(--rb-primary);
    color: #fff;
    transform: translateY(-2px);
}

.rb-footer-col-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rb-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rb-footer-nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: var(--rb-transition);
}

.rb-footer-nav a:hover { color: #fff; padding-left: 4px; }

.rb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

.rb-footer-bottom a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--rb-transition);
}

.rb-footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   PAGE HEADERS (Inner Pages)
   ============================================= */
.rb-page-header {
    background: linear-gradient(135deg, var(--rb-primary-light) 0%, var(--rb-offwhite) 60%, var(--rb-white) 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--rb-border);
}

.rb-page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.rb-page-header-label { margin-bottom: 12px; }
.rb-page-header-title { margin-bottom: 14px; }
.rb-page-header-subtitle { max-width: 540px; }

.rb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--rb-text-light);
    margin-bottom: 20px;
}

.rb-breadcrumb a { color: var(--rb-primary); text-decoration: none; }
.rb-breadcrumb-sep { color: var(--rb-text-light); }

/* =============================================
   PRICING PAGE
   ============================================= */
.rb-pricing-card {
    background: var(--rb-white);
    border: 2px solid var(--rb-border);
    border-radius: var(--rb-radius-lg);
    padding: 36px 32px;
    height: 100%;
    transition: var(--rb-transition);
    position: relative;
    overflow: hidden;
}

.rb-pricing-card:hover {
    border-color: var(--rb-primary-lighter);
    box-shadow: var(--rb-shadow-lg);
    transform: translateY(-4px);
}

.rb-pricing-card.rb-pricing-featured {
    border-color: var(--rb-primary);
    background: linear-gradient(170deg, var(--rb-primary-light) 0%, var(--rb-white) 40%);
    box-shadow: 0 12px 40px rgba(37,99,235,0.15);
}

.rb-pricing-badge {
    position: absolute;
    top: -1px;
    right: 28px;
    background: var(--rb-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 0 0 var(--rb-radius-sm) var(--rb-radius-sm);
}

.rb-pricing-plan-name {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rb-text-light);
    margin-bottom: 8px;
}

.rb-pricing-featured .rb-pricing-plan-name { color: var(--rb-primary); }

.rb-pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--rb-text-dark);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.rb-pricing-amount span { font-size: 1.25rem; font-weight: 500; vertical-align: top; margin-top: 8px; display: inline-block; color: var(--rb-text-medium); }
.rb-pricing-period { font-size: 0.85rem; color: var(--rb-text-light); margin-bottom: 16px; }
.rb-pricing-desc { font-size: 0.9rem; color: var(--rb-text-medium); margin-bottom: 28px; line-height: 1.6; border-bottom: 1px solid var(--rb-border); padding-bottom: 24px; }
.rb-pricing-cta { display: block; width: 100%; text-align: center; margin-bottom: 28px; }
.rb-pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.rb-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--rb-text-medium);
}

.rb-pricing-features li i { color: var(--rb-primary); font-size: 0.875rem; flex-shrink: 0; }
.rb-pricing-features li.rb-unavailable { opacity: 0.45; }
.rb-pricing-features li.rb-unavailable i { color: var(--rb-text-light); }

.rb-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #10B981, #059669);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--rb-radius-full);
    margin-bottom: 20px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.rb-contact-form-card {
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-lg);
    padding: 48px;
    box-shadow: var(--rb-shadow);
}

@media (max-width: 767px) { .rb-contact-form-card { padding: 28px 20px; } }

.rb-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rb-text-dark);
    margin-bottom: 6px;
    display: block;
}

.rb-form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--rb-text-dark);
    background: var(--rb-offwhite);
    border: 1.5px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
    outline: none;
}

.rb-form-control:focus {
    border-color: var(--rb-primary);
    background: var(--rb-white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.rb-form-control::placeholder { color: var(--rb-text-light); }

textarea.rb-form-control { resize: vertical; min-height: 140px; }

.rb-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rb-border);
}

.rb-contact-info-item:last-child { border-bottom: none; }

.rb-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--rb-radius-sm);
    background: var(--rb-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rb-contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--rb-text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.rb-contact-info-value { font-size: 1rem; font-weight: 600; color: var(--rb-text-dark); }

/* =============================================
   BLOG PAGE
   ============================================= */
.rb-blog-card {
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    overflow: hidden;
    transition: var(--rb-transition);
    height: 100%;
}

.rb-blog-card:hover {
    border-color: var(--rb-primary-lighter);
    box-shadow: var(--rb-shadow-lg);
    transform: translateY(-4px);
}

.rb-blog-image {
    height: 220px;
    overflow: hidden;
    background: var(--rb-primary-light);
}

.rb-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rb-blog-card:hover .rb-blog-image img { transform: scale(1.05); }

.rb-blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rb-primary-light), var(--rb-primary-lighter));
    color: var(--rb-primary);
    font-size: 2.5rem;
    opacity: 0.6;
}

.rb-blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.rb-blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--rb-text-light);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rb-blog-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    line-height: 1.45;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    flex: 1;
}

.rb-blog-title:hover { color: var(--rb-primary); text-decoration: none; }

.rb-blog-excerpt {
    font-size: 0.9rem;
    color: var(--rb-text-medium);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.rb-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--rb-border);
    font-size: 0.8125rem;
    color: var(--rb-text-light);
}

/* =============================================
   AUTH PAGES
   ============================================= */
.rb-auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--rb-offwhite);
}

.rb-auth-panel {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--rb-primary-darker) 0%, var(--rb-primary-dark) 50%, var(--rb-primary) 100%);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.rb-auth-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.rb-auth-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

@media (min-width: 992px) { .rb-auth-panel { display: flex; } }

.rb-auth-panel-content { position: relative; z-index: 1; max-width: 400px; }

.rb-auth-panel-logo {
    display: block;
    margin-bottom: 48px;
}

.rb-auth-panel-logo img { height: 32px; filter: brightness(0) invert(1); }

.rb-auth-panel-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.rb-auth-panel-subtitle { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 40px; }

.rb-auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rb-auth-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.rb-auth-feature-text { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

.rb-auth-form-side {
    width: 100%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: var(--rb-offwhite);
    overflow-y: auto;
}

@media (min-width: 992px) { .rb-auth-form-side { padding: 60px 64px; } }

.rb-auth-form-wrap { width: 100%; max-width: 400px; }

.rb-auth-logo-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.rb-auth-logo-mobile img { height: 32px; }

@media (min-width: 992px) { .rb-auth-logo-mobile { display: none; } }

.rb-auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--rb-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.rb-auth-subtitle {
    font-size: 0.9375rem;
    color: var(--rb-text-medium);
    margin-bottom: 32px;
}

.rb-auth-form { }

.rb-auth-field {
    margin-bottom: 20px;
}

.rb-auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rb-text-dark);
    margin-bottom: 6px;
}

.rb-auth-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--rb-text-dark);
    background: var(--rb-white);
    border: 1.5px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    transition: var(--rb-transition);
    outline: none;
}

.rb-auth-input:focus {
    border-color: var(--rb-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.rb-auth-input.is-invalid { border-color: #EF4444; }
.rb-auth-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.rb-auth-input::placeholder { color: var(--rb-text-light); }

.rb-auth-error {
    font-size: 0.8125rem;
    color: #EF4444;
    margin-top: 6px;
    display: block;
}

.rb-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.rb-auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--rb-text-medium);
    cursor: pointer;
}

.rb-auth-check input { width: 16px; height: 16px; accent-color: var(--rb-primary); cursor: pointer; }

.rb-auth-link {
    font-size: 0.875rem;
    color: var(--rb-primary);
    text-decoration: none;
    font-weight: 600;
}

.rb-auth-link:hover { color: var(--rb-primary-dark); text-decoration: underline; }

.rb-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.rb-auth-divider-line { flex: 1; height: 1px; background: var(--rb-border); }
.rb-auth-divider-text { font-size: 0.8125rem; color: var(--rb-text-light); font-weight: 500; white-space: nowrap; }

.rb-auth-socials {
    display: flex;
    gap: 12px;
}

.rb-auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--rb-white);
    border: 1.5px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rb-text-dark);
    text-decoration: none;
    transition: var(--rb-transition);
}

.rb-auth-social-btn:hover {
    border-color: var(--rb-primary-lighter);
    background: var(--rb-primary-light);
    color: var(--rb-primary);
    text-decoration: none;
}

.rb-auth-footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--rb-text-medium);
    margin-top: 24px;
}

.rb-auth-footer-text a {
    color: var(--rb-primary);
    font-weight: 700;
    text-decoration: none;
}

.rb-auth-footer-text a:hover { text-decoration: underline; }

/* Remember me section in login */
.rb-remembered-user {
    background: var(--rb-white);
    border: 1.5px solid var(--rb-border);
    border-radius: var(--rb-radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rb-remembered-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rb-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-primary);
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
}

.rb-remembered-avatar img { width: 100%; height: 100%; object-fit: cover; }

.rb-remembered-info { flex: 1; min-width: 0; }
.rb-remembered-name { font-size: 0.9rem; font-weight: 600; color: var(--rb-text-dark); }
.rb-remembered-email { font-size: 0.8125rem; color: var(--rb-text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.rb-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rb-border);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    overflow: hidden;
    margin-top: 48px;
}

@media (max-width: 767px) { .rb-about-stats { grid-template-columns: repeat(2, 1fr); } }

.rb-about-stat {
    background: var(--rb-white);
    padding: 28px;
    text-align: center;
}

.rb-about-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--rb-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.rb-about-stat-label { font-size: 0.875rem; color: var(--rb-text-medium); font-weight: 500; }

.rb-timeline {
    position: relative;
    padding-left: 28px;
}

.rb-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--rb-primary) 0%, var(--rb-primary-lighter) 100%);
}

.rb-timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.rb-timeline-item:last-child { padding-bottom: 0; }

.rb-timeline-dot {
    position: absolute;
    left: -35px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rb-primary);
    border: 2px solid var(--rb-white);
    box-shadow: 0 0 0 2px var(--rb-primary-lighter);
}

.rb-timeline-year {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rb-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.rb-timeline-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin-bottom: 6px;
}

.rb-timeline-desc { font-size: 0.9rem; color: var(--rb-text-medium); line-height: 1.65; margin: 0; }

/* =============================================
   PRIVACY & TERMS PAGES
   ============================================= */
.rb-legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.rb-legal-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin-top: 40px;
    margin-bottom: 14px;
}

.rb-legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rb-text-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}

.rb-legal-content p, .rb-legal-content li {
    font-size: 0.9375rem;
    color: var(--rb-text-medium);
    line-height: 1.75;
}

.rb-legal-content ul, .rb-legal-content ol { padding-left: 20px; margin-bottom: 16px; }

/* =============================================
   BACK TO TOP
   ============================================= */
.rb-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rb-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--rb-transition);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    z-index: 900;
    border: none;
    text-decoration: none;
}

.rb-back-top.visible { opacity: 1; visibility: visible; }
.rb-back-top:hover { background: var(--rb-primary-dark); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .rb-section { padding: 72px 0; }
    .rb-hero { padding: 72px 0 60px; }
    .rb-hero-stats { gap: 24px; }
    .rb-solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-footer-links-grid { grid-template-columns: 1fr 1fr; }
    .rb-about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .rb-section { padding: 56px 0; }
    .rb-hero { padding: 56px 0 48px; }
    .rb-hero-title { font-size: 2.25rem; }
    .rb-steps-grid { grid-template-columns: 1fr; }
    .rb-features-grid { grid-template-columns: 1fr; }
    .rb-footer-cta { flex-direction: column; text-align: center; padding: 36px 24px; }
    .rb-section-header { margin-bottom: 40px; }
    .rb-pricing-card { padding: 28px 24px; }
}

@media (max-width: 575px) {
    .rb-nav-container { padding: 0 20px; }
    .rb-solutions-grid { grid-template-columns: 1fr; }
    .rb-hero-actions { flex-direction: column; align-items: flex-start; }
    .rb-auth-socials { flex-direction: column; }
    .rb-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* =============================================
   MISC UTILITIES
   ============================================= */
.rb-overflow-hidden { overflow: hidden; }
.rb-position-relative { position: relative; }
.rb-gap-4 { gap: 16px; }
.rb-gap-6 { gap: 24px; }
.rb-gap-8 { gap: 32px; }

/* Override old theme styles on public pages */
.rb-page * { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

/* Smooth transition for all interactive elements */
.rb-page a, .rb-page button { transition: var(--rb-transition); }

/* Pricing page light FAQ */
.rb-faq-question-light {
    color: var(--rb-text-dark) !important;
}

.rb-faq-item.rb-faq-light .rb-faq-answer {
    color: var(--rb-text-medium);
}

.rb-faq-item.rb-faq-light.open .rb-faq-toggle {
    background: var(--rb-primary) !important;
    color: #fff !important;
}

/* =============================================
   GLOBAL HIGHLIGHT + BADGE-LIGHT
   ============================================= */
.rb-highlight {
    color: var(--rb-primary);
    position: relative;
}
.rb-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 3px;
    background: var(--rb-primary-lighter);
    border-radius: 2px;
}

.rb-badge-light {
    display: inline-flex;
    align-items: center;
    background: var(--rb-primary-light);
    color: var(--rb-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--rb-radius-full);
    border: 1px solid var(--rb-primary-lighter);
}

/* =============================================
   AUTH SIMPLE (centered card layout)
   ============================================= */
.rb-auth-simple {
    min-height: 100vh;
    background: var(--rb-offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.rb-auth-card-sm {
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--rb-shadow-lg);
}

.rb-auth-card-sm .rb-auth-logo {
    display: block;
    margin-bottom: 32px;
}

.rb-auth-card-sm h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rb-text-dark);
    margin-bottom: 6px;
}

.rb-auth-card-sm p.rb-auth-subtitle {
    font-size: 0.9375rem;
    color: var(--rb-text-medium);
    margin-bottom: 28px;
}

.rb-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--rb-text-light);
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
}
.rb-auth-back:hover { color: var(--rb-primary); }

.rb-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--rb-text-light);
    font-size: 0.8125rem;
}
.rb-auth-divider::before,
.rb-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rb-border);
}

.rb-auth-social-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.rb-auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    background: var(--rb-white);
    color: var(--rb-text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--rb-transition);
    cursor: pointer;
}
.rb-auth-social-btn:hover {
    background: var(--rb-offwhite);
    border-color: var(--rb-primary-lighter);
    color: var(--rb-text-dark);
}

/* OTP input */
.rb-otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
}

/* Info box */
.rb-info-box {
    background: var(--rb-primary-light);
    border: 1px solid var(--rb-primary-lighter);
    border-radius: var(--rb-radius-sm);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.rb-info-box i {
    color: var(--rb-primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.rb-info-box p { margin: 0; font-size: 0.875rem; color: var(--rb-primary-dark); line-height: 1.5; }

/* Product feature card hover */
.rb-product-card:hover {
    border-color: var(--rb-primary-lighter) !important;
    box-shadow: var(--rb-shadow-lg) !important;
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    .rb-auth-card-sm { padding: 32px 24px; }
}

/* =============================================
   AUTH FORM HELPERS
   ============================================= */
.rb-form-group { margin-bottom: 18px; }

.rb-form-error {
    display: block;
    font-size: 0.8125rem;
    color: #DC2626;
    margin-top: 5px;
}

.rb-form-control.is-invalid {
    border-color: #DC2626;
}

.rb-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--rb-radius-sm);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.rb-alert i { flex-shrink: 0; margin-top: 1px; }

.rb-alert-success {
    background: #DCFCE7;
    border: 1px solid #BBF7D0;
    color: #166534;
}
.rb-alert-danger {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
}
.rb-alert-warning {
    background: #FEF9C3;
    border: 1px solid #FEF08A;
    color: #854D0E;
}
.rb-alert-info {
    background: var(--rb-primary-light);
    border: 1px solid var(--rb-primary-lighter);
    color: var(--rb-primary-dark);
}

/* w-100 helper for auth buttons */
.w-100 { width: 100%; }

/* Section description text */
.rb-section-desc {
    font-size: 1.0625rem;
    color: var(--rb-text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* CTA dots overlay (decorative div inside rb-cta-section) */
.rb-cta-dots { display: none; }

/* =============================================
   ONBOARDING
   ============================================= */
.rb-onboard-page {
    min-height: 100vh;
    padding: 48px 16px;
}

.rb-onboard-card-header {
    padding: 24px 32px 20px;
    border-bottom: 1px solid var(--rb-border);
}
.rb-onboard-card-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin: 0 0 4px;
}
.rb-onboard-card-header p {
    font-size: 0.9rem;
    color: var(--rb-text-medium);
    margin: 0;
}

/* --- Stepper --- */
.rb-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
}
.rb-stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.rb-stepper-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rb-offwhite-2);
    border: 2px solid var(--rb-border);
    color: var(--rb-text-light);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.rb-stepper-step.is-done .rb-stepper-num {
    background: #16A34A;
    border-color: #16A34A;
    color: #fff;
}
.rb-stepper-step.is-active .rb-stepper-num {
    background: var(--rb-primary);
    border-color: var(--rb-primary);
    color: #fff;
}
.rb-stepper-label {
    font-size: 0.75rem;
    color: var(--rb-text-light);
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
}
.rb-stepper-step.is-done .rb-stepper-label,
.rb-stepper-step.is-active .rb-stepper-label {
    color: var(--rb-text-dark);
    font-weight: 600;
}
.rb-stepper-line {
    flex: 1;
    height: 2px;
    background: var(--rb-border);
    margin-top: 17px;
    margin-bottom: 22px;
}
.rb-stepper-line.is-done { background: #16A34A; }
@media (max-width: 480px) {
    .rb-stepper-label { display: none; }
    .rb-stepper-line { margin-bottom: 0; }
}

/* --- Feature / Module selection cards --- */
.rb-module-card {
    position: relative;
    border: 2px solid var(--rb-border);
    border-radius: var(--rb-radius);
    padding: 16px 16px 16px 48px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    user-select: none;
    height: 100%;
    min-height: 80px;
}
.rb-module-card:hover:not(.is-disabled) {
    border-color: var(--rb-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.rb-module-card.is-active {
    border-color: var(--rb-primary);
    background: var(--rb-primary-light);
}
.rb-module-card.is-disabled {
    background: var(--rb-offwhite-2);
    cursor: not-allowed;
}
.rb-module-check {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--rb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.rb-module-check i {
    display: none;
    font-size: 0.5rem;
    color: #fff;
}
.rb-module-card.is-active .rb-module-check {
    background: var(--rb-primary);
    border-color: var(--rb-primary);
}
.rb-module-card.is-active .rb-module-check i { display: block; }
.rb-module-card.is-disabled .rb-module-check {
    background: #6B7280;
    border-color: #6B7280;
}
.rb-module-card.is-disabled .rb-module-check i { display: block; }
.rb-module-card h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--rb-text-dark);
    margin: 0 0 4px;
}
.rb-module-desc {
    font-size: 0.85rem;
    color: var(--rb-text-medium);
    margin: 0 0 4px;
    line-height: 1.5;
}
.rb-module-long-desc {
    font-size: 0.8125rem;
    color: var(--rb-text-medium);
    margin: 0;
    line-height: 1.55;
}
.rb-module-card input[type="checkbox"] { display: none; }
