:root {
    --primary-blue: #0A2540;
    --accent-blue: #00D4B2;
    --light-blue: #635BFF;
    --background-gray: #F8F9FA;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header UI Layout styling */
.main-header {
    background-color: var(--primary-blue);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a span {
    color: var(--accent-blue);
}

.nav-links a {
    color: #94A3B8;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.btn-login-toggle {
    background-color: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-login-toggle:hover {
    background-color: var(--accent-blue);
    color: var(--primary-blue);
}

/* Hero UI Display Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem 2rem;
    background: radial-gradient(circle at top right, #1E1B4B 0%, #0F172A 100%);
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content .highlight {
    color: var(--accent-blue);
}

.hero-content p {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 3rem;
}

/* Search Dashboard Construction */
.search-container {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    background: transparent;
}

.search-container button {
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-container button:hover {
    background-color: #5145CD;
}

/* Popup Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal-card {
    background-color: var(--white);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #E2E8F0;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.tab-btn.active {
    color: var(--light-blue);
    border-bottom: 2px solid var(--light-blue);
    margin-bottom: -2px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form.hidden {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, .form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.btn-primary {
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: #5145CD;
}

.auth-status-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}
