* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #000000;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

section{
    min-height: calc(100vh - 5rem);
    display: flex; 
    align-items: center; 
}

/* Gradient */
.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px #00bfff;
    transform: rotate(-30deg);
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.containertec {
    margin: 0rem auto;
    padding: 1rem;
    z-index: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;

    background: radial-gradient(circle at top left, rgba(0, 191, 255, 0.1), transparent 60%),
                url('./gradient.png') center/cover no-repeat;
    background-blend-mode: lighten;

    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 1.5rem;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.1),
                inset 0 0 20px rgba(0, 191, 255, 0.05);
    
    transition: all 0.4s ease;
}

.containertec:hover {
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.3),
                inset 0 0 30px rgba(0, 191, 255, 0.1);
    transform: scale(1.02);
    border-color: rgba(0, 191, 255, 0.5);
}

.containertec::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseLight 6s infinite alternate ease-in-out;
}

@keyframes pulseLight {
    from {
        transform: scale(1);
        opacity: 0.6;
    }
    to {
        transform: scale(1.2);
        opacity: 0.3;
    }
}


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    background-color: rgba(255, 255, 255, 0.03);

    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    color: #87cefa;
}

.btn-signing {
    background-color: #e7e7e7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.btn-signing:hover {
    background-color: white;
}

/* Main content */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 2;
}

.containerplus{
    margin-left: 10%;
    margin: 0rem auto;
    padding: 1rem;
    z-index: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
}

.containerplusplus{
    margin-left: 10%;
    margin: 0rem auto;
    padding: 1rem;
    z-index: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
}

.containerplusplus h1{
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.4);
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #004080, #0077b6, #00bfff, #0077b6, #004080);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #00bfff;
}

.content h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.4);
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: grey;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #e7e7e7;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-get-started:hover {
    background-color: #001f3f;
    color: #00bfff;
}

.dorso-3d {
    position: absolute;
    top: 0;
    right: -20%;
}

.img-logo{
    position: absolute;
    top: 8;
    width: 400px;
    right: 4%;
}

/* Responsive */
@media (max-width: 1300px) {
    header {
        padding: 1rem 0.5rem;
    }

    nav {
        display: none;
    }

    header h1 {
        font-size: 2rem;
    }

    .btn-signing {
        padding: 0.6rem 1.5rem;
    }

    .content {
        margin-top: 25rem;
        max-width: 30rem;
        margin: 10%;
    }
    
    .containerplus {
        margin-top: 25rem;
        max-width: 30rem;
        margin: 10%;
    }

    .containerplusplus{
        margin-top: 25rem;
        max-width: 30rem;
        margin: 10%;
    }

    .containerplusplus h1 {
        font-size: 1.8rem;
    }

    .tag-box {
        width: 12rem;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-get-started {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .dorso-3d {
        display: none;
    }
    
    .img-logo {
        width: 150px;
        top: 0%;
        right: 35%;
    }
}

:root {
  --space: 1rem;
  --bg: #09090b;
  --fg: #e3e3e3;
  --surface-1: #101012;
  --surface-2: #27272a;
  --surface-3: #52525b;
  --ease-out: cubic-bezier(0.5, 1, 0.89, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

.cardsnbloc {
    display: grid;
    align-content: center;
    align-items: center;
    grid-template-columns: repeat(var(--count, 1), 1fr);
    inline-size: min(var(--max, 15rem), 100%);

    @media (min-width: 25rem) {
        --count: 1;
        --max: 30rem;
    }

    @media (min-width: 45rem) {
        --count: 7;
        --max: 50rem;
    }
}

.card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-areas: "card";
    place-items: center;
    aspect-ratio: 1/1;
    border: 1px solid var(--surface-2);
    isolation: isolate;
    transition: border-color 200ms var(--ease-out);
    user-select: none;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at bottom left,
                transparent 55%,
                var(--surface-1));
        pointer-events: none;
        box-shadow: var(--bg) -0.5cqi 0.5cqi 2.5cqi inset;
        transition: opacity 900ms var(--ease-out);
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        aspect-ratio: 1;
        background: radial-gradient(circle, var(--bg), transparent 65%);
        opacity: 0;
        transition: opacity 800ms var(--ease-out);
    }

    >* {
        grid-area: card;
    }

    svg {
        position: relative;
        z-index: 1;
        width: 30%;
        height: auto;
        color: var(--surface-3);
        transition: 300ms var(--ease-out);
        transition-property: color, scale;
    }

    button {
        opacity: 0;
    }

    &:focus-within {
        outline: 5px auto Highlight;
        outline: 5px auto -webkit-focus-ring-color;
    }

    &:where(:hover, :focus-within) {
        border-color: var(--active-color, var(--fg));
        transition: border-color 800ms var(--ease-in-out);
    }

    &:where(:hover, :focus-within) svg {
        color: var(--active-color, var(--fg));
        scale: 1.1;
        transition: 300ms var(--ease-in-out);
    }

    &:where(:hover, :focus-within)::before {
        opacity: 0;
    }

    &:where(:hover, :focus-within)::after {
        opacity: 1;
    }
}

/* OFERTA */
.oferta {
    text-align: center;
}

.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.oferta-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,191,255,0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0,191,255,0.05);
}

.oferta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,191,255,0.3);
    border-color: rgba(0,191,255,0.5);
}

.oferta-card h3 {
    margin-bottom: 1rem;
    color: #00bfff;
}

/* CONTACTO */
.contacto {
    text-align: center;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item h3 {
    color: #00bfff;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #e7e7e7;
    text-decoration: none;
}

.contact-item a:hover {
    color: #00bfff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,191,255,0.2);
    color: #e7e7e7;
    border-radius: 0.5rem;
    padding: 0.8rem;
    resize: none;
}

.contact-form button {
    background-color: #00bfff;
    border: none;
    color: black;
    padding: 0.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #0095cc;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: grey;
    background: rgba(255,255,255,0.02);
}

/* MENÚ RESPONSIVE */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 950px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.9);
        position: absolute;
        top: 4rem;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links.active {
        display: flex;
    }
}

/* RESPONSIVIDAD GENERAL */
@media (max-width: 768px) {
    .content {
        margin: auto;
        text-align: center;
        max-width: 90%;
    }

    .btn-get-started {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    header h1 {
        font-size: 2rem;
    }

    .btn-signing {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}