/* VIP Support Portal Styles */

.support-portal {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
    /* Removido flex-center para evitar que corte el inicio del form en móviles */
    display: block;
    position: relative;
    background-image:
        linear-gradient(rgba(10, 203, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 203, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
}

@media (min-width: 992px) {
    .support-portal {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    /* Método más seguro para los márgenes laterales en iOS/Android */
    margin: 0 auto;
}

@media (min-width: 992px) {
    .support-grid {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Shared Card/Panel Styles (HUD Look) */
.support-noc-panel,
.support-card {
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.8) 0%, rgba(5, 10, 20, 0.95) 100%);
    border: 1px solid rgba(10, 203, 255, 0.2);
    border-radius: 4px;
    /* More angular/tech */
    box-shadow: 0 0 40px rgba(10, 203, 255, 0.1), inset 0 0 20px rgba(10, 203, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.support-noc-panel {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .support-noc-panel {
        padding: 2.5rem 2rem;
        gap: 1.5rem;
    }
}

/* HUD Corner Brackets */
.support-noc-panel::before,
.support-card::before,
.support-noc-panel::after,
.support-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--cian);
    border-style: solid;
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

.support-noc-panel::before,
.support-card::before {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}

.support-noc-panel::after,
.support-card::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

.noc-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.2);
    color: #00FF66;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF66;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.noc-title {
    font-size: 1.5rem;
    color: var(--cian);
    margin: 0;
    font-weight: 700;
}

.noc-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.noc-stats {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.noc-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--cian);
    transition: transform 0.3s ease, background 0.3s ease;
}

.noc-stat-item:hover {
    transform: translateX(5px);
    background: rgba(10, 203, 255, 0.05);
}

.noc-stat-item div h5 {
    color: #fff;
    margin: 0 0 0.2rem 0;
    font-size: 0.9rem;
}

.noc-stat-item div span {
    color: var(--cian);
    font-size: 0.8rem;
    font-weight: 500;
}

.noc-illustration {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.blink-1 {
    animation: blink 1.2s infinite alternate;
}

.blink-2 {
    animation: blink 0.8s infinite alternate;
}

.blink-3 {
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 5px currentColor);
    }
}

.noc-threat-map {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.threat-map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(10, 203, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background: #000;
}

@media (min-width: 768px) {
    .threat-map-container {
        height: 250px;
    }
}

.threat-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    /* Evita que el usuario scrollee dentro del iframe en móviles por error */
}

.support-card {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .support-card {
        padding: 3rem;
    }
}

.support-header {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.support-header h1 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    /* Tipografía fluida */
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
}

.support-header p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.exclusive-badge {
    color: var(--cian);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

@media (min-width: 768px) {
    .exclusive-badge {
        font-size: 0.85rem;
    }
}

.sla-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .sla-badge-container {
        flex-direction: column;
        /* Apila el badge en pantallas muy angostas */
        text-align: center;
        gap: 0.5rem;
    }
}

@media (min-width: 768px) {
    .sla-badge-container {
        gap: 1rem;
        padding: 1rem 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.sla-badge-container.premium {
    background: rgba(245, 196, 0, 0.05);
    border-color: rgba(245, 196, 0, 0.4);
    box-shadow: 0 0 20px rgba(245, 196, 0, 0.15);
}

.sla-badge-container.premium .sla-icon {
    color: #F5C400;
    filter: drop-shadow(0 0 8px rgba(245, 196, 0, 0.6));
}

.sla-badge-container.business {
    background: rgba(10, 203, 255, 0.05);
    border-color: rgba(10, 203, 255, 0.4);
    box-shadow: 0 0 20px rgba(10, 203, 255, 0.15);
}

.sla-badge-container.business .sla-icon {
    color: var(--cian);
    filter: drop-shadow(0 0 8px rgba(10, 203, 255, 0.6));
}

.sla-badge-container.basico {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.sla-badge-container.basico .sla-icon {
    color: rgba(255, 255, 255, 0.5);
}

.sla-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sla-text {
    text-align: left;
}

.sla-text h4 {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.sla-text p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 768px) {
    .sla-text p {
        font-size: 1.25rem;
    }
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    /* Menos espacio entre inputs en móviles */
}

@media (min-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cian);
    display: flex;
    align-items: center;
}

.form-group label::before {
    content: '>';
    margin-right: 6px;
    color: #00FF66;
    font-weight: bold;
    font-family: monospace;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(10, 203, 255, 0.2);
    border-radius: 2px;
    padding: 0.8rem 1rem;
    color: #00FF66;
    /* Terminal green text */
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    /* Fuerza a que no desborde horizontalmente */
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 255, 102, 0.05);
    border-color: #00FF66;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}

/* Input with Icon Styles */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding-left: 2.8rem;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--cian);
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: rgba(10, 203, 255, 0.5);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.support-submit {
    margin-top: 2rem;
    width: 100%;
    background: rgba(10, 203, 255, 0.05);
    border: 1px solid var(--cian);
    color: var(--cian);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 1.2rem;
    font-weight: 700;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-submit:hover {
    background: var(--cian);
    color: #000;
    box-shadow: 0 0 25px rgba(10, 203, 255, 0.4);
}

.support-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.support-submit:hover::before {
    animation: sweep 1s infinite linear;
}

@keyframes sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Removed conflicting select option rule */