:root {
    /* Default Dark Theme (Rent Site Style) */
    --bg-color: #0c0c0c;
    --surface-color: #1a1a1a;
    --surface-hover: #252525;
    --primary-color: #4dabf7;
    --primary-glow: rgba(77, 171, 247, 0.3);
    --secondary-color: #22c55e;
    --accent-color: #8b5cf6; /* Purple */
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --navbar-height: 72px;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-light {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-hover: #f1f5f9;
    --primary-color: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.1);
    --text-main: #0f172a;
    --text-dim: #475569;
    --text-muted: #94a3b8;
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.05);
}

body.theme-administrative {
    --bg-color: #f3f4f6;
    --surface-color: #ffffff;
    --primary-color: #4b5563;
    --accent-color: #2563eb;
}

body.theme-warm {
    --bg-color: #1a1614;
    --surface-color: #26211e;
    --primary-color: #f59e0b;
    --accent-color: #ef4444;
}

body.theme-azure {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --primary-color: #0ea5e9;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
nav {
    height: var(--navbar-height);
    background: rgba(var(--bg-color-rgb, 12, 12, 12), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-trigger {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-base);
}

.search-trigger:hover {
    background: var(--glass-border);
    color: var(--text-main);
}

.hotkey-hint {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
}

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Dashboard Grid */
.dashboard-preview {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.tile:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tile i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.tile .count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tile .label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 100px 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1.2;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-glow);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Overlays */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal {
    background: var(--surface-color);
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 8px;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px;
    color: var(--text-main);
    font-size: 1.25rem;
    outline: none;
}

/* Utilities */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        text-align: center;
    }
    .feature-row.reverse {
        flex-direction: column;
    }
}
