:root {
    --primary: #00d4ff;
    --primary-dark: #008eb3;
    --secondary: #6c757d;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #38bdf8;
    --text: #334155;
    --text-light: #94a3b8;
    --bg: #0b1121;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html.light-theme {
    --bg: #f8fafc;
    --dark: #f8fafc;
    --light: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --glass: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 33, 0.8);
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo .tech {
    color: var(--light);
}

.logo .fix {
    color: var(--primary);
}

.logo small {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.7;
    display: block;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary);
}

.btn-login {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--dark) !important;
    border-color: var(--primary);
}

/* Hero */
.hero {
    padding: 8rem 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--light);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--glass);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

/* Services */
.services {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--text-light);
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
}

.theme-toggle:hover {
    background: var(--glass);
    color: var(--primary);
}

.theme-toggle i {
    width: 20px;
    text-align: center;
}

/* Public Header Toggle (if reused) */
.main-header .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    margin-left: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--light);
}

.main-header .theme-toggle:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

html.light-theme .main-header {
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

html.light-theme .hero-content h1 {
    color: #0f172a;
}

html.light-theme .service-card {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.light-theme .sidebar {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
}

/* Admin Table Light Theme */
html.light-theme .customer-table th {
    background: #f1f5f9;
}

html.light-theme .customer-table td {
    background: #ffffff;
}

html.light-theme .ticket-card,
html.light-theme .product-card,
html.light-theme .report-card,
html.light-theme .login-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}