/* =========================================================
   WordPress Technology & Solutions
   Premium CMS Section
   ========================================================= */

.wp-tech-premium {
    position: relative;
    overflow: hidden;
    padding: 105px 0 100px;
    background:
        radial-gradient(circle at 88% 14%, rgba(50, 128, 246, .11), transparent 27%),
        radial-gradient(circle at 8% 85%, rgba(115, 78, 225, .09), transparent 27%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 50%, #ffffff 100%);
    isolation: isolate;
}

.wp-tech-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(90deg, rgba(35, 108, 225, .025) 1px, transparent 1px),
        linear-gradient(rgba(35, 108, 225, .025) 1px, transparent 1px);
    background-size: 68px 68px;
    pointer-events: none;
}

.wp-tech-premium__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
}

.wp-tech-premium__orb--one {
    width: 320px;
    height: 320px;
    right: -170px;
    top: -135px;
    background: rgba(36, 119, 239, .075);
}

.wp-tech-premium__orb--two {
    width: 360px;
    height: 360px;
    left: -215px;
    bottom: -190px;
    background: rgba(112, 77, 223, .065);
}

.wp-tech-premium__rings {
    position: absolute;
    right: -215px;
    bottom: -215px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(36, 111, 232, .08);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(36,111,232,.022),
        0 0 0 96px rgba(36,111,232,.014);
    z-index: -1;
}

/* Header */
.wp-tech-premium__header {
    max-width: 860px;
    margin: 0 auto 54px;
    text-align: center;
}

.wp-tech-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 7px 16px 7px 8px;
    border: 1px solid rgba(36, 110, 232, .13);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 10px 28px rgba(31,82,150,.07);
    color: #1469e9;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.wp-tech-premium__badge-icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f1ff;
    color: #1469e9;
    font-size: 13px;
}

.wp-tech-premium__title {
    margin: 0 0 16px;
    color: #071b3b;
    font-size: clamp(36px, 4.2vw, 57px);
    line-height: 1.06;
    font-weight: 850;
    letter-spacing: -1.9px;
}

.wp-tech-premium__description {
    max-width: 745px;
    margin: 0 auto;
    color: #657792;
    font-size: 15px;
    line-height: 1.8;
}

/* Main layout */
.wp-tech-premium__layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.65fr);
    gap: 25px;
    align-items: stretch;
}

/* Visual */
.wp-tech-premium__visual {
    display: flex;
}

.wp-tech-premium__visual-card {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    padding: 25px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 80% 20%, rgba(72, 144, 249, .22), transparent 30%),
        linear-gradient(145deg, #071b3b, #0c2c58 58%, #0a1d3b);
    box-shadow: 0 28px 65px rgba(24,67,126,.19);
}

.wp-tech-premium__visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 45px 45px;
    pointer-events: none;
}

.wp-tech-premium__visual-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -115px;
    bottom: -115px;
    border: 1px solid rgba(112, 179, 255, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(112,179,255,.025);
}

.wp-tech-premium__visual-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wp-tech-premium__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #76b1ff;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .10em;
}

.wp-tech-premium__status i {
    color: #4ad39f;
    font-size: 6px;
}

.wp-tech-premium__version {
    padding: 5px 9px;
    border: 1px solid rgba(121, 180, 255, .14);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: #90a9c8;
    font-size: 8px;
    font-weight: 800;
}

.wp-tech-premium__wordpress-mark {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 45px auto 33px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-tech-premium__w {
    position: relative;
    z-index: 2;
    width: 126px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(125, 190, 255, .24);
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    color: #74b1ff;
    font-family: Arial, sans-serif;
    font-size: 73px;
    line-height: 1;
    font-weight: 900;
    box-shadow:
        0 0 45px rgba(42,128,244,.14),
        inset 0 0 35px rgba(94,169,255,.05);
}

.wp-tech-premium__w-ring {
    position: absolute;
    width: 174px;
    height: 174px;
    border: 1px dashed rgba(116, 178, 255, .18);
    border-radius: 50%;
}

.wp-tech-premium__visual-copy {
    position: relative;
    z-index: 2;
    text-align: center;
}

.wp-tech-premium__visual-copy strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.wp-tech-premium__visual-copy p {
    max-width: 280px;
    margin: 0 auto;
    color: #91a7c4;
    font-size: 10.5px;
    line-height: 1.7;
}

.wp-tech-premium__stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 27px;
}

.wp-tech-premium__stack span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(113,178,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: #9ab0cc;
    font-size: 8px;
    font-weight: 700;
}

.wp-tech-premium__stack i {
    color: #68aaff;
}

/* Cards */
.wp-tech-premium__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wp-tech-premium__card {
    position: relative;
    min-height: 242px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 21px;
    border: 1px solid rgba(35, 108, 224, .10);
    border-radius: 19px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 16px 40px rgba(28,73,135,.07);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.wp-tech-premium__card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1268ef, #7653df);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.wp-tech-premium__card:hover {
    transform: translateY(-7px);
    border-color: rgba(35,108,224,.22);
    box-shadow: 0 25px 55px rgba(28,73,135,.13);
}

.wp-tech-premium__card:hover::before {
    transform: scaleX(1);
}

.wp-tech-premium__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.wp-tech-premium__number {
    color: #aab9cc;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
}

.wp-tech-premium__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(35,108,224,.09);
    border-radius: 14px;
    background: #edf5ff;
    color: #1469e9;
    font-size: 18px;
}

.wp-tech-premium__card:nth-child(2) .wp-tech-premium__icon,
.wp-tech-premium__card:nth-child(5) .wp-tech-premium__icon {
    background: #f0ebff;
    color: #7051db;
}

.wp-tech-premium__card:nth-child(3) .wp-tech-premium__icon,
.wp-tech-premium__card:nth-child(6) .wp-tech-premium__icon {
    background: #e4faf3;
    color: #0a9b72;
}

.wp-tech-premium__card:nth-child(4) .wp-tech-premium__icon,
.wp-tech-premium__card:nth-child(7) .wp-tech-premium__icon {
    background: #fff1df;
    color: #db871c;
}

.wp-tech-premium__card:nth-child(8) .wp-tech-premium__icon {
    background: #e2f7fc;
    color: #0a88a7;
}

.wp-tech-premium__card-body {
    flex: 1;
}

.wp-tech-premium__tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #377dd9;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.wp-tech-premium__card h3 {
    margin: 0 0 9px;
    color: #0a2142;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.wp-tech-premium__card p {
    margin: 0;
    color: #687c98;
    font-size: 10.5px;
    line-height: 1.68;
}

.wp-tech-premium__card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f6fd;
    color: #6790bd;
    font-size: 9px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.wp-tech-premium__card:hover .wp-tech-premium__card-arrow {
    transform: translate(2px, -2px);
    background: #e5f0ff;
    color: #1469e9;
}

/* CTA */
.wp-tech-premium__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    max-width: 1050px;
    min-height: 83px;
    margin: 42px auto 0;
    padding: 14px 16px 14px 20px;
    border: 1px solid rgba(35,108,224,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 17px 40px rgba(28,73,135,.07);
    backdrop-filter: blur(10px);
}

.wp-tech-premium__cta-content {
    display: flex;
    align-items: center;
    gap: 13px;
}

.wp-tech-premium__cta-icon {
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #e8f2ff;
    color: #1469e9;
    font-size: 17px;
}

.wp-tech-premium__cta-content strong {
    display: block;
    margin-bottom: 4px;
    color: #0a2040;
    font-size: 12px;
    font-weight: 800;
}

.wp-tech-premium__cta-content span {
    color: #7587a0;
    font-size: 10px;
}

.wp-tech-premium__cta-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 51px;
    padding: 6px 8px 6px 20px;
    border-radius: 999px;
    background: linear-gradient(100deg, #1268ef, #4388f5);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 31px rgba(18,104,239,.22);
    transition: transform .3s ease, box-shadow .3s ease;
}

.wp-tech-premium__cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(18,104,239,.30);
}

.wp-tech-premium__cta-button i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #1268ef;
}

/* Tablet */
@media (max-width: 1199.98px) {
    .wp-tech-premium {
        padding: 88px 0 85px;
    }

    .wp-tech-premium__layout {
        grid-template-columns: 1fr;
    }

    .wp-tech-premium__visual-card {
        min-height: 420px;
    }

    .wp-tech-premium__wordpress-mark {
        margin: 35px auto 25px;
    }
}

@media (max-width: 767.98px) {
    .wp-tech-premium__cards {
        grid-template-columns: 1fr;
    }

    .wp-tech-premium__card {
        min-height: 205px;
    }

    .wp-tech-premium__cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .wp-tech-premium__cta-button {
        width: 100%;
        justify-content: space-between;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .wp-tech-premium {
        padding: 65px 0 62px;
    }

    .wp-tech-premium__header {
        margin-bottom: 35px;
    }

    .wp-tech-premium__badge {
        font-size: 8.5px;
        letter-spacing: .07em;
    }

    .wp-tech-premium__title {
        font-size: clamp(30px, 9vw, 40px);
        letter-spacing: -1.2px;
    }

    .wp-tech-premium__description {
        font-size: 13px;
    }

    .wp-tech-premium__visual-card {
        min-height: 400px;
        padding: 20px;
        border-radius: 20px;
    }

    .wp-tech-premium__wordpress-mark {
        width: 155px;
        height: 155px;
        margin: 30px auto 23px;
    }

    .wp-tech-premium__w {
        width: 105px;
        height: 105px;
        font-size: 60px;
    }

    .wp-tech-premium__w-ring {
        width: 143px;
        height: 143px;
    }

    .wp-tech-premium__visual-copy strong {
        font-size: 16px;
    }

    .wp-tech-premium__visual-copy p {
        font-size: 10px;
    }

    .wp-tech-premium__card {
        padding: 19px;
        border-radius: 17px;
    }

    .wp-tech-premium__card h3 {
        font-size: 14px;
    }

    .wp-tech-premium__card p {
        font-size: 10px;
    }

    .wp-tech-premium__cta {
        padding: 15px;
        border-radius: 17px;
    }

    .wp-tech-premium__cta-content {
        align-items: flex-start;
    }

    .wp-tech-premium__cta-content strong {
        font-size: 11px;
    }

    .wp-tech-premium__cta-content span {
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wp-tech-premium *,
    .wp-tech-premium *::before,
    .wp-tech-premium *::after {
        transition: none !important;
        animation: none !important;
    }
}
