.akra-portfolio {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            #05010d 0%,
            #090312 100%);
}

/* =========================================================
   GRID BG
========================================================= */
.akra-portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .35;
}

/* =========================================================
   GLOW
========================================================= */
.case-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(123, 97, 255, .18),
            transparent 70%);
    filter: blur(140px);
    bottom: -300px;
    left: -250px;
    pointer-events: none;
}

/* =========================================================
   HEADING
========================================================= */
.case-heading {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    text-align: center;
    margin-bottom: 90px;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background:
        rgba(255, 255, 255, .04);
    border:
        1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
    font-size: 13px;
    letter-spacing: 3px;
    color:
        rgba(255, 255, 255, .7);
}

.case-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ba6eeb;
    box-shadow:
        0 0 15px #ba6eeb;
}

.case-heading h2 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -3px;
    color: #fff;
    margin-bottom: 26px;
}

.case-heading h2 span {
    background:
        linear-gradient(90deg,
            #7b61ff,
            #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-heading p {
    font-size: 20px;
    line-height: 1.8;
    color:
        rgba(255, 255, 255, .68);
}

/* =========================================================
   FEATURED CASE
========================================================= */
.featured-case {
    position: relative;
    display: grid;
    grid-template-columns:
        1.1fr .9fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* LEFT */
.featured-content {
    position: relative;
    padding: 50px;
    border-radius: 38px;
    background:
        rgba(255, 255, 255, .04);
    border:
        1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.case-category {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background:
        rgba(123, 97, 255, .12);
    border:
        1px solid rgba(123, 97, 255, .25);
    font-size: 13px;
    letter-spacing: 2px;
    color: #d8c6ff;
    margin-bottom: 28px;
}

.featured-content h3 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
}

.featured-content p {
    font-size: 18px;
    line-height: 1.9;
    color:
        rgba(255, 255, 255, .68);
    margin-bottom: 32px;
}

/* TAGS */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.case-tags span {
    padding: 12px 18px;
    border-radius: 999px;
    background:
        rgba(255, 255, 255, .05);
    border:
        1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color:
        rgba(255, 255, 255, .75);
}

/* BUTTON */
.case-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border-radius: 18px;
    background:
        linear-gradient(90deg,
            #7b61ff,
            #ba6eeb);
    color: #fff;
    font-weight: 700;
    transition: .35s;
    box-shadow:
        0 10px 40px rgba(123, 97, 255, .25);
}

.case-btn:hover {
    transform:
        translateY(-4px);
    box-shadow:
        0 15px 50px rgba(123, 97, 255, .4);
}

/* =========================================================
   DASHBOARD
========================================================= */
.featured-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-card {
    position: relative;
    padding: 34px;
    border-radius: 34px;
    background:
        rgba(255, 255, 255, .04);
    border:
        1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.dashboard-card.large {
    flex: 1;
}

.metric-label {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    color:
        rgba(255, 255, 255, .55);
    margin-bottom: 18px;
}

.metric-value {
    font-size: 84px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    margin-bottom: 16px;
    background:
        linear-gradient(90deg,
            #fff,
            #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-growth {
    color: #7cff9d;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 24px;
}

.metric-small {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
}

/* =========================================================
   CASE GRID
========================================================= */
.case-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    background:
        rgba(255, 255, 255, .04);
    border:
        1px solid rgba(255, 255, 255, .08);
    transition: .35s;
}

.case-card:hover {
    transform:
        translateY(-10px);
    border-color:
        rgba(123, 97, 255, .4);
    box-shadow:
        0 0 50px rgba(123, 97, 255, .16);
}

/* IMAGE */
.case-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.case-card:hover img {
    transform: scale(1.08);
}

/* INFO */
.case-info {
    padding: 30px;
}

.case-type {
    display: inline-flex;
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #c084fc;
}

.case-info h4 {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.case-info p {
    font-size: 16px;
    line-height: 1.8;
    color:
        rgba(255, 255, 255, .65);
    margin-bottom: 28px;
}

/* METRICS */
.case-metrics {
    display: flex;
    align-items: center;
    gap: 30px;
}

.case-metrics strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.case-metrics span {
    font-size: 13px;
    color:
        rgba(255, 255, 255, .55);
}

/* =========================================================
   VIEW ALL
========================================================= */
.case-view-all {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.case-view-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 32px;
    border-radius: 22px;
    background:
        rgba(255, 255, 255, .05);
    border:
        1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: .35s;
    color: #fff;
    font-weight: 700;
    letter-spacing: .3px;
}

.case-view-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(123, 97, 255, .22),
            rgba(192, 132, 252, .18));
    opacity: 0;
    transition: .35s;
}

.case-view-btn span,
.case-view-btn svg {
    position: relative;
    z-index: 2;
}

.case-view-btn svg {
    transition: .35s;
}

.case-view-btn:hover {
    transform:
        translateY(-5px);
    border-color:
        rgba(123, 97, 255, .4);
    box-shadow:
        0 0 40px rgba(123, 97, 255, .18);
}

.case-view-btn:hover::before {
    opacity: 1;
}

.case-view-btn:hover svg {
    transform:
        translate(4px, -4px);
}

/* =========================================================
   TABLET
========================================================= */
@media(max-width:992px) {
    .akra-portfolio {
        padding: 100px 0;
    }

    .case-heading h2 {
        font-size: 48px;
    }

    .featured-case {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:768px) {
    .case-heading {
        margin-bottom: 70px;
    }

    .case-heading h2 {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .case-heading p {
        font-size: 16px;
    }

    .featured-content {
        padding: 34px;
    }

    .featured-content h3 {
        font-size: 38px;
    }

    .metric-value {
        font-size: 58px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-info h4 {
        font-size: 28px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media(max-width:576px) {
    .akra-portfolio {
        padding: 80px 0;
    }

    .case-heading h2 {
        font-size: 32px;
    }
}
