/* =========================================
   SERVICE DETAIL PAGES
   (web development, graphic design,
    mobile shop management software)
========================================= */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19.5px;
    align-items: stretch;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.plan-card {
    padding: 33px 30px;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 25.5px;

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-4.5px);
    border-color: #e2e2e2;
    box-shadow: 0 12px 37.5px rgba(0, 0, 0, 0.06);
}

.plan-card.featured {
    border-color: #111111;
}

.plan-card h2 {
    margin-bottom: 15px;

    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10.5px;

    margin-bottom: 18px;
}

.plan-price .now {
    font-size: 31.5px;
    font-weight: 700;
    letter-spacing: -0.9px;
}

.plan-price .was {
    font-size: 13.5px;
    color: #90969d;
    text-decoration: line-through;
}

.plan-price .off {
    padding: 3px 12px;

    border-radius: 22.5px;
    background: #f0f1f3;

    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #444444;
}

.plan-best {
    margin-bottom: 18px;

    font-size: 12px;
    line-height: 1.45;
    color: #777777;
}

.plan-features {
    list-style: none;
    margin-bottom: 21px;
}

.plan-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 9px;

    font-size: 12px;
    line-height: 1.5;
    color: #555555;
}

.plan-features li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0.6em;

    width: 9px;
    height: 1px;
    background: #c4c8cd;
}

.plan-meta {
    margin-top: auto;
    margin-bottom: 21px;
    padding-top: 18px;

    border-top: 1px solid #f0f1f3;

    display: grid;
    gap: 6px;

    font-size: 12px;
    color: #777777;
}

.plan-meta b {
    color: #111111;
    font-weight: 600;
}

.plan-card .btn {
    height: 48px;
    font-size: 13.5px;
}


/* Feature list (software page) */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 33px 60px;

    margin-top: 9px;
}

.feature {
    padding-left: 21px;
    border-left: 1px solid #e7e8ea;
}

.feature h2 {
    margin-bottom: 9px;

    font-size: 16.5px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.feature p {
    font-size: 12.8px;
    line-height: 1.55;
    color: #777777;
}

.intro-text {
    max-width: 705px;
    margin-bottom: 51px;

    font-size: 16.5px;
    line-height: 1.6;
    color: #657080;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1120px) {

    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .plan-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .plan-card h2 {
        font-size: 21px;
    }

    .plan-price .now {
        font-size: 36px;
    }

    .plan-price .was,
    .plan-best,
    .plan-features li,
    .plan-meta,
    .feature p {
        font-size: 15px;
    }

    .feature h2 {
        font-size: 19.5px;
    }

    .plan-card .btn {
        height: 54px;
        font-size: 15px;
    }
}
