/* --- Base Styles --- */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #0d122b, #000);
    font-family: 'Inter', sans-serif;
    color: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 950px;
    width: 100%;
}

/* --- Header & Branding --- */
.logo-img {
    width: 220px;
    height: auto;
    margin-bottom: 0.5rem;
}

.dots {
    color: #f5c86a;
}

.slogan {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    color: #bbb;
    font-weight: 300;
    letter-spacing: 1px;
}

.wonderapps h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.intro {
    margin-bottom: 3rem;
    color: #888;
}

/* --- App Card Grid --- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Initial State for Animation */
    opacity: 0;
    transform: translateY(30px);
}

.app-icon-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.app-icon {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
}

.app-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin: 0.5rem 0;
}

.app-description {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

/* --- Interactivity --- */
.active-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-12px);
    border-color: #5bbad5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 15px rgba(91, 186, 213, 0.2);
}

.app-link {
    margin-top: 2rem;
    font-weight: 600;
    color: #f5c86a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.coming-soon {
    opacity: 0.6;
    border-style: dashed;
}

.coming {
    margin-top: 2rem;
    color: #555;
    font-style: italic;
}

/* --- Sequential Animation --- */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: slideIn 0.8s ease forwards;
}

    .app-card:nth-child(1) {
        animation-delay: 0.2s;
    }

    .app-card:nth-child(2) {
        animation-delay: 0.4s;
    }

/* Responsive Adjustments */
@media (max-width: 600px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        width: 180px;
    }
}
