/* =======================================================
   SECTION 11 : FEATURES & CAPABILITIES SHOWCASE
======================================================= */
.features-section {
    position: relative;
    padding: 110px 5.5%;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(46, 196, 255, 0.075), transparent 28%),
        radial-gradient(circle at 90% 83%, rgba(46, 213, 115, 0.06), transparent 30%),
        linear-gradient(180deg, #091a2a 0%, #07111d 100%);
}
.features-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(98, 205, 249, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 205, 249, 0.04) 1px, transparent 1px);
    background-size: 58px 58px;
    pointer-events: none;
}
.features-section .section-header,
.features-grid,
.comparison-panel,
.feature-callout {
    position: relative;
    z-index: 1;
    width: min(1380px, 100%);
    margin-right: auto;
    margin-left: auto;
}
/* ---------- Feature card grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 23px;
    border: 1px solid rgba(132, 211, 244, 0.16);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(18, 46, 68, 0.78), rgba(6, 23, 37, 0.84));
    box-shadow:
        0 17px 45px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 196, 255, 0.4);
    background:
        linear-gradient(145deg, rgba(22, 63, 89, 0.9), rgba(7, 31, 47, 0.92));
    box-shadow:
        0 27px 58px rgba(0, 0, 0, 0.28),
        0 0 27px rgba(46, 196, 255, 0.08);
}
.feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 1px solid rgba(46, 196, 255, 0.23);
    border-radius: 11px;
    background: rgba(46, 196, 255, 0.09);
    font-size: 1.25rem;
    place-items: center;
}
.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    border-color: rgba(46, 213, 115, 0.25);
    background: rgba(46, 213, 115, 0.08);
}
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(7) .feature-icon {
    border-color: rgba(255, 177, 66, 0.25);
    background: rgba(255, 177, 66, 0.08);
}
.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(8) .feature-icon {
    border-color: rgba(180, 130, 255, 0.25);
    background: rgba(180, 130, 255, 0.09);
}
.feature-card h3 {
    margin: 0;
    color: #e8f9ff;
    font-size: 0.91rem;
    font-weight: 600;
}
.feature-card p {
    margin: 10px 0 17px;
    color: #99b8c6;
    font-size: 0.74rem;
    line-height: 1.68;
}
.feature-card a {
    margin-top: auto;
    color: #76dcff;
    font-size: 0.73rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.feature-card a:hover {
    color: #e2f9ff;
}
/* ---------- Feature comparison ---------- */
.comparison-panel {
    padding: 0;
    margin-top: 24px;
    overflow: hidden;
}
.comparison-panel::before {
    display: none;
}
.comparison-panel .card-header {
    margin: 0;
    padding: 19px 22px;
    border-bottom: 1px solid rgba(132, 211, 244, 0.13);
    background: rgba(46, 196, 255, 0.035);
}
.comparison-panel .card-header h3 {
    margin: 0;
    color: #e8f9ff;
    font-size: 0.94rem;
    font-weight: 600;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
    padding: 15px 17px;
    border-bottom: 1px solid rgba(132, 211, 244, 0.1);
    font-size: 0.74rem;
    text-align: left;
}
.comparison-table th {
    color: #7da2b4;
    background: rgba(3, 17, 29, 0.24);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.comparison-table th:first-child {
    width: 25%;
}
.comparison-table td {
    color: #a7c1cd;
    line-height: 1.45;
}
.comparison-table td:first-child {
    color: #dff5fc;
    font-weight: 600;
}
.comparison-table td:nth-child(2) {
    color: #9bb3bf;
}
.comparison-table td:nth-child(3) {
    color: #9cefc1;
    font-weight: 500;
}
.comparison-table tbody tr {
    transition: background 0.2s ease;
}
.comparison-table tbody tr:hover {
    background: rgba(46, 196, 255, 0.045);
}
.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}
/* ---------- Features callout ---------- */
.feature-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 24px;
    padding: 31px 34px;
    overflow: hidden;
    border: 1px solid rgba(46, 196, 255, 0.27);
    border-radius: 16px;
    background:
        radial-gradient(circle at right center, rgba(46, 196, 255, 0.18), transparent 34%),
        linear-gradient(120deg, rgba(12, 49, 71, 0.9), rgba(8, 27, 44, 0.92));
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.feature-callout::before {
    position: absolute;
    top: -60px;
    right: 18%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(46, 196, 255, 0.12);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 35px rgba(46, 196, 255, 0.035),
        0 0 0 70px rgba(46, 196, 255, 0.02);
    pointer-events: none;
}
.feature-callout > div,
.feature-callout > button {
    position: relative;
    z-index: 1;
}
.feature-callout h3 {
    max-width: 710px;
    margin: 0;
    color: #ecfbff;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.035em;
}
.feature-callout p {
    margin: 10px 0 0;
    color: #a7c9d7;
    font-size: 0.82rem;
    line-height: 1.65;
}
.feature-callout .primary-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
/* ---------- Responsive feature section ---------- */
@media (max-width: 1060px) {
    .features-section {
        padding: 88px 4%;
    }
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feature-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    .features-section {
        padding: 72px 22px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .feature-card {
        min-height: auto;
        padding: 20px;
    }
    .comparison-panel {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 690px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 13px 12px;
        font-size: 0.69rem;
    }
    .feature-callout {
        gap: 20px;
        padding: 26px 22px;
    }
    .feature-callout .primary-btn {
        width: 100%;
    }
}
