/* CSS Variables & Global Styles */
:root {
    /* Color Palette - Vibrant & Modern */
    --primary-color: #4f46e5; /* Electric Indigo */
    --primary-dark: #4338ca;
    --secondary-color: #0ea5e9; /* Sky Blue */
    --accent-color: #f43f5e; /* Rose */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --gradient-hover: linear-gradient(135deg, #4338ca 0%, #0284c7 100%);
    --gradient-overlay: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    
    /* Spacing */
    --header-height: 70px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.text-center { text-align: center; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active-link::after {
    width: 100%;
}

.header-cta .btn-outline-nav {
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
}

.header-cta .btn-outline-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hamburger, .close-menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    margin-top: 0; /* Override margin if any */
}

/* Fallback if image not loaded immediately or fails */
.hero {
    background-color: var(--primary-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    background: rgba(14, 165, 233, 0.15); /* Tint for better visibility */
    color: #38bdf8;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Broadband Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.plan-features {
    flex-grow: 1; /* Pushes button down */
}

.speed {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-features ul {
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.plan-features li i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.plan-features li .bx-check-circle { color: var(--success); }
.plan-features li .bx-movie-play, .bx-tv-play, .bx-rocket { color: var(--secondary-color); }
.plan-features li.negative { color: var(--text-light); opacity: 0.7; }
.plan-features li.negative i { color: var(--text-light); }
.plan-features li.bonus { 
    color: var(--accent-color); 
    font-weight: 600; 
    background: #fff1f2;
    padding: 0.5rem;
    border-radius: 8px;
}
.plan-features li.bonus i { color: var(--accent-color); }

.btn-plan {
    width: 100%;
    text-align: center;
    background: #f1f5f9;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 1rem;
}

.plan-card:hover .btn-plan, .plan-card.featured .btn-plan {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.premium-card {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
}

/* Cable TV Section */
.cable-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cable-section .text-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cable-section .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-list li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #e0e7ff;
    padding: 0.5rem;
    border-radius: 50%;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Combo Offers */
.combo-section {
    padding: 0; /* Full width banner usually needs specific padding or none */
    margin: 4rem 0;
}

.combo-banner {
    position: relative;
    background: var(--gradient-primary);
    border-radius: 24px;
    overflow: hidden;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.combo-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.combo-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.combo-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.combo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.combo-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.combo-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.combo-benefits i {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 2px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-white:hover {
    background: #f8fafc;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Why Choose */
.why-choose {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.feature-item .icon-box {
    width: 70px;
    height: 70px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-item:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Coverage */
.coverage-box {
    background: var(--white);
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.map-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.coverage-box h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.coverage-box p {
    color: var(--text-light);
}

.coverage-box a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
}

.faq-answer.open {
    padding-bottom: 1.25rem;
    max-height: 200px; /* Arbitrary large enough value */
}

/* CTA Section */
.cta-section {
    padding-bottom: 5rem;
}

.cta-card {
    background: var(--text-dark);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #4338ca, transparent);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    color: #cbd5e1;
}

.contact-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.btn-light-lg {
    background: var(--white);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-light-lg:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

.btn-whatsapp-lg {
    background: #25D366;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-whatsapp-lg:hover {
    background: #1fae53;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-color);
}

.footer-contacts h4, .footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-contacts p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background: #020617;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .split-layout { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .text-content { order: 2; }
    .visual-content { order: 1; }
    .feature-list { display: inline-block; text-align: left; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Fullscreen on mobile */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link { font-size: 1.5rem; }
    
    .hamburger { display: block; }
    .close-menu { display: block; position: absolute; top: 1.5rem; right: 1.5rem; }
    
    .header-cta { margin-top: 2rem; }
    
    .hero-title { font-size: 2.2rem; }
    .cta-card { padding: 2.5rem 1.5rem; }
    .cta-card h2 { font-size: 2rem; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-contacts p { justify-content: center; }
    
    .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .combo-banner { padding: 3rem 1.5rem; }
}
