/* ========================================
   OTAU FEATURES BLOCK — REDESIGNED
   Full-width section with unified bg,
   left-aligned 2×2 cards, description,
   and animated stat counters.
   ======================================== */

/* ---- Section wrapper ---- */
.otau-features-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a0a1a;
}

/* ---- Background image (covers entire section) ---- */
.otau-features-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ---- Overlay ---- */
.otau-features-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.7) 100%);
}

/* ---- Inner content container ---- */
.otau-features-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 1.5rem;
}

/* ========================================
   SECTION TITLE (products-title style)
   ======================================== */
.otau-features-title-container {
    margin-bottom: 2.5rem;
}

.otau-features-title-wrapper {
    position: relative;
    display: inline-block;
}

.otau-features-title-accent {
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0.6));
    border-radius: 9999px;
}

.otau-features-title {
    color: white;
    font-size: 27px;
    font-weight: 600;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 0 0.5rem 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    margin: 0;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* ========================================
   2×2 CARD GRID — 75% width, left-aligned
   ======================================== */
.otau-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.75rem;
    column-gap: 4rem;
    max-width: 100%;
}

/* ---- Individual card ---- */
.otau-feature-card {
    position: relative;
    border-radius: 1rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.otau-feature-card-inner {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: calc(1rem - 12px);
}

.otau-feature-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.otau-feature-card:hover .otau-feature-card-bg {
    transform: scale(1.05);
}

.otau-feature-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.4s ease;
}

.otau-feature-card:hover .otau-feature-card-overlay {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.15) 100%);
}

/* ---- Icon badge — top right ---- */
.otau-feature-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.otau-feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.otau-feature-card:hover .otau-feature-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* ---- Card text content ---- */
.otau-feature-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.otau-feature-card-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: calc(100% - 60px);
}

.otau-feature-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
}

/* ========================================
   DESCRIPTION TEXT
   ======================================== */
.otau-features-desc {
    margin-top: 2.5rem;
    color: white;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
}

.otau-features-desc p {
    margin: 0 0 0.75rem;
}

.otau-features-desc b,
.otau-features-desc strong {
    font-weight: 700;
    font-size: 1.15rem;
}

/* ========================================
   STAT COUNTERS
   ======================================== */
.otau-features-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.otau-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
}

.otau-stat:first-child {
    padding-left: 0;
    border-left: none;
}

.otau-stat-value {
    color: white;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: none;
}

.otau-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.4;
    max-width: 200px;
}

/* ========================================
   RESPONSIVE — TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .otau-features-inner {
        padding: 2.5rem 2rem 1rem;
    }

    .otau-features-grid {
        max-width: 85%;
    }

    .otau-features-desc {
        max-width: 90%;
    }
}

/* ========================================
   RESPONSIVE — TABLET SMALL (768px)
   ======================================== */
@media (max-width: 768px) {
    .otau-features-inner {
        padding: 2rem 1.25rem 1rem;
    }

    .otau-features-title {
        font-size: 1.25rem;
    }

    .otau-features-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1rem;
    }

    .otau-feature-card {
        min-height: 180px;
    }

    .otau-feature-card-title {
        font-size: 1.15rem;
    }

    .otau-feature-text {
        font-size: 0.8125rem;
    }

    .otau-feature-icon {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }

    .otau-feature-icon img {
        width: 22px;
        height: 22px;
    }

    .otau-features-desc {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .otau-features-stats {
        flex-direction: column;
        gap: 0;
    }

    .otau-stat {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 1.25rem 0;
    }

    .otau-stat:first-child {
        border-top: none;
    }

    .otau-stat-value {
        font-size: 2.25rem;
    }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    .otau-features-inner {
        padding: 1.5rem 0.75rem 1rem;
    }

    .otau-features-title {
        font-size: 1.1rem;
        padding: 0.375rem 0.75rem;
    }

    .otau-features-title-accent {
        left: -12px;
        width: 3px;
    }

    .otau-feature-card {
        min-height: 160px;
    }

    .otau-feature-content {
        padding: 1.25rem;
    }

    .otau-feature-card-title {
        font-size: 1.05rem;
    }

    .otau-stat-value {
        font-size: 2rem;
    }

    .otau-stat-label {
        font-size: 0.8rem;
    }
}