/* ====================================================
   PERTENECE LANDING PAGE - MAIN STYLESHEET
   ==================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

section {
    padding: 80px 20px;
}

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

/* ====================================================
   HERO SECTION
   ==================================================== */

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 30px;
    background: linear-gradient(135deg, #FBBF24 0%, #EAB308 100%);
    color: #000;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.highlight-box {
    background: #FBBF24;
    color: #000;
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-block;
    margin: 20px 0;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ====================================================
   SECTION 2: FITNESS JOURNEY
   ==================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    text-align: center;
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.gallery-item .icon {
    font-size: 3.5rem;
    color: #FBBF24;
    margin-bottom: 20px;
    display: block;
}

.gallery-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gallery-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

#fitness-journey {
    background: white;
}

/* ====================================================
   SECTION 3: HOW IT WORKS
   ==================================================== */

#how-it-works {
    background: #000;
    color: white;
}

#how-it-works h2 {
    color: #FBBF24;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FBBF24 0%, #EAB308 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.step-number i {
    font-size: 2.5rem;
    color: #000;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.step p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.step::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -50%;
    width: 40%;
    height: 2px;
    background: #FBBF24;
}

.step:last-child::after {
    display: none;
}

.earning-box {
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid #FBBF24;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
}

.earning-box i {
    font-size: 3rem;
    color: #FBBF24;
    margin-bottom: 20px;
}

.earning-box h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.earning-box p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.earning-box .highlight {
    color: #FBBF24;
    font-weight: 700;
}

/* ====================================================
   SECTION 4: REGISTRATION FORM
   ==================================================== */

#registration {
    background: #f5f5f5;
}

.registration-header {
    background: #000;
    color: white;
    padding: 40px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    margin-bottom: 40px;
}

.registration-header i {
    font-size: 3rem;
    color: #FBBF24;
    margin-bottom: 20px;
    display: block;
}

.registration-header h2 {
    color: #FBBF24;
    margin-bottom: 10px;
}

.registration-header p {
    color: #f0f0f0;
    font-size: 1.1rem;
}

form {
    background: white;
    border: 3px solid #FBBF24;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.form-group label i {
    font-size: 1.3rem;
    color: #FBBF24;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FBBF24;
}

.earning-notification {
    background: #FFF9E6;
    border: 2px dashed #FBBF24;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.earning-notification i {
    font-size: 2.5rem;
    color: #FBBF24;
    flex-shrink: 0;
}

.earning-notification-content h4 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.earning-notification-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

form button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #FBBF24 0%, #EAB308 100%);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

form button:hover {
    transform: scale(1.02);
}

form button i {
    margin: 0 10px;
}

/* ====================================================
   SECTION 5: WHY JOIN
   ==================================================== */

#why-join {
    background: white;
}

#why-join h2 {
    color: #FBBF24;
}

.why-join-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card.gold {
    background: linear-gradient(135deg, #FBBF24 0%, #EAB308 100%);
    color: white;
}

.benefit-card.black {
    background: #000;
    color: white;
}

.benefit-card i {
    font-size: 3.5rem;
    margin-bottom: 30px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.benefit-badge {
    width: 80px;
    height: 80px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.benefit-card.black .benefit-badge {
    background: white;
    color: #000;
}

.why-join-cta {
    text-align: center;
    margin: 60px 0;
}

.why-join-cta p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 18px 60px;
    background: #000;
    color: #FBBF24;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #000;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ====================================================
   FOOTER
   ==================================================== */

footer {
    background: #000;
    color: white;
    padding: 50px 20px 30px;
    text-align: center;
}

/* ====================================================
   RESPONSIVE DESIGN - TABLETS & MOBILE
   ==================================================== */

/* Extra Small Devices (Mobile Phones) */
@media (max-width: 480px) {
    section {
        padding: 40px 15px;
    }

    #hero {
        min-height: auto;
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container {
        padding: 0 10px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content img {
        margin: 30px auto 30px auto !important;
        max-width: 180px !important;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        margin-top: 40px !important;
    }

    .highlight-box {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin: 15px 0;
    }

    p {
        font-size: 0.95rem;
    }

    #fitness-journey {
        padding-top: 80px;
        margin-top: 60px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .gallery-item {
        padding: 15px;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-item .icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .gallery-item h3 {
        font-size: 1rem;
    }

    .gallery-item p {
        font-size: 0.9rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }

    .step-number {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
    }

    .step-number i {
        font-size: 1.8rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .step::after {
        display: none;
    }

    .earning-box {
        padding: 25px;
        margin-top: 40px;
    }

    .earning-box i {
        font-size: 2rem;
    }

    .earning-box h3 {
        font-size: 1.3rem;
    }

    .earning-box p {
        font-size: 0.95rem;
    }

    form {
        padding: 25px 15px;
        max-width: 100%;
        border: 2px solid #FBBF24;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .earning-notification {
        padding: 20px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .earning-notification svg {
        width: 50px;
        height: 50px;
    }

    .earning-notification-content h4 {
        font-size: 1rem;
    }

    .earning-notification-content p {
        font-size: 0.9rem;
    }

    form button {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px 20px;
        min-height: auto;
    }

    .benefit-card i {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .benefit-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .benefit-badge {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .why-join-cta p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .registration-header {
        padding: 25px 15px;
        margin-bottom: 20px;
        border-radius: 15px 15px 0 0;
    }

    .registration-header i {
        font-size: 2rem;
    }

    .registration-header h2 {
        font-size: 1.3rem;
    }

    .registration-header p {
        font-size: 0.95rem;
    }

    footer {
        padding: 30px 15px 20px;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Small Devices (Tablets) */
@media (min-width: 481px) and (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    #hero {
        min-height: auto;
        padding: 60px 20px;
        align-items: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content img {
        margin: 30px auto 30px auto !important;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gallery-item img {
        height: 250px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .step::after {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    form {
        padding: 30px;
        max-width: 100%;
    }

    .earning-notification {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefit-card {
        min-height: auto;
    }

    .cta-button {
        width: auto;
        display: inline-block;
    }
}

/* Medium Devices & Up (Desktops) */
@media (min-width: 769px) {
    section {
        padding: 80px 20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}
