/* Pricing Page Specific Styles */

/* Pricing Cards Container */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Pricing Card */
.pricing-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

/* Featured Card */
.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

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

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

/* Trial Card Specific Styles */
.pricing-card.trial-card {
    border: 2px solid #10B981;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(16, 185, 129, 0.05) 100%);
    transform: scale(1.02);
    animation: trialPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.pricing-card.trial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: trialShine 3s ease-in-out infinite;
}

@keyframes trialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

@keyframes trialShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.pricing-card.trial-card:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.trial-badge {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    animation: badgePulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.trial-save {
    color: #10B981 !important;
    font-weight: 600;
}

.trial-note {
    color: #10B981 !important;
}

.trial-button {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.trial-button:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.trial-button:active {
    transform: translateY(0);
}

.trial-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.trial-disclaimer {
    margin-top: 0.75rem;
    text-align: center;
}

.trial-disclaimer small {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.trial-disclaimer i {
    color: #10B981;
}

/* Responsive adjustments for trial card */
@media (max-width: 768px) {
    .pricing-card.trial-card {
        transform: scale(1);
        margin-bottom: 1rem;
    }

    .pricing-card.trial-card:hover {
        transform: translateY(-5px);
    }

    .trial-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .pricing-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Make trial card stand out more on larger screens */
@media (min-width: 1200px) {
    .pricing-card.trial-card {
        transform: scale(1.05);
    }

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

/* Trial Card Specific Styles */
.pricing-card.trial-card {
    border: 2px solid #10B981;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(16, 185, 129, 0.05) 100%);
    transform: scale(1.02);
    animation: trialPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.pricing-card.trial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: trialShine 3s ease-in-out infinite;
}

@keyframes trialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

@keyframes trialShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.pricing-card.trial-card:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.trial-badge {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    animation: badgePulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.trial-save {
    color: #10B981 !important;
    font-weight: 600;
}

.trial-note {
    color: #10B981 !important;
}

.trial-button {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.trial-button:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.trial-button:active {
    transform: translateY(0);
}

.trial-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.trial-disclaimer {
    margin-top: 0.75rem;
    text-align: center;
}

.trial-disclaimer small {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.trial-disclaimer i {
    color: #10B981;
}

/* Pricing Header */
.pricing-header {
    padding: 30px 25px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.pricing-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.pricing-save {
    font-size: 0.9rem;
    color: #10B981;
    font-weight: 600;
    margin-top: 5px;
}

.promo-description {
    font-size: 0.95rem;
    color: #FF6B6B;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    padding: 0 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Pricing Features */
.pricing-features {
    padding: 25px;
    flex-grow: 1;
}

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

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 1rem;
}

.pricing-features li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.pricing-features li .fa-check {
    color: #10B981; /* Green */
}

.pricing-features li .fa-times {
    color: #EF4444; /* Red */
}

.pricing-features li .fa-info-circle,
.pricing-features li .fa-users,
.pricing-features li .fa-video {
    color: var(--primary-color);
}

/* Pricing Footer */
.pricing-footer {
    padding: 25px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.pricing-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    font-size: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.pricing-button:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.pricing-button.premium-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.pricing-button.premium-button:hover {
    background: linear-gradient(135deg, var(--primary-hover-color), var(--accent-color));
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.pricing-button.current-plan {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: default;
}

.pricing-button.current-plan:hover {
    transform: none;
}

/* FAQ Section */
.pricing-faq {
    margin-top: 50px;
}

.pricing-faq h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    width: 100%;
}

.faq-item {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(55, 65, 81, 0.5);
}

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

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

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

/* Creator Application Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: var(--card-background);
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-content h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

/* Token Purchase Section */
.token-purchase-section {
    margin-bottom: 50px;
}

.token-purchase-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

.token-purchase-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.token-purchase-header h3 {
    font-size: 1.6rem;
    margin: 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.token-purchase-details {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.token-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.token-detail:last-child {
    margin-bottom: 0;
}

.token-detail.total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.token-label {
    font-weight: 600;
    color: var(--text-color);
}

.token-value {
    color: var(--text-color);
}

.bank-details {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(59, 130, 246, 0.1);
}

.bank-details h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bank-detail:last-child {
    margin-bottom: 0;
}

.bank-label {
    font-weight: 600;
    color: var(--text-color);
}

.bank-value {
    color: var(--text-color);
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.token-purchase-instructions {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.token-purchase-instructions p {
    margin: 0 0 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.token-purchase-instructions p:last-child {
    margin-bottom: 0;
}

.token-purchase-form {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.token-purchase-footer {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

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

    .token-purchase-footer {
        flex-direction: column;
    }
}
