/*
Theme Name: IPTV Smarters Pro Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A WordPress theme based on the IPTV Smarters Pro landing page design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptv-smarters-theme
Tags: landing-page, rtl, one-page
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%236b46c1" opacity="0.8"/><circle cx="10" cy="10" r="3" fill="white"/></svg>'), auto;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    background: #0f0f0f;
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header - Netflix Style */
header {
	
    position: fixed
    width: 100%;
background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%); 
	z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #8b5cf6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-links a:hover {
    color: #8b5cf6;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subscribe-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-1px);
}

/* Hero Section - Netflix Style */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23000"/><circle cx="400" cy="300" r="200" fill="%238b5cf6" opacity="0.1"/><circle cx="1200" cy="200" r="150" fill="%237c3aed" opacity="0.1"/><circle cx="800" cy="700" r="180" fill="%236d28d9" opacity="0.1"/><circle cx="1600" cy="800" r="120" fill="%235b21b6" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(20px) translateY(-20px); }
    50% { transform: translateX(-20px) translateY(20px); }
    75% { transform: translateX(-20px) translateY(-20px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 2;
    position: relative;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8b5cf6;
    margin-bottom: 25px;
    font-weight: 600;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 35px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Content Rows - Netflix Style */
.content-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.feature-description {
    color: #9ca3af;
    line-height: 1.6;
}

/* Pricing Section - Netflix Style */
.pricing-section {
    padding: 100px 0;
    background: rgba(139, 92, 246, 0.05);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'الأكثر شعبية';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5);
}

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

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 10px;
}

.plan-period {
    color: #9ca3af;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: right;
}

.plan-features li {
    padding: 8px 0;
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    color: #8b5cf6;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e5e7eb;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Footer - Netflix Style */
footer {
    background: #0f0f0f;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8b5cf6;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(139, 92, 246, 0.2);
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    width: 0%;
    transition: width 0.3s ease;
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.side-nav-dot.active {
    background: #8b5cf6;
    transform: scale(1.3);
}

.side-nav-dot:hover {
    background: rgba(139, 92, 246, 0.7);
    transform: scale(1.2);
}

.side-nav-dot::after {
    content: attr(data-title);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 15, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.side-nav-dot:hover::after {
    opacity: 1;
}
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .container {
        padding: 0 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

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

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a0b2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 92, 246, 0.3);
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: 600;
}

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


/* WooCommerce Basic Styles for Dark Theme */
.woocommerce-container, .woocommerce-container h1, .woocommerce-container h2, .woocommerce-container h3 {
    color: #ffffff;
}

.woocommerce-container a {
    color: #8b5cf6;
}

.woocommerce-container a:hover {
    color: #a78bfa;
}

.woocommerce ul.products li.product .price, 
.woocommerce div.product p.price, 
.woocommerce div.product span.price {
    color: #ffffff;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background-color: #1f1f1f;
    color: #ffffff;
    border-top-color: #8b5cf6;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
    color: #8b5cf6;
}


.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    color: white !important;
}


.cbp-whatsapp-button .cbp-text-button, .cbp-tg-button .cbp-text-button {
    width: 55pxn !important;
}