/*
 * RankBeta Widget — Main Stylesheet
 * WordPress Elementor Plugin
 * Contains styles for 8 widgets:
 *   1. Bottleneck Cards
 *   2. System
 *   3. Service Cards
 *   4. Compliance
 *   5. Process Steps
 *   6. Tracking
 *   7. FAQ
 *   8. CTA
 *
 * Architecture: mobile-first, box-sizing reset per section,
 * shared tokens at top, animation helpers, then per-widget blocks.
 * ============================================================ */


/* ============================================================
   SHARED — BADGE
   ============================================================ */
.rb-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.rb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    border: 1px solid #BFDBFE;
    border-radius: 100px;
    background: #EFF6FF;
    color: #3B82F6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rb-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3B82F6;
    flex-shrink: 0;
}


/* ============================================================
   SHARED — HIGHLIGHT
   ============================================================ */
.rb-highlight {
    color: #3B82F6;
}


/* ============================================================
   SHARED — INNER CONTAINERS
   ============================================================ */
.rb-bottleneck-inner,
.rb-sys-inner,
.rb-svc-inner,
.rb-comp-inner,
.rb-process-inner,
.rb-tracking-inner,
.rb-faq-inner,
.rb-cta-inner {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}


/* ============================================================
   SHARED — SECTION HEADERS
   ============================================================ */
.rb-bottleneck-header,
.rb-svc-header,
.rb-comp-header,
.rb-process-header,
.rb-tracking-header,
.rb-faq-header {
    text-align: center;
    margin-bottom: 56px;
}


/* ============================================================
   ANIMATIONS — ENTRANCE ANIMATION HELPERS
   ============================================================ */

/* Elements start invisible; JS adds animation class to trigger */
.rb-animate {
    opacity: 0;
}

.rb-anim-fadeInUp.rb-animate {
    animation: rbFadeInUp 650ms var(--rb-anim-delay, 0ms) both ease;
}

.rb-anim-fadeInDown.rb-animate {
    animation: rbFadeInDown 650ms var(--rb-anim-delay, 0ms) both ease;
}

.rb-anim-fadeIn.rb-animate {
    animation: rbFadeIn 650ms var(--rb-anim-delay, 0ms) both ease;
}

.rb-anim-slideInLeft.rb-animate {
    animation: rbSlideInLeft 650ms var(--rb-anim-delay, 0ms) both ease;
}

.rb-anim-slideInRight.rb-animate {
    animation: rbSlideInRight 650ms var(--rb-anim-delay, 0ms) both ease;
}

.rb-anim-zoomIn.rb-animate {
    animation: rbZoomIn 650ms var(--rb-anim-delay, 0ms) both ease;
}

@keyframes rbFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rbFadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes rbSlideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rbSlideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: none; }
}

@keyframes rbZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}


/* ============================================================
   WIDGET 1 — BOTTLENECK CARDS (.rb-bottleneck-section)
   ============================================================ */
.rb-bottleneck-section *,
.rb-bottleneck-section *::before,
.rb-bottleneck-section *::after {
    box-sizing: border-box;
}

.rb-bottleneck-section {
    background: #FFFFFF;
    padding: 80px 60px;
}

.rb-bottleneck-heading {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    max-width: 760px;
    margin: 0 auto 16px;
    text-align: center;
}

.rb-bottleneck-description {
    font-size: 17px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.rb-bottleneck-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.rb-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.25s ease;
}

.rb-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
    transform: translateY(-4px);
}

.rb-card-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rb-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #DBEAFE;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.rb-card-number {
    font-size: 32px;
    font-weight: 800;
    color: #DBEAFE;
    line-height: 1;
}

.rb-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}

.rb-card-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Bottleneck responsive */
@media (max-width: 900px) {
    .rb-bottleneck-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .rb-bottleneck-section {
        padding: 40px 16px;
    }

    .rb-bottleneck-heading {
        font-size: 28px;
    }

    .rb-bottleneck-cards {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   WIDGET 2 — SYSTEM (.rb-sys-section)
   ============================================================ */
.rb-sys-section *,
.rb-sys-section *::before,
.rb-sys-section *::after {
    box-sizing: border-box;
}

.rb-sys-section {
    background: #0D1B2A;
    padding: 80px 60px;
}

.rb-sys-inner {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Override shared badge centering for system widget */
.rb-sys-section .rb-badge-wrapper {
    justify-content: flex-start;
}

.rb-sys-left {
    flex: 0 0 42%;
    max-width: 42%;
}

.rb-sys-heading {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-sys-description {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 32px;
}

.rb-sys-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #3B82F6;
    color: #FFFFFF;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.rb-sys-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.rb-sys-right {
    flex: 1;
}

.rb-sys-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-sys-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rb-sys-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rb-sys-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.rb-sys-card-desc {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
}

/* System responsive */
@media (max-width: 768px) {
    .rb-sys-section {
        padding: 48px 16px;
    }

    .rb-sys-inner {
        flex-direction: column;
        gap: 40px;
    }

    .rb-sys-left {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .rb-sys-heading {
        font-size: 28px;
    }
}


/* ============================================================
   WIDGET 3 — SERVICE CARDS (.rb-svc-section)
   ============================================================ */
.rb-svc-section *,
.rb-svc-section *::before,
.rb-svc-section *::after {
    box-sizing: border-box;
}

.rb-svc-section {
    background: #F0F7FF;
    padding: 80px 60px;
}

.rb-svc-header {
    text-align: center;
    margin-bottom: 56px;
}

.rb-svc-heading {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-svc-description {
    font-size: 17px;
    color: #64748B;
    max-width: 620px;
    margin: 0 auto;
}

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

.rb-svc-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.25s ease;
}

.rb-svc-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.rb-svc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rb-svc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #DBEAFE;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.rb-svc-card-number {
    font-size: 28px;
    font-weight: 800;
    color: #BFDBFE;
}

.rb-svc-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.rb-svc-card-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

.rb-svc-card-link {
    color: #3B82F6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rb-svc-card-link:hover {
    text-decoration: underline;
}

/* Service Cards responsive */
@media (max-width: 900px) {
    .rb-svc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .rb-svc-section {
        padding: 40px 16px;
    }

    .rb-svc-cards-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   WIDGET 4 — COMPLIANCE (.rb-comp-section) — Dark Theme
   ============================================================ */
.rb-comp-section *,
.rb-comp-section *::before,
.rb-comp-section *::after {
    box-sizing: border-box;
}

.rb-comp-section {
    background: #0A1628;
    padding: 80px 60px;
}

.rb-comp-header {
    text-align: center;
    margin-bottom: 48px;
}

.rb-comp-heading {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-comp-description {
    font-size: 17px;
    color: #94A3B8;
    max-width: 640px;
    margin: 0 auto;
}

.rb-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.rb-comp-col {
    border-radius: 16px;
    padding: 28px;
    border: 1px solid transparent;
}

.rb-comp-col-avoid {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.28);
}

.rb-comp-col-build {
    background: rgba(96, 165, 250, 0.06);
    border-color: rgba(96, 165, 250, 0.25);
}

.rb-comp-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* icon bubble next to title */
.rb-comp-col-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.rb-comp-col-avoid .rb-comp-col-header-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #F87171;
}

.rb-comp-col-build .rb-comp-col-header-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ADE80;
}

.rb-comp-col-header-text {}

.rb-comp-col-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.rb-comp-label-avoid {
    color: #F87171;
}

.rb-comp-label-build {
    color: #60A5FA;
}

.rb-comp-col-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

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

/* Each item = dark rounded chip */
.rb-comp-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    transition: background 0.2s;
}

.rb-comp-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rb-comp-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.rb-comp-icon-avoid {
    background: rgba(239, 68, 68, 0.25);
    color: #F87171;
}

.rb-comp-icon-build {
    background: rgba(34, 197, 94, 0.2);
    color: #4ADE80;
}

.rb-comp-item-text {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.5;
}

.rb-comp-notice {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rb-comp-notice-badge {
    background: rgba(251, 191, 36, 0.15);
    color: #FCD34D;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rb-comp-notice-text {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

/* Compliance responsive */
@media (max-width: 768px) {
    .rb-comp-section {
        padding: 40px 16px;
    }

    .rb-comp-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   WIDGET 5 — PROCESS STEPS (.rb-process-section)
   Horizontal 5-column layout: number circles on top, cards below
   ============================================================ */
.rb-process-section *,
.rb-process-section *::before,
.rb-process-section *::after {
    box-sizing: border-box;
}

.rb-process-section {
    background: #F8FAFC;
    padding: 80px 60px;
}

.rb-process-header {
    text-align: center;
    margin-bottom: 64px;
}

.rb-process-heading {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-process-description {
    font-size: 17px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

/* 5-column horizontal grid */
.rb-process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Horizontal connector line behind all number circles */
.rb-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    height: 2px;
    background: #BFDBFE;
    z-index: 0;
}

/* Each step: number on top, card below */
.rb-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 8px;
}

/* Number circle */
.rb-process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px #F8FAFC;
}

/* Remove old vertical line */
.rb-process-step-number::after {
    display: none;
}

.rb-process-step-number-text {
    font-size: 14px;
    font-weight: 700;
    color: #3B82F6;
    background: transparent;
    padding: 0;
    line-height: 1;
}

/* Card below the number */
.rb-process-step-content {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.25s ease;
    flex: 1;
}

.rb-process-step-content:hover {
    border-color: #BFDBFE;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.rb-process-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #DBEAFE;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rb-process-step-body {
    width: 100%;
}

.rb-process-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.3;
}

.rb-process-step-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Process Steps responsive */
@media (max-width: 900px) {
    .rb-process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 0;
    }

    /* Hide connector line on mobile — doesn't work cleanly across wrapped rows */
    .rb-process-steps::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .rb-process-section {
        padding: 40px 16px;
    }

    .rb-process-heading {
        font-size: 28px;
    }

    .rb-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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


/* ============================================================
   WIDGET 6 — TRACKING (.rb-tracking-section)
   ============================================================ */
.rb-tracking-section *,
.rb-tracking-section *::before,
.rb-tracking-section *::after {
    box-sizing: border-box;
}

.rb-tracking-section {
    background: #F8FAFC;
    padding: 80px 60px;
}

.rb-tracking-header {
    text-align: center;
    margin-bottom: 48px;
}

.rb-tracking-heading {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-tracking-description {
    font-size: 17px;
    color: #64748B;
    max-width: 640px;
    margin: 0 auto;
}

/* Dashboard panel */
.rb-tracking-dashboard {
    background: #0D1B2A;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    overflow: hidden;
    transition: opacity 0.2s;
}

.rb-tracking-dashboard.rb-dash-updating {
    opacity: 0.6;
}

/* Tabs */
.rb-tracking-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
}

.rb-tracking-tab {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.rb-tracking-tab:hover {
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
}

.rb-tracking-tab.rb-tab-active {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
}

/* Stats row */
.rb-tracking-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.rb-tracking-stat {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 16px;
}

.rb-tracking-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748B;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rb-tracking-stat-val {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.rb-tracking-stat-change {
    font-size: 12px;
    font-weight: 600;
}

.rb-tracking-stat-change.positive,
.rb-tracking-stat-change.is-pos {
    color: #22C55E;
}

.rb-tracking-stat-change.negative,
.rb-tracking-stat-change.is-neg {
    color: #EF4444;
}

/* Chart */
.rb-tracking-chart-svg {
    display: block;
    width: 100%;
    height: 140px;
    margin-bottom: 24px;
}

/* Platform rows */
.rb-tracking-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rb-tracking-platform-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-tracking-platform-name {
    font-size: 13px;
    color: #94A3B8;
    width: 90px;
    flex-shrink: 0;
}

.rb-tracking-platform-spend {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    width: 80px;
    flex-shrink: 0;
}

.rb-tracking-platform-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.rb-tracking-platform-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.rb-tracking-platform-change {
    font-size: 12px;
    font-weight: 600;
    width: 46px;
    text-align: right;
}

.rb-tracking-platform-change.positive,
.rb-tracking-platform-change.is-pos {
    color: #22C55E;
}

.rb-tracking-platform-change.negative,
.rb-tracking-platform-change.is-neg {
    color: #EF4444;
}

/* Bottom feature cards */
.rb-tracking-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rb-tracking-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.25s;
}

.rb-tracking-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.1);
}

.rb-tracking-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rb-tracking-card-val {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.rb-tracking-card-sub {
    font-size: 12px;
    color: #64748B;
}

/* Tracking responsive */
@media (max-width: 700px) {
    .rb-tracking-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-tracking-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .rb-tracking-section {
        padding: 40px 16px;
    }

    .rb-tracking-stats {
        grid-template-columns: 1fr;
    }

    .rb-tracking-cards-grid {
        grid-template-columns: 1fr;
    }

    .rb-tracking-heading {
        font-size: 28px;
    }
}


/* ============================================================
   WIDGET 7 — FAQ (.rb-faq-section)
   ============================================================ */
.rb-faq-section *,
.rb-faq-section *::before,
.rb-faq-section *::after {
    box-sizing: border-box;
}

.rb-faq-section {
    background: #FFFFFF;
    padding: 80px 60px;
}

.rb-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.rb-faq-heading {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 16px;
}

.rb-faq-description {
    font-size: 17px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.rb-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rb-faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
    transition: all 0.2s ease;
}

.rb-faq-item.rb-faq-open {
    border-color: #BFDBFE;
    background: #F8FAFF;
}

.rb-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.rb-faq-question:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: -2px;
    border-radius: 12px;
}

.rb-faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.4;
}

.rb-faq-chevron {
    color: #3B82F6;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
}

.rb-faq-item.rb-faq-open .rb-faq-chevron {
    transform: rotate(180deg);
}

.rb-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.rb-faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
}

/* FAQ responsive */
@media (max-width: 600px) {
    .rb-faq-section {
        padding: 40px 16px;
    }

    .rb-faq-heading {
        font-size: 28px;
    }

    .rb-faq-question {
        padding: 16px;
    }

    .rb-faq-answer-inner {
        padding: 0 16px 16px;
    }
}


/* ============================================================
   WIDGET 8 — CTA (.rb-cta-section)
   ============================================================ */
.rb-cta-section *,
.rb-cta-section *::before,
.rb-cta-section *::after {
    box-sizing: border-box;
}

.rb-cta-section {
    background: #0D1B2A;
    padding: 80px 60px;
}

/* .rb-badge-wrap is used by the CTA widget as alias for .rb-badge-wrapper */
.rb-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.rb-cta-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CTA-specific badge overrides */
.rb-cta-section .rb-badge {
    background: #132540;
    color: #60A5FA;
    border-color: #1E4080;
}

.rb-cta-section .rb-badge-dot {
    background: #60A5FA;
}

.rb-cta-heading {
    font-size: 44px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    max-width: 760px;
    margin: 0 auto 20px;
}

.rb-cta-desc,
.rb-cta-description {
    font-size: 17px;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Form wrapper */
.rb-cta-form-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 28px 0 0;
}

.rb-cta-form {
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-cta-form-field,
.rb-cta-form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rb-cta-form-label {
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
    text-align: left;
}

.rb-cta-form input,
.rb-cta-form textarea,
.rb-cta-form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid #1E3A5F;
    border-radius: 10px;
    color: #E2E8F0;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.rb-cta-form input::placeholder,
.rb-cta-form textarea::placeholder,
.rb-cta-form-input::placeholder {
    color: #475569;
}

.rb-cta-form input:focus,
.rb-cta-form textarea:focus,
.rb-cta-form-input:focus {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

.rb-cta-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Submit button */
.rb-cta-form-submit {
    width: 100%;
    padding: 15px;
    background: #3B82F6;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.rb-cta-form-submit:hover {
    background: #2563EB;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.rb-cta-form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rb-cta-btn-arrow {
    /* Inherits color from parent button */
}

/* Form messages */
.rb-cta-form-msg-success {
    color: #22C55E;
    font-size: 14px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: left;
}

.rb-cta-form-msg-error {
    color: #EF4444;
    font-size: 14px;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: left;
}

/* Trust row */
.rb-cta-trust-row,
.rb-cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-top: 32px;
}

.rb-cta-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #475569;
}

.rb-cta-trust-icon {
    color: #60A5FA;
    font-size: 13px;
    flex-shrink: 0;
}

.rb-cta-trust-text {
    color: #64748B;
    font-size: 12px;
}

.rb-cta-trust-dot {
    color: #475569;
}

/* CTA responsive */
@media (max-width: 600px) {
    .rb-cta-section {
        padding: 48px 20px;
    }

    .rb-cta-heading {
        font-size: 30px;
    }

    .rb-cta-form {
        max-width: 100%;
    }
}
