/* Rudofin Marketing — brand tokens + minimal utilities (no full Bootstrap) */

:root {
    --rf-primary: #BF1914;
    --rf-secondary: #8A0E0A;
    --rf-text: #111111;
    --rf-bg: #FFFFFF;
    --rf-border: #E5E7EB;
    --rf-muted: #6B7280;
    --rf-surface: #F9FAFB;
    --rf-accent: #F3F4F6;
    --rf-radius: 0.75rem;
    --rf-shadow: 0 1px 2px rgba(17, 17, 17, 0.06), 0 8px 24px rgba(17, 17, 17, 0.04);
    --rf-font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.rf-body {
    margin: 0;
    font-family: var(--rf-font);
    color: var(--rf-text);
    background: var(--rf-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rf-primary); text-decoration: none; }
a:hover { color: var(--rf-secondary); }

h1, h2, h3, h4, h5, h6 { margin-top: 0; line-height: 1.25; }
p { margin-top: 0; }

/* Minimal grid (Bootstrap-compatible class names) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}
.g-2, .gy-2 { --bs-gutter-y: 0.5rem; }
.g-2, .gx-2 { --bs-gutter-x: 0.5rem; }
.g-3, .gy-3 { --bs-gutter-y: 1rem; }
.g-3, .gx-3 { --bs-gutter-x: 1rem; }
.g-4, .gy-4 { --bs-gutter-y: 1.5rem; }
.g-4, .gx-4 { --bs-gutter-x: 1.5rem; }
.g-5, .gy-5 { --bs-gutter-y: 3rem; }
.g-5, .gx-5 { --bs-gutter-x: 3rem; }

.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 auto; width: 50%; }
}
@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
}
@media (min-width: 992px) {
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
}

/* Utilities */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.d-inline-flex { display: inline-flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-md-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-lg-end { justify-content: flex-end !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.m-2 { margin: 0.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-auto { margin-right: auto !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-auto { margin-left: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-4 { padding: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pe-lg-4 { padding-right: 0; }
.text-center { text-align: center !important; }
.text-secondary { color: var(--rf-muted) !important; }
.text-white { color: #fff !important; }
.text-dark { color: var(--rf-text) !important; }
.text-danger { color: #dc3545 !important; }
.text-rf { color: var(--rf-primary) !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fs-4 { font-size: 1.5rem !important; }
.small { font-size: 0.875rem !important; }
.border-bottom { border-bottom: 1px solid var(--rf-border) !important; }
.border-rf { border-color: var(--rf-border) !important; }
.bg-rf { background-color: var(--rf-primary) !important; }
.bg-rf-soft { background-color: var(--rf-surface); }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.stretched-link::after {
    position: absolute; inset: 0; z-index: 1; content: "";
}
.h3 { font-size: 1.75rem; }
.h4 { font-size: 1.5rem; }
.h5 { font-size: 1.25rem; }

.form-label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.875rem; }
.form-control, .form-select {
    display: block; width: 100%; padding: 0.6rem 0.75rem;
    font: inherit; color: var(--rf-text); background: #fff;
    border: 1px solid var(--rf-border); border-radius: 0.5rem;
}
.form-control:focus, .form-select:focus {
    outline: 0;
    border-color: #FCA5A5;
    box-shadow: 0 0 0 0.2rem rgba(191, 25, 20, 0.15);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.invalid-feedback { display: block; color: #dc3545; font-size: 0.8125rem; margin-top: 0.25rem; }

.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 0.35rem; color: var(--rf-muted); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; padding-right: 0.35rem; color: #9CA3AF; }
.breadcrumb-item a { color: var(--rf-muted); }
.breadcrumb-item.active { color: var(--rf-text); }

.navbar { display: block; }
.navbar-brand { display: inline-flex; align-items: center; }
.navbar-nav { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.nav-item { list-style: none; }
.nav-link { display: block; }

@media (min-width: 768px) {
    .flex-md-row { flex-direction: row !important; }
    .text-md-end { text-align: right !important; }
    .align-items-md-end { align-items: flex-end !important; }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav { flex-direction: row; align-items: center; }
    .flex-lg-row { flex-direction: row !important; }
    .flex-lg-row-reverse { flex-direction: row-reverse !important; }
    .align-items-lg-center { align-items: center !important; }
    .justify-content-lg-end { justify-content: flex-end !important; }
    .order-lg-1 { order: 1 !important; }
    .order-lg-2 { order: 2 !important; }
    .pb-lg-0 { padding-bottom: 0 !important; }
    .pe-lg-4 { padding-right: 1.5rem !important; }
    .me-lg-4 { margin-right: 1.5rem !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .d-lg-flex { display: flex !important; }
    .p-md-5 { padding: 3rem !important; }
}

@media (min-width: 768px) {
    .p-md-5 { padding: 3rem !important; }
}

/* keep the rest of marketing design system below */

.rf-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem; /* equal L/R — was ~1rem and felt tight */
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .rf-container {
        padding-inline: 2rem;
    }
}

.rf-section {
    padding: 5rem 0;
    display: block;
    width: 100%;
    clear: both;
    position: relative;
    isolation: isolate;
}

.rf-section-sm {
    padding: 3.5rem 0;
    display: block;
    width: 100%;
    clear: both;
    position: relative;
    isolation: isolate;
}

.rf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rf-primary);
    margin-bottom: 0.75rem;
}

.rf-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.rf-lead {
    font-size: 1.0625rem;
    color: var(--rf-muted);
    max-width: 40rem;
}

/* Navbar */
.rf-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--rf-border);
    backdrop-filter: saturate(1.2) blur(10px);
}

.rf-navbar .rf-nav-inner {
    min-height: 4.25rem;
    gap: 1rem;
    padding-block: 0.35rem;
}

.rf-navbar .navbar-brand {
    font-weight: 750;
    font-size: 1.35rem;
    color: var(--rf-text);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.rf-navbar .navbar-brand:hover {
    color: var(--rf-text);
}

.rf-navbar .navbar-brand span {
    color: var(--rf-primary);
}

.rf-navbar .navbar-nav {
    gap: 0.15rem;
}

.rf-navbar .nav-link {
    position: relative;
    color: #4B5563;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 0.7rem !important;
    border-radius: 0.45rem;
    transition: color 0.15s ease, background 0.15s ease;
}

.rf-navbar .nav-link:hover {
    color: var(--rf-primary);
    background: #FEF2F2;
}

.rf-navbar .nav-link.active {
    color: var(--rf-primary);
    font-weight: 600;
    background: #FEF2F2;
}

.rf-navbar .rf-nav-actions {
    flex-shrink: 0;
    margin-left: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--rf-border);
}

.rf-navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--rf-border);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--rf-text);
    cursor: pointer;
}

.rf-navbar .navbar-toggler:hover {
    background: var(--rf-surface);
}

.rf-navbar .navbar-toggler:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(191, 25, 20, 0.15);
}

.rf-navbar .navbar-collapse:not(.show) {
    display: none;
}

@media (min-width: 992px) {
    .rf-navbar .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .rf-navbar .navbar-toggler {
        display: none;
    }

    .rf-navbar .rf-nav-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
        padding-bottom: 0;
    }
}

.rf-navbar .navbar-collapse.show {
    display: block;
    width: 100%;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--rf-border);
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .rf-navbar .rf-nav-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        padding-top: 0.75rem;
        gap: 0.6rem;
    }

    .rf-navbar .rf-nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Buttons — real paint (not Bootstrap var stubs) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-rf {
    color: #fff !important;
    background: var(--rf-primary);
    border-color: var(--rf-primary);
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.65rem 1.25rem;
}

.btn-rf:hover {
    color: #fff !important;
    background: var(--rf-secondary);
    border-color: var(--rf-secondary);
}

.btn-rf:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(191, 25, 20, 0.2);
}

.btn-rf-outline {
    color: var(--rf-primary) !important;
    background: transparent;
    border-color: var(--rf-primary);
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.65rem 1.25rem;
}

.btn-rf-outline:hover {
    color: #fff !important;
    background: var(--rf-primary);
    border-color: var(--rf-primary);
}

.btn-rf-ghost {
    color: var(--rf-text) !important;
    background: var(--rf-accent);
    border-color: var(--rf-accent);
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.65rem 1.25rem;
}

.btn-rf-ghost:hover {
    color: var(--rf-text) !important;
    background: #E5E7EB;
    border-color: #E5E7EB;
}

.btn-sm {
    padding: 0.5rem 0.95rem;
    font-size: 0.875rem;
    border-radius: 0.45rem;
}

.rf-navbar .btn-rf {
    box-shadow: 0 1px 2px rgba(191, 25, 20, 0.2);
}

.rf-navbar .btn-rf:hover {
    box-shadow: 0 2px 8px rgba(191, 25, 20, 0.28);
}

/* Cards */
.rf-card {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    box-shadow: var(--rf-shadow);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
}

.rf-card-body {
    padding: 1.5rem;
}

.rf-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    background: #FEF2F2;
    color: var(--rf-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.rf-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.rf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #FEF2F2;
    color: var(--rf-primary);
    border: 1px solid #FECACA;
}

/* Hero */
.rf-hero {
    padding: 4.5rem 0 3.5rem;
    background: var(--rf-bg);
    border-bottom: 1px solid var(--rf-border);
}

.rf-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.rf-hero .rf-sub {
    font-size: 1.125rem;
    color: var(--rf-muted);
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.rf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Real browser / photo / phone frames */
.rf-browser {
    margin: 0;
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 1rem;
    box-shadow: var(--rf-shadow);
    overflow: hidden;
}

.rf-browser-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--rf-border);
    background: var(--rf-surface);
}

.rf-browser-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #D1D5DB;
}

.rf-browser-dot:nth-child(1) { background: #FCA5A5; }
.rf-browser-dot:nth-child(2) { background: #FCD34D; }
.rf-browser-dot:nth-child(3) { background: #86EFAC; }

.rf-browser-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--rf-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rf-browser-viewport {
    position: relative;
    background: #F3F4F6;
}

.rf-browser-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
}

.rf-placeholder-badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 0.4rem;
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.rf-photo { margin: 0; }
.rf-photo-frame {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--rf-border);
    box-shadow: var(--rf-shadow);
    background: var(--rf-surface);
}

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

.rf-photo-16x10 .rf-photo-img { aspect-ratio: 16 / 10; }
.rf-photo-4x3 .rf-photo-img { aspect-ratio: 4 / 3; }
.rf-photo-1x1 .rf-photo-img { aspect-ratio: 1 / 1; }

.rf-photo-caption {
    margin-top: 0.65rem;
    font-size: 0.8125rem;
    color: var(--rf-muted);
}

.rf-hero-media {
    position: relative;
    padding-bottom: 1.5rem;
}

.rf-hero-photo {
    position: absolute;
    width: 44%;
    bottom: 0;
    left: -0.5rem;
    z-index: 2;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--rf-shadow);
}

.rf-hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .rf-hero-photo { display: none; }
    .rf-hero-media { padding-bottom: 0; }
}

.rf-phone {
    margin: 0 auto;
    max-width: 260px;
}

.rf-phone-bezel {
    background: #111;
    border-radius: 1.75rem;
    padding: 0.65rem;
    box-shadow: var(--rf-shadow);
}

.rf-phone-notch {
    width: 38%;
    height: 0.35rem;
    margin: 0.2rem auto 0.55rem;
    border-radius: 999px;
    background: #374151;
}

.rf-phone-screen {
    position: relative;
    border-radius: 1.15rem;
    overflow: hidden;
    background: #fff;
}

.rf-phone-img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: top center;
}

.rf-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--rf-border);
    flex-shrink: 0;
}

.rf-gallery .rf-browser,
.rf-gallery .rf-photo {
    height: 100%;
}

/* Dashboard mockup (legacy fallback) */
.rf-mockup {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 1rem;
    box-shadow: var(--rf-shadow);
    overflow: hidden;
}

.rf-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--rf-border);
    background: var(--rf-surface);
}

.rf-mockup-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #D1D5DB;
}

.rf-mockup-dot:nth-child(1) { background: #FCA5A5; }
.rf-mockup-dot:nth-child(2) { background: #FCD34D; }
.rf-mockup-dot:nth-child(3) { background: #86EFAC; }

.rf-mockup-body {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    min-height: 280px;
}

.rf-mockup-side {
    background: #111827;
    padding: 1rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
}

.rf-mockup-side span {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
}

.rf-mockup-side span.active {
    background: var(--rf-primary);
}

.rf-mockup-main {
    padding: 1rem;
    background: var(--rf-surface);
}

.rf-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.rf-mockup-stat {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.rf-mockup-stat strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.rf-mockup-stat small {
    color: var(--rf-muted);
    font-size: 0.7rem;
}

.rf-mockup-panel {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 0.5rem;
    padding: 0.85rem;
    min-height: 8rem;
}

.rf-mockup-lines span {
    display: block;
    height: 0.45rem;
    border-radius: 999px;
    background: #E5E7EB;
    margin-bottom: 0.55rem;
}

.rf-mockup-lines span:nth-child(1) { width: 70%; background: #FECACA; }
.rf-mockup-lines span:nth-child(2) { width: 92%; }
.rf-mockup-lines span:nth-child(3) { width: 58%; }
.rf-mockup-lines span:nth-child(4) { width: 80%; }

/* Trust / logos strip */
.rf-trust {
    border-bottom: 1px solid var(--rf-border);
    padding: 1.75rem 0;
    background: var(--rf-surface);
}

.rf-trust-item {
    text-align: center;
    color: var(--rf-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats */
.rf-stat-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--rf-text);
}

.rf-stat-label {
    color: var(--rf-muted);
    font-size: 0.875rem;
}

/* Pricing */
.rf-price-card {
    border: 1px solid var(--rf-border);
    border-radius: 1rem;
    background: #fff;
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
}

.rf-price-card.featured {
    border-color: var(--rf-primary);
    box-shadow: 0 0 0 1px var(--rf-primary), var(--rf-shadow);
}

.rf-price-amount {
    font-size: 2.25rem;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.rf-compare table {
    width: 100%;
    border-collapse: collapse;
}

.rf-compare th,
.rf-compare td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--rf-border);
    text-align: left;
    vertical-align: middle;
}

.rf-compare thead th {
    background: var(--rf-surface);
    font-size: 0.875rem;
}

/* FAQ */
.rf-faq-item {
    border: 1px solid var(--rf-border);
    border-radius: 0.65rem;
    margin-bottom: 0.75rem;
    background: #fff;
    overflow: hidden;
}

.rf-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 1.15rem;
    list-style: none;
}

.rf-faq-item summary::-webkit-details-marker {
    display: none;
}

.rf-faq-item[open] summary {
    color: var(--rf-primary);
    background: #FEF2F2;
}

.rf-faq-answer {
    padding: 0 1.15rem 1.15rem;
}

/* FAQ */
.rf-faq .accordion-item {
    border: 1px solid var(--rf-border);
    border-radius: 0.65rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.rf-faq .accordion-button {
    font-weight: 600;
    box-shadow: none !important;
    background: #fff;
}

.rf-faq .accordion-button:not(.collapsed) {
    color: var(--rf-primary);
    background: #FEF2F2;
}

.rf-faq .accordion-button:focus {
    box-shadow: none;
    border-color: var(--rf-border);
}

/* Testimonials */
.rf-quote {
    font-size: 1.05rem;
    color: #1F2937;
    margin-bottom: 1.25rem;
}

.rf-quote-meta strong {
    display: block;
    font-size: 0.9375rem;
}

.rf-quote-meta span {
    color: var(--rf-muted);
    font-size: 0.8125rem;
}

/* CTA band */
.rf-cta {
    background: #111111;
    color: #fff;
    border-radius: 1rem;
    padding: 3rem 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.rf-cta .row {
    margin: 0;
    width: 100%;
}

.rf-cta h2 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rf-cta p {
    color: #D1D5DB;
}

.rf-cta .btn-rf-ghost {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.rf-cta .btn-rf-ghost:hover {
    color: #111 !important;
    background: #fff;
    border-color: #fff;
}

/* Footer */
.rf-footer {
    background: #0B0B0B;
    color: #D1D5DB;
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: auto;
}

.rf-footer a {
    color: #D1D5DB;
}

.rf-footer a:hover {
    color: #fff;
}

.rf-footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.rf-footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.rf-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rf-footer li {
    margin-bottom: 0.55rem;
}

.rf-footer li a {
    font-size: 0.875rem;
}

.rf-footer-bottom {
    border-top: 1px solid #27272A;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.8125rem;
    color: #9CA3AF;
}

/* Demo wizard */
.rf-wizard-steps {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.rf-wizard-step {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--rf-border);
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-muted);
}

.rf-wizard-step.active {
    border-color: var(--rf-primary);
    color: var(--rf-primary);
    background: #FEF2F2;
}

.rf-wizard-step.done {
    color: #059669;
    border-color: #A7F3D0;
    background: #ECFDF5;
}

.rf-wizard-pane {
    display: none;
}

.rf-wizard-pane.active {
    display: block;
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #FCA5A5;
    box-shadow: 0 0 0 0.2rem rgba(191, 25, 20, 0.15);
}

/* Page header */
.rf-page-header {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--rf-border);
    background: var(--rf-surface);
}

/* Animations */
.rf-fade-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.rf-fade-up.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rf-fade-up,
    .rf-card {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Utility */
.rf-divider {
    height: 1px;
    background: var(--rf-border);
    border: 0;
}

.rf-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rf-list-check li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    font-size: 0.9375rem;
}

.rf-list-check li i,
.rf-list-check li svg {
    color: var(--rf-primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
    .rf-hero {
        padding-top: 3rem;
    }

    .rf-mockup-body {
        grid-template-columns: 1fr;
    }

    .rf-mockup-side {
        flex-direction: row;
        justify-content: center;
        padding: 0.75rem;
    }

    .rf-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .rf-mockup-grid {
        grid-template-columns: 1fr;
    }

    .rf-hero-actions .btn {
        width: 100%;
    }
}

/* ── FinTech public site extensions ─────────────────────────────── */

.rf-logo-mark {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.5rem;
    background: var(--rf-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

.rf-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.rf-dropdown {
    position: relative;
}

.rf-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 1rem;
    box-shadow: var(--rf-shadow);
    overflow: hidden;
    z-index: 1040;
}

.rf-dropdown.is-open .rf-dropdown-panel {
    display: block;
}

.rf-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    padding: 0.75rem;
}

.rf-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    color: var(--rf-text);
    transition: background 0.15s ease;
}

.rf-dropdown-item:hover {
    background: var(--rf-surface);
    color: var(--rf-text);
}

.rf-dropdown-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.rf-dropdown-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--rf-muted);
}

.rf-wallet-card {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: 1rem;
    box-shadow: var(--rf-shadow);
    padding: 1.5rem;
}

.rf-wallet-txn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--rf-surface);
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
}

.rf-service-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    background: #FEF2F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.rf-card:hover .rf-service-icon {
    transform: scale(1.08);
}

.rf-stat-tile {
    border-radius: var(--rf-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rf-stat-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.12);
}

.rf-stat-tile .value {
    font-size: 1.75rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.rf-stat-tile .label {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

.rf-step-num {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 750;
    margin-bottom: 1.25rem;
    box-shadow: var(--rf-shadow);
}

.rf-prose h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.rf-prose p,
.rf-prose li {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.rf-prose ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}

.rf-callout {
    border-radius: var(--rf-radius);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--rf-border);
    background: var(--rf-surface);
    margin-bottom: 2rem;
}

.rf-callout.info {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.rf-callout.warn {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}

@media (max-width: 991.98px) {
    .rf-dropdown-panel {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
    }

    .rf-dropdown-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra utilities used by FinTech public pages */
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.p-3 { padding: 1rem !important; }
.border-top { border-top: 1px solid var(--rf-border) !important; }
.gap-2 { gap: 0.5rem !important; }
.italic { font-style: italic; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }
.pt-4 { padding-top: 1.5rem !important; }
.rounded { border-radius: 0.5rem !important; }
