/* ================================
   RESET E VARIÁVEIS
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

:root {
    /* Cores principais */
    --primary-color: #00D1FF;
    --primary-dark: #00B8E6;
    --primary-light: #33DDFF;
    --secondary-color: #0A192F;
    --accent-color: #64FFDA;
    --yellow-color: #FFD700;
    
    /* Cores de texto */
    --text-dark: #0A192F;
    --text-light: #CCD6F6;
    --text-muted: #8892b0;
    --heading-light: #E6F1FF;
    
    /* Backgrounds */
    --bg-dark: #0A192F;
    --bg-secondary: #112240;
    --bg-card: #1a2744;
    --bg-light: #FFFFFF;
    --bg-gray: #f8f9fa;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 209, 255, 0.4);
    --shadow-glow-strong: 0 0 30px rgba(0, 209, 255, 0.6);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --spacing-2xl: 8rem;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 2rem;
}

/* ================================
   TIPOGRAFIA E BASE
================================ */

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    min-height: 100vh;
    position: relative;
}

/* Background fixo da página */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

/* Overlay escuro sobre o background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.88) 0%,
        rgba(26, 39, 68, 0.85) 50%,
        rgba(10, 25, 47, 0.90) 100%
    );
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ================================
   ELEMENTOS DECORATIVOS TECNOLÓGICOS
================================ */

.tech-bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Grid tecnológico animado */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 209, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 209, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-pulse 4s ease-in-out infinite;
    opacity: 0.15;
}

/* Partículas flutuantes */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-particles::before,
.tech-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color);
    animation: float-particles 10s ease-in-out infinite;
}

.tech-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tech-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

/* ================================
   HEADER E NAVEGAÇÃO
================================ */

header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(0, 209, 255, 0.2);
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    transition: transform 0.3s ease;
    gap: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-beetech {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--yellow-color);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.logo-solutions {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--heading-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 70%;
}

/* ================================
   HERO SECTION
================================ */

.hero {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.4) 0%, rgba(26, 39, 68, 0.5) 50%, rgba(15, 40, 71, 0.4) 100%);
    color: var(--heading-light);
    padding: clamp(4rem, 10vw, 8rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.12) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.08) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.hero-mascot {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: floatMascot 4s ease-in-out infinite;
}

.mascot-img {
    width: clamp(120px, 15vw, 200px);
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 209, 255, 0.4));
    transition: all 0.3s ease;
}

.mascot-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(0, 209, 255, 0.6));
}

@keyframes floatMascot {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px);
    }
    50% { 
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
    font-weight: 800;
    background: linear-gradient(135deg, #E6F1FF 0%, #00D1FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   BOTÕES
================================ */

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    margin-top: var(--spacing-lg);
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    box-shadow: 
        var(--shadow-glow),
        0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: 700;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        var(--shadow-glow-strong), 
        0 10px 40px rgba(0, 209, 255, 0.4),
        0 0 50px rgba(0, 209, 255, 0.3);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 
        inset 0 0 10px rgba(0, 209, 255, 0.1),
        0 0 10px rgba(0, 209, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.1), rgba(0, 209, 255, 0.2));
    color: var(--heading-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 
        inset 0 0 20px rgba(0, 209, 255, 0.3),
        0 0 30px rgba(0, 209, 255, 0.4),
        var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
}

/* ================================
   SEÇÃO DE SERVIÇOS
================================ */

#services {
    padding: clamp(4rem, 8vw, 6rem) var(--container-padding);
    background: transparent;
    position: relative;
    z-index: 1;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 209, 255, 0.03) 0%,
        rgba(10, 25, 47, 0.05) 50%,
        rgba(100, 255, 218, 0.03) 100%
    );
    pointer-events: none;
    z-index: -1;
}

#services .container {
    position: relative;
    z-index: 1;
}

#services h2 {
    text-align: center;
    color: var(--heading-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 209, 255, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: linear-gradient(
        135deg,
        rgba(17, 34, 64, 0.85) 0%,
        rgba(26, 39, 68, 0.80) 100%
    );
    backdrop-filter: blur(20px);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 209, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 209, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 209, 255, 0.3),
        0 0 40px rgba(0, 209, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(
        135deg,
        rgba(17, 34, 64, 0.95) 0%,
        rgba(26, 39, 68, 0.90) 100%
    );
}

.service-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.5));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 209, 255, 0.8));
}

.service-card h3 {
    color: var(--heading-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-sm);
}

.service-features li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.8);
}

.service-card:hover .service-features li {
    color: #E6F1FF;
}

/* ================================
   SEÇÃO SOBRE
================================ */

.about-section {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(26, 39, 68, 0.95) 50%, rgba(15, 40, 71, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: clamp(4rem, 8vw, 6rem) var(--container-padding);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,209,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-section h2 {
    text-align: center;
    color: var(--heading-light);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.about-text {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.9;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: var(--spacing-xl);
}

.value-item {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(0, 209, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow-strong);
    background: rgba(17, 34, 64, 0.9);
}

.value-item h3 {
    color: var(--heading-light);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================================
   SEÇÃO DE CONTATO
================================ */

.contact-section {
    padding: clamp(4rem, 8vw, 6rem) var(--container-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.contact-section .section-subtitle {
    margin-bottom: var(--spacing-xl);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

/* ================================
   FOOTER
================================ */

footer {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.98) 0%, rgba(26, 39, 68, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: clamp(2rem, 4vw, 3rem) var(--container-padding);
    text-align: center;
    border-top: 2px solid rgba(0, 209, 255, 0.3);
    position: relative;
    z-index: 1;
    box-shadow: 0 -5px 30px rgba(0, 209, 255, 0.1);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================
   RESPONSIVIDADE
================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    header nav {
        padding: 1rem 0;
    }
    
    .logo-beetech {
        font-size: 1.6rem;
    }
    
    .logo-solutions {
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: clamp(3rem, 8vw, 5rem) 0;
        padding-top: 8rem;
    }
    
    .hero-mascot {
        top: 1rem;
    }
    
    .mascot-img {
        width: clamp(100px, 20vw, 150px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-options {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .logo {
        gap: 0;
    }
    
    .logo-beetech {
        font-size: 1.4rem;
    }
    
    .logo-solutions {
        font-size: 0.8rem;
        margin-top: -3px;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .hero {
        min-height: 60vh;
        padding-top: 7rem;
    }
    
    .hero-mascot {
        top: 0.5rem;
    }
    
    .mascot-img {
        width: clamp(80px, 25vw, 120px);
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ================================
   ANIMAÇÕES E UTILIDADES
================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Efeito de partículas tecnológicas */
@keyframes float-particles {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(10px, -10px);
        opacity: 0.6;
    }
    50% {
        transform: translate(-5px, -20px);
        opacity: 0.9;
    }
    75% {
        transform: translate(-10px, -10px);
        opacity: 0.6;
    }
}

/* Grid animado de fundo */
@keyframes grid-pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Foco acessível */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 0 6px rgba(0, 209, 255, 0.2);
}

/* Seleção de texto */
::selection {
    background-color: var(--primary-color);
    color: var(--text-dark);
    text-shadow: none;
}

/* Loading states */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Efeito de brilho nos textos */
.glow-text {
    text-shadow: 
        0 0 10px rgba(0, 209, 255, 0.5),
        0 0 20px rgba(0, 209, 255, 0.3),
        0 0 30px rgba(0, 209, 255, 0.1);
}

/* Linhas tecnológicas decorativas */
.tech-line {
    position: relative;
}

.tech-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: pulse 2s ease-in-out infinite;
}

/* Print styles */
@media print {
    header, footer, .cta-buttons, .contact-options {
        display: none;
    }
    
    body::before,
    body::after {
        display: none;
    }
}

/* Garantir que o background funcione em mobile */
@media (max-width: 768px) {
    body::before {
        background-attachment: scroll;
        background-size: cover;
    }
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 6px;
    border: 2px solid rgba(10, 25, 47, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}