/**
 * IPTV Setup Guide Styles
 * Professional styling for the comprehensive setup guide page
 */

/* Reset and Base Styles */
.setup-guide-main {
    margin-top: 80px; /* Account for fixed header */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Hero Section */
.setup-hero-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.setup-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.setup-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.setup-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.setup-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.setup-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.setup-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.setup-stat {
    text-align: center;
}

.setup-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.setup-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Introduction Section */
.setup-intro-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.setup-intro-content {
    text-align: center;
    margin-bottom: 60px;
}

.setup-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.setup-intro-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
}

.setup-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.setup-feature {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.setup-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.setup-feature i {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 20px;
    display: block;
}

.setup-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 15px;
}

.setup-feature p {
    color: #666;
    font-size: 1rem;
}

/* Device Selection Section */
.setup-devices-section {
    padding: 80px 0;
    background: white;
}

.setup-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    text-align: center;
    margin-bottom: 20px;
}

.setup-section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.setup-device-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.setup-device-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b00;
}

.setup-device-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.setup-device-card:hover .setup-device-icon {
    transform: scale(1.1);
}

.setup-device-icon i {
    font-size: 2.5rem;
    color: white;
}

.setup-device-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 15px;
}

.setup-device-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.setup-device-btn {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setup-device-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.setup-device-btn i {
    transition: transform 0.3s ease;
}

.setup-device-btn:hover i {
    transform: translateX(5px);
}

/* Instructions Section */
.setup-instructions-section {
    padding: 80px 0;
    background: #f8f9fa;
    display: none;
}

.setup-instruction-panel {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.setup-instruction-header {
    background: linear-gradient(135deg, #1a2a6c, #2d4a9a);
    padding: 30px 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.setup-back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.setup-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.setup-instruction-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.setup-instruction-title i {
    font-size: 2rem;
    color: #ff6b00;
}

.setup-instruction-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.setup-instruction-content {
    padding: 60px 40px;
    line-height: 1.8;
}

.setup-instruction-content h3 {
    color: #1a2a6c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setup-instruction-content h3 i {
    color: #ff6b00;
}

.setup-instruction-content ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.setup-instruction-content ol li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding: 20px 25px 20px 60px;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
    border-left: 4px solid #ff6b00;
}

.setup-instruction-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background: #ff6b00;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.setup-instruction-content ul {
    margin: 15px 0;
    padding-left: 0;
}

.setup-instruction-content ul li {
    margin-bottom: 8px;
    padding: 8px 15px;
    background: none;
    border: none;
    border-radius: 0;
    position: relative;
    padding-left: 30px;
}

.setup-instruction-content ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 8px;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    font-size: 1rem;
}

.setup-instruction-content div[style*="background"] {
    border-radius: 15px !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.setup-instruction-footer {
    padding: 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.setup-support-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.setup-support-box h3 {
    color: #1a2a6c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.setup-support-box h3 i {
    color: #ff6b00;
}

.setup-support-box p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.setup-support-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.setup-support-btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setup-support-btn.whatsapp {
    background: #25d366;
    color: white;
}

.setup-support-btn.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.setup-support-btn.email {
    background: #ff6b00;
    color: white;
}

.setup-support-btn.email:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* FAQ Section */
.setup-faq-section {
    padding: 80px 0;
    background: white;
}

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

.setup-faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ff6b00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.setup-faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.setup-faq-item h3 {
    color: #1a2a6c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setup-faq-item h3 i {
    color: #ff6b00;
}

.setup-faq-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.setup-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2a6c 0%, #2d4a9a 100%);
    text-align: center;
    color: white;
}

.setup-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.setup-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.setup-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.setup-cta-btn {
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setup-cta-btn.primary {
    background: #ff6b00;
    color: white;
}

.setup-cta-btn.primary:hover {
    background: #e55a00;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

.setup-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.setup-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .setup-guide-main {
        margin-top: 70px;
    }
    
    .setup-hero-title {
        font-size: 2.5rem;
    }
    
    .setup-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .setup-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .setup-stats .setup-stat {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .setup-devices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .setup-device-card {
        padding: 30px 20px;
    }
    
    .setup-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .setup-instruction-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .setup-instruction-title h2 {
        font-size: 1.5rem;
    }
    
    .setup-instruction-content {
        padding: 40px 20px;
    }
    
    .setup-support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .setup-support-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .setup-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .setup-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .setup-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .setup-container {
        padding: 0 15px;
    }
    
    .setup-hero-section {
        padding: 80px 0 60px;
    }
    
    .setup-hero-title {
        font-size: 2rem;
    }
    
    .setup-section-title {
        font-size: 2rem;
    }
    
    .setup-intro-title {
        font-size: 2rem;
    }
    
    .setup-instruction-content ol li {
        padding: 15px 20px 15px 50px;
    }
    
    .setup-instruction-content ol li::before {
        width: 25px;
        height: 25px;
        left: 15px;
        font-size: 0.8rem;
    }
}

/* Animation for smooth transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.setup-device-card,
.setup-feature,
.setup-faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Ensure proper header/footer styling integration */
body.page-template-page-iptv-setup-guide {
    margin: 0;
    padding: 0;
}

body.page-template-page-iptv-setup-guide .modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

body.page-template-page-iptv-setup-guide .modern-footer {
    background: linear-gradient(135deg, #1a2a6c 0%, #2d4a9a 100%);
}
