/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --text-color: #333333;
}
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-3deg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

/* Code Snippet */
.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    overflow-x: auto;
}

/* Footer */
.footer {
    background: #343a40;
    color: white;
    padding: 50px 0 20px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.bg-light-alt {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Admin Dashboard Demo Styles */
#adminTabs .list-group-item {
    background-color: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

#adminTabs .list-group-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
}

#adminTabs .list-group-item.active {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

#adminTabs .list-group-item i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.tab-content {
    height: 100%;
}

/* Dashboard Cards */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}
