/* Paleta oficial */
:root {
  --primary: #6C63FF;      /* Roxo neon */
  --secondary: #00D4FF;    /* Azul ciano */
  --accent: #FF6B35;       /* Laranja CTA */
  --bg-dark: #0A0A1A;      /* Preto space */
  --bg-card: #12122A;      /* Card dark */
  --text-light: #E8E8F0;
  --text-muted: #8888AA;
  --success: #00FF88;
  --whatsapp: #25D366;
  --gradient: linear-gradient(135deg, #6C63FF, #00D4FF);
  --glow: 0 0 30px rgba(108, 99, 255, 0.5);
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: #fff;
}

h1 { font-size: 3rem; text-shadow: var(--glow); }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; color: var(--secondary); }
h3 { font-size: 1.5rem; }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utils */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.8);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes pulse-whatsapp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6); }
}

/* Header */
header {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    padding: 5px 0;
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

nav { display: flex; gap: 20px; align-items: center; }
nav a { font-weight: 600; color: var(--text-light); }
nav a:hover { color: var(--secondary); }

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 0.9)), url('../images/hero-teste-iptv.webp') center/cover no-repeat;
    padding: 4rem 20px;
}
.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.badges { margin: 1rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.badge { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; }
.badge-online { background: rgba(0,255,136,0.2); color: var(--success); border: 1px solid var(--success); }

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--primary);
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    position: relative;
}
.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge-popular {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.price { font-size: 2.5rem; font-weight: bold; color: var(--secondary); margin: 15px 0; }

/* Content sections */
.content-text p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.content-text ul { margin-left: 20px; margin-bottom: 1.5rem; }

/* Footer */
footer {
    background: #05050D;
    padding: 4rem 5% 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}
.footer-grid h3 { color: var(--secondary); font-size: 1.2rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--text-muted); }
.footer-grid ul li a:hover { color: var(--primary); }

.tag-cloud {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    margin: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    animation: pulse-whatsapp 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero { min-height: 70vh; }
    .cta-group { flex-direction: column; }
    nav { display: none; } /* Simpler mobile: hide nav, rely on hamburger or just footer in this demo */
    .grid-2 { grid-template-columns: 1fr; }
}
