/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

@keyframes gradient-x {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-gradient-x {
    animation: gradient-x 3s ease infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Background Patterns */
.bg-grid-glow {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.bg-hexagon-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-circuit-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236366F1' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M20 20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm0-20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM0 20c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm40 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8z'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-neural-network {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238B5CF6' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='80' cy='20' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='20' cy='80' r='2'/%3E%3Ccircle cx='80' cy='80' r='2'/%3E%3Cline x1='20' y1='20' x2='50' y2='50' stroke='%238B5CF6' stroke-opacity='0.1' stroke-width='1'/%3E%3Cline x1='80' y1='20' x2='50' y2='50' stroke='%238B5CF6' stroke-opacity='0.1' stroke-width='1'/%3E%3Cline x1='50' y1='50' x2='20' y2='80' stroke='%238B5CF6' stroke-opacity='0.1' stroke-width='1'/%3E%3Cline x1='50' y1='50' x2='80' y2='80' stroke='%238B5CF6' stroke-opacity='0.1' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-hero-grid {
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(147, 51, 234, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 51, 234, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

.bg-hero-grid {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(rgba(147, 51, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 51, 234, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* Header Styles */
.header-scrolled {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.nav-link {
    position: relative;
    color: #d1d5db;
    transition: all 0.3s ease;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #60a5fa, #a855f7);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    color: #d1d5db;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.mobile-nav-link:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}

/* Button Styles */
.cta-button {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
    display: inline-flex;
    align-items: center;
}

.cta-button:hover {
    background: linear-gradient(to right, #1d4ed8, #6d28d9);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.cta-button-secondary {
    background: linear-gradient(to right, #2563eb, #06b6d4);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
}

.cta-button-secondary:hover {
    background: linear-gradient(to right, #1d4ed8, #0891b2);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.hero-cta-primary {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    group: true;
}

.hero-cta-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #6d28d9);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.hero-cta-secondary {
    border: 2px solid rgba(59, 130, 246, 0.5);
    color: #93c5fd;
    background: transparent;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
}

.hero-cta-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #60a5fa;
    transform: scale(1.05);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.5s ease;
    group: true;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.service-card-header {
    text-align: center;
    padding-bottom: 16px;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
    transform: rotate(6deg);
}

.service-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #93c5fd;
}

.service-description {
    color: #d1d5db;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Detailed Service Cards */
.detailed-service-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.5s ease;
    text-align: center;
}

.detailed-service-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
}

.detailed-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.detailed-service-card:hover .detailed-service-icon {
    transform: rotate(12deg);
}

.detailed-service-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.detailed-service-card:hover .detailed-service-title {
    color: #c084fc;
}

.detailed-service-description {
    color: #d1d5db;
    line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.stars {
    display: flex;
    margin-right: 16px;
}

.star-filled {
    color: #fbbf24;
    fill: #fbbf24;
    width: 20px;
    height: 20px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.testimonial-text {
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 24px;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial-footer {
    border-top: 1px solid rgba(75, 85, 99, 0.5);
    padding-top: 16px;
}

.client-name {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .client-name {
    color: #93c5fd;
}

.client-sector {
    color: #60a5fa;
    font-weight: 500;
}

/* Client Logos */
.client-logo {
    width: 128px;
    height: 64px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(55, 65, 81, 0.5));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(75, 85, 99, 0.3);
    color: #d1d5db;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.client-logo:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.client-logo-image {
    width: 128px;
    height: 64px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(55, 65, 81, 0.5));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 12px;
}

.client-logo-image:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

/* Contact Styles */
.contact-item {
    display: flex;
    align-items: center;
    group: true;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-item:hover .contact-icon {
    transform: rotate(6deg);
}

.contact-title {
    font-weight: bold;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-title {
    color: #93c5fd;
}

.contact-info {
    color: #d1d5db;
    font-size: 1.125rem;
}

/* Form Styles */
.contact-form-container {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
}

.contact-form-header {
    margin-bottom: 24px;
}

.contact-form-header h3 {
    margin-bottom: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: #d1d5db;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.5);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-submit-button {
    background: linear-gradient(to right, #7c3aed, #2563eb);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.form-submit-button:hover {
    background: linear-gradient(to right, #6d28d9, #1d4ed8);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.4);
}

/* Footer */
.footer-link {
    color: #ffffff !important;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.footer-link:hover {
    color: #60a5fa !important;
    transform: translateX(4px);
}

/* Force white text in footer */
footer * {
    color: #ffffff !important;
}

footer h4 {
    color: #ffffff !important;
}

footer .hover\:text-blue-400:hover {
    color: #60a5fa !important;
}

footer .hover\:text-green-400:hover {
    color: #10b981 !important;
}

footer .hover\:text-purple-400:hover {
    color: #a855f7 !important;
}

footer .text-gray-300 {
    color: #d1d5db !important;
}

/* WhatsApp Floating Button */
.whatsapp-floating-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 50;
    backdrop-filter: blur(4px);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating-button:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-floating-button:active {
    transform: scale(0.95);
}

.whatsapp-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.contact-whatsapp-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    }
}

/* Scroll to Top Button - SUBSTITUÍDO PELO WHATSAPP */
/*
.scroll-to-top-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-button:hover {
    background: linear-gradient(to right, #1d4ed8, #6d28d9);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}
*/

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .service-card,
    .detailed-service-card,
    .testimonial-card {
        margin-bottom: 16px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .whatsapp-floating-button {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-logo {
        width: 28px;
        height: 28px;
    }
    
    .contact-whatsapp-logo {
        width: 28px;
        height: 28px;
    }
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .detailed-service-card,
    .testimonial-card,
    .contact-form-container {
        border-width: 2px;
    }
} 

.btn-fundacao {
    margin-top: 3rem;
    margin-bottom: 0 !important;
}

.z-index1 {
    z-index: 1;
}