/* Dashboard Specific Styles */

.dashboard-area {
    padding: 100px 2rem 4rem; /* Offset for navbar */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.welcome-text {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease-out;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    animation: fadeIn 1s ease-out 0.2s both;
}

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

/* Icon Box */
.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.1);
    transition: transform 0.4s;
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

/* Text */
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
    overflow-wrap: anywhere;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 2rem;
}

/* Footer Section */
.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.soon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arrow-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transform: translateX(0);
    transition: all 0.3s;
    opacity: 0;
}

.service-card:hover .arrow-icon {
    transform: translateX(5px);
    color: var(--accent-color);
    opacity: 1;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Grid */
@media (max-width: 768px) {
    .dashboard-area {
        padding: 90px 1.5rem 2rem;
    }
    
    .welcome-text {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .dashboard-area {
        padding: 80px 0.85rem 1.5rem;
    }

    .dashboard-header {
        margin-bottom: 2rem;
    }

    .welcome-text {
        font-size: 1.9rem;
        letter-spacing: 0;
    }

    .service-card {
        padding: 1.35rem;
        border-radius: 14px;
    }

    .service-footer {
        align-items: flex-start;
        gap: 1rem;
    }
}
