* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #e8f5e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Marca d'água do logótipo no fundo */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    animation: floatBackground 20s ease-in-out infinite;
}

/* Marca d'água alternativa caso o logótipo não exista */
body::after {
    content: 'CariHumans';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Poppins', sans-serif;
    font-size: 15vw;
    font-weight: 700;
    color: rgba(33, 150, 243, 0.03);
    z-index: 0;
    pointer-events: none;
    animation: floatBackground 20s ease-in-out infinite;
    white-space: nowrap;
    text-align: center;
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.03;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) rotate(1deg);
        opacity: 0.05;
    }
}

/* Container principal */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

/* Tela de carregamento */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #e8f5e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(33, 150, 243, 0.2);
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Seção do logótipo */
.logo-section {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    animation: pulse 2s infinite;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(33, 150, 243, 0.25);
    }
}

.logo {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    animation: fadeIn 1s ease-out 0.5s both;
}

.logo-placeholder {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Conteúdo principal */
.main-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    animation: slideInUp 1s ease-out;
    position: relative;
    z-index: 10;
    height: auto;
    overflow: visible;
    margin: 120px auto 20px auto;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção Em Breve */
.coming-soon {
    margin-bottom: 15px;
}

.coming-soon h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 1.2s both;
    font-weight: 600;
}

/* Animação contínua para "Em Breve" */
.animated-text {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: continuousGlow 2s ease-in-out infinite alternate;
}

@keyframes continuousGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(33, 150, 243, 0.3));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 12px rgba(33, 150, 243, 0.4));
        transform: scale(1.02);
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(33, 150, 243, 0.3));
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção de apresentação */
.tagline {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 15px;
    animation: slideInRight 1s ease-out 1.5s both;
    font-weight: 400;
    line-height: 1.5;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Descrição */
.description {
    margin-bottom: 25px;
}

.description p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 1.8s both;
}

/* Formulário de contacto */
.contact-form {
    margin-bottom: 20px;
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fafbfc;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.contact-form input:focus {
    outline: none;
    border-color: #2196f3;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.contact-form button {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    grid-column: 1 / -1;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%);
}

/* Redes sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%);
}

/* Informações de contacto */
.contact-info {
    margin-top: 20px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1976d2;
    text-decoration: underline;
}

/* Partículas de fundo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Efeitos de hover */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: scale(1.05);
}

/* Media queries para responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo-section {
        top: 2%;
        width: 90%;
    }
    
    .logo-container {
        padding: 10px 15px;
    }
    
    .logo {
        max-height: 70px;
    }
    
    .main-content {
        padding: 20px 15px;
        margin: 100px auto 15px auto;
        max-width: 95%;
    }
    
    .coming-soon h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .description p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .contact-form form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .contact-form input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .contact-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }

    /* Ajustar marca d'água em tablets */
    body::before {
        width: 90%;
        height: 70%;
        opacity: 0.02;
    }

    body::after {
        font-size: 12vw;
        opacity: 0.02;
    }

    .footer {
        padding: 3px 10px;
    }

    .footer p {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        top: 1%;
        width: 95%;
    }
    
    .logo-container {
        padding: 8px 12px;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .main-content {
        padding: 15px 12px;
        margin: 80px auto 10px auto;
        max-width: 98%;
    }
    
    .coming-soon h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .description p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .contact-form input {
        padding: 9px 10px;
        font-size: 0.85rem;
    }
    
    .contact-form button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Ajustar marca d'água em mobile */
    body::before {
        width: 95%;
        height: 60%;
        opacity: 0.015;
    }

    body::after {
        font-size: 10vw;
        opacity: 0.015;
    }

    .footer {
        padding: 2px 8px;
    }

    .footer p {
        font-size: 0.55rem;
    }
}

@media (max-width: 320px) {
    .logo-section {
        top: 0.5%;
    }
    
    .logo {
        max-height: 50px;
    }
    
    .main-content {
        padding: 12px 10px;
        margin: 70px auto 8px auto;
    }
    
    .coming-soon h2 {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .description p {
        font-size: 0.75rem;
    }

    /* Ajustar marca d'água em mobile pequeno */
    body::before {
        width: 100%;
        height: 50%;
        opacity: 0.01;
    }

    body::after {
        font-size: 8vw;
        opacity: 0.01;
    }

    .footer {
        padding: 2px 6px;
    }

    .footer p {
        font-size: 0.5rem;
    }
}

/* Media Query para ecrãs muito altos */
@media (min-height: 800px) {
    .main-content {
        margin: 160px auto 20px auto;
    }
}

/* Media Query para ecrãs muito baixos */
@media (max-height: 600px) {
    .logo-section {
        top: 1%;
    }
    
    .main-content {
        margin: 80px auto 10px auto;
        padding: 15px 20px;
    }
    
    .coming-soon h2 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .description p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .contact-form {
        margin-bottom: 15px;
    }
    
    .contact-form h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .contact-form input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .contact-form button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Ajustar marca d'água em ecrãs baixos */
    body::before {
        height: 70%;
        opacity: 0.02;
    }

    body::after {
        font-size: 10vw;
        opacity: 0.02;
    }

    .footer {
        padding: 2px 10px;
    }
    
    .footer p {
        font-size: 0.55rem;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.notification.error {
    background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(33, 150, 243, 0.1);
    padding: 4px 12px;
    text-align: center;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer p {
    margin: 0;
    font-size: 0.65rem;
    color: #5a6c7d;
    font-weight: 400;
    line-height: 1.2;
}

.footer a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #1976d2;
    text-decoration: underline;
} 