/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 31, 45, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h2 {
    color: #1FB6FF;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo span {
    color: white;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #1FB6FF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1FB6FF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0D1F2D 0%, #1a2f42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #1FB6FF;
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: #B0C4DE;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #1FB6FF;
    color: white;
    box-shadow: 0 4px 15px rgba(31, 182, 255, 0.3);
}

.btn-primary:hover {
    background: #0EA5E9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 182, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1FB6FF;
    border: 2px solid #1FB6FF;
}

.btn-secondary:hover {
    background: #1FB6FF;
    color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0D1F2D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 182, 255, 0.1);
    border-color: #1FB6FF;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1FB6FF, #0EA5E9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1FB6FF;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #0EA5E9;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #0D1F2D;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #4B5563;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #0D1F2D;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #1FB6FF;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #4B5563;
    font-size: 0.9rem;
    margin: 0;
}

.about-visual {
    position: relative;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tech-item {
    background: linear-gradient(135deg, #1FB6FF, #0EA5E9);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #0D1F2D;
    color: white;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: #B0C4DE;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #1FB6FF;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item h3 i {
    font-size: 1.1rem;
}

.contact-item p {
    color: #B0C4DE;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #4B5563;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #B0C4DE;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1FB6FF;
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
    background: #0a1a25;
    padding: 3rem 0 1rem;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #1FB6FF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo span {
    color: white;
    font-weight: 300;
}

.footer-logo p {
    color: #B0C4DE;
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    color: #1FB6FF;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #B0C4DE;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1FB6FF;
}

.footer-contact p {
    color: #B0C4DE;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 1rem;
    text-align: center;
    color: #B0C4DE;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
display: flex;
    }

    .nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: rgba(13, 31, 45, 0.98);
width: 100%;
text-align: center;
transition: 0.3s;
padding: 2rem 0;
    }

    .nav-menu.active {
left: 0;
    }

    .hamburger.active span:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
font-size: 2.5rem;
    }

    .hero-buttons {
flex-direction: column;
align-items: center;
    }

    .services-grid {
grid-template-columns: 1fr;
    }

    .about-content {
grid-template-columns: 1fr;
gap: 2rem;
    }

    .about-stats {
justify-content: center;
    }

    .tech-stack {
grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
grid-template-columns: 1fr;
gap: 2rem;
    }

    .form-group {
grid-template-columns: 1fr;
    }

    .footer-content {
grid-template-columns: 1fr;
gap: 2rem;
text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
font-size: 2rem;
    }

    .service-card {
padding: 2rem;
    }

    .section-header h2 {
font-size: 2rem;
    }

    .about-text h2 {
font-size: 2rem;
    }

    .about-stats {
flex-direction: column;
gap: 1rem;
    }

    .tech-stack {
grid-template-columns: 1fr;
gap: 0.5rem;
    }

    .tech-item {
padding: 0.75rem;
font-size: 0.8rem;
    }

    .hero-content p {
font-size: 1rem;
    }

    .btn {
padding: 0.875rem 1.5rem;
font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
opacity: 0;
transform: translateY(30px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
box-shadow: 0 0 0 0 rgba(31, 182, 255, 0.4);
    }
    70% {
box-shadow: 0 0 0 10px rgba(31, 182, 255, 0);
    }
    100% {
box-shadow: 0 0 0 0 rgba(31, 182, 255, 0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.btn-primary:hover {
    animation: pulse 1.5s infinite;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1FB6FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0EA5E9;
}

/* Loading states and transitions */
.service-card,
.tech-item,
.contact-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }

/* Focus states for accessibility */
.btn:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #1FB6FF;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero,
    .contact,
    footer {
display: none;
    }
    
    .services,
    .about {
page-break-inside: avoid;
    }
}

/* Additional styles for services page */
.page-header {
    background: linear-gradient(135deg, #0D1F2D 0%, #1a2f42 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #B0C4DE;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.service-detail:nth-child(even) {
    background: #f8fafc;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-text h2 {
    font-size: 2.2rem;
    color: #0D1F2D;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-text h2 i {
    color: #1FB6FF;
    font-size: 2rem;
}

.service-text p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #4B5563;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: #1FB6FF;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.service-visual {
    background: linear-gradient(135deg, #1FB6FF 0%, #0EA5E9 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-visual h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.pricing-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 4px solid #1FB6FF;
}

.pricing-highlight h4 {
    color: #0D1F2D;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.pricing-highlight p {
    color: #4B5563;
    margin: 0;
}

.cta-section {
    background: #0D1F2D;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    color: #B0C4DE;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .page-header h1 {
font-size: 2.5rem;
    }
    
    .service-content {
grid-template-columns: 1fr;
gap: 2rem;
    }
    
    .service-text h2 {
font-size: 1.8rem;
    }
    
    .tech-grid {
grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
font-size: 2rem;
    }
    
    .tech-grid {
grid-template-columns: 1fr;
    }
    
    .service-visual {
min-height: 250px;
padding: 1.5rem;
    }
}

/* scroll com header fixo */
.service-detail {
    scroll-margin-top: 120px; /* Ajuste este valor baseado na altura do seu header */
}

/* Para dispositivos móveis, use uma margem menor */
@media (max-width: 768px) {
    .service-detail {
        scroll-margin-top: 90px;
    }
}

/* Smooth scroll global */
html {
    scroll-behavior: smooth;
}

.service-detail:target {
    animation: highlight-section 1.5s ease;
}

@keyframes highlight-section {
    0% {
        background-color: rgba(31, 182, 255, 0.1);
    }
    100% {
        background-color: transparent;
    }
}