/* ================================
   WHY INTRO SECTION – TYPOGRAPHY
================================ */

.whyIntroSection {
    padding: clamp(4rem, 8vw, 7rem) 0 !important;
}

/* Grid */
.whyIntroGrid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 4rem) !important;
    align-items: center;
}

/* ================================
   HEADINGS
================================ */

.whyIntroContent h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
}

/* Gradient text slightly bigger */
.whyIntroContent h2 .gradientText {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
}

/* ================================
   INTRO NOTE
================================ */

.introNote {
    max-width: 460px;
    margin: 1rem 0 2.5rem;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem) !important;
    line-height: 1.6 !important;
    color: #666;
}

/* ================================
   STACK ITEMS
================================ */

.whyStack {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.5vw, 2.2rem) !important;
}

.whyStackItem {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Numbers */
.stackIndex {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem) !important;
    font-weight: 600;
    opacity: 0.4;
    line-height: 1;
}

/* Titles */
.stackContent h4 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
    margin-bottom: 0.4rem !important;
}

/* Paragraphs */
.stackContent p {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem) !important;
    line-height: 1.55 !important;
    color: #555;
}

/* ================================
   ILLUSTRATION
================================ */

.whyIntroVisual img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .whyIntroGrid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .whyIntroVisual {
        order: -1;
        max-width: 420px;
        margin-bottom: 3rem;
    }
}


.whyStackItem:hover .stackIndex {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.whyStackItem:hover h4 {
    transform: translateX(4px);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.whyFloatingSection {
    padding: 6rem 2rem;
    background: #fff;
}

.floatingHeader h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
}

.floatingHeader p {
    font-size: clamp(1rem, 1.2vw, 1.2rem) !important;
    color: #555;
    max-width: 650px;
    margin: 1rem auto 3rem;
}

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

.floatingCard {
    background: linear-gradient(135deg, rgba(0,255,213,0.1), rgba(138,92,255,0.1));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.floatingCard i {
    color: #8a5cff;
    margin-bottom: 1rem;
}

.floatingCard h4 {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    margin-bottom: 0.8rem;
}

.floatingCard p {
    font-size: clamp(0.9rem, 1vw, 1.05rem) !important;
    color: #666;
    line-height: 1.6;
}

.floatingCard:hover {
    transform: translateY(-12px) rotate(2deg) scale(1.05);
    box-shadow: 0 16px 40px rgba(138,92,255,0.3);
}

