/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #667eea;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.login-link:hover {
    color: #667eea;
}

.main-nav a.login-link {
    color: #667eea;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #667eea;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a6fd5;
    transform: translateY(-2px);
}

.btn-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
}

.btn-hero:hover {
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    background-color: #f8f9ff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
    color: #555;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #777;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9ff;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px;
}

.step {
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer Styles */
.main-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 0;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        flex-direction: column;
    }
}

/* Authentication Page Styles */
.auth-page {
    padding: 80px 0;
    background-color: #f8f9ff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: .75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.message {
    text-align: center;
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 4px;
}
.message.error {
    color: #721c24;
    background-color: #f8d7da;
}
.message.success {
    color: #155724;
    background-color: #d4edda;
}

.switch-form {
    text-align: center;
    margin-top: 1.5rem;
}

/* Pro Tip Marquee Styles */
.pro-tip-marquee-container {
    background-color: #fffbe6; /* Vibrant, light yellow */
    border-bottom: 2px solid #ffecb3; /* Softer gold border */
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 15px 0; /* Increased padding */
}

.scrolling-text-pro-tip {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    color: #333; /* Strong dark color */
    font-weight: bold; /* Bolder text */
    font-size: 1.1rem; /* Larger font size */
}

.scrolling-text-pro-tip i {
    margin-right: 8px;
    color: #f59e0b; /* Amber color for the icon */
}

.scrolling-text-pro-tip a {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
}

/* General Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
