﻿:root {
    --brand-primary: #f15e22;
    --brand-secondary: #122d50;
    --brand-dark: #0F2544;
    --brand-mid: #334155;
    --brand-light: #F7F8FB;
    /* new: tone scale + focus */
    --ring: 0 0 0 .2rem rgba(245,130,32,.22);
    --soft-card: 0 18px 48px rgba(13,27,42,.08);
    --gradient-primary: linear-gradient(135deg, #F58220 0%, #FF9A47 100%);
    --gradient-secondary: linear-gradient(135deg, #1B3A61 0%, #2A4A71 100%);
}

/* Hide global header on this page; we add our own top stripe */
header.reg-bg {
    display: none !important;
}
/* Remove layout padding so hero touches the top stripe (no white space) */
main > section {
    padding-top: 0 !important;
}

/* Top orange border */
.top-stripe {
    height: 14px;
    width: 100%;
    background: var(--brand-primary);
}

/* Page background without extra stacked gradients */
body {
    color: var(--brand-mid);
    background: #F7F8FB;
}

/* Hero: single halo that begins at the very top */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0 -8% auto auto;
        width: 60vw;
        height: 60vw;
        max-width: 880px;
        max-height: 880px;
        background: radial-gradient(60% 60% at 60% 40%, rgba(27,58,97,.18), rgba(27,58,97,0));
        transform: translate(0, -12%);
        pointer-events: none;
    }

/* HBL logo placed above the badge */
.hero-logo img {
    height: 50px;
    width: auto;
    display: block;
}

@media (min-width: 992px) {
    .hero-logo img {
        height: 50px;
    }
}

.badge-soft {
    background: rgba(245,130,32,.12);
    color: var(--brand-primary);
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: .375rem;
}

/* new: fluid type for better scaling */
.hero-title {
    color: var(--brand-dark);
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.6rem);
}

.hero-sub {
    color: var(--brand-mid);
}

.hero-copy {
    max-width: 720px;
}

/* Bullet alignment – icon column + flexible text column */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

    .feature-list li {
        display: flex;
        align-items: self-start;
        margin-bottom: .65rem;
    }

    .feature-list .fi {
        flex: 0 0 22px;
        width: 22px;
        line-height: 1.55;
        color: var(--brand-primary);
        margin-right: .5rem;
        font-size: 1.45em;
    }

    .feature-list .ft {
        flex: 1 1 auto;
        line-height: 1.55;
        font-size: 1.45em;
    }

/* trust row */
.trust-row .stars i {
    margin-right: 2px;
}

.trust-row small {
    color: #6b7280;
}

.logo-row img {
    height: 28px;
    opacity: .7;
    margin: 0 12px;
    filter: grayscale(100%);
}

.form-card {
    border: 1px solid rgba(13,27,42,.06);
    border-radius: 18px;
    box-shadow: var(--soft-card);
    background: #fff;
}

/* new: sticky on lg+ so the form remains visible while reading features */
.sticky-lg {
    position: static;
}

@media (min-width: 992px) {
    .sticky-lg {
        position: sticky;
        top: 24px;
    }
}

.form-control {
    border-radius: .6rem;
    border-color: #e6e9ef;
}

.input-group-text {
    border-radius: .6rem 0 0 .6rem;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: var(--ring);
}

.btn-brand {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    box-shadow: 0 8px 18px rgba(245,130,32,.35);
}

    .btn-brand:hover {
        filter: brightness(.95);
        color: #fff;
    }

/* new: outline variant for secondary CTA on the hero */
.btn-outline-brand {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

    .btn-outline-brand:hover {
        color: #fff;
        background: var(--brand-primary);
        border-color: var(--brand-primary);
    }

/* Benefits */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,130,32,.12);
    color: var(--brand-primary);
}

/* Full-width reviews band - Updated with textured gradient background */
.section-dark {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-dark) 50%, #0A1C2E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .section-dark::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") repeat;
        pointer-events: none;
    }

    .section-dark::after {
        content: '';
        position: absolute;
        top: 0;
        right: -15%;
        width: 30%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(245,130,32,0.15) 0%, transparent 70%);
        pointer-events: none;
    }

    .section-dark .card-like {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 12px;
        position: relative;
        z-index: 2;
    }

    .section-dark .container {
        position: relative;
        z-index: 2;
    }

/* FAQ */
.faq .card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
}

/* new: stronger focus visibility for keyboard users */
:focus-visible {
    outline: 2px solid transparent;
    box-shadow: var(--ring) !important;
    border-color: var(--brand-primary);
}

/* new: prefers-reduced-motion — remove spinner rotation heaviness, smooth scroll off */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
}
