/* General & Body Setup */
:root {
    --bg-dark: #07070d;
    --bg-card: rgba(26, 26, 46, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00d4ff;
    --accent-blue: #3b82f6;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

/* Glassmorphism utility card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 13, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo-text span {
    color: var(--accent-cyan);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.btn-primary-sm {
    padding: 8px 18px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #ffffff;
    border-radius: 6px;
}

.btn-secondary-sm {
    padding: 10px 22px;
    font-size: 14px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
}

.btn-secondary-sm:hover {
    border-color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px 20px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08), transparent 45%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #93c5fd, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-actions .btn {
    margin-right: 15px;
}

/* Mockup screenshot styles */
.mockup {
    padding: 0;
    overflow: hidden;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.mockup-header .red { background-color: #ef4444; }
.mockup-header .yellow { background-color: #f59e0b; }
.mockup-header .green { background-color: #10b981; }

.mockup-title {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 15px;
}

.screenshot {
    width: 100%;
    display: block;
    border-radius: 0 0 16px 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.screenshot:hover {
    opacity: 1;
}

/* Features */
.features {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.features-grid .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.features-grid .card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.05);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Gallery Section Layouts */
.gallery-section, .compatibility {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.01);
}

.gallery-container, .compatibility-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.gallery-info h2, .compatibility-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gallery-info p, .compatibility-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.img-card {
    padding: 0;
    overflow: hidden;
}

.img-card img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.compat-list {
    list-style: none;
}

.compat-list li {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-main);
}

/* Pricing */
.pricing {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.popular {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.02);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.06);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 30px;
    background: var(--accent-cyan);
    color: #07070d;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.price-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.price-card .price {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
}

.price-card .price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.price-features li::before {
    content: "•";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .gallery-container, .compatibility-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .compat-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 30px auto;
    }
}

/* Real Screenshot Highlight Styling */
.real-screenshot-container {
    position: relative;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.real-screenshot-container:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    transform: translateY(-4px) scale(1.01);
}

.real-screenshot-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* --- Nuevas Clases para Portales, Sugerencias y Comentarios --- */

/* Tabs para Portales */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.tab-btn.active {
    background: rgba(0, 212, 255, 0.1);
}

.tab-content {
    display: none;
}

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

/* Fichitas de Calificación (Vouchers) */
.fichitas-container {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    justify-content: center;
}

.fichita {
    width: 32px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0% 100%); /* Simula ticket cortado */
}

.fichita::before, .fichita::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-dark);
}
.fichita::before { left: -3px; top: 50%; transform: translateY(-50%); }
.fichita::after { right: -3px; top: 50%; transform: translateY(-50%); }

.fichita:hover, .fichita.selected {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    transform: scale(1.08);
}

/* Comentarios / Reseñas List */
.reviews-scroll {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 5px;
}

.review-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Sugerencias Rankeadas */
.suggestions-list {
    margin-top: 25px;
}

.suggestion-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: border-color 0.3s;
}

.suggestion-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.sug-info {
    flex-grow: 1;
}

.sug-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 80px;
    text-align: center;
}

.sug-votes span.vote-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-cyan);
}

/* Botón flotante de promociones */
.promo-banner {
    background: linear-gradient(90deg, #b91c1c, #7f1d1d);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Tablas Admin */
.admin-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    color: var(--accent-cyan);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Anti-bot inputs */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Modal Overlay & Card Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    width: 95%;
    max-width: 950px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(15, 15, 28, 0.96);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-card.full-screen {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 40px !important;
    box-shadow: none !important;
}

