/* ============================
   What is WAY? — Page Styles
   ============================ */

/* Page wrapper */
.wiw-page {
    background: var(--bg-dark);
    width: 100%;
    padding-top: 80px; /* offset for fixed header */
}

/* ---- Shared Utilities ---- */
.wiw-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    color: var(--text-white);
}

.wiw-section-subtitle-gradient {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image placeholder boxes */
.wiw-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(83, 234, 253, 0.3);
    border-radius: 22px;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.placeholder-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.wiw-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 28px;
}


/* ================================
   Section 1: Hero
   ================================ */
.wiw-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 102px 0px;
    gap: 80px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.wiw-hero-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px 80px;
    gap: 32px;
    width: 100%;
    max-width: 1440px;
    height: 409px;
}

.wiw-hero-text {
    position: relative;
    width: 587px;
    height: 348px;
    flex-shrink: 0;
}

.wiw-hero-title {
    width: fit-content;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -2.4px;
    background: linear-gradient(90deg, #53EAFD 0%, #8EC5FF 50%, #C4B4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.wiw-hero-paragraphs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: 573px;
    margin-top: 32px;
}

.wiw-hero-paragraphs p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    color: #D1D5DC;
    margin: 0;
}

.wiw-hero-image {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    width: 654px;
    height: 409px;
    flex-shrink: 0;
}

.wiw-hero-img {
    width: 654.94px;
    height: 409.34px;
    object-fit: cover;
    border-radius: 21.83px;
    box-shadow: 
        0px 27.29px 34.11px -6.82px rgba(0, 0, 0, 0.1),
        0px 10.92px 13.64px -8.19px rgba(0, 0, 0, 0.1),
        0px 0px 40px 10px rgba(10, 14, 39, 0.7);
    -webkit-mask-image: radial-gradient(ellipse 95% 92% at center, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 92% at center, black 60%, transparent 100%);
}


/* ================================
   Section 2: WAY Learning Journey
   ================================ */
.wiw-journey {
    padding: 0 80px 80px;
}

.wiw-journey-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.wiw-journey-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 26px;
    max-width: 1280px;
    height: 262px;
    margin: 0 auto;
}

.wiw-journey-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
    width: 235px;
    height: 262px;
    background: rgba(10, 14, 39, 0.4);
    border: 1px solid var(--border-white);
    border-radius: 24px;
}


.wiw-card-icon-box {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 9px;
    width: 80px;
    height: 80px;
    background: rgba(83, 234, 253, 0.1);
    border: 1px solid rgba(83, 234, 253, 0.2);
    border-radius: 16px;
}

.wiw-journey-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.wiw-journey-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: var(--text-white);
    margin: 0;
}

.wiw-journey-card p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}


/* ================================
   Section 3: Competencies Grid
   ================================ */
.wiw-competencies {
    padding: 0 80px 80px;
}

.wiw-competencies-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.wiw-competencies-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0;
}

.wiw-competencies-grid {
    display: grid;
    grid-template-columns: repeat(4, 302px);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

.wiw-comp-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 8px;
    width: 302px;
    height: 238px;
    background: rgba(10, 14, 39, 0.4);
    border: 1px solid var(--border-white);
    border-radius: 24px;
}

.wiw-comp-icon {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 90px;
    height: 90px;
    background: rgba(83, 234, 253, 0.1);
    border: 1px solid rgba(83, 234, 253, 0.2);
    border-radius: 16px;
    flex-shrink: 0;
}

.wiw-comp-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.wiw-comp-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: var(--text-white);
    margin: 0;
}

.wiw-comp-card p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}


/* ================================
   Section 4: Experimental Study
   ================================ */
.wiw-study {
    padding: 0 80px 80px;
}

.wiw-study-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px;
    max-width: 1260px;
    margin: 0 auto;
    background: rgba(10, 14, 39, 0.4);
    border: 1px solid var(--border-white);
    border-radius: 32px;
}

.wiw-study-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1132px;
}

.wiw-study-badge {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    background: rgba(83, 234, 253, 0.1);
    border: 1px solid rgba(83, 234, 253, 0.2);
    border-radius: 9999px;
}

.wiw-study-badge span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: var(--cyan);
}

.wiw-study-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.wiw-study-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 52px;
    color: var(--text-white);
    margin: 0;
}

.wiw-study-header p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: var(--text-light);
    max-width: 1132px;
    margin: 0;
}

.wiw-study-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 900px;
}

.wiw-study-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: center;
}

.wiw-study-item--cyan {
    border: 1px solid rgba(83, 234, 253, 0.2);
}

.wiw-study-item--blue {
    border: 1px solid rgba(142, 197, 255, 0.2);
}

.wiw-study-item--purple {
    border: 1px solid rgba(196, 180, 255, 0.2);
}

.wiw-study-item h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: var(--cyan);
    margin: 0;
}

.wiw-study-item p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}


/* ================================
   Responsive — Tablet
   ================================ */
@media (max-width: 1024px) {
    .wiw-hero {
        padding: 60px 0;
    }

    .wiw-hero-inner {
        flex-direction: column;
        align-items: center;
        padding: 0 40px;
        height: auto;
        gap: 40px;
    }

    .wiw-hero-text {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .wiw-hero-title {
        width: 100%;
    }

    .wiw-hero-paragraphs {
        width: 100%;
        align-items: center;
    }

    .wiw-hero-paragraphs p {
        text-align: center;
    }

    .wiw-hero-image {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .wiw-hero-img {
        width: 100%;
        max-width: 654px;
        height: auto;
    }

    .wiw-journey,
    .wiw-competencies,
    .wiw-study {
        padding: 0 40px 60px;
    }

    .wiw-journey-cards {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }

    .wiw-competencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wiw-comp-card {
        width: 100%;
        height: auto;
        min-height: 238px;
    }

    .wiw-study-card {
        padding: 40px 24px;
    }

    .wiw-section-title {
        font-size: 36px;
        line-height: 44px;
    }

    .wiw-section-subtitle-gradient {
        font-size: 28px;
        line-height: 36px;
    }
}


/* ================================
   Responsive — Mobile
   ================================ */
@media (max-width: 768px) {
    .wiw-hero {
        padding: 40px 0;
    }

    .wiw-hero-inner {
        padding: 0 20px;
        gap: 32px;
    }

    .wiw-hero-text {
        text-align: center;
    }

    .wiw-hero-title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -1px;
        width: 100%;
        text-align: center;
    }

    .wiw-hero-paragraphs {
        margin-top: 20px;
        gap: 20px;
    }

    .wiw-hero-paragraphs p {
        font-size: 16px;
        line-height: 26px;
        text-align: center;
    }

    .wiw-hero-img {
        border-radius: 16px;
    }

    .wiw-journey,
    .wiw-competencies,
    .wiw-study {
        padding: 0 20px 48px;
    }

    .wiw-journey-cards {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .wiw-journey-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 200px;
    }

    .wiw-competencies-grid {
        grid-template-columns: 1fr;
    }

    .wiw-comp-card {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .wiw-section-title {
        font-size: 24px;
        line-height: 32px;
        text-align: center;
    }

    .wiw-section-subtitle-gradient {
        font-size: 20px;
        line-height: 28px;
        text-align: center;
    }

    .wiw-competencies-desc {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .wiw-study-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .wiw-study-header h2 {
        font-size: 24px;
        line-height: 32px;
        text-align: center;
    }

    .wiw-study-header p {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .wiw-study-item h3 {
        font-size: 16px;
    }

    .wiw-study-item p {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    .wiw-study-badge span {
        font-size: 13px;
    }
}
