:root {
    /* Colors */
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #00f0ff;
    /* Neon Cyan */
    --accent-secondary: #7000ff;
    /* Neon Purple */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Transitions */
    --transition-speed: 0.15s;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* Background Effects */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: #030303;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, #030303 100%);
    pointer-events: none;
}

/* Utilities */
.glass-panel {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all var(--transition-speed) var(--ease-out);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 50px;
    /* For glass effect shape */
}

.nav-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 10px;
    /* Add padding for when glass is active */
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

/* Glass effect for Landing Page only */
.nav-glass.landing-mode {
    background: rgba(40, 40, 40, 0.85);
    /* Darker and more opaque */
    backdrop-filter: blur(40px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    /* More visible border */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    /* Deeper shadow */
    padding: 12px 30px;
    /* Slightly larger padding */
    border-radius: 50px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 50%;
    /* Circular Logo */
    border: 2px solid rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Searchable Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.select-selected:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.select-selected.select-arrow-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--accent-color);
}

.select-selected::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -5px;
}

.select-selected.select-arrow-active::after {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.select-items {
    position: absolute;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    /* Hidden by default */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.select-search {
    padding: 10px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.select-search input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.select-search input:focus {
    border-color: var(--accent-color);
}

.select-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    transition: all 0.2s;
}

.select-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 20px;
}

.select-hide {
    display: none;
}

.select-show {
    display: block;
}

/* Landing Page */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    z-index: 10;
    max-width: 1200px;
    /* Increased to fit grid */
    margin: 0 auto;
    padding-bottom: 60px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.auth-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    /* Reduced spacing */
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 16px;
}

.btn-neon {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-neon:hover {
    background: #e0e0e0;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Features Section - Bento Grid */
.features-section {
    padding: 0;
    /* Removed padding */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.feature-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Unicorn Studio Embed Override */
.unicorn-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Upload Page */
.upload-container {
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.upload-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 40px;
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.dropzone-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.dropzone:hover .dropzone-icon {
    color: var(--accent-color);
}

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

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Auth Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.auth-link:hover {
    text-shadow: 0 0 10px var(--accent-color);
}

.form-input,
.form-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Job Selector Dropdown */
.job-selector-container {
    position: relative;
    margin-left: 20px;
}

.job-selector-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.job-selector-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    width: 200px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Footer */
#main-footer {
    margin-top: auto;
    padding-bottom: 20px;
}

.footer-glass {
    background: transparent;
    backdrop-filter: none;
    border-top: none;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}