/* ========================================
   COMPONENTS STYLES
   ======================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #16B4C4 0%, #079BB5 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 180, 196, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #001021;
}

.btn-lg {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.btn-cta {
    padding: 1.5rem 2.5rem;
    font-size: 1.25rem;
    box-shadow: 0 20px 40px rgba(22, 180, 196, 0.3);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16B4C4;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: #079BB5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.logo-container {
    background: linear-gradient(135deg, #001021, #061D32);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.logo-container:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.logo {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .logo {
        height: 6rem;
    }
}

.nav-desktop {
    display: none;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #001021;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #16B4C4;
    background: #F4F6F7;
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
    }
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001021;
    transition: color 0.2s ease;
}

.phone-icon:hover {
    color: #16B4C4;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #001021;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: currentColor;
    transition: transform 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #001021;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: #16B4C4;
    background: #F4F6F7;
}

.btn-outline-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border: 2px solid #16B4C4;
    color: #16B4C4;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.btn-outline-mobile:hover {
    background: #16B4C4;
    color: #ffffff;
}

.btn-primary-mobile {
    width: 100%;
    margin-top: 0.75rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 16, 33, 0.85) 0%, rgba(6, 29, 50, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
}

.hero-inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-pretitle {
    display: inline-block;
    color: #54CBD3;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-pretitle {
        font-size: 1rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-buttons .btn {
    width: 100%;
}

@media (min-width: 640px) {
    .hero-buttons .btn {
        width: auto;
    }
}

.hero-whatsapp {
    display: flex;
    justify-content: center;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.whatsapp-link:hover {
    color: #54CBD3;
}

.whatsapp-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    transition: background 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon-wrapper {
    background: #25D366;
}

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

.whatsapp-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.whatsapp-number {
    font-size: 1.125rem;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
}

/* Cards */
.vantaggio-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vantaggio-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.vantaggio-card:hover .vantaggio-icon {
    transform: scale(1.1);
}

.vantaggio-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001021;
    margin-bottom: 0.75rem;
}

.vantaggio-description {
    color: rgba(19, 34, 52, 0.7);
    line-height: 1.75;
}