/* ===== Base ===== */
body {
    background: #FAFAF5;
    margin: 0;
    color: #111;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 5px;
}

a {
    text-decoration: none;
}

/* ===== Header ===== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 30px;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-header {
    height: 40px;
    margin-right: 10px;
}

.brand-name {
    font-family: 'Space Grotesk';
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-link {
    margin-left: 20px;
    color: #333;
    font-weight: 600;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero-logo {
    width: 100px;
}

.hero-title {
    font-size: 2rem;
    color: #111;
}

.hero-text {
    color: #555;
    font-size: 1rem;
    max-width: 500px;
    margin: 10px auto;
}

/* ===== About ===== */
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    max-width: 1000px;
    margin: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.about-text {
    width: 60%;
}

.about-img img {
    width: 120px;
}

/* ===== Apps ===== */
.apps-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

.app-card {
    background: white;
    width: 300px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.app-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.app-logo {
    width: 70px;
    margin: 0 auto;
}

.app-title {
    font-size: 1.3rem;
    margin-top: 10px;
}

.app-desc {
    font-size: 0.95rem;
    margin: 15px 0;
    color: #555;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Botones */
.btn-primary {
    background: #2b9291;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #0d6287;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    font-weight: 600;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Contact ===== */
.contact {
    background: white;
    padding: 40px;
    max-width: 700px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    align-self: center;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    background: white;
    border-top: 1px solid #ddd;
}

.social-links a {
    color: #2b9291;
    margin: 0 5px;
}

.social-links a:hover {
    text-decoration: underline;
}