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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #ffffff;
    --light-text: #a0aec0;
    --background: #0c0c16;
    --section-bg: #f3f4f6;
    --transition: all 0.3s ease;
    --dark-bg: #0c0c16;
    --paragraph-color: #374151;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Shared Paragraph Styles */
p {
    font-family: 'Inter', sans-serif;
    color: var(--paragraph-color);
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-text p,
.feature-card p,
.service-card p,
.tech-item p,
.footer-logo p {
    margin-bottom: 1.25rem;
}

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

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: var(--transition);
}

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

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--dark-bg) url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    filter: brightness(1.5); /* Aumenta o brilho em 50% */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(12, 12, 22, 0.55) 0%,
        rgba(12, 12, 22, 0.45) 50%,
        rgba(12, 12, 22, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 70px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--dark-bg);
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

.features-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    font-weight: 500;
    background: linear-gradient(120deg, #ffffff, #64b5f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(100, 181, 246, 0.2);
    position: relative;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #64b5f6, transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        margin-top: -2rem;
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--section-bg);
}

.about h2 {
    /* Styles handled by shared section title styles */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #2d2d3f;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #ffffff;
}

.services h2 {
    /* Styles handled by shared section title styles */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #1a1a2e;
}

.service-card p {
    margin-bottom: 0;
}

/* Technology Section */
.technology {
    padding: 6rem 0;
    background: var(--section-bg);
}

.technology h2 {
    /* Styles handled by shared section title styles */
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tech-item h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.tech-item p {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #ffffff;
}

.contact h2 {
    /* Styles handled by shared section title styles */
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: #2d2d3f;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: calc(1.75rem * 3 + 2rem); /* 3 linhas de texto + padding */
    resize: vertical;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    height: 20px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #dc2626;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
}

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

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.button-loader {
    display: none;
}

.submit-btn.loading .button-text {
    display: none;
}

.submit-btn.loading .button-loader {
    display: inline;
}

.contact-info {
    padding: 2rem;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 2rem;
    color: var(--paragraph-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item p {
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links h3,
.footer-social h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .services-grid,
    .tech-features,
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .services-grid,
    .tech-features,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.service-card,
.tech-item {
    animation: fadeIn 1s ease-out;
}

/* Shared Section Title Styles */
.about h2,
.services h2,
.technology h2,
.contact h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    font-weight: 500;
    background: linear-gradient(120deg, #1a1a2e, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
    position: relative;
}

.about h2::after,
.services h2::after,
.technology h2::after,
.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
}

/* Remove individual h2 styles that we're replacing */
.about h2 {
    color: unset;
}

.services h2 {
    color: unset;
}

.technology h2 {
    color: unset;
}

.contact h2 {
    color: unset;
}

.about-text p {
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.95rem;
}

.service-card p {
    margin-bottom: 0;
}

.tech-item p {
    margin-bottom: 0;
}

.footer-logo p {
    opacity: 0.9;
} 