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

body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    background: url('fundo.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
}

.header {
    padding: 2rem 0;
    z-index: 10;
}

.logo {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: #f0f0f0;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(45deg, #128C7E, #25D366);
}

.whatsapp-btn:active {
    transform: translateY(-1px);
}

.whatsapp-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;
}

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

.whatsapp-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.footer {
    padding: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-footer {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.cookie-preferences {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.fingerprint-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.fingerprint-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.fingerprint-btn:active {
    transform: scale(0.95);
}

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

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

.fingerprint-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .whatsapp-btn {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .logo-footer {
        max-height: 40px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .footer-content {
        gap: 0.6rem;
    }
    
    .cookie-preferences {
        gap: 0.6rem;
        font-size: 0.75rem;
    }
    
    .fingerprint-btn {
        width: 40px;
        height: 40px;
    }
    
    .fingerprint-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .whatsapp-btn {
        font-size: 1rem;
        padding: 12px 24px;
        gap: 8px;
    }
    
    .logo {
        max-height: 50px;
    }
    
    .logo-footer {
        max-height: 35px;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-preferences {
        gap: 0.5rem;
        font-size: 0.7rem;
    }
    
    .fingerprint-btn {
        width: 35px;
        height: 35px;
    }
    
    .fingerprint-icon {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .whatsapp-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .main-content {
        padding: 0.5rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        max-height: 40px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 0.8rem 0;
    }
    
    .logo-footer {
        max-height: 30px;
    }
}

/* Cookie Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.cookie-modal-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-intro {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
}

.cookie-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.switch.disabled .slider {
    background-color: #667eea;
    cursor: not-allowed;
}

.lgpd-info {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.lgpd-info h4 {
    color: #28a745;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.lgpd-info ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
}

.lgpd-info li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-modal-footer button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-reject {
    background: #6c757d;
    color: white;
}

.btn-reject:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-save {
    background: #667eea;
    color: white;
}

.btn-save:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.btn-accept {
    background: #28a745;
    color: white;
}

.btn-accept:hover {
    background: #218838;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Responsive for Cookie Modal */
@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
    
    .cookie-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .switch {
        width: 40px;
        height: 20px;
    }
    
    .slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .slider:before {
        transform: translateX(20px);
    }
}
