/* ====================================
XZONE FITNESS SCORE   
PART 1
==================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#07142d;
    color:#ffffff;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* ====================================
HEADER
==================================== */

.fitness-header{

    position:sticky;

    top:0;

    z-index:9999;

    padding:18px 30px;

    background:
    rgba(7,20,45,0.85);

    backdrop-filter:blur(18px);

    border-bottom:
    1px solid rgba(255,255,255,0.06);
}

.fitness-nav{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.fitness-logo{

    color:#f7a400;

    font-size:30px;

    font-weight:800;
}

.fitness-logo span{

    font-size:20px;

    position:relative;

    top:-10px;
}

.fitness-btn{

    text-decoration:none;

    color:#000;

    font-weight:700;

    padding:14px 24px;

    border-radius:14px;

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );
}

/* ====================================
MOBILE HEADER FIX
==================================== */

@media(max-width:768px){

    .fitness-header{
        padding:15px 20px;
    }

    .fitness-nav{
        flex-direction:column;
        gap:15px;
        justify-content:center;
        align-items:center;
        text-align:center;
    }

    .fitness-logo{
        font-size:24px;
        white-space:nowrap;
        line-height:1.2;
    }

    .fitness-logo span{
        font-size:16px;
        top:-6px;
    }

    .fitness-btn{
        width:100%;
        max-width:280px;
        text-align:center;
        padding:16px 20px;
    }
}

/* ====================================
HERO
==================================== */

.fitness-hero{

    min-height:80vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:120px 20px 100px;

    position:relative;

    overflow:hidden;
}

.fitness-hero::before{

    content:'';

    position:absolute;

    width:800px;

    height:800px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(247,164,0,0.14),
        transparent 70%
    );

    top:-250px;

    left:50%;

    transform:translateX(-50%);
}

.fitness-hero::after{

    content:'';

    position:absolute;

    width:600px;

    height:600px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,212,255,0.08),
        transparent 70%
    );

    bottom:-250px;

    right:-200px;
}

.fitness-hero-content{

    position:relative;

    z-index:2;

    max-width:950px;
}

.hero-badge{

    display:inline-block;

    padding:12px 24px;

    border-radius:50px;

    margin-bottom:30px;

    color:#f7a400;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(247,164,0,0.15);
}

.fitness-hero h1{

    font-size:84px;

    font-weight:900;

    line-height:1.05;

    margin-bottom:20px;
}

.fitness-hero h2{

    font-size:34px;

    color:#d7dde8;

    line-height:1.5;

    margin-bottom:25px;
}

.fitness-hero p{

    color:#94a3b8;

    font-size:18px;

    line-height:2;

    max-width:800px;

    margin:auto;
}

.hero-cta{

    display:inline-block;

    margin-top:40px;

    text-decoration:none;

    color:#000;

    font-weight:800;

    padding:18px 34px;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );

    box-shadow:
    0 15px 35px
    rgba(247,164,0,0.25);
}

/* ====================================
COUNTER
==================================== */

.counter-section{

    padding:0 20px 90px;
}

.counter-card{

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:50px;

    border-radius:34px;

    background:
    linear-gradient(
        180deg,
        rgba(15,28,60,0.96),
        rgba(9,20,45,0.98)
    );

    border:
    1px solid rgba(255,255,255,0.06);

    position:relative;

    overflow:hidden;
}

.counter-card::before{

    content:'';

    position:absolute;

    width:350px;

    height:350px;

    background:
    radial-gradient(
        circle,
        rgba(247,164,0,0.10),
        transparent 70%
    );

    top:-120px;

    right:-120px;
}

.counter-number{

    position:relative;

    z-index:2;

    font-size:82px;

    font-weight:900;

    color:#f7a400;
}

.counter-text{

    position:relative;

    z-index:2;

    font-size:22px;

    line-height:1.8;

    color:#ffffff;

    font-weight:700;
}

/* FEATURE SECTION */

.feature-section{
    padding:40px 20px 80px;
}

.feature-grid{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.feature-card{
    background:#0f1c3c;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:30px;
    text-align:center;
}

.feature-icon{
    font-size:42px;
    margin-bottom:15px;
}

.feature-card h3{
    color:#ffffff;
    margin-bottom:12px;
    font-size:22px;
}

.feature-card p{
    color:#b8c4d8;
    line-height:1.8;
}

@media(max-width:991px){
    .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .feature-grid{
        grid-template-columns:1fr;
    }
}

/* ====================================
FORM SECTION
==================================== */

.assessment-section{

    padding:20px 20px 100px;
}

.assessment-container{

    max-width:1100px;

    margin:auto;
}

.section-heading{

    text-align:center;

    margin-bottom:50px;
}

.section-heading h2{

    font-size:56px;

    margin-bottom:15px;
}

.section-heading p{

    color:#94a3b8;

    font-size:18px;
}

.fitness-form{

    background:
    linear-gradient(
        180deg,
        rgba(15,28,60,0.96),
        rgba(9,20,45,0.98)
    );

    padding:50px;

    border-radius:34px;

    border:
    1px solid rgba(255,255,255,0.06);
}

.form-grid{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:22px;
}

.form-group{

    margin-bottom:22px;
}

.form-group label{

    display:block;

    margin-bottom:10px;

    color:#d7dde8;

    font-size:14px;
}

.form-group input,
.form-group select{

    width:100%;

    height:62px;

    border:none;

    border-radius:18px;

    background:#162544;

    color:#ffffff;

    padding:0 20px;

    font-size:15px;
}

.form-group input:focus,
.form-group select:focus{

    outline:none;

    border:
    1px solid rgba(247,164,0,0.30);
}

.generate-btn{

    width:100%;

    height:70px;

    border:none;

    border-radius:20px;

    cursor:pointer;

    font-size:18px;

    font-weight:800;

    color:#000;

    background:
    linear-gradient(
        135deg,
        #f7a400,
        #ffcf53
    );

    margin-top:20px;
}

/* ====================================
TRUST NOTE
==================================== */

.trust-note-section{
    padding:40px 20px;
}

.trust-note-card{
    max-width:1000px;
    margin:auto;
    text-align:center;
    padding:40px;
    border-radius:25px;
    background:#0f1c3c;
    border:1px solid rgba(255,255,255,0.08);
}

.trust-note-card h3{
    font-size:32px;
    margin-bottom:15px;
}

.trust-note-card p{
    color:#b8c4d8;
    line-height:1.8;
}

/* ====================================
ECOSYSTEM
==================================== */

.ecosystem-section{

    padding:90px 20px;

    position:relative;

}

.ecosystem-grid{

    max-width:1450px;

    margin:60px auto 0;

    display:grid;

    grid-template-columns:repeat(5,minmax(240px,1fr));

    gap:30px;

}

.eco-card{

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        145deg,
        rgba(24,38,78,.96),
        rgba(10,20,45,.98)
    );

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:45px 30px;

    text-align:center;

    min-height:330px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    transition:all .35s ease;

    backdrop-filter:blur(18px);

    box-shadow:
    0 20px 45px rgba(0,0,0,.28);

}

/* Golden Premium Line */

.eco-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:
    linear-gradient(
        90deg,
        #f7a400,
        #ffd86a,
        #f7a400
    );

}

/* Background Glow */

.eco-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    top:-90px;

    right:-90px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(247,164,0,.12),
        transparent 70%
    );

    pointer-events:none;

}

/* Hover */

.eco-card:hover{

    transform:translateY(-12px);

    border-color:rgba(247,164,0,.45);

    box-shadow:
    0 28px 60px rgba(247,164,0,.18);

}

.eco-card h3{

    position:relative;

    z-index:2;

    color:#f7a400;

    font-size:28px;

    font-weight:800;

    line-height:1.45;

    margin-bottom:18px;

}

.eco-card p{

    position:relative;

    z-index:2;

    color:#c3cee0;

    font-size:17px;

    line-height:1.85;

}

/* ====================================
FOOTER
==================================== */

.fitness-footer{

    margin-top:80px;

    padding:70px 20px;

    text-align:center;

    background:
    linear-gradient(
        180deg,
        rgba(10,20,45,0.95),
        rgba(5,12,30,1)
    );

    border-top:
    1px solid rgba(247,164,0,0.15);
}

.footer-logo{

    font-size:42px;

    font-weight:900;

    color:#f7a400;

    margin-bottom:15px;
}

.footer-powered{

    font-size:18px;

    line-height:1.8;

    color:#d7dde8;

    margin-bottom:20px;
}

.footer-contact{

    font-size:18px;

    font-weight:600;

    color:#f7a400;

    margin-bottom:20px;
}

.footer-copy{

    font-size:14px;

    color:#8fa0b8;

    line-height:1.8;
}

/* ====================================
MOBILE
==================================== */

@media(max-width:991px){

    .ecosystem-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .form-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:576px){

    .ecosystem-grid{
        grid-template-columns:1fr;
    }
}

/* ====================================
MOBILE OPTIMIZATION
==================================== */

@media (max-width:768px){

    /* HEADER */

    .top-bar,
    .fitness-header{

        padding:18px 20px;
    }

    .logo{

        font-size:18px;

        line-height:1.2;
    }

    .header-btn{

        padding:14px 18px;

        font-size:14px;
    }

    /* HERO */

    .fitness-hero{

        min-height:auto;

        padding:70px 25px 50px;
    }

    .hero-badge{

        font-size:13px;

        padding:10px 18px;

        margin-bottom:20px;
    }

    .fitness-hero h1{

        font-size:58px;

        line-height:1.05;

        margin-bottom:20px;
    }

    .fitness-hero h2{

        font-size:24px;

        line-height:1.4;

        margin-bottom:20px;
    }

    .fitness-hero p{

        font-size:15px;

        line-height:1.9;
    }

    .hero-cta{

        width:100%;

        max-width:320px;
    }

    /* COUNTER */

    .counter-section{

        padding:20px 20px 50px;
    }

    .counter-card{

        padding:40px 25px;

        border-radius:28px;
    }

    .counter-number{

        font-size:72px;
    }

    .counter-text{

        font-size:18px;

        line-height:1.5;
    }

    /* FORM */

    .assessment-section{

        padding:60px 20px;
    }

    .assessment-section h2{

        font-size:52px;

        line-height:1.1;
    }

    .assessment-section p{

        font-size:16px;
    }

    .form-card{

        padding:25px;
    }

    .form-grid{

        grid-template-columns:1fr;
    }

    .generate-btn{

        font-size:16px;

        height:60px;
    }

    /* TRUST */

    .trust-note-card{

        padding:35px 25px;
    }

    .trust-note-card h3{

        font-size:30px;
    }

    .trust-note-card p{

        font-size:16px;

        line-height:1.8;
    }

    /* ECOSYSTEM */

    .section-heading h2{

        font-size:48px;

        line-height:1.15;
    }

    .section-heading p{

        font-size:16px;
    }

    .ecosystem-grid{

        grid-template-columns:1fr;

        gap:20px;
    }

    .eco-card{

        padding:30px 25px;
    }

    .eco-card h3{

        font-size:26px;
    }

    .eco-card p{

        font-size:18px;

        line-height:1.7;
    }

    /* FOOTER */

    .footer-logo{

        font-size:42px;

        line-height:1.2;
    }

    .footer-powered{

        font-size:16px;
    }

    .footer-contact{

        font-size:18px;
    }

}

.trust-line{
    text-align:center;
    color:#ffffff;
    font-size:14px;
    font-weight:500;
    margin:20px 0 18px 0;
    display:block;
    width:100%;
}

.g-recaptcha{
    display:flex;
    justify-content:center;
    margin-bottom:25px;
}

@media(max-width:768px){

    .trust-line{
        text-align:center;
        font-size:15px;
        margin:18px 0 20px;
    }

}

@media(max-width:768px){

    .fitness-header .fitness-btn{
        display:none;
    }

}


@media(max-width:768px){

    .fitness-header{

        padding-top:calc(15px + env(safe-area-inset-top));
        padding-bottom:15px;

    }

}

