/* =========================================
   HOME PAGE MODERN REDESIGN
   ========================================= */

/* 1. HERO SECTION REDESIGN */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(10,10,20,0.6) 50%, rgba(0,0,0,0.8) 100%), url('../images/home/hero-bg-avengers.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed; /* Parallax effect */
    padding: 160px 0 120px; /* Increased top padding for fixed header */
    overflow: hidden;
}

/* Animated gradient border at the bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #00ff88, var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    margin-bottom: 25px;
}

.hero-text .highlight {
    background: -webkit-linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.hero-text p {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 600px;
    margin-bottom: 30px;
}

/* 2. MODERN BUTTONS */
.btn {
    border-radius: 50px; /* Pill shape */
    padding: 14px 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: #fff;
}

.btn-outline:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    border-color: var(--primary-color);
    color: #fff;
}

/* 3. APPS SECTION (Glassmorphism) */
.apps-section {
    background: radial-gradient(circle at center, #1a1a2e, #000);
    padding: 80px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.app-item img {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 15px;
    transition: all 0.4s ease;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.app-item:hover img {
    background: rgba(255, 255, 255, 0.1);
    transform: rotateY(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    border-color: var(--primary-color);
}

.app-item span {
    font-weight: 600;
    color: #ccc;
    font-size: 0.9rem;
}

/* 4. PRICING CARDS (Minimalist Look) */
.pricing {
    background: #050505;
    position: relative;
}

.pricing::before {
    display: none;
}

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

.pricing-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Featured Card Subtle Highlight */
.pricing-card.featured {
    background: #151515;
    border: 1px solid #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.starting-from {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: -5px;
    font-weight: 500;
}

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

.price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.plan-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    border-bottom: 1px solid #222;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    font-size: 0.95rem;
}

.plan-features i {
    font-size: 0.9rem;
    color: var(--primary-color);
    filter: none;
}

.full-width {
    width: 100%;
    text-align: center;
}

.badge {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 5. FLOATING WHATSAPP BUTTON */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 6. STEPS SECTION */
.steps {
    background: #0f0f0f;
    position: relative;
}

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

.step-item {
    background: #1a1a1a;
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid #333;
    transition: 0.3s;
    text-align: center;
}

.step-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-image {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.steps-image img {
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* 7. GLASSMORPHIC HEADER */
.header {
    background-color: rgba(10, 10, 10, 0.8) !important; /* Override style.css */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 15px 0;
}

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

.nav-list a {
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* 8. BEST IPTV & TV BOX SECTIONS */
.best-iptv {
    background: #121212;
    overflow: hidden;
}

.tvbox {
    background: #ffffff;
    overflow: hidden;
    color: #333;
}

.tvbox h2 {
    color: #1a1a1a;
}

.tvbox p {
    color: #555;
}

.image-wrapper img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.image-wrapper img:hover {
    transform: scale(1.02);
}

/* 9. FAQ SECTION */
.faq {
    background: #0f0f0f;
}

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

.faq-item {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* SEO TEXT BLOCK */
.seo-text {
    background: #151515;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.seo-text article {
    max-width: 800px;
    margin: 0 auto;
    color: #bbb;
}

.seo-text h2, .seo-text h3 {
    color: #fff;
    margin-top: 30px;
}

/* 10. FOOTER MODERNIZATION */
.footer {
    background: #050505;
    padding-top: 80px;
    border-top: 1px solid #222;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.footer-about p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 15px;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links ul li a i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links ul li a:hover i {
    transform: translateX(3px);
}

.footer-contact ul li {
    color: #bbb;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact ul li a {
    color: #bbb;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--primary-color);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    color: #2ecc71;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social .social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
    border-color: var(--primary-color);
}

.footer-bottom {
    background: #020202;
    padding: 25px 0;
    border-top: 1px solid #1a1a1a;
}

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

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 1.5rem;
}

/* Footer Mobile Adjustments */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul li a, 
    .footer-contact ul li,
    .footer-contact ul li a {
        justify-content: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }
}

/* 11. SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 12. MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1); /* Disable scale on mobile */
        margin: 0;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    /* Hide header button on mobile */
    .header .btn {
        display: none;
    }
}
