body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

/* Light mode styles */
body.light {
    background: #f5f5f5;
    color: #111;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: #0d0d0d;
    border-bottom: 1px solid #222;
    transition: background-color 0.3s;
}

body.light .navbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    transition: color 0.3s;
}

body.light .logo {
    color: #111;
}

.logo div {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fff;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.search-bar {
    flex: 1;
    max-width: 300px;
    margin: 0 10px;
}

.search-bar input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #121212;
    color: #fff;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body.light .search-bar input {
    background-color: #fff;
    color: #111;
    border-color: #ccc;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a.active {
    color: #fff;
    font-weight: bold;
}

body.light .nav-links a {
    color: #555;
}

body.light .nav-links a.active {
    color: #111;
}

.create-btn {
    background: #fff;
    color: #000;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

body.light .create-btn {
    background: #000;
    color: #fff;
}

.toggle-dark {
    margin-left: 16px;
    font-size: 18px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

body.light .toggle-dark {
    color: #111;
}

.login-btn {
    margin-left: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.3s, color 0.3s;
}

body.light .login-btn {
    border-color: #111;
    color: #111;
}

.main-section {
    background-color: #0b0b0b;
    padding: 80px 20px;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
}

.main-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.main-section p {
    font-size: 1.3rem;
    color: #b3b3b3;
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn-group {
    display: inline-flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
    
}

.btn-primary {
    background-color: #f4fcf7;
    color: rgb(1, 1, 1);
}

.btn-primary:hover {
    background-color: #17a74a;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #fefefe;
}

.btn-secondary:hover {
    background-color: #1db954;
    color: white;
}

.arrow {
    font-weight: 900;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 80px 20px;
    flex-wrap: wrap;
}

.feature-box {
    background: #222;
    padding: 24px;
    border-radius: 12px;
    width: 280px;
    color: white;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.4);
    transition: background-color 0.3s;
}

body.light .feature-box {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}

.feature-icon {
    font-size: 50px;
}

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 6px;
}

.feature-description {
    color: #ccc;
}

body.light .feature-description {
    color: #444;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    margin: 80px 20px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    background-color: #222;
    border-radius: 12px;
    padding: 24px;
    width: 240px;
    color: white;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.4);
    transition: background-color 0.3s;
}

body.light .step {
    background-color: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}

.step-number {
    background-color: #fcfffd;
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: rgb(0, 0, 0);
}

.step-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-description {
    color: #ccc;
}

body.light .step-description {
    color: #444;
}

/* Call to Action Section */
.cta-section {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
}

body.light .cta-section {
    background-color: #e0e0e0;
    color: #111;
}

.cta-heading {
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ccc;
}

body.light .cta-subtext {
    color: #555;
}

.cta-button {
    background-color: #fcfcfc;
    color: rgb(0, 0, 0);
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #17a74a;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 10px;
    background-color: #0d0d0d;
    color: #666;
    font-size: 0.9rem;
    margin-top: 80px;
    border-top: 1px solid #222;
}

body.light footer {
    background-color: #fff;
    color: #777;
    border-top: 1px solid #ddd;
}

footer a {
    color: #666;
    text-decoration: none;
    margin: 0 6px;
    font-weight: 600;
}

body.light footer a {
    color: #999;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 850px) {

    .features,
    .steps {
        flex-direction: column;
        align-items: center;
    }
}