/* Member Guide Module CSS - Extracted and Adapted from Prototype */

.member-cta-section {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 40px 0;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
    /* border-radius removed as per user request */
}

.member-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.member-cta-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 1200px) {
    .member-cta-container {
        max-width: 992px;
    }
}

@media (max-width: 992px) {
    .member-cta-container {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .member-cta-container {
        max-width: 576px;
        padding: 0 16px;
    }

    .member-cta-layout {
        grid-template-columns: 1fr;
        text-align: center;
        /* Center text on mobile */
    }

    .member-cta-actions {
        justify-content: center;
        /* Center button on mobile */
    }

    .member-cta-stats {
        justify-items: center;
        /* Center stats on mobile */
        margin: 16px auto 0;
    }

    .member-cta-actions .cta-btn-primary,
    .member-cta-actions .cta-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .member-cta-actions {
        justify-content: center;
    }
}

.member-cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.member-cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
}

.member-cta-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    /* Changed to flex-end to align button to the right */
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: #ffffff;
    color: #1e40af;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.cta-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-btn-primary svg,
.cta-btn-outline svg {
    width: 16px;
    height: 16px;
}

.member-cta-actions .cta-btn-primary,
.member-cta-actions .cta-btn-outline {
    min-width: 160px;
}

.cta-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    animation: cta-shine 2800ms ease-in-out infinite;
}

.cta-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.cta-btn-primary:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

@keyframes cta-shine {
    0% {
        transform: translateX(-140%);
    }

    50% {
        transform: translateX(40%);
    }

    100% {
        transform: translateX(140%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-btn-primary::before {
        animation: none;
    }
}

.member-cta-right .cta-price {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.member-cta-right .cta-price span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.member-cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: start;
    max-width: 780px;
    margin: 16px 0 0;
    gap: 24px;
}

.member-cta-stat {
    display: grid;
    justify-items: start;
}

.member-cta-stat .stat-number {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.member-cta-stat .stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    margin-top: 4px;
}