/* === BASE === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    color: #222;
    background-color: #f7f9fc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    box-sizing: border-box;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    margin-left: 20px;
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #0078ff;
}

.btn-login {
    color: #0078ff;
    font-weight: 600;
}

.btn-register {
    background: #0078ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-register:hover {
    background: #005fcc;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #0078ff;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.97);
    position: fixed;
    top: 60px;
    right: 0;
    width: 220px;
    border-radius: 0 0 0 12px;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 15px;
}

.mobile-menu a {
    padding: 10px 12px;
    color: #333;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: #0078ff;
}

.mobile-menu.open {
    display: flex;
}

/* === HERO === */
.hero {
    position: relative;
    height: 90vh;
    background: url('/images/fitness-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a192f 0%, #0078ff 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-titles {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-titles h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.hero-titles span {
    color: #00c8ff;
}

.hero-main-title {
    font-size: 54px;
    font-weight: 800;
    margin: 20px 0 25px;
}

.hero-main-title strong {
    color: #00c8ff;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f1f1f1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-titles {
        flex-direction: column;
        gap: 5px;
    }

    .hero-titles h1,
    .hero-main-title {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

.btn-primary, .btn-secondary {
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 15px;
}

.btn-primary {
    background-color: #00c8ff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0078ff;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* === COMING SOON === */
.coming-soon {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
}

.badge-soon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: black;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* === PREMIUM === */
.badge-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FFD700;
    color: black;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* ============================================
   FEATURES — NEW MATERIAL DESIGN + FIXED HEIGHT
============================================ */

.features-section {
    padding: 100px 60px;
    background: #fff;
    text-align: center;
}

.features-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-section span {
    color: #0078ff;
}

/* Swiper container */
.mySwiper {
    padding: 20px 5px 50px;
}

/* SWIPER NAV BUTTONS */
.swiper-button-prev,
.swiper-button-next {
    color: #0078ff;
    transition: 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #005fcc;
}

/* SWIPER PAGINATION */
.swiper-pagination-bullet {
    background: #0078ff;
}
.swiper-pagination-bullet-active {
    background: #005fcc;
}

/* FEATURE CARD — MATERIAL DESIGN STYLE */
.feature-card {
    background: #ffffff;
    height: 300px; /* FISSA */
    border-radius: 16px;
    padding: 25px 22px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

/* UNIFORM SPACING */
.feature-card i {
    font-size: 40px;
    margin-bottom: 16px;
    color: #0078ff;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0078ff;
    text-align: center;
}

.feature-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.45;
    text-align: center;

    /* evita allungamenti */
    max-height: 70px;
    overflow: hidden;
}

/* HOVER EFFECT */
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #0078ff 100%);
    color: #fff;
    text-align: center;
    padding: 90px 20px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 17px;
    margin-bottom: 30px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

/* FOOTER */
.footer {
    background: #0a192f;
    color: #ddd;
    text-align: center;
    padding: 25px 15px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar {
        padding: 12px 25px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

@media (max-width: 600px) {
    .features-section {
        padding: 60px 20px;
    }
}

/* CONTACT */
.contact-section {
    background: #f7f9fc;
    padding: 100px 20px;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-section h2 span {
    color: #0078ff;
}

.contact-section p {
    font-size: 17px;
    margin-bottom: 35px;
    color: #555;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #0078ff;
    background: #fff;
    border: 2px solid #0078ff;
    border-radius: 10px;
    padding: 12px 26px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 120, 255, 0.1);
}

.contact-mail:hover {
    background: #0078ff;
    color: #fff;
    transform: translateY(-3px);
}

.contact-mail i {
    font-size: 22px;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 70px 15px;
    }

    .contact-section h2 {
        font-size: 28px;
    }

    .contact-mail {
        font-size: 16px;
        padding: 10px 22px;
    }
}
