.pricing-page {
    background: #f5f5f5;
}

.pricing-page main {
    overflow: hidden;
}

.pricing-hero {
    padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1280px) / 2));
    background: var(--black);
    color: var(--white);
}

.pricing-copy {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.pricing-hero .kicker,
.pricing-cta .kicker {
    margin: 0 0 1rem;
    color: #ff6e73;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-hero h1 {
    margin: 0;
    max-width: 780px;
    color: var(--white);
    font-size: clamp(3rem, 5.6vw, 6rem);
    line-height: 0.9;
}

.pricing-summary {
    max-width: 720px;
    margin: 1.5rem 0 0;
    color: #c3c3c3;
    font-size: 1.04rem;
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    width: min(1280px, calc(100% - 3rem));
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.75rem;
    border: 1px solid #d9d9d9;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

.price-card.featured {
    border: 1px solid var(--red);
    transform: translateY(-8px);
    animation: featured-glow 2s ease-in-out infinite;
}

@keyframes featured-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(227, 43, 50, 0.25);
    }
    50% {
        box-shadow: 0 0 28px 8px rgba(227, 43, 50, 0.65);
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-card.featured {
        animation: none;
        box-shadow: 0 0 12px rgba(227, 43, 50, 0.35);
    }
}

.plan-label {
    margin: 0 0 1.2rem;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.price-card h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1;
}

.plan-period {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-note {
    margin: 1.2rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.price-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--black);
    line-height: 1.8;
}

.price-card li::marker {
    color: var(--red);
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 160px;
    margin-top: auto;
    padding: 0.9rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--white);
    background: var(--black);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-primary {
    background: var(--red);
}

.button-secondary {
    border-color: var(--black);
    color: var(--black);
    background: transparent;
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    transform: translateY(-1px);
}

.pricing-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1280px) / 2));
    background: var(--black);
    color: var(--white);
}

.pricing-cta h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.96;
}

.pricing-cta .app-store-link {
    display: inline-flex;
    justify-self: end;
}

.pricing-cta .app-store-link img {
    display: block;
    width: 160px;
    height: auto;
}

@media (max-width: 960px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cta {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .pricing-cta .app-store-link {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .pricing-hero {
        padding-top: 4.5rem;
    }

    .pricing-grid {
        width: calc(100% - 2rem);
    }

    .pricing-cta {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
