/* Explain: Styles for hero, interest pills, lead form, and content cards. */
/* ===== Hero (lightweight, ad-friendly) ===== */
.hero-v2 {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
    background: radial-gradient(130% 120% at 100% 0%, var(--primary-soft) 0%, var(--primary-color) 48%, var(--surface-dark) 100%);
    color: #ffffff;
}

.hero-v2-glow {
    position: absolute;
    inset-inline-end: -12%;
    top: -25%;
    width: 42rem;
    height: 42rem;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.2), transparent 65%);
    pointer-events: none;
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    max-width: 52rem;
}

.hero-v2-title {
    margin-top: 1.25rem;
    color: #ffffff;
    font-size: clamp(1.85rem, 5.5vw, 3.3rem);
    line-height: 1.3;
}

.hero-v2-title .hl {
    color: var(--accent-color);
}

.hero-v2-desc {
    margin-top: 1.1rem;
    max-width: 44rem;
    color: rgba(234, 240, 248, 0.9);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.hero-v2-actions {
    margin-top: 1.9rem;
}

.hero-v2-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 44rem;
    color: rgba(234, 240, 248, 0.82);
    font-size: 0.95rem;
}

.hero-v2-note i {
    margin-top: 0.5rem;
    color: var(--accent-color);
}

.hero-v2-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin: 1.75rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.hero-v2-badges li {
    color: rgba(234, 240, 248, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-v2-badges i {
    margin-inline-end: 0.4rem;
    color: var(--accent-color);
}

/* ===== Interest pills ===== */
.field-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.interest-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

@media (min-width: 640px) {
    .interest-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.interest-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 0.8rem;
    background: #ffffff;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.interest-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.interest-pill i {
    color: var(--secondary-hover);
}

.interest-pill:hover {
    border-color: rgba(201, 169, 98, 0.6);
}

.interest-pill.is-active {
    border-color: var(--secondary-color);
    background: rgba(201, 169, 98, 0.12);
    color: var(--primary-color);
}

.interest-pill:focus-within {
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.18);
}

/* ===== Lead success card ===== */
.lead-success {
    padding: 0.5rem 0;
    text-align: center;
}

.lead-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(16, 122, 87, 0.12);
    color: #0f7a57;
    font-size: 2rem;
}

.lead-success h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.lead-success p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 20, 38, 0.96);
    border-top: 1px solid rgba(201, 169, 98, 0.3);
    transform: translateY(115%);
    transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

@media (max-width: 1023px) {
    .sticky-cta {
        display: block;
    }

    body.has-sticky-cta {
        padding-bottom: 5.25rem;
    }
}

/* ===== Content cards ===== */
.content-card .card-text {
    margin-bottom: 1.25rem;
}

.content-card .btn-outline {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
    text-align: center;
}