/* Hero Section */
.pricing-hero {
    padding: 100px 32px 60px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border-bottom: 1px solid #e8e8ed;
}

.pricing-hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.pricing-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pricing-hero-subtitle {
    font-size: 1.1rem;
    color: #6e6e73;
    line-height: 1.5;
    font-weight: 400;
}

/* Main Pricing Section */
.pricing-main {
    padding: 64px 32px;
    background: #fff;
}

.pricing-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Product Block */
.product-block {
    background: #fafafa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #e8e8ed;
}

.product-block:last-child {
    margin-bottom: 0;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8ed;
}

.product-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-icon-large {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid #e8e8ed;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.product-subtitle {
    font-size: 0.95rem;
    color: #6e6e73;
    margin: 0;
    font-weight: 400;
}

/* Product Toggle */
.product-toggle {
    display: inline-flex;
    background: #fff;
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
    border: 1px solid #e8e8ed;
}

.toggle-btn {
    padding: 8px 18px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6e6e73;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.toggle-btn:hover {
    color: #1d1d1f;
}

.toggle-btn.active {
    background: #8b5cf6;
    color: #fff;
}

.toggle-badge {
    background: #10b981;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Plans Row */
.plans-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.plans-row-three {
    grid-template-columns: repeat(3, 1fr);
}

/* Plan Card */
.plan-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-2px);
    border-color: #d1d1d6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.plan-card-popular {
    border-color: #8b5cf6;
    background: #fefeff;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
}

.plan-card-popular:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
}

.popular-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b5cf6;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-header {
    margin-bottom: 28px;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.plan-price-block {
    margin-bottom: 6px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6e6e73;
}

.price-value {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-note {
    font-size: 0.875rem;
    color: #6e6e73;
    font-weight: 500;
}

.price-save {
    display: none;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 4px;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.9rem;
    color: #515154;
    line-height: 1.5;
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #10b981;
    margin-top: 2px;
}

/* Plan CTA */
.plan-cta {
    display: block;
    width: 100%;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-top: auto;
}

.plan-cta-primary {
    background: #8b5cf6;
    color: #fff;
}

.plan-cta-primary:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.plan-cta-outline {
    background: #fff;
    color: #1d1d1f;
    border: 1px solid #d1d1d6;
}

.plan-cta-outline:hover {
    background: #fafafa;
    border-color: #8b5cf6;
    color: #8b5cf6;
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 32px;
    background: #fafafa;
}

.faq-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.faq-heading {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

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

.faq-card {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #e8e8ed;
    transition: all 0.25s ease;
}

.faq-card:hover {
    border-color: #d1d1d6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 32px;
    background: #fff;
    text-align: center;
}

.final-cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.final-cta-subtitle {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 32px;
    line-height: 1.5;
}

.final-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #8b5cf6;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.final-cta-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.final-cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #86868b;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .product-toggle {
        width: 100%;
        justify-content: center;
    }

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

    .plans-row-three .plan-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 80px 24px 48px;
    }

    .pricing-hero-title {
        font-size: 2rem;
    }

    .pricing-hero-subtitle {
        font-size: 1rem;
    }

    .pricing-main {
        padding: 48px 20px;
    }

    .product-block {
        padding: 28px 20px;
        margin-bottom: 28px;
        border-radius: 14px;
    }

    .product-header {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .product-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-icon-large {
        font-size: 1.75rem;
        width: 48px;
        height: 48px;
    }

    .product-title {
        font-size: 1.35rem;
    }

    .product-subtitle {
        font-size: 0.9rem;
    }

    .product-toggle {
        flex-direction: column;
        width: 100%;
    }

    .toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
    }

    .plans-row,
    .plans-row-three {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .plans-row-three .plan-card:last-child {
        max-width: 100%;
    }

    .plan-card {
        padding: 28px 24px;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .faq-section {
        padding: 64px 24px;
    }

    .faq-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-card {
        padding: 24px 20px;
    }

    .final-cta {
        padding: 64px 24px;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .final-cta-subtitle {
        font-size: 1rem;
    }

    .final-cta-btn {
        padding: 13px 32px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero-title {
        font-size: 1.75rem;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .price-value {
        font-size: 2.25rem;
    }

    .faq-heading {
        font-size: 1.75rem;
    }

    .final-cta-title {
        font-size: 1.75rem;
    }
}
