* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f0f4f8;
    overflow-x: hidden;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.navbar.sticky {
    padding: 15px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #00b4d8;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 25px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block ruby;
}

.nav-links a:hover {
    color: #ffd166;
}

.auth-buttons .btn {
    padding: 12px 25px;
    margin-left: 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.login-btn {
    background: #00b4d8;
    color: #fff;
}

.login-btn:hover {
    background: #008caa;
}

.join-btn {
    background: #ffd166;
    color: #333;
}

.join-btn:hover {
    background: #ffc107;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 180, 216, 0.8), rgba(255, 241, 102, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    position: relative;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-btn {
    padding: 15px 40px;
    background: #ffd166;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background: #ffc107;
}

.hero-img {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 300px;
    opacity: 0.9;
}

/* Sections */
.about, .products, .how-it-works, .benefits, .contact {
    padding: 100px 50px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 42px;
    font-weight: 700;
    color: #00b4d8;
    margin-bottom: 30px;
}

/* About */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.about-img {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Products */
.products p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
}

.buy-btn {
    padding: 12px 25px;
    background: #00b4d8;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.buy-btn:hover {
    background: #008caa;
}

/* How It Works */
.how-it-works p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.steps {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    gap: 30px;
}

.step {
    flex: 1;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.step p {
    font-size: 16px;
    color: #777;
}

/* Benefits */
.benefits p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.benefit-item p {
    font-size: 16px;
    color: #777;
}

/* Contact */
.contact p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

.contact-img {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 30px;
    background: #00b4d8;
    color: #fff;
    text-align: center;
    font-size: 16px;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 450px;
    position: relative;
    transition: all 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.popup-content h2 {
    font-size: 28px;
    color: #00b4d8;
    margin-bottom: 20px;
}

form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #ffd166;
    color: #333;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .nav-links {
        flex-direction: unset;
    margin: 20px 0;
    overflow-x: scroll;
    width: 100%;
    }

    .nav-links li {
        margin: 15px 15px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-img {
        width: 200px;
        right: 20px;
    }

    .steps, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step, .benefit-item {
        margin: 15px 0;
    }

    .popup-content {
        width: 90%;
        padding: 20px;
    }
    .about, .products, .how-it-works, .benefits, .contact{
        padding: 100px 10px;
    }
}