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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
}

.header h1 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.app-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
}

.app-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.app-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    text-align: center;
}

.footer {
    text-align: center;
    color: white;
    padding: 30px 0;
    font-size: 1.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s ease;
}

.footer a:hover {
    border-color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stagger animation for cards */
.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }
.app-card:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .app-icon {
        font-size: 3em;
    }

    .app-title {
        font-size: 1.5em;
    }
}
