@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #1a73e8;
    --primary-dark: #155cb7;
    --accent: #00bba5;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #333;
    --text-light: #666;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Navbar Estilizada */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links { display: flex; gap: 20px; align-items: center; }

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover { color: var(--primary); }

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover { background: #f0f8ff; }

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 0.8s ease;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.2s ease;
}

/* Cards de Funcionalidades */
.features { padding: 80px 0; }
.features h2 { text-align: center; margin-bottom: 50px; font-size: 2rem; }

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover { transform: translateY(-10px); }

.feature-card .icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }

/* Busca de Perfil */
.profile-search {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    margin: 60px auto 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 1.4s ease;
}

.search-form { display: flex; gap: 10px; margin-top: 15px; }

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    font-family: inherit;
}

.search-form input:focus { border-color: var(--primary); }

#search-results-container {
    margin-top: 20px;
    text-align: left;
}

.profile-link {
    display: block;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 5px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}
.profile-link:hover { background: #eef2ff; }

/* Animações */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-form { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* --- ADICIONE AO FINAL DO ARQUIVO css/telaum_style.css --- */

/* Estilos para Telas de Autenticação (Login/Cadastro) */

/* Classe para o body dessas páginas para centralizar tudo */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* O "cartão de vidro" que contém o formulário */
.auth-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Para Safari */
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

/* Link de voltar para home */
.back-home {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.back-home:hover { color: var(--primary); }
.back-home span { margin-right: 8px; }

.auth-box h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
}

/* Estilização dos campos do formulário */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent; /* Borda transparente inicial */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9); /* Fundo do input ligeiramente mais sólido */
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary); /* Borda azul ao focar */
    background: white;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.15);
}

/* Botão de ação principal no formulário */
.auth-box .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Link para trocar de tela (Login <-> Cadastro) */
.switch-page {
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--text-light);
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.switch-page a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: opacity 0.2s;
}

.switch-page a:hover { opacity: 0.8; }