/* 
 * Cool IPTV Store - Main Stylesheet
 * Modern, Dark, Neon, Cyber Futuristic
 */

:root {
    --bg-dark: #0a0b10;
    --bg-card: rgba(20, 22, 32, 0.7);
    --neon-blue: #00d2ff;
    --neon-purple: #9d50bb;
    --neon-pink: #ff00ff;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .neon-text {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
}

/* Neon Effects */
.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
}

.neon-button {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 12px 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.neon-button:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    text-decoration: none;
    font-size: 1.5rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--neon-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-contents {
    position: relative;
    color: var(--text-main);
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--neon-purple);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 11, 16, 0.4), rgba(10, 11, 16, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    margin: 0 auto;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
}

.feature-item i {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
}

/* Pricing Plans */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid var(--neon-purple);
}

.pricing-card .badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--neon-purple);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--neon-blue);
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

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

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--neon-blue);
}

/* WooCommerce Products */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
}

.product-card {
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.03);
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.woocommerce-loop-product__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    display: block;
    margin-bottom: 20px;
}

.add_to_cart_button {
    background: var(--neon-blue) !important;
    color: #000 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    margin-top: 100px;
}

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

.footer-title {
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--neon-blue);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px 15px;
    color: #fff;
    border-radius: 5px;
    flex: 1;
}

.site-info {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .main-navigation {
        display: none; /* Mobile menu logic would go here */
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    display: flex;
    gap: 20px;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Scrolled Header */
.glass-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 11, 16, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ Accordion */
.faq-item h3 {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: var(--transition);
}

.faq-item.active h3::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    display: none;
    margin-top: 15px;
    color: var(--text-muted);
}

/* Stars for Testimonials */
.stars {
    color: #ffcc00;
    margin-top: 10px;
}

/* Mini Cart Dropdown */
.mini-cart-wrapper {
    position: relative;
}

.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    padding: 20px;
    display: none;
    z-index: 100;
    margin-top: 15px;
}

.mini-cart-wrapper:hover .mini-cart-dropdown {
    display: block;
}

.mini-cart-dropdown .widget_shopping_cart_content {
    color: var(--text-main);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mini-cart-dropdown .button {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
}

/* WooCommerce Overrides */
.woocommerce-Price-amount {
    color: var(--neon-blue);
    font-weight: bold;
}

.woocommerce-loop-product__link {
    text-decoration: none;
    color: inherit;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: var(--bg-card) !important;
    color: #fff !important;
    border-top: 3px solid var(--neon-blue) !important;
    backdrop-filter: blur(10px);
}
