/* ===================================================
   Rentcore Homepage Styles
   =================================================== */

body.home-page {
    margin-bottom: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Header ---- */

.rc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.rc-header .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ---- Hero ---- */

.rc-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #6366f1 100%);
    padding: 5rem 0 4.5rem;
    color: white;
    overflow: hidden;
}

.rc-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rc-hero .rc-lead {
    font-size: 1.15rem;
    opacity: 0.88;
    max-width: 520px;
    line-height: 1.6;
}

.rc-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.rc-hero-footnote {
    font-size: 0.82rem;
    opacity: 0.68;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* Hero CTA buttons */

.btn-hero-primary {
    background: white;
    color: #1e3a8a;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #1e40af;
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.55);
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: white;
    color: white;
    text-decoration: none;
}

/* ---- Browser Mockup ---- */

.rc-mockup {
    background: white;
    border-radius: 14px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    max-width: 430px;
    margin: 0 auto;
}

.rc-mockup-bar {
    background: #f1f5f9;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.rc-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rc-mockup-url {
    background: white;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: #64748b;
    flex: 1;
    margin: 0 8px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-mockup-body {
    padding: 18px;
    background: white;
}

/* ---- Sections ---- */

.rc-section {
    padding: 5.5rem 0;
}

.rc-section-alt {
    background: #f8fafc;
}

.rc-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.rc-section-sub {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Problem / Solution ---- */

.rc-problem {
    background: #fff5f5;
    border-radius: 16px;
    padding: 2rem 2rem 2rem;
    border: 1px solid #fecaca;
}

.rc-solution {
    background: #f0fdf4;
    border-radius: 16px;
    padding: 2rem 2rem 2rem;
    border: 1px solid #bbf7d0;
}

.rc-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rc-check-list li {
    padding: 0.45rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.97rem;
    line-height: 1.4;
}

.rc-check-list .icon-cross {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.rc-check-list .icon-check {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- How it works steps ---- */

.rc-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.15s ease;
}

.rc-step:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.rc-step-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

/* ---- Segment cards (for who) ---- */

.rc-segment-card {
    background: white;
    border-radius: 14px;
    padding: 1.75rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: default;
}

.rc-segment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.rc-segment-icon {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

/* ---- Feature cards ---- */

.rc-feature-card {
    background: white;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rc-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.rc-feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

/* ---- Trust block ---- */

.rc-trust {
    background: #eff6ff;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    border-left: 4px solid #2563eb;
    border-top: 1px solid #bfdbfe;
    border-right: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
}

/* ---- Closing CTA section ---- */

.rc-cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #6366f1 100%);
    padding: 5.5rem 0;
    color: white;
    text-align: center;
}

.rc-cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rc-cta-section .rc-lead {
    opacity: 0.88;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ---- Footer ---- */

.rc-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 2rem;
}

.rc-footer-heading {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 1rem;
}

.rc-footer-links {
    margin: 0;
    padding: 0;
}

.rc-footer-links li {
    margin-bottom: 0.5rem;
}

.rc-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.1s ease;
}

.rc-footer-links a:hover {
    color: white;
}

.rc-footer-divider {
    border-color: #1e293b;
    margin: 2rem 0 1.25rem;
}

/* ---- Responsive tweaks ---- */

@media (max-width: 767.98px) {
    .rc-hero {
        padding: 3.5rem 0 3rem;
        text-align: center;
    }

    .rc-hero .rc-lead {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .rc-hero .d-flex.gap-3 {
        justify-content: center;
    }

    .rc-hero-footnote {
        text-align: center;
    }

    .rc-mockup {
        margin-top: 2.5rem;
    }

    .rc-section {
        padding: 3.5rem 0;
    }

    .rc-cta-section {
        padding: 3.5rem 0;
    }
}
