* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Replace Montserrat with Poppins */
}

body {
    background-color: #121212;
    color: #ffffff;
    font-weight: 400; /* Default to lighter weight */
}

h1, h2, h3 {
    font-weight: 600; /* Slightly bold for headings */
    letter-spacing: -0.5px; /* Smooth out jagged appearance */
}

/* Company logo */
.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

/* Auth forms */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #333333; /* Add this line to set dark text color */
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333333; /* Add this line */
}

.auth-container form p {
    margin-bottom: 15px;
}

.auth-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333333; /* Add this line */
}

.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #333333; /* Add this line for input text */
    background-color: #ffffff; /* Ensure input background is white */
}

.auth-container button {
    width: 100%;
    margin-top: 20px;
}

.auth-container p {
    color: #333333; /* Add this line for paragraph text */
}

.auth-container a {
    color: #228B22; /* Link color */
    text-decoration: none;
}

.auth-container a:hover {
    text-decoration: underline;
}

.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


/* Hero Section */
.hero {
    height: 80vh;
    background-image: url("/static/images/hero-dark.acb13ff13513.jpg?text=AI+Investment+Graph");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #228B22;
    color: #ffffff;
    padding: 0.75rem 1.5rem; /* Slightly reduced padding for elegance */
    border: none;
    border-radius: 8px; /* More rounded corners */
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.cta-button:hover {
    background-color: #1a6b1a; /* Darker green */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/* Section Styling */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: #228B22;
    margin-bottom: 1.5rem;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #dddddd;
}

.features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    background-color: #1e1e1e;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.steps {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Footer */
footer {
    background-color: #000000;
    color: #dddddd;
    padding: 2rem;
    text-align: center;
}

footer a {
    color: #228B22;
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .navbar a {
        padding: 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Ensure Bootstrap modals have readable text on white background */
.modal-content,
.modal-header,
.modal-body,
.modal-footer {
    color: #212529; /* Bootstrap's default body text color */
}