/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #111827;

    /* LIGHT BLUE BACKGROUND */
    background:
        linear-gradient(
            180deg,
            #eef6ff 0%,
            #f5f9ff 45%,
            #eef6ff 100%
        );
}


button,
a {
    font: inherit;
}


a {
    color: inherit;
    text-decoration: none;
}



/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        clamp(20px, 5vw, 70px);

    background:
        rgba(255, 255, 255, 0.55);

    border-bottom:
        1px solid rgba(190, 205, 225, 0.6);

    backdrop-filter:
        blur(12px);
}


.logo {
    font-size: 27px;
    font-weight: 700;

    color: #111;
}


.home-btn {
    padding: 9px 15px;

    background: #ffffff;

    border:
        1px solid #dbe4f0;

    border-radius: 9px;

    font-size: 14px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.home-btn:hover {
    background: #f8fbff;

    transform:
        translateY(-1px);
}



/* =========================================
   PAGE
========================================= */

.pricing-page {
    width: 100%;

    padding:
        70px
        clamp(18px, 4vw, 60px)
        40px;
}



/* =========================================
   HEADING
========================================= */

.pricing-heading {
    max-width: 750px;

    margin:
        0 auto 55px;

    text-align: center;
}


.pricing-heading h1 {
    margin-bottom: 15px;

    color: #101828;

    font-size:
        clamp(34px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.pricing-heading p {
    color: #667085;

    font-size: 17px;

    line-height: 1.6;
}



/* =========================================
   PRICING GRID
========================================= */

.pricing-grid {
    width: min(100%, 1350px);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}



/* =========================================
   CARD
========================================= */

.pricing-card {
    min-width: 0;

    position: relative;

    padding:
        30px
        25px;

    background: #ffffff;

    border:
        1px solid #dce6f2;

    border-radius: 20px;

    box-shadow:
        0 8px 30px
        rgba(45, 80, 120, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border 0.25s ease;
}


.pricing-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 15px 40px
        rgba(45, 80, 120, 0.12);
}



/* =========================================
   POPULAR
========================================= */

.popular-card {
    border:
        2px solid #2563eb;

    box-shadow:
        0 12px 35px
        rgba(37, 99, 235, 0.13);
}


.popular-badge {
    position: absolute;

    top: -14px;
    left: 50%;

    transform:
        translateX(-50%);

    padding:
        7px
        15px;

    color: #ffffff;

    background: #2563eb;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}



/* =========================================
   PLAN
========================================= */

.plan-header {
    min-height: 83px;
}


.plan-header h2 {
    margin-bottom: 8px;

    font-size: 25px;
}


.plan-description {
    color: #667085;

    font-size: 14px;

    line-height: 1.5;
}



/* =========================================
   PRICE
========================================= */

.price {
    min-height: 62px;

    display: flex;
    align-items: flex-start;

    margin-top: 10px;
}


.currency {
    margin:
        7px
        3px
        0 0;

    font-size: 20px;
    font-weight: 600;
}


.amount {
    font-size: 48px;
    font-weight: 700;

    letter-spacing: -2px;
}


.payment-type {
    min-height: 20px;

    margin-bottom: 24px;

    color: #667085;

    font-size: 13px;
}



/* =========================================
   PLAN BUTTON
========================================= */

.plan-btn {
    width: 100%;
    height: 47px;

    padding:
        0 15px;

    color: #111827;

    background: #ffffff;

    border:
        1px solid #cbd5e1;

    border-radius: 10px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.15s ease;
}


.plan-btn:hover:not(:disabled) {
    background: #f3f7fc;
}


.plan-btn:active:not(:disabled) {
    transform:
        scale(0.98);
}


.primary-btn {
    color: #ffffff;

    background: #2563eb;

    border-color: #2563eb;
}


.primary-btn:hover:not(:disabled) {
    background: #1d4ed8;
}


.current-plan {
    color: #98a2b3;

    background: #f2f4f7;

    border-color: #e4e7ec;

    cursor: default;
}



/* =========================================
   DIVIDER
========================================= */

.divider {
    width: 100%;
    height: 1px;

    margin:
        27px 0;

    background: #eaecf0;
}



/* =========================================
   FEATURES
========================================= */

.pricing-card h3 {
    margin-bottom: 17px;

    font-size: 15px;
}


.features {
    display: flex;
    flex-direction: column;

    gap: 14px;

    list-style: none;
}


.features li {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    color: #475467;

    font-size: 14px;

    line-height: 1.45;
}


.features li span {
    color: #2563eb;

    font-weight: 700;
}



/* =========================================
   CREDIT INFO
========================================= */

.credit-info {
    width: fit-content;

    max-width: 100%;

    margin:
        45px auto 0;

    display: flex;
    align-items: center;

    gap: 15px;

    padding:
        13px
        20px;

    background:
        rgba(255, 255, 255, 0.75);

    border:
        1px solid #dce6f2;

    border-radius: 999px;

    color: #667085;

    font-size: 13px;
}


.credit-info strong {
    color: #101828;
}



/* =========================================
   FOOTER
========================================= */

footer {
    margin-top: 65px;

    padding-top: 25px;

    border-top:
        1px solid #dbe5f0;

    text-align: center;

    color: #667085;

    font-size: 13px;
}


.footer-links {
    display: flex;
    justify-content: center;

    gap: 25px;

    margin-top: 17px;
}


.footer-links a:hover {
    color: #2563eb;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .pricing-grid {
        max-width: 750px;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header {
        height: 65px;

        padding:
            0
            15px;
    }


    .logo {
        font-size: 22px;
    }


    .home-btn {
        padding:
            8px
            10px;

        font-size: 12px;
    }


    .pricing-page {
        padding:
            45px
            14px
            30px;
    }


    .pricing-heading {
        margin-bottom: 40px;
    }


    .pricing-heading h1 {
        font-size: 34px;

        letter-spacing: -1px;
    }


    .pricing-heading p {
        font-size: 15px;
    }


    .pricing-grid {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 24px;
    }


    .pricing-card {
        padding:
            27px
            22px;
    }


    .popular-card {
        margin-top: 8px;
    }


    .plan-header {
        min-height: auto;
    }


    .amount {
        font-size: 44px;
    }


    .credit-info {
        width: 100%;

        flex-direction: column;

        gap: 5px;

        border-radius: 14px;

        text-align: center;
    }


    footer {
        margin-top: 45px;
    }

}

/* BASIC PLAN SECTION */
.basic-plan-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 45px 20px 55px;
  box-sizing: border-box;
}

.basic-plan-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 22px;
  padding: 32px 28px;
  width: 100%;
  max-width: 365px;
  box-sizing: border-box;
}

.basic-plan-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  background: #2563eb;
  color: white;
  padding: 7px 17px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
}

.basic-plan-card h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: #111827;
}

.basic-description {
  color: #64748b;
  font-size: 14px;
  min-height: 35px;
}

.basic-price {
  margin-top: 22px;
  color: #111827;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
}

.basic-price .currency {
  font-size: 22px;
  vertical-align: top;
  letter-spacing: 0;
}

.basic-purchase {
  font-size: 14px;
  color: #64748b;
}

.basic-buy-btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.basic-buy-btn:hover {
  background: #1d4ed8;
}

.basic-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 30px 0;
}

.basic-plan-card h3 {
  font-size: 16px;
  color: #111827;
  margin-bottom: 22px;
}

.basic-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.basic-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 19px;
  font-size: 14px;
  color: #334155;
}

.basic-features li::before {
  content: "✓";
  color: #2563eb;
  position: absolute;
  left: 0;
  font-weight: 800;
}

@media (max-width: 600px) {
  .basic-plan-section {
    padding: 30px 16px 45px;
  }

  .basic-plan-card {
    max-width: 100%;
    padding: 28px 24px;
  }
}
