/* =========================================
   FAMILIAR CHALLENGES SECTION
   "Purple Floating Island" Design
   ========================================= */

.familiar-challenges-section {
    padding: var(--space-8) 0 var(--space-8); /* Shrunk by 50% more for a tight, high-impact finish */
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.challenges-island {
    background: var(--color-primary);
    border-radius: 40px;
    /* Large, premium rounded corners */
    padding: var(--space-12) var(--space-16);
    color: var(--color-white);
    box-shadow: 0 30px 60px rgba(30, 11, 77, 0.2);
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Decoration */
.challenges-island::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(253, 183, 26, 0.05), transparent 40%);
    border-radius: 40px;
    pointer-events: none;
}

.challenges-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.challenges-header h2 {
    font-size: var(--text-4xl);
    color: var(--color-gold);
    /* Updated to Gold as requested */
    font-family: var(--font-heading);
    font-weight: 850;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.challenges-subheader {
    font-size: var(--text-2xl);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: var(--space-6);
}

/* Challenges List */
.challenges-list {
    list-style: none;
    padding: 0;
    margin: var(--space-8) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    font-size: var(--text-xl);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.challenge-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
}

.challenge-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
}

.challenge-arrow svg {
    width: 20px;
    height: 20px;
}

.challenge-footer {
    text-align: center;
    margin-top: var(--space-4);
    /* Lifted up */
    padding-top: 0; /* Removed break */
    border-top: none; 
}

.challenge-footer p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.we-can-help {
    display: block;
    font-size: var(--text-4xl);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-4);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: swagBounce 3s infinite ease-in-out;
}

@keyframes swagBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* =========================================
   TRANSITION AREA - PORTED FROM HOMEPAGE
   ========================================= */

.narrative-footer {
    padding: 0; /* Fully tight */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: none;
    margin-top: var(--space-2); /* Minimal gap */
}

.point-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.narrative-footer .point-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2rem, 4.5vw, 4.2rem) !important; /* Calibrated for perfect single-line fit */
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
    font-style: normal !important;
    text-transform: none !important;
    white-space: nowrap; /* Ensures it stays on one line for maximum impact */
}

.narrative-footer .quote-mark {
    font-family: var(--font-heading) !important;
    font-size: clamp(3rem, 6vw, 5rem) !important; /* Scaled to match text */
    color: var(--color-gold) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    opacity: 1 !important;
    display: inline-block !important;
    transform: translateY(8px);
}

.funnel-arrows {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

.arrow-3d {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    animation: bounceDown 2s infinite ease-in-out;
}

.arrow-3d:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-3d:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* Responsive */
@media (max-width: 992px) {
    .challenges-island {
        padding: var(--space-10) var(--space-8);
        border-radius: 30px;
    }

    .challenges-header h2 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 640px) {
    .challenge-item {
        font-size: var(--text-lg);
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .challenges-island {
        padding: var(--space-8) var(--space-4);
    }

    .point-text {
        font-size: var(--text-xl);
    }

    .funnel-arrows {
        gap: var(--space-4);
    }
}