/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Inter&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
    --bg-color: #f8f9fa;
    --text-color: #1a1a1a;
    --text-muted: #6c757d;
    --accent-color: #007bff;
    --card-bg: #ffffff;
    /* --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05); */
    --card-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    --icon-radius: 20%;
    /* Classic iOS/Android rounded corner */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* user-select: none; */
}

body {
    /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
    text-align: center;
}

/* Container */
.container {
    max-width: 600px;
    width: 100%;
}

/* Header */
header {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-link {
    display: inline-block;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
    /* transform: translateY(-4px); */
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--icon-radius);
    object-fit: cover;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

/* .company-logo:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
} */

h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-top: 8px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Apps Section */
.apps-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-title {
    font-size: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    color: var(--text-muted);
    /* margin-bottom: 32px; */
    font-weight: 300;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 32px 24px;
    justify-items: center;
}

.app-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    transition: var(--transition);
}

.app-item:hover {
    transform: translateY(-4px);
}

.app-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--card-bg);
    border-radius: var(--icon-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.app-item:hover .app-icon-wrapper {
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-title {
    font-size: 0.85rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    height: 2.6em;
    /* Exactly 2 lines (1.3 * 2) */
}

/* Social Links */
footer {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover .social-icon {
    fill: var(--text-color);
    transform: translateY(-4px);
}

/* 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);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 40px 16px;
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 12px;
    }

    .app-item {
        width: 100%;
    }

    .app-icon-wrapper {
        width: 70px;
        height: 70px;
    }
}