/* Pricing Page Specific Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Pricing Card Styles */
.pricing-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin: 0;
}

.pricing-subtitle {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted-color);
    margin: 0.625rem 0 0 0;
    line-height: 1.45;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.pricing-price {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1.2;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--muted-color);
    display: block;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 1.5rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--muted-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* One flex child for all copy so inline <strong> does not become separate flex items */
.pricing-features .pricing-feature-text {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent-color);
    flex-shrink: 0;
    font-size: 0.875rem;
    margin-top: 0.2em;
}

.pricing-action {
    padding: 1.5rem;
    text-align: center;
}

.pricing-action .btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-action .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--highlight-color);
    transition: all 0.5s ease;
    z-index: -1;
}

.pricing-action .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.pricing-action .btn-primary:hover::before {
    width: 100%;
}

/* Popular Plan Styles — stronger agency treatment */
.pricing-popular {
    transform: scale(1.04);
    border-color: rgba(99, 102, 241, 0.55);
    z-index: 10;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.25),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.35),
        0 0 40px -10px rgba(99, 102, 241, 0.4);
    background-image: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, rgba(31, 41, 55, 0) 30%);
}

.pricing-popular .pricing-header {
    background-color: rgba(99, 102, 241, 0.1);
    border-bottom-color: rgba(99, 102, 241, 0.2);
}

.pricing-popular .pricing-title {
    color: var(--highlight-color);
}

.pricing-popular:hover {
    transform: scale(1.04) translateY(-10px);
}

.popular-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 0;
    right: 0;
    border-bottom-left-radius: var(--border-radius);
    box-shadow: 0 4px 10px -2px rgba(99, 102, 241, 0.5);
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-popular {
        transform: scale(1);
        margin: 2rem 0;
    }
    
    .pricing-popular:hover {
        transform: translateY(-10px);
    }
}

/* FAQ Section Styles */
.faq-item {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--muted-color);
    line-height: 1.6;
}

/* Utility Classes */
.z-1 {
    z-index: 1;
}

.-z-1 {
    z-index: -1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Pricing Navigation Buttons — segmented control feel */
.pricing-nav-btn {
    background-color: transparent;
    color: var(--muted-color);
    border: 1px solid transparent;
    padding: 0.7rem 1.25rem;
    border-radius: 0.65rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.pricing-nav-btn:hover {
    color: var(--light-color);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.pricing-nav-btn.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 8px 16px -6px rgba(99, 102, 241, 0.55);
}

.pricing-section {
    transition: all 0.3s ease;
    display: none; /* Hide all sections by default */
}

.pricing-section.hidden {
    display: none;
}

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

/* Animation for active section */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-section.active {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive styles for navigation */
@media (max-width: 768px) {
    .pricing-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .pricing-nav-btn {
        flex: 1 0 calc(50% - 0.5rem);
        text-align: center;
        margin-bottom: 0.5rem;
    }
} 