/* Methodology Section */
.methodology-section {
    padding: 120px 0;
    position: relative;
    background: #020617;
    overflow: hidden;
    text-align: center;
}

.methodology-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Updated to Sky Blue/Cyan Blend */
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.methodology-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.methodology-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #e2e8f0;
}

.methodology-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.methodology-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Comparison Grid */
.comparison-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.comparison-column {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title Boxes */
.comparison-title-box {
    width: 100%;
    padding: 24px;
    border-radius: 16px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
    position: relative;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
}

.box-red {
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.05);
}

.box-teal {
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.05);
}

.icon-circle {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.icon-red {
    background: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.icon-teal {
    background: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

/* Timeline/Flow */
.timeline-flow {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    position: relative;
    align-items: center;
}

/* Flow Line (Red Side) */
.flow-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,
            rgba(239, 68, 68, 0.5) 0%,
            rgba(239, 68, 68, 0.2) 50%,
            rgba(239, 68, 68, 0.05) 100%);
    z-index: 0;
}

/* Cards */
.flow-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    padding: 20px 24px;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.flow-card p {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.card-red {
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-teal {
    border: 1px solid rgba(20, 184, 166, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-highlight {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.5);
    padding: 30px 24px;
    margin-top: 40px;
}

.card-highlight p {
    color: white;
    font-size: 16px;
}

/* Ladder Effect (Teal Side) */
.ladder-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
    z-index: 0;
}

.ladder-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #334155;
    border-radius: 4px;
}

.left-rail {
    left: 0;
}

.right-rail {
    right: 0;
}

.ladder-rung {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #334155;
    border-radius: 4px;
}

/* Distribute rungs */
.rung-1 {
    top: 10%;
}

.rung-2 {
    top: 20%;
}

.rung-3 {
    top: 30%;
}

.rung-4 {
    top: 40%;
}

.rung-5 {
    top: 50%;
}

.rung-6 {
    top: 60%;
}

.rung-7 {
    top: 70%;
}

.rung-8 {
    top: 80%;
}

.rung-9 {
    top: 90%;
}

.rung-10 {
    top: 95%;
}


/* Annotations */
.annotation-text {
    position: absolute;
    font-family: 'Handwriting', cursive, sans-serif;
    /* Fallback */
    font-size: 12px;
    color: #94a3b8;
    top: -20px;
    right: 10px;
    font-style: italic;
}

.text-teal {
    color: #14b8a6;
}

.curved-arrow {
    position: absolute;
    top: -15px;
    right: -30px;
    transform: rotate(10deg);
}

.arrow-teal {
    right: auto;
    left: -30px;
    transform: rotateY(180deg) rotate(10deg);
}

.spacer-visual {
    height: 100px;
    /* Space for climbing progress */
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .comparison-grid {
        flex-direction: row;
        /* Keep side by side */
        gap: 12px;
        /* Tight gap */
        align-items: stretch;
        padding: 0 10px;
    }

    .comparison-column {
        min-width: 0;
        /* Allow shrinking */
    }

    .comparison-title-box {
        padding: 16px 10px;
        margin-bottom: 24px;
        border-radius: 12px;
    }

    .comparison-title-box h3 {
        font-size: 14px;
        /* Smaller title */
    }

    .icon-circle {
        width: 24px;
        height: 24px;
        font-size: 10px;
        bottom: -10px;
        right: -10px;
    }

    .flow-card {
        padding: 12px;
        border-radius: 8px;
    }

    .flow-card p {
        font-size: 11px;
        /* Significantly smaller text */
        line-height: 1.4;
    }

    .card-highlight {
        padding: 20px 12px;
        margin-top: 20px;
    }

    .card-highlight p {
        font-size: 12px;
    }

    .timeline-flow {
        gap: 20px;
    }

    .spacer-visual {
        height: 60px;
    }

    /* Adjust ladder/line for density */
    .ladder-container {
        width: 24px;
    }

    .ladder-rail {
        width: 2px;
    }

    .ladder-rung {
        height: 2px;
    }
}