:root {
    --bg-dark: #030712;
    --card-bg: rgba(17, 24, 39, 0.7);
    --primary: #00f2fe;      /* Azul Elétrico Blixto */
    --secondary: #0077ff;    /* Ciano Ativo */
    --accent: #7f00ff;       /* Roxo Neon */
    --text: #f9fafb;
    --text-muted: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* Canvas de Fundo */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: all;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 8%;
    background: rgba(3, 7, 18, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar a {
    color: var(--text);
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
    font-size: 15px;
    font-weight: 600;
}

.navbar a:hover {
    color: var(--primary);
}

.btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-nav i {
    margin-left: 5px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 40%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Seção Sobre Nós */
.about-section {
    padding: 120px 8%;
    position: relative;
    z-index: 2;
    background: rgba(3, 7, 18, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(21, 27, 45, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.2);
    background: rgba(21, 27, 45, 0.5);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}

.about-icon {
    font-size: 35px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.about-card ul {
    list-style: none;
}

.about-card ul li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card ul li i {
    color: var(--primary);
    font-size: 13px;
}

/* Seção de Serviços e Cards 3D */
.services-section {
    padding: 120px 8%;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-3d {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2px;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.1s ease;
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 20px;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.card-inner {
    background: #0d1222;
    border-radius: 19px;
    padding: 50px 35px;
    height: 100%;
    z-index: 2;
    transform: translateZ(30px);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-icon {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
}

.card-inner h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-inner p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Carrossel */
.carousel-section {
    padding: 120px 8%;
    background: rgba(3, 7, 18, 0.6);
    position: relative;
    z-index: 2;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    height: 400px;
    border-radius: 24px;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0.3;
    transform: scale(0.9) translateZ(-100px);
    transition: all 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.slide-inner {
    background: rgba(21, 27, 45, 0.5);
    border: 1px solid rgba(0, 242, 254, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.slide-inner h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.slide-inner p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

.prev-btn { left: -80px; }
.next-btn { right: -80px; }

/* Seção de Contato (Nova) */
.contact-section {
    padding: 120px 8%;
    position: relative;
    z-index: 2;
    background: rgba(3, 7, 18, 0.4);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.info-item span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.info-item p {
    font-size: 16px;
    font-weight: 600;
}

/* Glassmorphism Form */
.contact-form-wrapper {
    background: rgba(21, 27, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(13, 18, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px 18px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

/* Estilização para o placeholder e options */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555e72;
}

.form-group select option {
    background: #0d1222;
    color: #fff;
}

/* Foco interativo neon */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: rgba(13, 18, 34, 0.95);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

/* Rodapé */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Responsividade */
@media (max-width: 1024px) {
    .prev-btn { left: -20px; }
    .next-btn { right: -20px; }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 44px; }
    .navbar { display: none; }
    .carousel-container { padding: 0 10px; }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}