/* Dr. Assistente - Shared Styles */

* {
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
}

.gradient-bg-soft {
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(124, 58, 237, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Mobile app download banner */
.app-download-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 60;
    display: none;
}

.app-download-banner.is-visible {
    display: block;
}

.app-download-banner__content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.app-download-banner__logo {
    width: 36px;
    height: 36px;
}

.app-download-banner__text {
    flex: 1;
    min-width: 0;
}

.app-download-banner__title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.app-download-banner__subtitle {
    font-size: 12px;
    color: #6b7280;
}

.app-download-banner__cta {
    background: #7c3aed;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.app-download-banner__close {
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 20px;
    line-height: 1;
    padding: 4px;
    cursor: pointer;
}

body.app-banner-visible nav {
    top: 56px;
}

@media (min-width: 769px) {
    .app-download-banner {
        display: none !important;
    }
}

/* Animation for dynamically added fade-in elements */
.animate-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Logos marquee */
.logos-marquee {
    overflow: hidden;
}

.logos-marquee__track {
    display: flex;
    width: max-content;
    animation: logos-marquee 26s linear infinite;
}

.logos-marquee__group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
}

@keyframes logos-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 1024px) {
    .logos-marquee__track {
        animation: none;
        width: 100%;
        justify-content: center;
    }

    .logos-marquee__group {
        gap: 4rem;
        padding-right: 0;
    }

    .logos-marquee__group + .logos-marquee__group {
        display: none;
    }
}

@media (max-width: 1023px) {
    .logos-marquee__track {
        will-change: transform;
    }
}
