/* ═══════════════════════════════════════
   FEATURES / CORPORATE VALUE SECTION
═══════════════════════════════════════ */
.features-section {
    padding: clamp(72px, 10vw, 130px) 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: #f7fafd;
    background: url(../img/page-bg-new.png) top center no-repeat;
    background-size: cover;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 5% 15%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 95% 85%, rgba(6, 182, 212, 0.05) 0%, transparent 45%);
}

/* ── WATERMARKS ── */
.watermark {
    position: absolute;
    top: 18%;
    transform: translateY(-50%);
    font-family: 'Sora', sans-serif;
    font-size: clamp(80px, 14vw, 160px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(37, 99, 235, 0.04);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
}

.watermark.left {
    left: -2%;
}

.watermark.right {
    right: -2%;
}

/* ── HEADER ── */
.corporate-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: #2563eb;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.corporate-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #06b6d4;
    animation: corpBadgePulse 2.4s ease-in-out infinite;
}

@keyframes corpBadgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }

    60% {
        box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

.corp-main-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #0b1f3a;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.corp-main-title .accent {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.corporate-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #7a8fa6;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── GRID ── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 2vw, 22px);
    position: relative;
    z-index: 1;
}

/* ── FEATURE CARD ── */
.feature-box {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.09);
    box-shadow: 0 4px 24px rgba(11, 31, 58, 0.07);
    padding: clamp(20px, 2.5vw, 28px);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
    cursor: default;
}

/* top accent bar — colour per card index */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

/* subtle glow overlay */
.feature-box::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 95% 5%, rgba(37, 99, 235, 0.02) 0%, transparent 55%);
}

/* 8 different accent gradients, one per card */
.feature-box[data-index="0"]::before {
    background: linear-gradient(90deg, #1d4ed8, #3b82f6, #06b6d4);
}

.feature-box[data-index="1"]::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #06b6d4);
}

.feature-box[data-index="2"]::before {
    background: linear-gradient(90deg, #065f46, #10b981, #06b6d4);
}

.feature-box[data-index="3"]::before {
    background: linear-gradient(90deg, #b45309, #f59e0b, #fbbf24);
}

.feature-box[data-index="4"]::before {
    background: linear-gradient(90deg, #be185d, #ec4899, #f472b6);
}

.feature-box[data-index="5"]::before {
    background: linear-gradient(90deg, #0369a1, #38bdf8, #06b6d4);
}

.feature-box[data-index="6"]::before {
    background: linear-gradient(90deg, #065f46, #16a34a, #4ade80);
}

.feature-box[data-index="7"]::before {
    background: linear-gradient(90deg, #6d28d9, #2563eb, #06b6d4);
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(11, 31, 58, 0.13);
    border-color: rgba(37, 99, 235, 0.2);
}

/* ── ICON WRAP ── */
.feature-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.feature-icon-wrap::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
    border-radius: 50%;
}

.feature-box:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

/* Icon gradient per index */
.feature-box[data-index="0"] .feature-icon-wrap {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.30);
}

.feature-box[data-index="1"] .feature-icon-wrap {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 5px 16px rgba(124, 58, 237, 0.30);
}

.feature-box[data-index="2"] .feature-icon-wrap {
    background: linear-gradient(135deg, #065f46, #10b981);
    box-shadow: 0 5px 16px rgba(16, 185, 129, 0.30);
}

.feature-box[data-index="3"] .feature-icon-wrap {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    box-shadow: 0 5px 16px rgba(245, 158, 11, 0.30);
}

.feature-box[data-index="4"] .feature-icon-wrap {
    background: linear-gradient(135deg, #be185d, #ec4899);
    box-shadow: 0 5px 16px rgba(236, 72, 153, 0.30);
}

.feature-box[data-index="5"] .feature-icon-wrap {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    box-shadow: 0 5px 16px rgba(56, 189, 248, 0.30);
}

.feature-box[data-index="6"] .feature-icon-wrap {
    background: linear-gradient(135deg, #065f46, #16a34a);
    box-shadow: 0 5px 16px rgba(22, 163, 74, 0.30);
}

.feature-box[data-index="7"] .feature-icon-wrap {
    background: linear-gradient(135deg, #6d28d9, #2563eb);
    box-shadow: 0 5px 16px rgba(109, 40, 217, 0.30);
}

/* ── CARD CONTENT ── */
.card-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.value-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: #0b1f3a;
    line-height: 1.25;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.initial-letter {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    display: block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-text {
    font-size: clamp(0.82rem, 1.15vw, 0.93rem);
    font-weight: 800;
    color: #0b1f3a;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

/* Letter colour per index */
.feature-box[data-index="0"] .initial-letter {
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="1"] .initial-letter {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="2"] .initial-letter {
    background: linear-gradient(135deg, #065f46, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="3"] .initial-letter {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="4"] .initial-letter {
    background: linear-gradient(135deg, #be185d, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="5"] .initial-letter {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="6"] .initial-letter {
    background: linear-gradient(135deg, #065f46, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box[data-index="7"] .initial-letter {
    background: linear-gradient(135deg, #6d28d9, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-desc {
    font-size: clamp(0.79rem, 1.1vw, 0.86rem);
    color: #7a8fa6;
    line-height: 1.7;
    margin: 0;
}

/* ── BOTTOM TAG ── */
.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
    margin-top: 2px;
}

.feature-box[data-index="0"] .value-tag {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.feature-box[data-index="1"] .value-tag {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.feature-box[data-index="2"] .value-tag {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-box[data-index="3"] .value-tag {
    background: rgba(245, 158, 11, 0.08);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.feature-box[data-index="4"] .value-tag {
    background: rgba(236, 72, 153, 0.08);
    color: #be185d;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.feature-box[data-index="5"] .value-tag {
    background: rgba(56, 189, 248, 0.08);
    color: #0369a1;
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.feature-box[data-index="6"] .value-tag {
    background: rgba(22, 163, 74, 0.08);
    color: #065f46;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.feature-box[data-index="7"] .value-tag {
    background: rgba(109, 40, 217, 0.08);
    color: #6d28d9;
    border: 1px solid rgba(109, 40, 217, 0.15);
}

/* ── ANIMATIONS ── */
.fade-down {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease .1s, transform .6s ease .1s;
}

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.feature-box {
    transition-property: transform, box-shadow, border-color, opacity;
}

.feature-box[data-index="0"] {
    transition-delay: .04s;
}

.feature-box[data-index="1"] {
    transition-delay: .08s;
}

.feature-box[data-index="2"] {
    transition-delay: .12s;
}

.feature-box[data-index="3"] {
    transition-delay: .16s;
}

.feature-box[data-index="4"] {
    transition-delay: .20s;
}

.feature-box[data-index="5"] {
    transition-delay: .24s;
}

.feature-box[data-index="6"] {
    transition-delay: .28s;
}

.feature-box[data-index="7"] {
    transition-delay: .32s;
}

.in-view {
    opacity: 1 !important;
    transform: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-box {
        padding: 16px;
        gap: 13px;
    }

    .feature-icon-wrap {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .initial-letter {
        font-size: 1.7rem;
    }

    .title-text {
        font-size: 0.79rem;
    }

    .value-desc {
        font-size: 0.76rem;
    }

    .watermark {
        font-size: clamp(60px, 10vw, 100px);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .feature-box {
        padding: 14px;
        gap: 12px;
    }

    .feature-icon-wrap {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 11px;
        font-size: 1rem;
    }

    .initial-letter {
        font-size: 1.6rem;
    }

    .title-text {
        font-size: 0.82rem;
    }

    .value-desc {
        font-size: 0.77rem;
    }

    .corp-main-title {
        font-size: 1.7rem;
    }

    .corporate-badge {
        font-size: 0.66rem;
        padding: 7px 16px;
        letter-spacing: 2px;
    }

    .corporate-sub {
        font-size: 0.9rem;
    }

    .watermark {
        display: none;
    }
}

@media (max-width: 380px) {
    .corp-main-title {
        font-size: 1.45rem;
    }

    .initial-letter {
        font-size: 1.4rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .feature-box:hover {
        transform: none;
        box-shadow: 0 4px 24px rgba(11, 31, 58, 0.07);
    }

    .feature-box:hover .feature-icon-wrap {
        transform: none;
    }
}