/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Barra Inferior */
.bottom-bar {
    background: linear-gradient(135deg, #14213D 0%, #1a2a4a 100%) !important;
    color: #FFFFFF !important;
    padding: 1.5rem 1rem !important;
    border-top: 1px solid rgba(252, 163, 17, 0.2) !important;
    width: 100% !important;
    margin-top: 2rem !important;
    position: static !important;
    display: block !important;
    z-index: 10 !important;
    min-height: 120px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.bottom-bar.hidden {
    display: none !important;
}

.bottom-bar-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 1.5rem !important;
    align-items: center !important;
}

.vitaguard-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.vitaguard-info h3 {
    color: #FCA311 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

.vitaguard-info p {
    color: #e2e8f0 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.app-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.app-download h4 {
    color: #FCA311;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 0.75rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid #FCA311;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #FCA311;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #FCA311;
    color: #14213D;
    transform: translateY(-1px);
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.social-links h4 {
    color: #FCA311;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid #FCA311;
    border-radius: 50%;
    color: #FCA311;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FCA311;
    color: #14213D;
    transform: scale(1.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .bottom-bar {
        padding: 1rem;
    }
    
    .bottom-bar-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-btn {
        flex: 1;
        min-width: 140px;
        max-width: 160px;
        justify-content: center;
    }
}

html {
    scroll-behavior: smooth;
}

/* Fix para garantir que o footer apareça */
#dashboardScreen:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    padding-bottom: 200px !important;
}

#dashboardScreen .bottom-bar {
    margin-top: auto !important;
}

/* Garantir espaço para o último conteúdo */
#dashboardScreen > *:last-child:not(footer) {
    margin-bottom: 40px !important;
}

/* Espaçamento específico para elementos que podem ficar no final */
.news-section, .activities-section, [class*="activities"], [class*="news"] {
    margin-bottom: 40px !important;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #14213D;
    font-size: 16px;
    overflow-x: hidden;
}

/* Launch (Coming Soon) Section */
.launch-section {
    background: linear-gradient(135deg, #0f1b33 0%, #14213D 100%);
    color: #FFFFFF;
    padding: 60px 0;
    border-top: 1px solid rgba(252,163,17,0.15);
    border-bottom: 1px solid rgba(252,163,17,0.15);
}

.launch-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.launch-text h2 {
    font-size: 2rem;
    margin: 12px 0 8px;
}

.launch-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.launch-badge {
    display: inline-block;
    background: rgba(252,163,17,0.15);
    color: #FCA311;
    border: 1px solid #FCA311;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.launch-countdown {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

.launch-countdown .time-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(252,163,17,0.35);
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 88px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.launch-countdown .time-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FCA311;
}

.launch-countdown .time-box small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    color: #e2e8f0;
}

.launch-countdown.launched {
    justify-content: center;
}

.launched-text {
    background: #FCA311;
    color: #14213D;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .launch-content { grid-template-columns: 1fr; }
    .launch-countdown { justify-content: center; }
    .launch-text { text-align: center; }
}

@media (max-width: 480px) {
    .launch-countdown .time-box { min-width: 72px; padding: 12px; }
    .launch-countdown .time-box span { font-size: 1.6rem; }
}

/* Cabeçalho de Autenticação */
.auth-header {
    background-color: #14213D;
    padding: 0.5rem 1rem;
}

.auth-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo img {
    height: 60px;
}

.auth-fields {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-fields label {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.auth-fields input {
    padding: 0.5rem 0.8rem;
    border: none;
    border-radius: 25px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background-color: #FFFFFF;
    color: #14213D;
}

.btn-login {
    background-color: #FCA311;
    color: #14213D;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #e28f0f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #14213D 0%, #1a2a4a 100%);
    color: #FFFFFF;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(252,163,17,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #FCA311;
    color: #14213D;
}

.btn-primary:hover {
    background-color: #e8920f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FCA311;
    border-color: #FCA311;
}

.btn-secondary:hover {
    background-color: #FCA311;
    color: #14213D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.3);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #14213D;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #FCA311;
    line-height: 1.4;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #14213D;
    font-weight: 600;
}

.detail-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.differentiators-list {
    list-style: none;
    padding: 0;
}

.differentiators-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
}

.differentiators-list .icon {
    margin-right: 12px;
    font-size: 1.3rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: #14213D;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(252, 163, 17, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FCA311, #14213D);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FCA311, #e8920f);
    border-radius: 50%;
    padding: 15px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #14213D;
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.benefits-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: #14213D;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: #f8f9fa;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14213D, #1a2a4a);
    border-radius: 50%;
    padding: 15px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.emoji-icon {
    font-size: 2.5rem;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #14213D;
    font-weight: 600;
}

.benefit-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #14213D 0%, #1a2a4a 100%);
    color: #FFFFFF;
}

.social-proof-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FCA311, #e8920f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FCA311 0%, #e8920f 100%);
    color: #14213D;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: #14213D;
    color: #FFFFFF;
}

.cta-section .btn-primary:hover {
    background-color: #1a2a4a;
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #14213D;
    border-color: #14213D;
}

.cta-section .btn-secondary:hover {
    background-color: #14213D;
    color: #FFFFFF;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #14213D;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #FCA311;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #FCA311;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: #FCA311;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section .container,
    .about-content,
    .cta-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Login Page ajustes mobile */
    .login-page {
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-container {
        width: 100%;
        max-width: 360px;
        display: flex;
        justify-content: center;
    }

    .login-box {
        padding: 1.2rem;
        border-radius: 12px;
        width: 100%;
    }

    .alt-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .btn-govbr,
    .btn-google,
    .btn-apple {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem;
        border-radius: 10px;
        text-align: center;
    }

    .login-form .btn-login {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0.9rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-section,
    .about-section,
    .features-section,
    .benefits-section,
    .social-proof-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-section h2,
    .features-section h2,
    .benefits-section h2,
    .social-proof-section h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .feature-item,
    .testimonial-item {
        padding: 30px 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 3px solid #FCA311;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-item,
    .testimonial-item,
    .benefit-item {
        border: 2px solid #14213D;
    }
    
    .hero-section,
    .social-proof-section {
        background: #000000;
    }
    
    .about-section,
    .benefits-section {
        background: #FFFFFF;
    }
}

/* Página de Login */
.login-page {
    background-color: #14213D;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background-color: #1E2A47;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login-form label {
    text-align: left;
    color: #FFFFFF;
    font-weight: 500;
}

.login-form input {
    padding: 0.6rem 0.8rem;
    border: none;
    border-radius: 25px;
    background-color: #FFFFFF;
    color: #14213D;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
}

.login-form .btn-login {
    background-color: #FCA311;
    color: #14213D;
    border: none;
    padding: 0.6rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.login-form .btn-login:hover {
    background-color: #e28f0f;
}

.auth-links {
    margin-top: 0.8rem;
    font-size: 13px;
}

.auth-links a {
    color: #FCA311;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-alt {
    margin-top: 2px;
    color: #FFFFFF;
}

.alt-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-govbr,
.btn-google,
.btn-apple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #fff;
    width: 100%;
}

.btn-govbr {
    color: #004085;
}

.btn-govbr:hover {
    background-color: #f0f0f0;
}

.btn-google {
    color: #3c4043;
}

.btn-google:hover {
    background-color: #f0f0f0;
}

.btn-apple {
    color: #000000;
}

.btn-apple:hover {
    background-color: #f0f0f0;
}

.icon-btn {
    height: 18px;
}
/* Melhorias Mobile: legibilidade, espaçamento, botões, imagens e grid */
@media (max-width: 768px) {
    /* Header */
    .auth-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem;
    }
    .logo img {
        height: 50px;
    }
    .auth-action {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.5rem;
    }
    .auth-action a {
        width: 100%;
        text-align: center;
    }
    .btn-login-header,
    .btn-login,
    .btn-govbr,
    .btn-google,
    .btn-apple,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        font-size: 16px;
        border-radius: 14px;
        text-align: center;
        min-height: 50px;
        box-sizing: border-box;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    .hero-image {
        order: -1;
    }
    .hero-image img {
        max-width: 85%;
        margin: 0 auto;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .about-image {
        order: -1;
        margin-bottom: 1rem;
    }

    /* Features Section */
    .features-section {
        padding: 50px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 50px 0;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Social Proof */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }
    .cta-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    /* Login Page (sobrescrito para ajustes mobile acima) */

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .btn,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    .btn-login-header {
        font-size: 14px;
        padding: 0.9rem;
    }
    .login-form input,
    .login-form .btn-login,
    .btn-govbr,
    .btn-google,
    .btn-apple {
        font-size: 14px;
        padding: 0.9rem;
    }
}
@media (max-width: 768px) {
    /* Ajuste container header mobile */
    .auth-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
    }

    /* Centralização da área de ação */
    .auth-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .auth-action a {
        display: block;
        width: 100%;
        max-width: 320px;
        padding: 0.9rem;
        border-radius: 20px;
        text-align: center;
        background-color: #FCA311;
        color: #14213D;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .auth-action a:hover {
        background-color: #e28f0f;
    }

    /* Ajuste espaçamento abaixo para separar dos botões sociais */
    .auth-links {
        margin-top: 2px;
        margin-bottom: 2px;
    }
}

/* Sidebar Navigation Links - Remove underline */
nav a {
    text-decoration: none !important;
}

nav a:hover,
nav a:focus,
nav a:active {
    text-decoration: none !important;
}

/* Disable all tooltips on sidebar links when not collapsed */
.desktop-sidebar:not(.collapsed) nav a {
    position: relative;
}

.desktop-sidebar:not(.collapsed) nav a[title]:hover:after {
    content: none !important;
    display: none !important;
}

/* Completely hide any pseudo-elements that might be tooltips */
.desktop-sidebar:not(.collapsed) nav a:hover:before,
.desktop-sidebar:not(.collapsed) nav a:hover:after {
    display: none !important;
    content: "" !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Disable ALL types of tooltips globally on sidebar elements */
.desktop-sidebar:not(.collapsed) nav a,
.desktop-sidebar:not(.collapsed) nav a *,
.desktop-sidebar:not(.collapsed) nav button,
.desktop-sidebar:not(.collapsed) nav button * {
    /* Prevent any browser tooltips */
    position: relative !important;
}

.desktop-sidebar:not(.collapsed) nav a:hover::before,
.desktop-sidebar:not(.collapsed) nav a:hover::after,
.desktop-sidebar:not(.collapsed) nav a *:hover::before,
.desktop-sidebar:not(.collapsed) nav a *:hover::after,
.desktop-sidebar:not(.collapsed) nav button:hover::before,
.desktop-sidebar:not(.collapsed) nav button:hover::after,
.desktop-sidebar:not(.collapsed) nav button *:hover::before,
.desktop-sidebar:not(.collapsed) nav button *:hover::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Global tooltip disabler for sidebar when not collapsed */
.desktop-sidebar:not(.collapsed) nav * {
    /* Force disable all possible tooltip triggers */
    pointer-events: auto !important;
}

.desktop-sidebar:not(.collapsed) nav *[title],
.desktop-sidebar:not(.collapsed) nav *[aria-label],
.desktop-sidebar:not(.collapsed) nav *[data-tooltip] {
    /* Completely neutralize tooltip attributes */
    position: relative !important;
    overflow: visible !important;
}

/* Nuclear option: hide ALL pseudo-elements in sidebar nav when not collapsed */
.desktop-sidebar:not(.collapsed) nav *::before,
.desktop-sidebar:not(.collapsed) nav *::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    pointer-events: none !important;
}

/* Fix for collapsed sidebar - hide pseudo-elements when no title attribute */
.desktop-sidebar.collapsed nav a:not([title])::before,
.desktop-sidebar.collapsed nav a:not([title])::after,
.desktop-sidebar.collapsed nav a:not([title]):hover::before,
.desktop-sidebar.collapsed nav a:not([title]):hover::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    pointer-events: none !important;
}

/* Also hide any pseudo-elements from child elements in collapsed mode without title */
.desktop-sidebar.collapsed nav a:not([title]) *::before,
.desktop-sidebar.collapsed nav a:not([title]) *::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    pointer-events: none !important;
}

/* VitaGuard Global Footer Styles */
.vitaguard-footer {
    background-color: #334155;
    border-top: 1px solid #475569;
    padding: 1.5rem 0;
    margin-top: 2rem;
    width: 100vw;
    position: relative;
    left: 0;
    right: 0;
    z-index: 10;
    clear: both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 0 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    width: 192px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.footer-app-section,
.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-app-section h4,
.footer-social-section h4 {
    color: #FCA311;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.footer-app-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid #FCA311;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #FCA311;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-app-btn:hover {
    background: rgba(252, 163, 17, 0.2);
    transform: translateY(-1px);
}

.footer-app-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid #FCA311;
    border-radius: 50%;
    color: #FCA311;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    background: rgba(252, 163, 17, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(252, 163, 17, 0.3);
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-logo {
        width: 160px;
        height: 53px;
    }
    
    .footer-app-buttons {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-app-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Layout adjustments to ensure footer visibility and proper content display */
html, body {
    height: auto !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Fix main container overflow issues */
main {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Ensure main content areas use full width */
#messagesContent .w-full,
#dependentsContent .w-full,
#assetsContent .w-full,
#testamentContent .w-full,
#passwordVaultContent .w-full {
    max-width: none !important;
    padding: 0;
}

/* Fix for content sections to ensure proper spacing */

/* Sistema de telas principais - posicionamento absoluto */
#loginScreen, #dashboardScreen, #signupPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow-y: auto;
}

/* Tela ativa fica no topo */
#loginScreen:not(.hidden), 
#dashboardScreen:not(.hidden), 
#signupPage:not(.hidden) {
    z-index: 10;
}

/* Classe hidden esconde completamente */
.hidden {
    display: none !important;
}

/* Footer visible apenas quando dashboard ativo */
.vitaguard-footer {
    display: none !important;
}

/* Mostrar footer apenas quando dashboard está visível */
body:has(#dashboardScreen:not(.hidden)) .vitaguard-footer {
    display: block !important;
    visibility: visible !important;
}

/* Fallback para navegadores que não suportam :has() */
.show-footer .vitaguard-footer {
    display: block !important;
    visibility: visible !important;
}

/* Better spacing for main content sections */
main > div[id$="Content"] {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

/* Simplified layout - remove flex complications */
body {
    display: block !important;
}

.min-h-screen {
    display: block !important;
}

/* Footer positioning - keep it simple */
.vitaguard-footer {
    margin-top: 0 !important;
}

/* Hourglass loader animation */
.hourglass-loader {
    width: 32px;
    height: 32px;
    border: 3px solid #FCA311;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: hourglass 2s infinite;
}

.hourglass-loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #FCA311;
    transform: translate(-50%, -50%);
    animation: sand 2s infinite;
    border-radius: 50%;
}

@keyframes hourglass {
    0% {
        transform: rotate(0deg);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    }
    50% {
        transform: rotate(180deg);
        border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    }
    100% {
        transform: rotate(360deg);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    }
}

@keyframes sand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
}

/* Dashboard cards equal height */
.grid-desktop-2 {
    align-items: stretch;
}

.grid-desktop-2 > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
