/* ===== SOPORTE.CSS - Mismo estilo premium ===== */
:root {
    --primary: #ffcc00;
    --primary-dark: #ff9900;
    --primary-gradient: linear-gradient(135deg, #ffcc00, #ff6600);
    --primary-glow: 0 0 30px rgba(255, 204, 0, 0.5);
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(15, 15, 15, 0.95);
    --card-border: rgba(255, 204, 0, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #e6e6e6;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== EFECTOS DE ENERGÍA ===== */
.support-energy-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.energy-bolt {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-dark), transparent);
    width: 3px;
    height: 80px;
    opacity: 0;
    animation: energyFlash 2.5s infinite;
    filter: blur(1px);
}

.energy-bolt:nth-child(1) { top: 10%; left: 3%; animation-delay: 0s; }
.energy-bolt:nth-child(2) { top: 30%; right: 5%; animation-delay: 0.8s; }
.energy-bolt:nth-child(3) { top: 70%; left: 15%; animation-delay: 1.6s; }

@keyframes energyFlash {
    0%, 100% { opacity: 0; transform: translateY(-20px) scaleY(0.3); }
    15%, 35% { opacity: 0.7; transform: translateY(0) scaleY(1); box-shadow: 0 0 25px var(--primary), 0 0 50px var(--primary-dark); }
    45% { opacity: 0; transform: translateY(20px) scaleY(0.3); }
}

/* ===== HEADER ===== */
.dashboard-header-premium {
    position: relative;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    padding: var(--spacing-md) var(--spacing-lg);
}

.header-content-premium {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 204, 0, 0.1);
}

.nav-link.active {
    color: #000;
    background: var(--primary-gradient);
}

/* ===== HERO ===== */
.support-hero {
    position: relative;
    padding: calc(4rem + 80px) 1.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.8));
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,204,0,0.3) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.title-line {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--primary-glow);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 2.5rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CONTENIDO ===== */
.support-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 5;
}

.support-main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* ===== SECCIONES ===== */
.form-section,
.faq-section,
.direct-contact-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-section:hover,
.faq-section:hover,
.direct-contact-section:hover {
    border-color: var(--primary);
    box-shadow: var(--primary-glow);
}

/* ===== HEADER DE SECCIÓN ===== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 2rem;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.header-line {
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== ALERTAS ===== */
.alert-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.alert-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-icon {
    font-size: 2rem;
}

.alert-message.success .alert-icon {
    color: var(--success);
}

.alert-message.error .alert-icon {
    color: var(--danger);
}

.alert-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.alert-content p {
    color: var(--text-muted);
}

/* ===== FORMULARIO ===== */
.support-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.field-icon {
    font-size: 1.1rem;
}

.required {
    color: var(--danger);
    margin-left: 0.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 204, 0, 0.2);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger);
}

.error-message {
    display: block;
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 3rem;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

/* ===== ARCHIVO ADJUNTO ===== */
.file-group {
    margin-bottom: 2rem;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 204, 0, 0.1);
    border: 2px dashed rgba(255, 204, 0, 0.3);
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: rgba(255, 204, 0, 0.15);
    border-color: var(--primary);
}

.file-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ===== BOTÓN DE ENVÍO ===== */
.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 40px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

.button-icon {
    font-size: 1.2rem;
}

/* ===== FAQS ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 204, 0, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    flex: 1;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.faq-category-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CARRUSEL MÓVIL ===== */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .faq-carousel {
        position: relative;
        overflow: hidden;
        padding: 0 0 2rem 0;
    }
    
    .carousel-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0.5rem 1rem;
        scrollbar-width: none;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-slide {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .faq-card-mobile {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 204, 0, 0.1);
        border-radius: var(--border-radius-lg);
        padding: 1.5rem;
        text-align: center;
    }
    
    .faq-card-mobile .faq-icon {
        margin: 0 auto 1rem;
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        background: rgba(255, 204, 0, 0.3);
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        width: 20px;
        background: var(--primary);
        border-radius: 10px;
    }
}

/* ===== CONTACTO DIRECTO ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 204, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
}

/* ===== FOOTER ===== */
.dashboard-footer-premium {
    background: linear-gradient(to top, #000, rgba(0,0,0,0.95));
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
    text-align: center;
}

.footer-content-premium {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo-premium {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text-premium {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== BOTONES DE ENERGÍA (para gracias.php) ===== */
.energy-btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.energy-btn-premium.primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: var(--primary-glow);
}

.energy-btn-premium.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(255, 204, 0, 0.6);
}

.energy-btn-premium.secondary {
    background: rgba(255, 255, 255, 0.004);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--primary);
}

.energy-btn-premium.secondary:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title .title-line {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .hero-stat {
        justify-content: center;
    }
    
    .form-section,
    .faq-section,
    .direct-contact-section {
        padding: 2rem 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .form-section,
    .faq-section,
    .direct-contact-section {
        padding: 1.5rem 1rem;
    }
}