/**
 * Stay Blessed Quote Builder — staff landing page (client homepage spec).
 * Scoped reset neutralizes Bootstrap/modern.css bleed on margins & heading fonts.
 */
.sb-qb-landing,
.sb-qb-landing *,
.sb-qb-landing *::before,
.sb-qb-landing *::after {
    box-sizing: border-box;
}

.sb-qb-landing h1,
.sb-qb-landing h2,
.sb-qb-landing h3,
.sb-qb-landing h4,
.sb-qb-landing h5,
.sb-qb-landing h6 {
    margin-top: 0;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.sb-qb-landing p {
    margin-top: 0;
    margin-bottom: 0;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.sb-qb-landing {
    --sb-qb-navy: #003F8A;
    --sb-qb-gold: #A97019;
    --sb-qb-gold-bright: #F7BF00;
    --sb-qb-gray: #4b5563;
    --sb-qb-border: #e5e7eb;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--sb-qb-navy);
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sb-qb-landing ::selection {
    background: #A97019;
    color: #fff;
}

.sb-qb-btn-gold {
    background: linear-gradient(135deg, #A97019 0%, #F7BF00 50%, #A97019 100%);
    background-size: 200% auto;
    color: #002d6b;
    border: none;
    border-radius: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: background-position 0.4s ease, transform 0.12s, box-shadow 0.12s;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(169, 112, 25, 0.45);
}

.sb-qb-btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(247, 191, 0, 0.5);
    color: #002d6b;
}

.sb-qb-btn-gold--sm {
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(169, 112, 25, 0.35);
}

.sb-qb-btn-gold--sm:hover {
    transform: translateY(-1px);
}

/* —— Nav —— */
.sb-qb-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 30, 70, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(169, 112, 25, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 80px;
}

.sb-qb-nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.sb-qb-nav__mark {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: contain;
}

.sb-qb-nav__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sb-qb-nav__brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.sb-qb-nav__sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sb-qb-gold);
}

/* —— Hero —— */
.sb-qb-hero {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(169, 112, 25, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 63, 138, 0.4) 0%, transparent 55%),
        linear-gradient(170deg, #001a40 0%, #002d6b 35%, #003F8A 65%, #001830 100%);
    text-align: center;
    padding: 90px 24px 100px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.sb-qb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.012) 3px,
        rgba(255, 255, 255, 0.012) 4px
    );
    pointer-events: none;
}

.sb-qb-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(169, 112, 25, 0.6), rgba(247, 191, 0, 0.8), rgba(169, 112, 25, 0.6), transparent);
}

.sb-qb-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.sb-qb-hero__logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.sb-qb-hero__logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.3));
}

.sb-qb-hero__logo-label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #A97019 0%, #F7BF00 60%, #A97019 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: -8px 0 0;
    line-height: 1.2;
}

.sb-qb-landing .sb-qb-hero__tagline {
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sb-qb-hero__tagline span {
    background: linear-gradient(90deg, #A97019 0%, #F7BF00 40%, #ffe066 60%, #A97019 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sb-qb-shimmer 4s linear infinite;
}

@keyframes sb-qb-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.sb-qb-landing .sb-qb-hero__desc {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* —— How it works —— */
.sb-qb-how {
    padding: 90px 24px;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    flex: 1;
}

.sb-qb-how::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(169, 112, 25, 0.3), rgba(247, 191, 0, 0.5), rgba(169, 112, 25, 0.3), transparent);
}

.sb-qb-landing h2.sb-qb-how__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--sb-qb-navy);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.sb-qb-landing .sb-qb-how__desc {
    font-size: 15px;
    color: var(--sb-qb-gray);
    max-width: 440px;
    margin: 0 auto 52px;
    line-height: 1.6;
    text-align: center;
}

.sb-qb-steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.sb-qb-step-wrap {
    display: flex;
    align-items: center;
}

.sb-qb-step {
    background: linear-gradient(160deg, #ffffff 60%, #f0f4ff 100%);
    border: 1px solid rgba(0, 63, 138, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    width: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    box-shadow: 0 4px 24px rgba(0, 30, 80, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.sb-qb-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A97019, #F7BF00, #A97019);
    opacity: 0;
    transition: opacity 0.3s;
}

.sb-qb-step:hover {
    box-shadow: 0 12px 40px rgba(0, 30, 80, 0.15);
    transform: translateY(-5px);
}

.sb-qb-step:hover::before {
    opacity: 1;
}

.sb-qb-step__icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #A97019 0%, #F7BF00 60%, #A97019 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(169, 112, 25, 0.4);
    color: #ffffff;
    font-size: 1.15rem;
}

.sb-qb-step__badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #A97019, #F7BF00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid rgba(169, 112, 25, 0.35);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: -4px;
}

.sb-qb-step__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--sb-qb-navy);
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
}

.sb-qb-landing .sb-qb-step__body {
    font-size: 13px;
    color: var(--sb-qb-gray);
    line-height: 1.55;
    margin: 0;
    text-align: center;
}

.sb-qb-step__body em {
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(90deg, #A97019, #F7BF00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sb-qb-step-arrow {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid var(--sb-qb-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    align-self: center;
    margin: 0 -4px;
    z-index: 1;
    color: var(--sb-qb-gold);
    font-size: 0.75rem;
}

/* —— Bottom CTA —— */
.sb-qb-cta-bottom {
    background: linear-gradient(170deg, #001a40 0%, #002d6b 50%, #001830 100%);
    text-align: center;
    padding: 64px 24px;
    position: relative;
    overflow: hidden;
}

.sb-qb-cta-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(169, 112, 25, 0.5), rgba(247, 191, 0, 0.7), rgba(169, 112, 25, 0.5), transparent);
}

.sb-qb-cta-bottom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(169, 112, 25, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.sb-qb-cta-bottom .sb-qb-btn-gold {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .sb-qb-nav {
        padding: 0 20px;
    }

    .sb-qb-steps {
        flex-direction: column;
        align-items: center;
    }

    .sb-qb-step-wrap {
        flex-direction: column;
    }

    .sb-qb-step-arrow {
        transform: rotate(90deg);
        margin: -4px 0;
    }
}
