* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

header {
    background: white;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2563eb;
}

nav a {
    text-decoration: none;
    color: #333;
    margin-left: 25px;
    font-size: 16px;
}

nav a:hover {
    color: #2563eb;
}

.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn:hover {
    opacity: 0.85;
}

@media (max-width: 700px) {
    header {
        padding: 15px 20px;
    }

    nav a {
        margin-left: 10px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }
}
/* Features Section */
.features {
    padding: 80px 20px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 17px;
    line-height: 1.6;
}

.feature-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #f8faff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid #e5eaf3;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}


/* Community Section */
.community {
    padding: 90px 20px;
    text-align: center;
    background: #eef4ff;
}

.community-content {
    max-width: 750px;
    margin: 0 auto;
}

.community h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.community p {
    color: #666;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 55px 60px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #b8c0cc;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}


/* Mobile Responsive */
@media (max-width: 900px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}


@media (max-width: 600px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .community h2 {
        font-size: 30px;
    }

    footer {
        padding: 45px 20px 20px;
    }
}
/* =========================
   LOGIN & REGISTER PAGES
   ========================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.10);
}

.auth-logo {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 25px;
}

.auth-box h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.auth-box form {
    display: flex;
    flex-direction: column;
}

.auth-box label {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 15px;
}

.auth-box input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.auth-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.auth-button {
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.auth-button:hover {
    opacity: 0.9;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.auth-footer a,
.forgot-password a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.forgot-password {
    text-align: right;
    margin-top: 12px;
    font-size: 14px;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.back-home:hover {
    color: #2563eb;
}


/* Mobile */
@media (max-width: 500px) {

    .auth-box {
        padding: 30px 22px;
    }

    .auth-box h1 {
        font-size: 26px;
    }

    .auth-logo {
        font-size: 26px;
    }
}