/* ========================================
   PREMIUM FEATURES & NEW COMPONENTS
   ======================================== */

/* Supported Platforms Section */
.platforms-section {
    padding: 2rem 0;
    text-align: center;
}

/* Supported Platforms Banner */
.platforms-banner {
    margin-top: 0;
    padding: 0;
    text-align: center;
}

.platforms-banner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    text-align: center;
}

.platforms-logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.platform-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

.platform-item svg {
    width: 28px;
    height: 28px;
}

/* Ad Containers */
.ad-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.ad-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px dashed #ccc;
    border-radius: 0.5rem;
    padding: 3rem;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Banner */
.premium-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    margin: 2rem 0;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-icon {
    font-size: 3rem;
}

.premium-text h3 {
    color: #fff;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.premium-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.premium-price {
    text-align: center;
}

.premium-price .price {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.premium-price .period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.premium-price .trial {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ffd700;
}

.premium-btn {
    background: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Social Proof Section */
.social-proof {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    margin: 2rem 0;
}

.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.rating-badge .stars {
    font-size: 1.5rem;
}

.rating-text {
    text-align: center;
}

.rating-text strong {
    display: block;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.rating-text .reviews {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* TikTok Cards Styling */
.type-card.tiktok-card {
    border: 2px solid #00f2ea;
    background: linear-gradient(135deg, rgba(0, 242, 234, 0.1) 0%, rgba(0, 242, 234, 0.05) 100%);
}

.type-card.tiktok-card:hover {
    border-color: #00f2ea;
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.3);
}

/* Developer API Section */
.developer-api {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 1rem;
    margin: 3rem 0;
    border-top: 3px solid #00d4ff;
    border-bottom: 3px solid #00d4ff;
}

.api-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.api-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.developer-api h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.api-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.api-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.api-feature {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1rem;
}

.api-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.api-btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #00d4ff;
}

.api-btn.primary {
    background: #00d4ff;
    color: #1a1a2e;
}

.api-btn.primary:hover {
    background: #00a8cc;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.api-btn.secondary {
    background: transparent;
    color: #00d4ff;
}

.api-btn.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.api-btn:not(.primary):not(.secondary) {
    background: transparent;
    color: #fff;
}

.api-btn:not(.primary):not(.secondary):hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
}

/* Premium Modal */
.premium-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.premium-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2rem auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

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

.popular-badge {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.plan-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.plan-price .price {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}

.plan-price .period {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.savings {
    color: #00d4ff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan-features li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.subscribe-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.trial-badge {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    color: #ffd700;
}

.modal-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-content {
        flex-direction: column;
        text-align: center;
    }

    .api-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .platforms-banner {
        padding: 1rem 1.5rem;
    }

    .platforms-logos {
        gap: 1.5rem;
    }

    .platform-item {
        font-size: 0.85rem;
    }

    .platform-item svg {
        width: 24px;
        height: 24px;
    }
}

/* Dark Mode Adjustments */
body.dark-mode .ad-placeholder {
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-color: #444;
    color: #999;
}
