.expert-hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 520px;
}

.expert-hero-carousel.section {
    margin-top: -3.5rem;
    padding-top: 3.5rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.expert-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(16px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.expert-hero-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.expert-hero-overlay {
    position: absolute;
    inset: 0;
}

.expert-hero-body {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.expert-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(2, 6, 23, 0.5);
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: opacity 0.2s ease;
}

.expert-hero-nav:hover {
    background: rgba(14, 165, 233, 0.35);
    border-color: rgba(14, 165, 233, 0.7);
}

.expert-hero-nav-prev {
    left: 1.5rem;
}

.expert-hero-nav-next {
    right: 1.5rem;
}

.expert-hero-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(6px);
    z-index: 2;
}

.expert-hero-indicator {
    width: 2.5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.35);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.expert-hero-indicator.is-active {
    background: #fbbf24;
    width: 3rem;
}

@media (max-width: 640px) {
    .expert-hero-carousel {
        min-height: 480px;
    }

    .expert-hero-nav {
        display: none;
    }

    .expert-hero-body {
        width: 100%;
        padding: 4rem 1.25rem 6.25rem;
    }

    .expert-hero-indicators {
        bottom: 0.75rem;
        gap: 0.35rem;
        padding: 0.2rem 0.5rem;
    }

    .expert-hero-indicator {
        width: 1.5rem;
    }

    .hero-side {
        display: none;
    }

    .expert-hero-body .hero-grid {
        grid-template-columns: 1fr;
    }

    .expert-hero-body .hero-grid > *:nth-child(n+2) {
        display: none;
    }

    .hero-copy h1 {
        font-size: 1rem;
        line-height: 1.25;
    }
}

.direct-contract-hero {
    background: linear-gradient(130deg, rgba(12, 19, 45, 0.95), rgba(8, 145, 178, 0.8));
    border-radius: 0;
    padding: 3rem;
    color: rgba(248, 250, 252, 0.92);
}

.direct-contract-hero--clear {
    background: transparent;
    box-shadow: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hero-pill {
    display: inline-flex;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.15);
    color: rgba(45, 212, 191, 0.95);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 0.9rem 0;
    font-size: 2.3rem;
}

.hero-copy p {
    color: rgba(248, 250, 252, 0.82);
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-side {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.expert-contact-fab {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, #fef3c7, #facc15);
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expert-contact-fab:hover,
.expert-contact-fab:focus,
.expert-contact-fab:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.45);
    outline: none;
}

.expert-contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expert-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.expert-contact-label {
    letter-spacing: -0.01em;
}

.expert-contact-tooltip {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.5rem);
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.94);
    color: rgba(248, 250, 252, 0.98);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    width: 14rem;
    max-width: 70vw;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.4);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.expert-contact-fab:hover .expert-contact-tooltip,
.expert-contact-fab:focus .expert-contact-tooltip,
.expert-contact-fab:focus-visible .expert-contact-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .expert-contact-fab {
        left: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .expert-contact-tooltip {
        width: 11.5rem;
    }
}

@media (prefers-color-scheme: dark) {
    .expert-contact-fab {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(59, 130, 246, 0.75));
        color: #fefce8;
        border-color: rgba(148, 163, 184, 0.3);
        box-shadow: 0 14px 32px rgba(2, 6, 23, 0.7);
    }

    .expert-contact-fab:hover,
    .expert-contact-fab:focus,
    .expert-contact-fab:focus-visible {
        box-shadow: 0 18px 38px rgba(2, 6, 23, 0.75);
    }

    .expert-contact-tooltip {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.25);
    }
}

.hero-side {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-side {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-card {
    background: rgba(7, 11, 28, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.45);
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-card li {
    color: rgba(248, 250, 252, 0.95);
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.hero-bullet {
    color: #22d3ee;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contract-feature-grid {
    padding: 2.5rem 0 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(8, 13, 26, 0.92);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 38px rgba(2, 6, 23, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card.is-highlighted {
    transform: translateY(-6px);
    border-color: rgba(94, 234, 212, 0.45);
}

.feature-label {
    font-size: 0.85rem;
    color: rgba(170, 250, 230, 0.98);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.feature-card p {
    color: rgba(226, 232, 240, 0.88);
}

.contract-inputs {
    padding-top: 2.5rem;
}

.input-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1024px) {
    .input-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.input-item {
    background: rgba(12, 18, 32, 0.85);
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
}

.payment-note {
    margin-top: 1.5rem;
    background: rgba(251, 191, 36, 0.12);
    border-left: 4px solid rgba(251, 191, 36, 0.85);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
}

.payment-note strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.next-step-section p,
.next-step-section .step-desc,
.next-step-section .title {
    color: rgba(250, 252, 255, 0.92);
}

.step-preview {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.6rem;
}

.step-preview li {
    display: flex;
    gap: 1.05rem;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931a, #7f5af0);
    color: #fff;
    font-weight: 600;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: rgba(248, 250, 252, 0.92);
}

.step-desc {
    margin: 0;
    color: rgba(203, 213, 225, 0.78);
}

.expert-stats {
    background: rgba(4, 7, 15, 0.85);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(10, 16, 32, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    color: rgba(248, 250, 252, 0.95);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stats-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: rgba(248, 250, 252, 0.95);
}

.stats-header p {
    margin: 0;
    color: rgba(148, 163, 184, 0.85);
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(122, 54, 255, 0.8), rgba(247, 147, 26, 0.8));
    opacity: 0.35;
    transition: opacity 0.6s ease;
}

.stat-card {
    position: relative;
    overflow: hidden;
    background: rgba(7, 10, 22, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: 0;
    background: radial-gradient(
        circle,
        hsla(var(--pulse-hue-a, 255), 85%, 65%, 0.35),
        hsla(var(--pulse-hue-b, 30), 80%, 55%, 0.35)
    );
    animation: lightningPulse var(--pulse-duration, 12s) ease-in-out infinite;
    animation-delay: var(--pulse-delay, 0s);
    animation-direction: var(--pulse-direction, alternate);
    opacity: var(--pulse-opacity-start, 0.35);
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-card:hover::before {
    opacity: 0.65;
}

@keyframes lightningPulse {
    0% {
        transform: translate(var(--pulse-start-x, -12%), var(--pulse-start-y, -12%))
            scale(var(--pulse-scale, 1));
        opacity: var(--pulse-opacity-start, 0.3);
    }
    50% {
        transform: translate(var(--pulse-mid-x, 6%), var(--pulse-mid-y, 6%))
            scale(var(--pulse-scale-peak, 1.08));
        opacity: var(--pulse-opacity-peak, 0.55);
    }
    100% {
        transform: translate(var(--pulse-end-x, -12%), var(--pulse-end-y, -12%))
            scale(var(--pulse-scale, 1));
        opacity: var(--pulse-opacity-end, 0.3);
    }
}
.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.35rem;
}

.stat-value {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-note {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.85);
}

.next-step-section {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, rgba(8, 13, 26, 0.75), rgba(12, 18, 32, 0.82));
    border-radius: 22px;
    padding: 2.75rem;
    color: rgba(226, 232, 240, 0.9);
}

.next-step-section .title,
.next-step-section .step-title,
.next-step-section p {
    color: rgba(226, 232, 240, 0.88);
}

.action-box {
    background: rgba(8, 13, 26, 0.9);
    border-radius: 20px;
    padding: 2.25rem;
    border: 1px dashed rgba(147, 197, 253, 0.45);
    color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.55);
}
