/* Pricing Page Specific Styles */

/* Page Header Enhancement */
.page-header {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #eef6f6 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(15, 138, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(47, 163, 165, 0.05) 0%, transparent 50%);
    /* animation: float 20s ease-in-out infinite; */
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Toggle Button Styles */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.toggle-container {
    background: #f8f9fa;
    border-radius: 50px;
    border: 2px solid #0F8A8A;
    padding: 4px;
    margin-bottom: 10px;
    display: flex;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 46px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    z-index: 2;
    color: #666;
}

.toggle-btn.active {
    color: white;
    background: #0F8A8A;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-content {
    min-height: 600px;
}

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

/* Animation for content switching */
.pricing-grid {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: #0e7676;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* 3 equal columns */
    gap: 40px;
    /* space between cards */
}

.pricing-section .section-header h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    /* softer dark shade */
    line-height: 1.6;
    text-align: center;
    background: #fffbd3;
    /* light background highlight */
    padding: 10px 15px;
    border-left: 4px solid var(--primary-color, #00aaff);
    /* highlight bar */
    border-right: 4px solid var(--primary-color, #00aaff);
    border-radius: 6px;
    display: inline-block;
}

/* Pricing Card */
.pricing-card {
    background: var(--white);
    width: 100%;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px #0F8A8A solid;
    height: fit-content;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Popular Plan Styling */
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

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

.popular-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

/* Enterprise Card */
.pricing-card.enterprise {
    background: linear-gradient(135deg, rgba(15, 138, 138, 0.02), rgba(47, 163, 165, 0.02));
    border: 2px solid rgba(15, 138, 138, 0.1);
}

/* Plan Header */
.plan-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.popular .plan-header {
    background: linear-gradient(135deg, rgba(15, 138, 138, 0.05), rgba(47, 163, 165, 0.05));
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 0.25rem;
}

.custom-quote {
    font-size: 2.0rem;
    font-weight: 700;
    color: black;
    text-align: center;
}

/* Plan Features */
.plan-features {
    padding: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item i.fa-check {
    color: var(--primary-color);
}

.feature-item i.fa-times {
    color: #e74c3c;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Plan Buttons */
.plan-btn {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bg-light), rgba(229, 239, 239, 0.5));
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 138, 138, 0.3);
}

.popular-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.popular-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 138, 138, 0.4);
}

.enterprise-btn {
    background: linear-gradient(135deg, rgba(15, 138, 138, 0.1), rgba(47, 163, 165, 0.1));
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.enterprise-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(229, 239, 239, 0.3) 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(15, 138, 138, 0.02);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* optional rotation for effect */
}
/* CTA Section Override */
.pricing-section+.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.pricing-section+.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }

    .pricing-card.popular {
        transform: none;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .plan-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .plan-features {
        padding: 1.5rem;
    }

    .plan-btn {
        width: calc(100% - 3rem);
        margin: 0 1.5rem 1.5rem;
    }

    .amount {
        font-size: 2rem;
    }

    .currency {
        font-size: 1.2rem;
    }

    .custom-quote {
        font-size: 1.3rem;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .plan-header h3 {
        font-size: 1.3rem;
    }

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

    .amount {
        font-size: 1.8rem;
    }

    .currency {
        font-size: 1.1rem;
    }

    .custom-quote {
        font-size: 1.2rem;
    }

    .feature-item {
        padding: 0.6rem 0;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .plan-btn {
        font-size: 0.95rem;
        padding: 0.9rem;
    }

    .faq-question h4 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-white {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Additional Enhancement Styles */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pricing-card:hover::before {
    transform: translateX(0);
}

.pricing-card.popular::before {
    transform: translateX(0);
}

/* Loading Animation for Price */
@keyframes priceSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price {
    animation: priceSlideIn 0.6s ease-out 0.3s both;
}

/* Feature Item Hover Effect */
/* .feature-item:hover {
    background: rgba(15, 138, 138, 0.02);
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
} */

/* Pulse Animation for Popular Badge */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(15, 138, 138, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(15, 138, 138, 0);
    }
}

.popular-badge {
    animation: pulse 2s infinite;
}