@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    overflow-x: hidden;
    background-color: #000;
    color: #aaa;
}

a {
    color: #fff;
}

/* NAV */
.header__box {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.header__ul {
    display: flex;
    list-style: none;
    position: absolute;
    gap: 40px;
}
.ul__list {
    padding: 10px;
}
.list__link {
    color: #fff;
    border-bottom: 3px solid transparent;
    transition: border 0.3s, color 0.3s;
    font-size: 1.75rem;
}
.link--active {
    padding-bottom: 4px;
    border-bottom: 2px solid #6556b7;
    color: #6556b7;
}

.list__link:hover {
    padding-bottom: 3px;
    color: #6556b7;
    border-bottom: 2px solid #6556b7;
}

@media(max-width:995px) {
    .header__box {
        display: none;
    }
}

/* Navegación tlf*/

.menu-container {
    position: absolute;
    z-index: 1000;
}

.menu-label {
    display: none;
}

.menu-label input[type="checkbox"] {
    display: none;
}

.hidden-buttons {
    display: none;
    margin-top: 10px;
}

.header__ul--tlf {
    width: 9.5rem;
    list-style: none;
    gap: 40px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 3px #aaa;
    z-index: 40;
}

.list__link--tlf {
    color: #fff;
    border-left: 3px solid transparent;
    transition: border 0.5s, color 0.3s;
}
.link--active-tlf {
    padding-left: 6px;
    border-left: 2px solid #6556b7;
    color: #6556b7;
}
.list__link--tlf:hover {
    padding-left: 6px;
    border-left: 2px solid #6556b7;
    color: #6556b7;
}

@media(max-width:995px) {
    .menu-container {
        position: absolute;
        padding: 15px 10px;
        z-index: 10;
    }

    .menu-label {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    .menu-label input[type="checkbox"] {
        display: none;
    }

    .icon-box {
        width: 1.5rem;
        color: #aaa;
        height: 1.60rem;
        border: 1px solid #fff;
        background-color: #222;
        border-radius: 4px;
        scale: 2;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        transition: all 0.3s;
        margin: 10px 10px;
    }

    .menu-label input[type="checkbox"]:checked + .icon-box {
        border-color: #6556b7;
    }

    .menu-label input[type="checkbox"]:checked + .icon-box i {
        color: white;
    }

    .hidden-buttons {
        display: none;
        margin-top: 10px;
    }

    .menu-label input[type="checkbox"]:checked ~ .hidden-buttons {
        position: absolute;
        top: 60px;
        left: 20px;
        display: flex;
        flex-flow: column wrap;
        scale: 1.2;
        z-index: 20;
    }
}

/* Service Detail */

.service-detail {
    min-height: 100vh;
    padding: 100px 20px;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 80px;
}

.service-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4752C4, #5865F2);
    border-radius: 50%;
    border: 3px solid #5865F2;
}

.service-icon i {
    font-size: 7rem;
    color: #7289da;
}

.service-header h1 {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-header p {
    font-size: 2rem;
    color: #aaa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #111;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #5865F2;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.3);
}

.feature-card i {
    font-size: 4rem;
    color: #5865F2;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.6rem;
    color: #aaa;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border: 2px solid #333;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.8rem;
    color: #aaa;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #4752C4, #5865F2);
    border-radius: 50px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.4);
}

/* Responsive */

@media(max-width: 768px) {
    .service-icon {
        width: 120px;
        height: 120px;
    }

    .service-icon i {
        font-size: 5rem;
    }

    .service-header h1 {
        font-size: 3.5rem;
    }

    .service-header p {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .cta-section p {
        font-size: 1.6rem;
    }
}
