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

:root {
    --primary: #088395;
    --primary-dark: #0a4d68;
    --accent: #00d9ff;
    --accent-glow: rgba(0, 217, 255, 0.4);
    --neon-green: #00f5d4;
    --bg-gradient: linear-gradient(135deg, #0a2e3d 0%, #0a4d68 30%, #088395 60%, #05bfdb 100%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-white: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 217, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
    -webkit-touch-callout: none;
}

img { pointer-events: none; -webkit-user-drag: none; user-drag: none; }

/* ===== HEADER ===== */
.top-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(10, 30, 50, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.top-header .container {
    display: flex; align-items: center; justify-content: center;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.logo { height: 50px; width: auto; filter: drop-shadow(0 0 10px var(--accent-glow)); }

/* ===== HERO ===== */
#particles-canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

.hero-section {
    position: relative; text-align: center;
    padding: 80px 20px 100px; color: white; overflow: hidden;
}

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

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); padding: 8px 20px;
    border-radius: 50px; font-size: 0.9em; color: var(--accent);
    margin-bottom: 25px; animation: fadeInDown 0.8s ease-out;
}

.live-dot {
    width: 8px; height: 8px; background: #ff4444; border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(255, 68, 68, 0); }
}

.hero-section h1 {
    font-family: 'Outfit', sans-serif; font-size: 4em; font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #00d9ff 50%, #00f5d4 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: fadeInDown 1s ease-out;
    line-height: 1.1;
}

.hero-section .subtitle {
    font-size: 1.4em; opacity: 0.9; animation: fadeInUp 1s ease-out;
    margin-bottom: 8px; font-weight: 300;
}

.hero-section .tagline {
    font-size: 1.1em; opacity: 0.7; font-style: italic;
    animation: fadeInUp 1.2s ease-out;
}

.hero-cta {
    margin-top: 40px; display: flex; gap: 15px;
    justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--neon-green) 100%);
    color: var(--primary-dark); padding: 16px 36px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1.1em;
    transition: var(--transition);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px var(--accent-glow), 0 10px 30px rgba(0,0,0,0.3);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); color: white;
    padding: 16px 36px; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.1em;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

/* ===== LIVE PLAYER ===== */
.live-player {
    max-width: 500px; margin: 40px auto 0;
    background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 20px 25px; animation: fadeInUp 1.6s ease-out;
}

.player-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85em; color: var(--accent); margin-bottom: 12px; font-weight: 600;
}

.player-controls {
    display: flex; align-items: center; gap: 15px;
}

.play-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--neon-green));
    border: none; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: var(--transition); flex-shrink: 0;
}

.play-btn:hover { transform: scale(1.1); box-shadow: 0 0 25px var(--accent-glow); }

.play-btn svg { width: 22px; height: 22px; fill: var(--primary-dark); }

.player-info { flex: 1; }
.player-title { font-weight: 600; font-size: 1em; color: white; }
.player-status { font-size: 0.85em; color: var(--accent); }

.visualizer {
    display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-left: auto;
}

.visualizer .bar {
    width: 4px; background: var(--accent); border-radius: 2px;
    animation: visualizer-bar 0.8s ease-in-out infinite alternate;
}

.visualizer .bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.visualizer .bar:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.visualizer .bar:nth-child(3) { height: 90%; animation-delay: 0.3s; }
.visualizer .bar:nth-child(4) { height: 50%; animation-delay: 0.45s; }
.visualizer .bar:nth-child(5) { height: 70%; animation-delay: 0.6s; }

.visualizer.paused .bar { animation-play-state: paused; height: 15% !important; }

@keyframes visualizer-bar {
    to { height: 100%; }
}

/* ===== FEATURES ===== */
.features {
    display: flex; justify-content: center; gap: 25px;
    margin: 30px auto 60px; flex-wrap: wrap; max-width: 1200px; padding: 0 20px;
}

.feature {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 35px 25px; border-radius: 20px; text-align: center;
    flex: 1; min-width: 220px; max-width: 280px;
    transition: var(--transition); position: relative; overflow: hidden;
}

.feature::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before { left: 100%; }
.feature:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 10px 40px var(--shadow-color); }

.feature-icon { font-size: 3em; margin-bottom: 15px; filter: drop-shadow(0 0 10px var(--accent-glow)); }
.feature h3 { color: var(--accent); margin-bottom: 10px; font-size: 1.2em; font-family: 'Outfit', sans-serif; }
.feature p { color: var(--text-secondary); font-size: 0.95em; }

/* ===== STATS ===== */
.stats-section {
    padding: 60px 20px; max-width: 1100px; margin: 0 auto;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
}

.stat-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 30px 20px; text-align: center;
    transition: var(--transition);
}

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

.stat-icon { font-size: 2.5em; margin-bottom: 10px; }

.stat-number {
    font-family: 'Outfit', sans-serif; font-size: 2.8em; font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--neon-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-label { color: var(--text-secondary); font-size: 0.95em; margin-top: 5px; }

/* ===== PLANS ===== */
.plans-section { padding: 60px 20px; }

.section-title {
    text-align: center; font-family: 'Outfit', sans-serif;
    font-size: 2.8em; font-weight: 800; margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-subtitle {
    text-align: center; color: var(--text-secondary);
    font-size: 1.15em; margin-bottom: 50px;
}

.plans {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px; max-width: 1300px; margin: 0 auto;
}

.plan {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: 25px;
    padding: 40px 30px; text-align: center;
    transition: var(--transition); position: relative;
    overflow: hidden; display: flex; flex-direction: column;
}

.plan::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--neon-green));
}

.plan:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
}

.plan.featured {
    border: 2px solid var(--neon-green);
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.08), rgba(0, 217, 255, 0.05));
    transform: scale(1.04);
}

.plan.featured:hover { transform: scale(1.06) translateY(-10px); }

.plan.featured::after {
    content: "⭐ MÁS POPULAR"; position: absolute; top: 22px; right: -42px;
    background: linear-gradient(135deg, var(--neon-green), var(--accent));
    color: var(--primary-dark); padding: 8px 50px;
    transform: rotate(45deg); font-weight: 800; font-size: 0.8em;
}

.plan h2 {
    font-family: 'Outfit', sans-serif; color: white;
    font-size: 1.8em; margin-bottom: 8px;
}

.bitrate { color: var(--accent); font-size: 1.15em; font-weight: 600; margin-bottom: 15px; }

.price {
    font-family: 'Outfit', sans-serif; font-size: 2.8em; font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--neon-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin: 20px 0;
}

.price span { font-size: 0.4em; opacity: 0.7; }

.plan ul { list-style: none; margin: 20px 0; text-align: left; flex-grow: 1; }

.plan li {
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.98em; color: var(--text-secondary);
}

.plan li::before {
    content: "✓"; color: var(--neon-green); font-weight: bold;
    margin-right: 10px; font-size: 1.1em;
}

.buy-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white; padding: 14px 32px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1em;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    margin-top: auto;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.buy-button:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon { display: inline-flex; align-items: center; }
.whatsapp-icon::before { content: "📱"; font-size: 1.1em; line-height: 1; }

/* ===== FAQ ===== */
.faq-section { padding: 60px 20px; max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); border-radius: 15px;
    margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}

.faq-item:hover { border-color: var(--accent); }

.faq-question {
    padding: 20px 25px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; color: white; font-size: 1.05em;
}

.faq-question::after {
    content: '+'; font-size: 1.5em; color: var(--accent);
    transition: transform 0.3s ease; font-weight: 300;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    padding: 0 25px; color: var(--text-secondary); line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* ===== FOOTER ===== */
footer {
    text-align: center; padding: 50px 20px;
    color: white; margin-top: 60px;
    background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
}

.partner-section {
    background: var(--glass-bg); backdrop-filter: blur(10px);
    padding: 30px 20px; margin-bottom: 30px; border-radius: 20px;
    border: 1px solid var(--glass-border); display: inline-block;
}

.partner-title { color: var(--accent); font-size: 1.2em; margin-bottom: 20px; font-weight: 600; }
.partner-logo { max-width: 180px; height: auto; filter: drop-shadow(0 0 10px var(--accent-glow)); transition: var(--transition); }
.partner-logo:hover { transform: scale(1.08); }
.partner-link { display: inline-block; }
.contact-info { font-size: 1.15em; margin-top: 15px; font-weight: 600; color: var(--accent); }

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
    position: fixed; bottom: 25px; right: 25px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    transition: var(--transition); text-decoration: none;
    animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

@keyframes float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scroll-top {
    position: fixed; bottom: 95px; right: 25px; z-index: 999;
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--glass-bg); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
    opacity: 0; pointer-events: none;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent); border-color: var(--accent); }
.scroll-top svg { width: 20px; height: 20px; fill: white; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { padding-top: 65px; }
    .logo { height: 40px; }
    .hero-section { padding: 50px 15px 70px; }
    .hero-section h1 { font-size: 2.5em; }
    .hero-section .subtitle { font-size: 1.1em; }
    .hero-cta { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-number { font-size: 2em; }
    .section-title { font-size: 2em; }
    .plan.featured { transform: scale(1); }
    .plan.featured:hover { transform: translateY(-8px); }
    .features { gap: 15px; }
    .feature { min-width: 150px; padding: 25px 15px; }
    .live-player { margin: 25px 15px 0; }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 2em; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .plans { grid-template-columns: 1fr; }
}
