/* ========================= */
/* RESET */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================= */
/* BASE */
/* ========================= */
body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
}

/* ========================= */
/* GRID PRINCIPAL */
/* ========================= */
.page {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 40px;
    padding: 20px;
}

/* ========================= */
/* CONTENEDOR PRINCIPAL */
/* ========================= */
.container {
    text-align: center;
    background: #1e293b;
    padding: 30px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ========================= */
/* TITULO */
/* ========================= */
h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ========================= */
/* IP BOX (GRID) */
/* ========================= */
.ip-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

/* IP TEXTO */
#ip {
    font-size: 26px;
    font-weight: bold;
    color: #38bdf8;
    word-break: break-word;
}

/* ========================= */
/* BOTON */
/* ========================= */
button {
    background: #38bdf8;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

button:hover {
    background: #0ea5e9;
}

/* ========================= */
/* INFO */
/* ========================= */
.info {
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
}

.info p {
    margin: 6px 0;
}

/* ========================= */
/* API */
/* ========================= */
.api {
    margin-top: 20px;
    font-size: 12px;
    color: #cbd5f5;
    text-align: left;
}

code {
    background: #020617;
    padding: 6px 10px;
    border-radius: 5px;
    display: block;
    margin-top: 8px;
    word-break: break-all;
}

/* ========================= */
/* CONTENIDO SEO */
/* ========================= */
.content {
    max-width: 900px;
    width: 100%;
    padding: 0 10px;
}

.content h2 {
    font-size: 1.3rem;
    margin-top: 20px;
}

.content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5f5;
}

/* ========================= */
/* 📱 TABLET (>= 600px) */
/* ========================= */
@media (min-width:600px) {

    .container {
        padding: 35px;
    }

    #ip {
        font-size: 32px;
    }

    .ip-box {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    button {
        width: auto;
        padding: 10px 18px;
    }

    .info {
        font-size: 15px;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 1.1rem;
    }

}

/* ========================= */
/* 💻 DESKTOP (>= 900px) */
/* ========================= */
@media (min-width:900px) {

    .page {
        gap: 50px;
        padding: 40px;
    }

    .container {
        max-width: 500px;
        padding: 40px;
    }

    #ip {
        font-size: 38px;
    }

    .content {
        max-width: 1000px;
    }

}

/* ========================= */
/* 🖥️ LARGE SCREENS (>= 1200px) */
/* ========================= */
@media (min-width:1200px) {

    .page {
        gap: 60px;
    }

    .container {
        max-width: 687px;
    }

    .content {
        max-width: 1100px;
    }

}

/* ========================= */
/* MENU */
/* ========================= */
.menu {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* LINKS */
.menu a {
    text-decoration: none;
    color: #e2e8f0;
    background: rgba(56, 189, 248, 0.08);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER MODERNO */
.menu a:hover {
    color: #fff;
    background: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

/* EFECTO LUZ */
.menu a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.menu a:hover::after {
    left: 100%;
}

/* ACTIVO */
.menu a.active {
    background: #38bdf8;
    color: #fff;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width:600px) {

    .menu {
        gap: 8px;
    }

    .menu a {
        padding: 10px;
        font-size: 13px;
        flex: 1 1 auto;
        text-align: center;
    }

}

.faq {
    max-width: 900px;
    margin-top: 40px;
}

.faq h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ITEM */
.faq-item {
    background: #1e293b;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* BOTON */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #38bdf8;
    text-align: left;
    padding: 15px 20px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

/* ICONO */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 18px;
}

/* ACTIVO */
.faq-item.active .faq-question::after {
    content: "-";
}

/* RESPUESTA */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 20px 15px;
}

.faq-answer p {
    color: #cbd5f5;
    font-size: 0.95rem;
}

/* BANDERA */
.info img {
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 3px;
}

/* MAPA */
.map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* BOTON VPN */
.btn-vpn {
    display: block;
    margin: 20px auto;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    max-width: 300px;
    transition: 0.3s;
}

.btn-vpn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

/* VELOCIDAD */
#speed {
    color: #22c55e;
    font-weight: bold;
}

/* ========================= */
/* LEGAL PAGE */
/* ========================= */

.legal-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: #1e293b;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-container h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.legal-container h2 {
    font-size: 1.3rem;
    margin-top: 20px;
    color: #38bdf8;
}

.legal-container p {
    margin-top: 10px;
    line-height: 1.6;
    color: #cbd5f5;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width:600px) {

    .legal-container {
        padding: 20px;
    }

    .legal-container h1 {
        font-size: 1.5rem;
    }

}

/* ========================= */
/* CONTACTO */
/* ========================= */

.contact-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: #1e293b;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-container h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-container p {
    font-size: 0.95rem;
    color: #cbd5f5;
    margin-bottom: 20px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #020617;
    color: white;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #38bdf8;
}

/* BOTON */
.contact-form button {
    background: #38bdf8;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0ea5e9;
}

/* INFO */
.contact-info {
    margin-top: 20px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width:600px) {

    .contact-container {
        padding: 20px;
    }

    .contact-container h1 {
        font-size: 1.5rem;
    }

}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
    width: 100%;
    margin-top: 40px;
    padding: 20px 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* LINKS */
.footer a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    margin: 0 8px;
    transition: 0.3s;
}

/* HOVER */
.footer a:hover {
    color: #38bdf8;
}

/* TEXTO */
.footer p {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width:600px) {

    .footer {
        font-size: 12px;
    }

    .footer a {
        display: inline-block;
        margin: 5px 6px;
    }

}

/* EXTRA PARA TERMINOS */
.legal-container h2 {
    border-left: 3px solid #38bdf8;
    padding-left: 10px;
}

.contact-info a {
    text-decoration: none;
    color: #ffffff;
}

.contact-info a:hover {
    color: #0ea5e9;
    transition: all .7s ease-in-out;
}

/* ========================= */
/* INTRO MI IP */
/* ========================= */

.intro {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 15px;
}

/* TITULO */
.intro h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PÁRRAFOS */
.intro p {
    font-size: 1.05rem;
    color: #cbd5f5;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width:600px) {

    .intro h1 {
        font-size: 1.6rem;
    }

    .intro p {
        font-size: 0.95rem;
    }

}

/* ========================= */
/* BLOQUE CONTENIDO MI IP */
/* ========================= */

.info-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

/* TITULOS */
.info-content h2 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #38bdf8;
    position: relative;
    padding-left: 12px;
}

/* LINEA DECORATIVA */
.info-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 18px;
    background: #38bdf8;
    border-radius: 2px;
}

/* PÁRRAFOS */
.info-content p {
    font-size: 1.05rem;
    color: #cbd5f5;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width:600px) {

    .info-content h2 {
        font-size: 1.2rem;
    }

    .info-content p {
        font-size: 0.95rem;
    }

}