:root {
    --bg-color: #0a0a0a;
    --text-color: #f1f1f1;
    --neon-blue: #00f0ff;
    --neon-purple: #7a00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    --font-main: 'Inter', sans-serif;
    --font-heading: '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;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

.text-gradient {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}
.brand span {
    color: var(--neon-blue);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links li a {
    font-weight: 600;
}
.nav-links li a:hover {
    color: var(--neon-blue);
}

/* Auth / Flash Msg */
.flash-message {
    position: fixed;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 1001;
    color: #fff;
    transition: opacity 0.5s;
}
.flash-message.success { background: rgba(0, 240, 255, 0.8); border: 1px solid var(--neon-blue); }
.flash-message.error { background: rgba(255, 50, 50, 0.8); border: 1px solid #ff3232; }

/* Buttons */
.btn, .nav-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: #fff;
}
.btn.primary, .nav-btn.primary {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}
.btn.primary:hover, .nav-btn.primary:hover {
    box-shadow: 0 4px 25px rgba(122, 0, 255, 0.6);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0,240,255,0.2);
}
.form-control option {
    background-color: #1a1a1a;
    color: #fff;
}

/* Fake Live Popup */
#fake-popup-container {
    position: fixed;
    bottom: 20px; left: 20px;
    z-index: 9999;
}
.fake-popup {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--neon-blue);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 15px rgba(0,240,255,0.2);
    margin-top: 10px;
}
.fake-popup-icon {
    font-size: 1.5rem;
    color: var(--neon-blue);
}
.fake-popup-content {
    font-size: 0.85rem;
}
.fake-popup-content strong { color: var(--neon-blue); }
.fake-popup-content span { color: var(--neon-purple); font-weight: bold; }
.fake-popup-content small { display: block; color: #888; font-size: 0.75rem; margin-top: 2px; }

.slide-in { animation: slideInLeft 0.5s forwards; }
.slide-out { animation: slideOutLeft 0.5s forwards; }

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-100%); }
}

/* Utilities / Main Structural */
main {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(122,0,255,0.2) 0%, rgba(10,10,10,0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(122,0,255,0.3);
}
.pricing-card.best-value {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-shadow);
}
.pricing-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--neon-purple);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.pricing-card.best-value .pricing-badge {
    background: var(--neon-blue);
    color: #000;
}

.price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin: 20px 0;
    color: #fff;
}
.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
}
.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #ccc;
}
.features-list li::before {
    content: '✓ ';
    color: var(--neon-blue);
    font-weight: bold;
}

/* Dashboard & Admin */
.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}
.sidebar {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}
.sidebar ul li { margin-bottom: 10px; }
.sidebar ul li a { display: block; padding: 10px; border-radius: 8px; }
.sidebar ul li a:hover { background: rgba(255,255,255,0.1); }

.table-responsive { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}
th { font-family: var(--font-heading); color: var(--neon-blue); }

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}
.status-badge.Pending { background: rgba(255, 165, 0, 0.2); color: orange; }
.status-badge.Completed { background: rgba(0, 240, 255, 0.2); color: var(--neon-blue); }
.status-badge.Cancelled { background: rgba(255, 50, 50, 0.2); color: red; }

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px; height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-toggle span {
    width: 30px; height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    margin-top: 60px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-info p { color: #ccc; margin-top: 15px; font-size: 0.9rem; }
.footer h4 { color: #fff; margin-bottom: 15px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #aaa; font-size: 0.9rem; }
.footer ul li a:hover { color: var(--neon-blue); }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 20px; color: #777; font-size: 0.85rem; }

/* Responsive Base */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: -100%;
        width: 250px; height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        padding-top: 80px;
        transition: right 0.3s;
    }
    .nav-links.active { right: 0; box-shadow: -5px 0 15px rgba(0,0,0,0.5); }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
}
