.pricing-page {
    min-height: 100vh;
    padding-top: 236px;
    background-color: #f7f7f5;
}

.pricing-hero {
    text-align: center;
    max-width: 940px;
    margin-top: 0;
    margin-inline: auto;
}

.pricing-hero h1 {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 400;
    line-height: 64px;
    margin-bottom: 16px;
    color: #000;
}

.pricing-hero p {
    font-size: 24px;
    font-weight: 400;
    font-family: var(--font-ui);
    color: #343434;
    letter-spacing: 0.24px;
    margin-bottom: 32px;
}

.billing-toggle {
    display: inline-flex;
    background: rgba(230, 230, 225, 0.84);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 96px;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 12px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.48px;
    color: #81817c;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: #fff;
    color: #000;
    box-shadow:
        0px 3px 2px 0px rgba(0, 0, 0, 0.08),
        0px 0px 1px 0px rgba(0, 0, 0, 0.25),
        0px 4px 9px 0px rgba(255, 255, 255, 0.25) inset,
        0px 4px 4px 0px rgba(0, 0, 0, 0.04),
        0px 1px 1px 0px rgba(0, 0, 0, 0.15);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1248px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #e1e1df;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
    border: 1px solid #e1e1df;
    box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.09);
}

.best-value-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #e9e9e4;
    color: #474747;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.36px;
    padding: 5.5px 8px;
    border-radius: 12px;
}

.card-header {
    margin-bottom: 30px;
    position: relative;
}

.card-header h2 {
    font-family: var(--font-ui);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.24px;
    margin-bottom: 8px;
    color: #000;
}

.card-header p {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.32px;
    color: #000;
}

.card-price {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 49px;
    font-weight: 400;
    letter-spacing: -0.98px;
    color: #000;
    margin-right: 12px;
}

.price-details {
    font-family: var(--font-ui);
    display: flex;
    flex-direction: column;
}

.price-period {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 15px;
}

.price-billing {
    font-size: 14px;
    color: #81817c;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 15px;
}

.card-features {
    margin-bottom: 124px;
    flex-grow: 1;
}

.feature {
    display: flex;
    align-items: center;
}

.feature-bullet {
    width: 9px;
    height: 9px;
    background-color: #d9d9d9;
    border-radius: 50%;
    margin-right: 6px;
}

.feature span {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.32px;
    line-height: 15px;
    color: #000;
}

.card-cta {
    margin-top: auto;
}

.start-trial-btn,
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #000;
    box-shadow:
        0px 3px 2px 0px rgba(0, 0, 0, 0.08),
        0px 0px 1px 0px rgba(0, 0, 0, 0.25),
        0px 4px 4px 0px rgba(0, 0, 0, 0.04),
        0px 1px 1px 0px rgba(0, 0, 0, 0.15),
        0px 4px 9px 0px rgba(255, 255, 255, 0.25) inset;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.48px;
    height: 36px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}

.start-trial-btn:hover,
.contact-btn:hover {
    background-color: #222;
}

.no-card-required {
    text-align: center;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.28px;
    line-height: 15px;
    color: #81817c;
}

@media (max-width: 1024px) {
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 40px;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .card-header p {
        min-height: auto;
    }
}
