:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(20, 27, 45, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --secondary-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #4facfe;
    --glow: rgba(79, 172, 254, 0.4);
    
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 172, 254, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(161, 140, 209, 0.15), transparent 25%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: #fff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
}

.auth-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-login {
    color: var(--text-muted);
    font-weight: 600;
}
.btn-login:hover {
    color: #fff;
}

.btn-signup {
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-weight: 600;
}
.btn-signup:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    padding-top: 100px;
    gap: 40px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.badge {
    padding: 6px 14px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: -1;
}

.dashboard-mockup {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features-section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(79, 172, 254, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 50px 5% 100px;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
}

.cta-box h2 {
    font-size: 2.2rem;
    color: #fff;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-social h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icons a:hover {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }

    .hero-content {
        align-items: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        display: none; /* Hide on mobile for simplicity in prototype */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Page Header */
.page-header {
    padding: 150px 5% 50px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1), transparent 60%);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Forms & Content */
.content-section {
    padding: 50px 5% 100px;
    display: flex;
    justify-content: center;
}
.auth-form {
    width: 100%;
    max-width: 450px;
    padding: 40px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.auth-form .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}
.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-footer a {
    color: var(--accent);
}
.form-footer a:hover {
    text-decoration: underline;
}

/* Text Content blocks (About page) */
.text-content {
    max-width: 800px;
    margin: 0 auto;
}
.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}
.text-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}
.text-content li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #0b0f19;
}

/* Sidebar */
.admin-sidebar {
    width: 280px;
    background: rgba(11, 15, 25, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 10;
}
.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: 0.3s;
    border-left: 3px solid transparent;
}
.nav-item i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.nav-item:hover, .nav-item.active {
    background: rgba(79, 172, 254, 0.05);
    color: #fff;
    border-left-color: var(--accent);
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Topbar */
.admin-topbar {
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 5;
}
.topbar-title h2 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.icon-btn:hover {
    color: #fff;
}
.notification-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
}
.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

/* Dashboard Content */
.dashboard-content {
    padding: 40px;
    flex: 1;
}

/* Stat Cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-details h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.stat-details p {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

/* Table Section */
.table-section {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    overflow-x: auto;
}
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.table-header h3 {
    font-size: 1.2rem;
    color: #fff;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table td {
    color: var(--text-color);
    font-size: 0.95rem;
}
.admin-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

/* Badges & Buttons */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
.status-pending { background: rgba(243, 156, 18, 0.1); color: #f39c12; border: 1px solid rgba(243, 156, 18, 0.3); }
.status-active { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }

.action-buttons {
    display: flex;
    gap: 8px;
}
.btn-approve, .btn-reject {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-approve {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}
.btn-approve:hover {
    background: #2ecc71;
    color: #fff;
}
.btn-reject {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}
.btn-reject:hover {
    background: #e74c3c;
    color: #fff;
}
