/* ============================================================
   PC-DEVICE WEB - Estilos Globales (Premium v2)
   ============================================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --light-2: #e2e8f0;
    --success: #22c55e;
    --danger: #ef4444;
    --whatsapp: #25d366;
    --glass-bg: rgba(30, 41, 59, 0.8);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0 2rem;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    font-size: 1.3rem;
}
.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--light);
    background: rgba(255,255,255,0.05);
}
.btn-nav-whatsapp {
    background: var(--whatsapp) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-nav-whatsapp:hover { filter: brightness(1.1) !important; }
.menu-toggle { display: none; background: none; border: none; color: var(--light); font-size: 1.5rem; cursor: pointer; }

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a1a3e 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 1;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ ABOUT SECTION ============ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about-text p {
    color: var(--gray-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}
.about-text .about-intro {
    font-size: 1.15rem;
    color: var(--light-2);
}
.about-text strong { color: var(--light); }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.stat-box {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}
.stat-box:hover {
    border-color: rgba(37,99,235,0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ============ SECCIONES ============ */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-header h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ SERVICIOS ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}
.service-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* ============ TESTIMONIOS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.testimonial-card .stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-card p { color: var(--gray-light); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.testimonial-card .author { font-weight: 600; }
.testimonial-card .role { color: var(--gray); font-size: 0.85rem; }

/* ============ CTA MOVIESPE ============ */
.cta-moviespe {
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(14,165,233,0.05));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 24px;
    padding: 4rem 2rem;
}

/* ============ CONTACTO ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-form-container {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
}
.contact-form-container textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--dark-3);
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    resize: vertical;
}
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.contact-form-container textarea::placeholder { color: var(--gray); }
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}
.contact-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.2);
}
.contact-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--gray); font-size: 0.9rem; }
.contact-card a:hover { text-decoration: underline !important; }

/* ============ FORM ============ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--light-2);
}
.form-group input, .form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--dark-3);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.form-group input::placeholder { color: var(--gray); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-outline {
    border: 2px solid rgba(255,255,255,0.15);
    color: var(--light);
    background: transparent;
}
.btn-outline:hover { border-color: var(--primary); background: rgba(37,99,235,0.1); }
.btn-success { background: var(--whatsapp); color: white; }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 24px;
    margin: 0 2rem;
}
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; opacity: 0.9; }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-col h4 { margin-bottom: 1rem; color: var(--light); font-size: 1.1rem; }
.footer-col p, .footer-col a { color: var(--gray); font-size: 0.9rem; display: block; margin-bottom: 0.5rem; text-decoration: none; }
.footer-col a:hover { color: var(--light); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============ TOAST ============ */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.toast {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }
.toast.removing { animation: slideOut 0.3s ease forwards; }
@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100px); opacity: 0; }
}

/* ============ ADMIN PANEL ============ */
.admin-container {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 0 2rem;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}
.stat-card .number { font-size: 2rem; font-weight: 800; }
.stat-card .label { color: var(--gray); font-size: 0.85rem; margin-top: 0.25rem; }
.stat-card.primary .number { color: var(--primary); }
.stat-card.success .number { color: var(--success); }
.stat-card.warning .number { color: var(--accent); }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-2);
    border-radius: 12px;
    overflow: hidden;
}
.admin-table th {
    background: var(--dark-3);
    padding: 1rem;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
}
.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
}
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-active { background: rgba(34,197,94,0.15); color: var(--success); }
.status-pending { background: rgba(245,158,11,0.15); color: var(--accent); }
.status-expired { background: rgba(239,68,68,0.15); color: var(--danger); }
.status-cancelled { background: rgba(100,116,139,0.15); color: var(--gray); }

/* ============ ADMIN REPORTING PANEL ============ */
.reporting-section {
    margin-bottom: 2rem;
}
.reporting-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.reporting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.report-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s;
}
.report-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.25);
}
.report-card .report-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}
.report-card .report-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
}
.report-card .report-label {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}
.report-card.movie .report-number { color: var(--primary); }
.report-card.series .report-number { color: var(--accent); }
.report-card.album .report-number { color: var(--success); }

/* Bar Chart - CSS puro */
.chart-wrapper {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.chart-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 200px;
    padding: 0 0.5rem;
}
.bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}
.bar {
    width: 100%;
    max-width: 80px;
    border-radius: 8px 8px 0 0;
    min-height: 4px;
    position: relative;
    transition: height 0.6s ease;
    cursor: pointer;
}
.bar:hover {
    opacity: 0.85;
    transform: scaleY(1.02);
    transform-origin: bottom;
}
.bar .bar-value {
    position: absolute;
    top: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}
.bar.total-bar { background: linear-gradient(180deg, var(--primary), #1d4ed8); }
.bar.active-bar { background: linear-gradient(180deg, var(--success), #16a34a); }
.bar.pending-bar { background: linear-gradient(180deg, var(--accent), #d97706); }
.bar.expired-bar { background: linear-gradient(180deg, var(--danger), #dc2626); }

.bar-label {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--gray);
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Recent Registrations */
.recent-section {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.recent-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--dark-3);
    border-radius: 10px;
    transition: background 0.2s;
}
.recent-item:hover {
    background: rgba(255,255,255,0.05);
}
.recent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    flex-shrink: 0;
    border: 2px solid rgba(14,165,233,0.2);
}
.recent-info {
    flex: 1;
    min-width: 0;
}
.recent-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light);
}
.recent-email {
    font-size: 0.8rem;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-meta {
    text-align: right;
    flex-shrink: 0;
}
.recent-plan {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 500;
}
.recent-date {
    font-size: 0.7rem;
    color: var(--gray);
}

/* ============ MOVIESPE PLANS ============ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.plan-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); }
.plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(37,99,235,0.15);
    transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.plan-name { font-size: 1.1rem; color: var(--gray); margin-bottom: 0.5rem; }
.plan-price { font-size: 3rem; font-weight: 800; margin-bottom: 0.25rem; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.plan-original { 
    text-decoration: line-through; 
    color: var(--gray); 
    font-size: 0.9rem; 
    margin-bottom: 0.5rem;
}
.plan-discount {
    display: inline-block;
    background: rgba(245,158,11,0.15);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.plan-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}
.plan-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.plan-features li::before { content: '✓'; color: var(--success); font-weight: bold; }
.payment-info {
    display: none;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
    text-align: center;
}
.payment-info.show { display: block; animation: fadeIn 0.5s ease; }
.payment-info h3 { color: var(--success); margin-bottom: 0.5rem; }
.payment-info .amount { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; }
.payment-info .details { color: var(--gray); font-size: 0.9rem; margin-bottom: 0.5rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============ MOBILE ============ */
@media (max-width: 968px) {
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-2);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .nav-links.show { display: flex; }
    .menu-toggle { display: block; z-index: 1000; }
    .form-row { grid-template-columns: 1fr; }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-6px); }
    .cta-section { margin: 0 1rem; border-radius: 16px; }
    .navbar { padding: 0 1rem; }
    .contact-info { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============ HERO VIDEO ============ */
.hero-video {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a1a3e 100%);
}
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.35;
    filter: brightness(0.7) saturate(1.2);
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.85) 100%);
    z-index: 1;
}
.hero-video .hero-content {
    z-index: 2;
    position: relative;
}
.hero-video-controls {
    position: absolute;
    bottom: 5rem;
    right: 2rem;
    z-index: 3;
}
.btn-video-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.btn-video-control:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

/* ============ YAPE PROMO ============ */
.yape-promo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(14,165,233,0.05));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.yape-promo-icon {
    font-size: 2.5rem;
}
.yape-promo-text {
    flex: 1;
    min-width: 200px;
}
.yape-promo-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.yape-promo-text span {
    color: var(--gray);
    font-size: 0.95rem;
}
.yape-number {
    color: var(--secondary) !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.yape-promo .btn {
    flex-shrink: 0;
}

/* ============ GUIA DE INSTALACION ============ */
.steps-intro {
    margin-bottom: 2.5rem;
}
.steps-intro-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(14,165,233,0.05));
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.steps-intro-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.steps-intro-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.server-url {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(14,165,233,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    word-break: break-all;
}
.server-hint {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.guide-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}
.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}
.guide-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.guide-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(14,165,233,0.1));
    border-radius: 14px;
}
.guide-card-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}
.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.guide-steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}
.guide-steps li:last-child {
    margin-bottom: 0;
}
.step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
}
.step-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.step-content p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}
.step-content code {
    background: rgba(255,255,255,0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--secondary);
    word-break: break-all;
}
.step-content a {
    color: var(--secondary);
    text-decoration: underline;
}
.step-content a:hover {
    color: var(--primary);
}

/* ============ RENOVACION ============ */
.renewal-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.renewal-step {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    transition: all 0.3s;
    position: relative;
}
.renewal-step:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.renewal-step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.renewal-step h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--light-2);
}
.renewal-step p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
}
.renewal-arrow {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    flex-shrink: 0;
}
.renewal-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(14,165,233,0.03));
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: 20px;
}
.renewal-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--light-2);
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============ FAQ ============ */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}
.faq-item {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: rgba(37,99,235,0.2);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1rem;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    line-height: 1.5;
}
.faq-question:hover {
    background: rgba(255,255,255,0.02);
}
.faq-arrow {
    color: var(--gray);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-open .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}
.faq-open .faq-answer {
    padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
    color: var(--gray-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}
.faq-answer ul, .faq-answer ol {
    color: var(--gray-light);
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0.5rem 0 0.75rem 1.25rem;
}
.faq-answer li {
    margin-bottom: 0.35rem;
}
.faq-answer code {
    background: rgba(255,255,255,0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--secondary);
    word-break: break-all;
}
.faq-answer strong {
    color: var(--light-2);
}

/* ============ PAYMENT SUCCESS MESSAGE ============ */
.payment-success-msg {
    display: none;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1rem 0 0;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    animation: fadeIn 0.5s ease;
}

/* ============ PLAN ICONS ============ */
.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ============ SECTION INTRO CARDS ============ */
.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ RESPONSIVE EXTENSIONS ============ */
@media (max-width: 968px) {
    .renewal-flow {
        flex-direction: column;
        align-items: center;
    }
    .renewal-step {
        max-width: 400px;
        width: 100%;
    }
    .renewal-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        padding: 0.5rem 0;
    }
}
@media (max-width: 768px) {
    .hero-video-controls {
        bottom: 4rem;
        right: 1rem;
    }
    .btn-video-control {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
    .yape-promo {
        flex-direction: column;
        padding: 1.5rem;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
    .faq-answer {
        padding: 0 1.25rem;
    }
    .faq-open .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}
