* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    background-color: #000000;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-app-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.header-app-link:hover {
    opacity: 0.7;
}

.container {
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    min-height: auto;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: auto;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Apps Section */
.apps-section {
    width: 100%;
    margin-bottom: 3rem;
}

.apps-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: left;
    letter-spacing: -0.01em;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    justify-items: center;
    align-items: start;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    width: 100%;
}

.app-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 6rem;
    justify-content: flex-start;
}

.app-title-line1 {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.app-title-line2 {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* App Image Styles */
.app-image-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 400px;
    height: 520px;
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-image-link:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.app-image {
    width: 100%;
    max-width: 400px;
    height: 620px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Garantir que ambas as imagens tenham exatamente o mesmo tamanho */
.app-image img,
.app-image-link img {
    width: auto;
    max-width: 100%;
    height: 620px;
    display: block;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

/* Forçar mesmo tamanho fixo para ambos os containers de imagem */
.app-card .app-image,
.app-card .app-image-link {
    width: 100%;
    max-width: 400px;
    height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.app-card .app-image img,
.app-card .app-image-link img {
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: 620px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}


/* App Store Badge */
.app-store-badge {
    display: inline-block;
    margin-top: 1.25rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.app-store-badge:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Social Links Styles */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #f8f9fa;
}

.social-link:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.contact-section {
    margin-top: auto;
    padding-top: 2rem;
    text-align: center;
}

.contact-text {
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.contact-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.ssl-seal {
    padding-top: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.ssl-seal img {
    max-width: 124px;
    height: auto;
    border: none;
}

.footer {
    background-color: #000000;
    padding: 2rem;
    margin-top: auto;
    width: 100%;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    justify-content: center;
}

.legal-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 0.7;
}

.separator {
    color: #ffffff;
    font-weight: 300;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-header {
        padding: 0.75rem 1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .header-logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .header-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .header-app-link {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .logo {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .apps-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-image-link {
        max-width: 300px;
    }
    
    .app-card-title {
        font-size: 1.1rem;
    }
    
    .app-title-line1 {
        font-size: 1.3rem;
    }
    
    .app-title-line2 {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 0.75rem 1rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .header-logo {
        font-size: 1rem;
        flex: 0 0 auto;
    }
    
    .header-links {
        gap: 0.75rem;
        flex: 1 1 auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    
    .header-app-link {
        font-size: 0.75rem;
        white-space: nowrap;
        padding: 0.25rem 0;
    }
}

/* iPhone specific adjustments */
@media (max-width: 414px) {
    .main-header {
        padding: 0.625rem 0.875rem;
    }
    
    .header-logo {
        font-size: 0.95rem;
    }
    
    .header-links {
        gap: 0.625rem;
    }
    
    .header-app-link {
        font-size: 0.7rem;
    }
}

@media (max-width: 375px) {
    .main-header {
        padding: 0.5rem 0.75rem;
    }
    
    .header-logo {
        font-size: 0.9rem;
    }
    
    .header-app-link {
        font-size: 0.65rem;
    }
}
    
    .logo {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .apps-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .apps-grid {
        gap: 2rem;
    }
    
    .app-card-title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .app-title-line1 {
        font-size: 1.2rem;
    }
    
    .app-title-line2 {
        font-size: 0.85rem;
    }
    
    .app-image-link {
        max-width: 250px;
    }
    
    .social-links {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}
