/* Variables */
:root {
    --primary-color: hsl(203, 100%, 45%);
    --secondary-color: hsl(183, 100%, 46%);
    --terceary-color: hsl(278, 74%, 54%);
    --white-color: #FFFFFF;
    --black-color: #000000;

    background-color: hsl(0, 0%, 96%);
}

/* Animación de Flotación */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* General */

.bg-paragraph {
    background-color: hsla(0,0%,96%,0.82);
    border-radius: 1.5625rem;
    padding: 0.8rem;
    backdrop-filter: blur(8px);
}

.bg-curves {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bg-curve-1,
.bg-curve-2,
.bg-curve-3,
.bg-curve-4,
.bg-curve-5,
.bg-curve-6 {
    width: 100%;
}

.bg-curve-footer {
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Desktop Landing */

.desktop-landing {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0);
    min-height: 5.3125rem;
    width: calc(100% - 30px);
    border-radius: 0.625rem;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin: 0 15px 10px;
    position: sticky;
    top: 10px;
    z-index: 9;
    background-color: hsla(0,0%,100%, .85);
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.9375rem;
}

.logo {
    width: clamp(10rem, 16.875vw, 16.875rem);
    height: clamp(3rem, 4.0625vw, 4.0625rem);
    position: relative;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 156.34%;
    position: absolute;
    top: -28.17%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.6875vw, 1.6875rem);
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.093vw, 1.093rem);
    color: #000;
    line-height: 1.25rem;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: clamp(0.5rem, 0.5725vw, 0.5725rem) clamp(1rem, 1.625vw, 1.625rem);
    border-radius: 1.43125rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(0.875rem, 1.093vw, 1.093rem);
    line-height: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5725rem;
    transition: background-color 0.3s;
    width: fit-content;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(45deg,  var(--secondary-color), var(--primary-color))
}

.btn-icon {
    width: 1.145rem;
    height: 1.145rem;
    transform: rotate(0deg);
    transition: all 0.3s;
}

.btn-primary:hover .btn-icon {
    transform: rotate(360deg);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 0.1875rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.125rem;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(0.9rem) translateX(3px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-0.8rem);
}

/* Mobile Menu Styles */
@media (max-width: 1024px) {
    .navbar {
        position: sticky;
        top: 10px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    .navbar-container {
        flex-wrap: nowrap;
        position: relative;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 5.3125rem;
        right: 0;
        width: 100%;
        max-width: 20rem;
        height: calc(100vh - 5.3125rem);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-link,
    .btn-primary {
        text-align: left;
        justify-content: flex-start;
        font-size: 1.125rem;
        padding: 0.75rem 0;
    }

    .btn-primary {
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 8rem;
        height: 2.5rem;
    }

    .navbar {
        min-height: 4rem;
    }

    .nav-links {
        top: 4rem;
        height: calc(100vh - 4rem);
        max-width: 100%;
    }
}