/* ============================================
   Index Page Styles
   首页特定样式
   ============================================ */

/* Page-Specific Background */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Container */
.dashboard {
    max-width: 900px;
    width: 100%;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease;
}

.logo {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.logo-text {
    color: white;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin-top: 10px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Navigation Card */
.nav-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.card-title {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.card-description {
    font-size: 1em;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
}

.card-features li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}

.card-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05em;
}

.card-action::after {
    content: '→';
    transition: transform 0.3s ease;
    font-size: 1.3em;
}

.nav-card:hover .card-action::after {
    transform: translateX(5px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    animation: fadeIn 0.6s ease 0.4s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.8em;
    }

    .nav-card {
        padding: 30px 20px;
    }
}