/* ==========================================
   IPTVS - Premium IPTV Service Stylesheet
   ========================================== */

/* ==========================================
   1. CSS RESET & BASE STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a053a;
    background-image:
        radial-gradient(at 0% 0%, rgba(147, 51, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(147, 51, 234, 0.1) 0px, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #2e1065;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a78bfa, #c084fc);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c4b5fd, #e9d5ff);
}

/* ==========================================
   2. TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================
   3. LAYOUT & CONTAINERS
   ========================================== */

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

section {
    padding: 80px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

/* ==========================================
   4. NEW YEAR BANNER
   ========================================== */

.new-year-banner {
    background: linear-gradient(90deg, #c026d3, #7c3aed, #c026d3);
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
    text-align: center;
    padding: 15px 20px;
    font-weight: bold;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

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

/* ==========================================
   5. NAVIGATION
   ========================================== */

.navbar {
    background: rgba(26, 5, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 52px;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

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

.logo h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

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

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #a78bfa;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ==========================================
   6. BUTTONS
   ========================================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #a78bfa;
    border: 2px solid #a78bfa;
}

.btn-secondary:hover {
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    display: block;
}

/* ==========================================
   7. HERO SECTION
   ========================================== */

.hero {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2rem;
    color: #e9d5ff;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e9d5ff;
    font-weight: 500;
}

.hero-feature-item .icon {
    color: #22c55e;
    font-size: 1.5rem;
}

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

/* ==========================================
   8. FEATURES SECTION
   ========================================== */

.features {
    background: rgba(46, 16, 101, 0.3);
}

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

.feature-card {
    background: rgba(26, 5, 58, 0.6);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
    background: rgba(26, 5, 58, 0.8);
}

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

.feature-card h3 {
    color: #a78bfa;
    margin-bottom: 15px;
}

.feature-card p {
    color: #cbd5e1;
    margin-bottom: 0;
}

/* ==========================================
   9. PRICING SECTION
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(26, 5, 58, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    border: 2px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

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

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    border-color: #a78bfa;
    transform: scale(1.05);
}

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

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    color: #e9d5ff;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 2rem;
    color: #a78bfa;
    margin-top: 10px;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.price-period {
    color: #94a3b8;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ==========================================
   10. HOW IT WORKS SECTION
   ========================================== */

.how-it-works {
    background: rgba(46, 16, 101, 0.2);
}

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

.step-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.step-card h3 {
    color: #a78bfa;
    margin-bottom: 15px;
}

.step-card p {
    color: #cbd5e1;
    margin-bottom: 0;
}

/* ==========================================
   11. BENEFITS SECTION
   ========================================== */

.benefits {
    background: rgba(46, 16, 101, 0.2);
}

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

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(26, 5, 58, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    color: #a78bfa;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-content p {
    color: #cbd5e1;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================
   12. TESTIMONIALS SECTION
   ========================================== */

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

.testimonial-card {
    background: rgba(26, 5, 58, 0.6);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-text {
    color: #e2e8f0;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: #a78bfa;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ==========================================
   13. FAQ SECTION
   ========================================== */

.faq {
    background: rgba(46, 16, 101, 0.2);
}

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

.faq-item {
    background: rgba(26, 5, 58, 0.4);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.2);
}

.faq-item h3 {
    color: #a78bfa;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.8;
}

/* ==========================================
   14. CONTACT SECTION
   ========================================== */

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: #a78bfa;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(26, 5, 58, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #e9d5ff;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #cbd5e1;
    margin-bottom: 0;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(167, 139, 250, 0.3);
    text-align: center;
}

.contact-cta h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-cta p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ==========================================
   15. FOOTER
   ========================================== */

.footer {
    background: rgba(15, 3, 30, 0.9);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section h3 {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.footer-section h4 {
    color: #e9d5ff;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(167, 139, 250, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    margin-bottom: 0;
}

/* ==========================================
   16. SNOWFALL ANIMATION
   ========================================== */

.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    pointer-events: none;
    z-index: 10000;
    animation: fall linear infinite;
    opacity: 0.7;
}

@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}

/* ==========================================
   17. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

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

    .nav-links {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .new-year-banner {
        font-size: 0.9rem;
        padding: 10px;
    }

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

    .hero-features {
        gap: 20px;
    }

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

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

    .features-grid,
    .pricing-grid,
    .steps-grid,
    .testimonials-grid,
    .faq-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .btn-lg {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .price .amount {
        font-size: 3rem;
    }
}

/* ==========================================
   18. UTILITY CLASSES
   ========================================== */

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

.text-gradient {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ==========================================
   19. ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in {
    animation: fadeIn 1s ease;
}

/* ==========================================
   20. PRINT STYLES
   ========================================== */

@media print {
    .navbar,
    .new-year-banner,
    .footer,
    .snowflake {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
