:root {
    /* Blue-Gray Theme Palette */
    --primary-color: #263238;
    /* Blue Grey 900 - Strong, Professional */
    --primary-light: #37474F;
    /* Blue Grey 800 */
    --accent-color: #546E7A;
    /* Blue Grey 600 - Softer accent */
    --highlight: #29B6F6;
    /* Light Blue - For active states/buttons */
    --bg-color: #F8FAFC;
    /* Very light blue-grey/white */
    --surface-color: #FFFFFF;
    --text-color: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 20px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
}

/* Nav Links & Socials */
.nav-center {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-socials {
    display: flex;
    gap: 12px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: var(--text-color);
    transition: all 0.2s;
}

.social-btn:hover {
    background-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

.social-btn img {
    width: 16px;
    height: 16px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    transition: all 0.2s;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline {
    border: 1px solid #cbd5e1;
    background: transparent;
    color: var(--text-color);
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Login Form Styles */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--bg-color);
}

.auth-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--text-light);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider::before {
    margin-right: .5em;
}

.divider::after {
    margin-left: .5em;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-google {
    background: #fff;
    color: #333;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: #f8fafc;
}

.btn-google img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
}

/* Sticky Footer Layout with Thinner Bar */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    flex-shrink: 0;
}

/* Sections */
.section,
.hero,
.cta-section {
    flex-shrink: 0;
}

/* Footer */
footer {
    margin-top: auto;
    /* Pushes footer to bottom */
    padding: 1rem 0;
    /* Thinner padding */
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: var(--text-light);
    background: #fff;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand img {
    height: 24px;
    /* Slightly smaller logo for thinner footer */
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media(max-width: 900px) {
    .nav-socials {
        display: none;
    }

    /* Hide socials on mobile header if crowded */
    .hero h1 {
        font-size: 2.2rem;
    }
}