* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top navigation bar */
.top-bar {
    background: white;
    border-bottom: 1px solid #e1e5e9;
    padding: 12px 24px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-logo {
    height: 40px;
    width: auto;
}

.sign-in-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.sign-in-link:hover {
    text-decoration: underline;
}

/* Main container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Logo on auth pages */
.logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
}

/* Hero logo on homepage */
.hero-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

/* Tagline */
.tagline {
    font-size: 20px;
    color: #5a6c7d;
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #1a252f;
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background: #f5f7fa;
}

.btn-full {
    width: 100%;
}

.btn:active {
    transform: scale(0.98);
}

/* Features section */
.features {
    background: white;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    width: 100%;
    max-width: 500px;
}

.features h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    color: #5a6c7d;
    font-size: 16px;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

/* Auth pages (login/signup) */
.auth-page {
    justify-content: center;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.auth-box h1 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 24px;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2c3e50;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.auth-footer {
    margin-top: 24px;
    color: #5a6c7d;
    font-size: 14px;
    text-align: center;
}

.auth-footer a {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
}

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

.success-message {
    color: #5a6c7d;
    font-size: 18px;
    margin-bottom: 24px;
}

/* Footer */
footer {
    margin-top: 40px;
    color: #8896a4;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-logo {
        max-width: 240px;
    }

    .tagline {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features {
        padding: 24px;
    }

    .auth-box {
        padding: 24px;
    }
}
