/* ============================================
   PRICING PAGE - Premium Design
   ============================================ */

/* ---------- PRICING HERO ---------- */
.pricing-hero {
    padding: 150px 0 80px;
    background: #09344e;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-hero__inner {
    position: relative;
    z-index: 1;
}

.pricing-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.25);
    margin-bottom: 24px;
}

.pricing-hero__title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pricing-hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- PRICING CARDS SECTION ---------- */
.pricing-cards-section {
    padding: 80px 0 60px;
    background: var(--color-gray-50);
    position: relative;
}

.pricing-cards-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-gray-50);
    border-radius: 50% 50% 0 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ---------- PLAN CARD ---------- */
.plan-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Featured (Pro) card */
.plan-card--featured {
    border: 2px solid var(--color-primary);
    padding: 44px 32px 36px;
    box-shadow: 0 8px 40px rgba(0, 188, 212, 0.15);
    transform: scale(1.03);
    z-index: 2;
}

.plan-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 188, 212, 0.2);
}

.plan-card__popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.plan-card__header {
    margin-bottom: 24px;
}

.plan-card__name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.plan-card__desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Price */
.plan-card__price {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.plan-card__price-row {
    display: flex;
    align-items: baseline;
}

.plan-card__currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-right: 2px;
    align-self: flex-start;
    margin-top: 8px;
}

.plan-card__amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1;
    letter-spacing: -1px;
}

.plan-card__period {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-left: 4px;
}

/* Pro price special */
.plan-card__price-old {
    margin-bottom: 6px;
}

.plan-card__strikethrough {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
    font-weight: 500;
}

.plan-card__launch-tag {
    display: inline-block;
    background: linear-gradient(135deg, #00BCD4, #00E5FF);
    color: var(--color-white);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.plan-card--featured .plan-card__currency,
.plan-card--featured .plan-card__amount {
    color: var(--color-primary);
}

/* Features list */
.plan-card__features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.plan-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.4;
}

.plan-card__features svg {
    flex-shrink: 0;
    stroke: var(--color-primary);
    margin-top: 1px;
}

/* Button */
.plan-card__btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.95rem;
    margin-top: auto;
}

.btn--outline-dark {
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    background: transparent;
}

.btn--outline-dark:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* ---------- PRICING FEATURES ---------- */
.pricing-features {
    padding: 80px 0;
    background: var(--color-white);
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pf-card {
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.pf-card:hover::before {
    opacity: 1;
}

.pf-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 188, 212, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.pf-card__icon svg {
    stroke: var(--color-primary);
}

.pf-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.pf-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ---------- FINAL CTA ---------- */
.pricing-final-cta {
    padding: 80px 0;
    background: #09344e;
    position: relative;
    overflow: hidden;
}

.pricing-final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-final-cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing-final-cta__title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 12px;
}

.pricing-final-cta__text {
    font-size: 1.05rem;
    color: var(--color-gray-400);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-final-cta__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pricing-final-cta .btn--outline-dark {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.pricing-final-cta .btn--outline-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

/* ---------- ANIMATIONS ---------- */
.plan-card,
.pf-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.plan-card--featured {
    transform: scale(1.03) translateY(30px);
}

.plan-card.visible,
.pf-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.plan-card--featured.visible {
    transform: scale(1.03) translateY(0);
}

/* Staggered delays */
.plan-card:nth-child(1) { transition-delay: 0s; }
.plan-card:nth-child(2) { transition-delay: 0.12s; }
.plan-card:nth-child(3) { transition-delay: 0.24s; }

.pf-card:nth-child(1) { transition-delay: 0s; }
.pf-card:nth-child(2) { transition-delay: 0.08s; }
.pf-card:nth-child(3) { transition-delay: 0.16s; }
.pf-card:nth-child(4) { transition-delay: 0.24s; }
.pf-card:nth-child(5) { transition-delay: 0.32s; }
.pf-card:nth-child(6) { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .plan-card--featured {
        transform: none;
    }

    .plan-card--featured:hover {
        transform: translateY(-6px);
    }

    .plan-card--featured.visible {
        transform: none;
    }

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

@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }

    .pricing-hero__title {
        font-size: 2.2rem;
    }

    .pf-grid {
        grid-template-columns: 1fr;
    }

    .pricing-final-cta__title {
        font-size: 1.75rem;
    }

    .pricing-final-cta__buttons {
        flex-direction: column;
    }

    .pricing-final-cta__buttons .btn {
        width: 100%;
    }
}
