/* Features Page Styles */

/* =========================================
   Configuration Panel (Tunable Variables)
   ========================================= */
:root {
    /* SP (Mobile) Strengths Header Configuration */
    --sp-strength-padding: 0;           /* Overall padding for strength text block */
    --sp-strength-head-margin: 20px;    /* Spacing below the (01 / 02) heading */
    --sp-strength-num-margin: 15px;     /* Gap between the number (01) and the name */
    --sp-strength-head-px: 0px;         /* New: Side padding for the (01 / 02) heading */
    --sp-strength-name-size: 19px;      /* New: Mobile font size for strength name */

    /* Download Card Configuration (Figma Sweet Spot!) */
    --download-card-max-width: 1110px;
    --download-card-bg: #F8FAFC;
    --download-card-border: 2px solid rgba(0, 53, 143, 0.5);
    --download-card-radius: 5px;
    --download-card-shadow: 10px 10px 10px rgba(0, 53, 143, 0.3);
}


.features-page {
    position: relative;
    padding-top: 60px;
    padding-bottom: 100px;
    background-color: #F8FAFC;
    overflow: hidden;
}

/* Old CSS bg-layer removed — now using global bpo-mask-bg.png */

.features-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.features-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #000;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.feature-headline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 15px;
    color: #003692; /* Dark blue matching screenshot */
}

.feature-label {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-right: 8px;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
}

.feature-number {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

.feature-badge {
    background-color: #003692; /* Deep blue badge matching screenshot */
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 380px;
}

.feature-badge .badge-jp {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.feature-badge .badge-en {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

.feature-desc {
    align-self: flex-start;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 380px;
    margin: 0 auto;
}

.feature-image {
    flex: 1;
    max-width: 500px;
}

.placeholder-img {
    display: block;
    width: 100%;
    height: auto;
    background-color: #e6e6e6; /* Fallback */
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Summary text below Feature 03 */
.features-summary-text {
    text-align: center;
    margin-top: 100px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
}

/* =========================================
   Strengths Section
   ========================================= */
.strengths-section {
    padding: 80px 0 100px;
    background-color: #F8FAFC;
}

.strengths-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #1a233a;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.strength-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.strength-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.strength-block.reverse {
    flex-direction: row-reverse;
}

.strength-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.strength-headline {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #003692;
}

.strength-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    margin-right: 20px;
}

.strength-name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.strength-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.strength-image {
    flex: 1;
    max-width: 500px;
}

/* =========================================
   Download Section
   ========================================= */
.download-section {
    padding: 60px 20px 100px;
    background-color: #F8FAFC;
}

.download-container {
    max-width: var(--download-card-max-width);
    margin: 0 auto;
}

.download-card {
    display: flex;
    align-items: center;
    background: var(--download-card-bg);
    border: var(--download-card-border);
    border-radius: var(--download-card-radius);
    padding: 40px;
    box-shadow: var(--download-card-shadow);
    gap: 50px;
}

.download-image {
    flex: 1;
    max-width: 45%;
    background: #eef3fb;
    border: 5px solid #b8d2fa; /* Light border imitating screenshot frame */
    padding: 10px;
}

.doc-thumb-placeholder {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); /* very faint inner shadow */
}

.download-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-badge {
    background-color: #003692;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    align-self: center;
}

.download-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 16px 40px;
    border: 1px solid #003692;
    border-radius: 50px;
    color: #003692;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    letter-spacing: 0.05em;
}

.download-btn:hover {
    background: #003692;
    color: #fff;
}

.download-icon {
    margin-right: 12px;
    font-weight: 800;
}

/* =========================================
   Mobile Responsive
   ========================================= */
@media (max-width: 768px) {
    .features-page {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .features-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .feature-list {
        gap: 60px;
    }

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .feature-image {
        max-width: 100%;
    }

    .feature-text {
        align-items: center;
    }

    .feature-badge {
        width: 100%;
        max-width: 310px;
    }

    .feature-desc {
        text-align: left;
        width: 100%;
        max-width: 310px;
    }

    .strengths-section {
        padding: 40px 0 60px;
    }

    .strengths-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .strength-block,
    .strength-block.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .strength-text {
        align-items: center;
        padding: var(--sp-strength-padding);
    }

    .strength-image {
        max-width: 100%;
    }

    .strength-headline {
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: var(--sp-strength-head-margin);
        padding: 0 var(--sp-strength-head-px);
        width: 100%;
        box-sizing: border-box;
    }

    .strength-number {
        font-size: 56px;
        margin-bottom: 0;
        margin-right: var(--sp-strength-num-margin);
    }

    .strength-name {
        font-size: var(--sp-strength-name-size);
        text-align: left;
        white-space: nowrap; /* Keep on one line */
    }

    .strength-desc {
        text-align: left;
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
    }

    .download-card {
        flex-direction: column;
        padding: 40px 20px;
        gap: 24px;
    }

    .download-image {
        max-width: 100%;
    }

    .download-content {
        align-items: center;
    }

    .download-badge {
        padding: 10px 40px;
        font-size: 16px;
        width: auto;
        margin-bottom: 20px;
    }

    .download-desc {
        text-align: left;
        width: 100%;
        max-width: 310px;
        margin-bottom: 30px;
    }

    .download-btn {
        width: 100%;
        max-width: 310px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .sp-br-hidden {
        display: none;
    }
}
