body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #c8e6c9 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding-top: 40px;
    animation: fadeInDown 1.2s ease;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    font-size: 70px;
    color: #43a047;
    filter: drop-shadow(0 2px 10px #43a04755);
    animation: logoBounce 1.5s;
}

#pharma-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b5e20;
    margin: 20px 0 0 0;
    letter-spacing: 3px;
    text-shadow: 0 2px 8px #43a04733;
    opacity: 0;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.app-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 24px 0 #43a04722;
    text-decoration: none;
    color: #388e3c;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.25s, box-shadow 0.25s, background 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 1.5s;
}
.app-btn i {
    font-size: 2.8rem;
    margin-bottom: 15px;
    transition: color 0.2s;
}
.app-btn:hover {
    transform: translateY(-10px) scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 32px 0 #43a04755;
    background: linear-gradient(135deg, #a5d6a7 0%, #e0f2f1 100%);
}
.app-btn:hover i {
    color: #1b5e20;
}
.app-btn span {
    margin-top: 10px;
    font-size: 1.05rem;
    text-align: center;
}

footer {
    text-align: center;
    padding: 18px 0 10px 0;
    color: #388e3c;
    font-size: 1rem;
    background: transparent;
}

@media (max-width: 700px) {
    .apps-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .app-btn {
        width: 90vw;
        max-width: 320px;
        height: 110px;
        border-radius: 22px;
        font-size: 1rem;
    }
    .app-btn i {
        font-size: 2rem;
        margin-bottom: 5px;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-60px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoBounce {
    0%   { transform: scale(0.5); }
    60%  { transform: scale(1.2); }
    80%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
