:root {
    --primary-color: #0066ff;
    --secondary-color: #00ffcc;
    --dark-color: #0a0a1a;
    --light-color: #f0f0f0;
    --accent-color: #ff3366;
    --text-color: #e0e0e0;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--dark-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.highlight {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Garante que o HTML e body não mantenham posição de rolagem */
html, body {
    scroll-behavior: auto !important;
}

/* ============ BOTÕES ============ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-small {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-small:hover {
    color: white;
    border-color: var(--secondary-color);
    background-color: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    transition: all 0.3s ease;
}

/* Estilos para botões de apps indisponíveis */
.btn.unavailable {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: not-allowed;
}

.btn.unavailable:hover {
    transform: none !important;
    box-shadow: none !important;
}

.btn.unavailable::after {
    content: 'Em breve';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn.unavailable:hover::after {
    opacity: 1;
}

/* ============ LOADING SCREEN ============ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.hexagon {
    width: 60px;
    height: 34.64px;
    background-color: var(--primary-color);
    position: relative;
    margin: 0 auto 20px;
    animation: pulse 0.8s infinite ease-in-out;
    display: none;
}

.loading-screen .hexagon {
    display: block;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 17.32px solid var(--primary-color);
}

.hexagon:after {
    top: 100%;
    border-top: 17.32px solid var(--primary-color);
}

.loading-screen p {
    color: var(--text-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* HEXAGON CENTER (hero) */
.hexagon-center {
    position: absolute;
    width: 60px;
    height: 34.64px;
    background-color: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Adicionei para garantir que fique acima das camadas */
}

.hexagon-center:before,
.hexagon-center:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.hexagon-center:before {
    bottom: 100%;
    border-bottom: 17.32px solid var(--primary-color);
}

.hexagon-center:after {
    top: 100%;
    border-top: 17.32px solid var(--primary-color);
}

/* HEXAGON SIMPLES (loading) */
.loading-screen .hexagon {
    display: block;
    /* mantém todos os outros estilos */
}

/* Esconde o hexagon simples fora do loading */
.hexagon:not(.loading-screen .hexagon) {
    display: none !important;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    /* Mobile - esconde o hexagon-center */
    .hexagon-center {
        display: none;
    }
    
    /* Ajustes para o tech-circle em mobile */
    .tech-circle {
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 769px) {
    /* Desktop - mostra o hexagon-center */
    .hexagon-center {
        display: block;
    }
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-color);
}

.logo-highlight {
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav ul li a:hover {
    color: var(--secondary-color);
}

.nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ============ HERO SECTION ============ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0) 70%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

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

.hero-visual {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    position: relative;
    width: 400px;
    height: 400px;
}

.circle-layer {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 204, 0.3);
    animation: rotate linear infinite;
}

.circle-layer:nth-child(1) {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 102, 255, 0.3);
    animation-duration: 30s;
}

.circle-layer:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(0, 255, 204, 0.3);
    animation-duration: 20s;
    animation-direction: reverse;
}

.circle-layer:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(255, 51, 102, 0.3);
    animation-duration: 15s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============ APPS SECTION ============ */
.apps-section {
    padding: 100px 0;
    background-color: rgba(10, 10, 26, 0.7);
}

.apps-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.8;
    font-size: 1.1rem;
}

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

.app-card {
    background-color: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.3);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.app-card p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-section:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 10, 26, 1), transparent);
    z-index: -1;
}

.about-content {
    flex: 1;
    padding-right: 50px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.skills {
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos para a animação do grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
    gap: 10px;
}

.grid-cell {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.grid-cell.active {
    background-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    transform: scale(1.05);
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 60px);
        grid-template-rows: repeat(3, 60px);
    }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 100px 0;
    background-color: rgba(10, 10, 26, 0.7);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.social-icon.unavailable {
    position: relative;
    opacity: 0.7;
}

.social-icon.unavailable:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon.unavailable::after {
    content: 'Em breve';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon.unavailable:hover::after {
    opacity: 1;
}

.contact-form {
    flex: 1;
    background-color: rgba(20, 20, 40, 0.6);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============ FOOTER ============ */
.footer {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .tech-circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--dark-color);
        transition: all 0.3s ease;
        padding: 30px;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        height: auto;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* Ajustes específicos para o hexágono em mobile */
    .hexagon-center {
        display: none;
    }
    
    .tech-circle .hexagon {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 34.64px;
        background-color: var(--primary-color);
        animation: pulse 1.5s infinite ease-in-out;
    }
    
    .tech-circle .hexagon:before,
    .tech-circle .hexagon:after {
        content: "";
        position: absolute;
        width: 0;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
    }
    
    .tech-circle .hexagon:before {
        bottom: 100%;
        border-bottom: 17.32px solid var(--primary-color);
    }
    
    .tech-circle .hexagon:after {
        top: 100%;
        border-top: 17.32px solid var(--primary-color);
    }
    
    .tech-circle {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .about-section .container {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 60px);
        grid-template-rows: repeat(3, 60px);
        gap: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Ajustes adicionais para o hexágono em telas muito pequenas */
    .tech-circle .hexagon {
        width: 50px;
        height: 28.87px;
    }
    
    .tech-circle .hexagon:before,
    .tech-circle .hexagon:after {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
    }
    
    .tech-circle .hexagon:before {
        border-bottom: 14.43px solid var(--primary-color);
    }
    
    .tech-circle .hexagon:after {
        border-top: 14.43px solid var(--primary-color);
    }
}

/* ============ ANIMAÇÕES ============ */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* ============ CLASSES UTILITÁRIAS ============ */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.touch-active {
    transform: scale(0.95) !important;
    opacity: 0.9 !important;
}

/* ============ PÁGINA DE APLICATIVO ============ */

.app-detail {
    padding-top: 80px;
}

/* Hero Section Específica */
.app-hero {
    padding: 80px 0;
    color: white;
}

.app-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-hero-content {
    flex: 1;
}

.app-hero-image {
    flex: 1;
    text-align: center;
}

.app-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.app-hero h1 i {
    margin-right: 15px;
}

.app-badges {
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.badge i {
    margin-right: 8px;
}

.app-screenshot {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Seção de Recursos */
.app-features {
    padding: 80px 0;
    background-color: rgba(10, 10, 26, 0.7);
}

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

.feature-card {
    background-color: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

/* Seção de Demonstração */
.app-demo {
    padding: 80px 0;
}

.demo-container {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.demo-description {
    flex: 1;
}

.demo-embed {
    flex: 1;
}

.demo-list {
    margin-top: 20px;
    list-style: none;
}

.demo-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.demo-list i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.simulator-placeholder {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.simulator-image {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Estilos para o Simulador - Garantindo alinhamento */
.simulator-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* Ajuste conforme necessário */
    margin: 0 auto;
    text-align: center;
}

.simulator-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: block; /* Remove espaços indesejados */
}

.simulator-btn {
    margin-top: 20px;
    width: 80%;
    max-width: 200px;
    position: relative;
    z-index: 2;
}

/* Alinhamento responsivo */
@media (max-width: 768px) {
    .demo-container {
        flex-direction: column;
    }
    
    .simulator-wrapper {
        margin-top: 30px;
    }
}

/* Seção de Integrações */
.app-integrations {
    padding: 80px 0;
    background-color: rgba(10, 10, 26, 0.7);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

.integration {
    text-align: center;
}

.integration-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    filter: grayscale(100%) contrast(50%);
    transition: all 0.3s ease;
}

.integration:hover .integration-logo {
    filter: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .app-hero .container {
        flex-direction: column;
    }
    
    .demo-container {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ REPORT FORM ============ */
.report-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.report-form {
    background-color: rgba(20, 20, 40, 0.6);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.template-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.gender-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.gender-btn {
    flex: 1;
    padding: 10px;
    background-color: #444444;
    border: 1px solid #666666;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gender-btn i {
    font-size: 1.2rem;
}

.gender-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#maleBtn:hover:not(.active) {
    background-color: #5D8BF4;
    border-color: #5D8BF4;
}

#femaleBtn:hover:not(.active) {
    background-color: #FF9EB7;
    border-color: #FF9EB7;
}

.custom-field {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.custom-field-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.custom-field-header input {
    flex: 1;
}

.remove-field-btn {
    background-color: rgba(255, 51, 102, 0.2);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--accent-color);
    border-radius: 5px;
    width: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-field-btn:hover {
    background-color: rgba(255, 51, 102, 0.3);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}

/* ============ DOCUMENT PREVIEW ============ */
.document-preview {
    background-color: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 5px;
}

.document-preview-content {
    line-height: 1.6;
}

.document-preview-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.document-preview-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.preview-fields, 
.preview-placeholders {
    padding-left: 20px;
    margin: 15px 0;
}

.preview-fields li, 
.preview-placeholders li {
    margin-bottom: 8px;
}

.preview-placeholders code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
}

.preview-actions {
    display: flex;
    gap: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .preview-actions {
        width: 100%;
    }
    
    .preview-actions .btn {
        width: 100%;
    }
}

/* ============ LOGIN SYSTEM ============ */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: var(--dark-color);
}

.login-box {
    background-color: rgba(20, 20, 40, 0.8);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.login-form label i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.login-form input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.remember-me input {
    width: auto;
    margin-right: 8px;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-color);
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensagens de erro/sucesso */
.auth-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background-color: rgba(255, 51, 102, 0.2);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--accent-color);
}

.success-message {
    background-color: rgba(0, 255, 204, 0.2);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: var(--secondary-color);
}

/* ============ USER PANEL ============ */
.user-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.user-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(20, 20, 40, 0.9);
    border-radius: 5px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: none;
}

.user-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-dropdown a:hover {
    background-color: rgba(0, 102, 255, 0.2);
    color: var(--secondary-color);
}

.user-dropdown a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.user-dropdown a:last-child {
    border-bottom: none;
    color: var(--accent-color);
}

.user-dropdown a:last-child:hover {
    background-color: rgba(255, 51, 102, 0.2);
}

.user-info {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.user-email {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ============ LOGIN MODAL ============ */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: rgba(20, 20, 40, 0.95);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Botão de fechar (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-color);
}


/* ============ PROFILE PAGE ============ */
.profile-container {
    padding: 100px 0;
    min-height: 100vh;
}

.profile-container h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.profile-card {
    background-color: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.profile-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.profile-header p {
    opacity: 0.8;
    font-size: 1rem;
}

.profile-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item label {
    opacity: 0.8;
}

.detail-item label i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.profile-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-card {
        padding: 30px 20px;
    }
}