/* ================= PRICING PAGE ================= */

.pricing-page {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-hero-card,
.pricing-info-card,
.pricing-cta-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Navbar inside hero */
.pricing-hero-card .hero-nav-tab {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.pricing-hero-card .mobile-menu-tab {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 21;
}

.pricing-hero-card .mobile-nav-menu {
    position: absolute;
    top: 58px;
    right: 0;
    z-index: 22;
}

/* Hero layout */
.pricing-hero-grid {
    position: relative;
    min-height: 100%;
}

.pricing-hero-content {
    position: relative;
    width: 58%;
    padding: 0;
    z-index: 2;
}

.pricing-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    z-index: 1;
}

.pricing-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pricing-hero-tab {
    top: auto;
    left: 0;
    bottom: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 0;
}

.pricing-hero-tab::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: 0;
    top: auto;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 100% 0%, transparent 20px, var(--bg-color) 20px);
}

.pricing-hero-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: -20px;
    bottom: auto;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 100% 0%, transparent 20px, var(--bg-color) 20px);
}

.pricing-hero-copy {
    padding: 84px 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.pricing-kicker {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-hero-copy h1 {
    font-size: 54px;
    line-height: 1.02;
    font-weight: 500;
    max-width: 680px;
    margin-bottom: 14px;
}

.pricing-lead {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 620px;
}

.pricing-hero-actions,
.pricing-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pricing-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--text-primary);
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.pricing-primary-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.pricing-secondary-link {
    position: relative;
    font-size: 14px;
    color: var(--text-primary);
    width: fit-content;
}

.pricing-secondary-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
    transition: var(--transition);
}

.pricing-secondary-link:hover::after {
    opacity: 1;
}

/* Switcher */
.pricing-switcher-wrap {
    margin-top: 26px;
}

.pricing-switcher {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 16px;
}

body.light-mode .pricing-switcher {
    background: rgba(0,0,0,0.04);
}

.pricing-switch-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-switch-btn.active {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Slider card */
.pricing-slider-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 22px;
}

body.light-mode .pricing-slider-card {
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
    border: 1px solid rgba(0,0,0,0.06);
}

.pricing-plan {
    display: none;
}

.pricing-plan.active {
    display: block;
}

.pricing-card-kicker {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-plan h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
}

.pricing-amount {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
}

.pricing-features,
.pricing-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li,
.pricing-info-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pricing-features li::before,
.pricing-info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-primary);
}

.pricing-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--bg-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.pricing-card-btn:hover {
    transform: translateY(-2px);
}

/* Bottom row */
.pricing-bottom-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
}

.pricing-info-body.compact {
    padding: 84px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.pricing-info-col h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
}

.pricing-cta-card.compact {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.pricing-cta-content h2 {
    font-size: 30px;
    line-height: 1.12;
    font-weight: 500;
    margin-bottom: 10px;
}

.pricing-cta-content p:last-child {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Tablet */
@media (max-width: 1024px) {
    .pricing-hero-content {
        width: 100%;
    }

    .pricing-hero-image {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
    }

    .pricing-hero-image img {
        width: 100%;
        height: auto;
    }

    .pricing-bottom-row,
    .pricing-info-body.compact {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-page {
        padding: 12px;
    }

    .pricing-hero-copy {
        padding: 78px 20px 28px;
    }

    .pricing-hero-copy h1 {
        font-size: 34px;
    }

    .pricing-lead,
    .pricing-features li,
    .pricing-info-list li,
    .pricing-cta-content p:last-child {
        font-size: 14px;
    }

    .pricing-switcher {
        display: flex;
        width: 100%;
        overflow-x: auto;
    }

    .pricing-switch-btn {
        white-space: nowrap;
    }

    .pricing-slider-card {
        padding: 18px;
    }

    .pricing-plan h2 {
        font-size: 24px;
    }

    .pricing-amount {
        font-size: 24px;
    }

    .pricing-info-body.compact {
        padding: 76px 20px 20px;
    }

    .pricing-info-col h3 {
        font-size: 20px;
    }

    .pricing-cta-card.compact {
        padding: 20px;
    }

    .pricing-cta-content h2 {
        font-size: 26px;
    }

    .pricing-hero-card .mobile-nav-menu {
        top: 58px;
        right: 0;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .pricing-hero-copy {
        padding: 72px 18px 24px;
    }

    .pricing-hero-copy h1 {
        font-size: 28px;
    }

    .pricing-slider-card,
    .pricing-info-body.compact,
    .pricing-cta-card.compact {
        padding-left: 18px;
        padding-right: 18px;
    }
}