:root {
    --primary: #0077b6;
    --primary-light: #48cae4;
    --primary-dark: #023e8a;
    --bg: #f8fbff;
    --text: #333;
    --text-muted: #666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --border: #eeeeee;
}

[data-theme="dark"] {
    --primary: #48cae4;
    --primary-light: #0077b6;
    --primary-dark: #90e0ef;
    --bg: #0b111a;
    --text: #f0f4f8;
    --text-muted: #94a3b8;
    --white: #161e2b;
    --glass: rgba(22, 30, 43, 0.8);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --border: #2d3748;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.navbar {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #f8fbff 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.features {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 119, 182, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

footer {
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

.theme-toggle {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    color: var(--primary-light);
}

[data-theme="dark"] .fa-sun { display: block; }
[data-theme="dark"] .fa-moon { display: none; }
.fa-sun { display: none; }
.fa-moon { display: block; }

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #0b111a 100%);
}

[data-theme="dark"] .data-table tr:hover {
    background: #1e293b;
}

[data-theme="dark"] .data-table th, [data-theme="dark"] .data-table td {
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Form Styles */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; }
/* Table Styles */
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); margin-top: 1.5rem; }
.data-table th, .data-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #eee; }
.data-table th { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.data-table tr:hover { background: #f9fbfd; }
.badge { padding: 4px 8px; border-radius: 12px; font-size: 0.8em; font-weight: bold; }
.badge-pending { background: #ffeeba; color: #856404; }
.badge-completed { background: #d4edda; color: #155724; }
.badge-paid { background: #d1ecf1; color: #0c5460; }
