:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    margin: 0;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.product-header h4 {
    margin: 0;
}

.product-price {
    text-align: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.product-price .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-price .original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-price .period {
    color: #666;
}

.product-features {
    padding: 25px;
    list-style: none;
    margin: 0;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-footer {
    padding: 20px 25px 25px;
}

.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.stats h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stats p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

.user-sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    min-height: calc(100vh - 56px);
    padding: 20px 0;
}

.user-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 0;
}

.user-sidebar .nav-link:hover,
.user-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.user-content {
    padding: 30px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
}

.badge {
    font-weight: normal;
}

.alert {
    border-radius: 10px;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.login-box {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-box h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.login-box .form-control {
    height: 45px;
    border-radius: 8px;
}

.login-box .btn {
    height: 45px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .stats h2 {
        font-size: 1.8rem;
    }
}
