:root {
    --primary: #8a2be2; /* BlueViolet */
    --secondary: #00ced1; /* DarkTurquoise */
    --accent: #ff00ff; /* Fuchsia */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
}

.blob-1 { top: -200px; right: -200px; }
.blob-2 { bottom: -200px; left: -200px; background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lang-selector {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.lang-selector select {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-selector select:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-selector select option {
    background: #1a1a1a;
    color: white;
}

/* Header */
header {
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.5);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 5px 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

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

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.features-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--secondary);
    font-weight: 900;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #1a1a1a;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.chat-header {
    padding: 1.2rem;
    background: var(--primary);
    font-weight: 700;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.message {
    padding: 0.8rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
}

.message.user {
    align-self: flex-end;
    background: var(--primary);
}

.message.ai {
    align-self: flex-start;
    background: #333;
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--glass-border);
}

.chat-input input {
    flex: 1;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.5rem;
    color: white;
}

.chat-input button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0 1rem;
    border-radius: 10px;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* Pricing Multi-Currency & Feature Styles */
.secondary-price {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.connection-info {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 0.2rem;
}

.upgrade-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 4px;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem !important;
    text-align: left;
    padding: 0;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.features-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--secondary);
    font-weight: 900;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-3px);
}
/* Filter Bar for Channels */
.filter-bar {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.3);
}

/* Tab Navigation Styles */
.nav-tab {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.nav-tab:hover, .nav-tab.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
    border-bottom: 2px solid var(--secondary);
    border-radius: 12px 12px 0 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Data Grid / Cards (Channels & News) */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.data-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    max-height: 450px;
}

.data-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 206, 209, 0.3));
}

.channel-list {
    margin-top: 1rem;
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
}

.channel-list::-webkit-scrollbar {
    width: 4px;
}

.channel-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.channel-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.channel-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255,255,255,0.08); /* Slightly lighter */
    padding: 4px;
    flex-shrink: 0;
}

.total-channels {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--glass-border);
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

.data-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

.data-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-style: italic;
    color: var(--text-muted);
}
/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    header { padding: 1rem 0; }
    
    .nav-links { display: none; } /* Could implement a hamburger later if needed */
    
    .hero { padding: 6rem 0 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .hero-logo { height: 80px; }
    
    .pricing-grid { gap: 1.5rem; }
    .pricing-card { padding: 2rem 1.5rem; }
    .pricing-card.popular { transform: scale(1); margin: 1rem 0; }
    
    .price { font-size: 2.5rem; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .chat-box {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        position: fixed;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { width: 100%; text-align: center; }
}

