:root {
  /* Cores mais vibrantes e futuristas */
  --primary: #00b8ff;
  --secondary: #00ffb3;
  --accent: #9644ff;
  --light: #f0f7ff;
  --dark: #0a1929;
  --success: #00ff88;
  --info: #00d1ff;
  --warning: #ffcc00;
  --danger: #ff3366;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --glow: 0 0 10px rgba(0, 184, 255, 0.7);
  --neon-text-shadow: 0 0 5px rgba(0, 184, 255, 0.7),
    0 0 15px rgba(0, 184, 255, 0.5);
}

/* Animação de código de fundo */
@keyframes codeRain {
  0% {
    opacity: 0;
    transform: translateY(-1000px);
  }
  100% {
    opacity: 0.2;
    transform: translateY(1000px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(0, 184, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.9),
      0 0 30px rgba(150, 68, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(0, 184, 255, 0.7);
  }
}

@keyframes backgroundGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Exo 2", "Segoe UI", Tahoma, sans-serif;
}

/* Código animado no fundo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: -1;
  pointer-events: none;
}

/* Para criar múltiplas colunas de código animado */
body::after {
  content: "01001010 10101010 11001100 01010101 00110011 10101010 10101010 11001100 10101010 01001010 10110101 00110011";
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 1px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 400%;
  color: rgba(0, 184, 255, 0.15);
  z-index: -1;
  pointer-events: none;
  white-space: pre;
  line-height: 1.5;
  background-image: repeating-linear-gradient(
      to right,
      transparent,
      transparent 40px,
      rgba(0, 255, 179, 0.1) 40px,
      rgba(0, 255, 179, 0.1) 41px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 20px,
      rgba(150, 68, 255, 0.05) 20px,
      rgba(150, 68, 255, 0.05) 21px
    );
  animation: codeRain 30s linear infinite;
}

/* Múltiplas camadas de código com tempos diferentes */
.code-layer-1,
.code-layer-2,
.code-layer-3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 400%;
  color: rgba(0, 184, 255, 0.15);
  z-index: -1;
  pointer-events: none;
  white-space: pre;
  overflow: hidden;
  line-height: 1.5;
}

.code-layer-1::before {
  content: "function init() { return { data: [], status: 200, message: 'OK' }; }";
  font-family: monospace;
  position: absolute;
  font-size: 10px;
  transform: rotate(5deg);
  opacity: 0.2;
  animation: codeRain 40s linear infinite;
}

.code-layer-2::before {
  content: "class Future { constructor() { this.technologies = []; } add(tech) { this.technologies.push(tech); } }";
  font-family: monospace;
  position: absolute;
  font-size: 12px;
  left: 30%;
  transform: rotate(-5deg);
  opacity: 0.15;
  animation: codeRain 25s linear infinite;
}

.code-layer-3::before {
  content: "const ai = { learn: true, adapt: () => 'evolving', future: 'now' };";
  font-family: monospace;
  position: absolute;
  font-size: 14px;
  left: 60%;
  transform: rotate(3deg);
  opacity: 0.1;
  animation: codeRain 35s linear infinite;
}

body {
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  background-image: linear-gradient(
    125deg,
    #0a1929 0%,
    #071a2c 25%,
    #0c1825 50%,
    #091c2e 75%,
    #0a1929 100%
  );
  background-size: 400% 400%;
  animation: backgroundGlow 20s ease infinite;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header e Navegação */
header {
  background: rgba(10, 25, 41, 0.8);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 184, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 184, 255, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: var(--secondary);
  text-shadow: var(--neon-text-shadow);
}

.logo i {
  margin-right: 10px;
  font-size: 2rem;
  animation: pulse 2s infinite;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

nav ul li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
  box-shadow: var(--glow);
}

nav ul li a:hover::before {
  width: 100%;
}

nav ul li a:hover {
  color: var(--secondary);
  background: rgba(0, 184, 255, 0.1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url("/api/placeholder/1200/600") center/cover;
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 41, 0.7);
  z-index: 1;
}

/* Adicionar efeito de grade futurista */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 184, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 184, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: var(--neon-text-shadow);
  color: var(--light);
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: var(--light);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 184, 255, 0.8),
    0 0 30px rgba(150, 68, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  margin-left: 1rem;
  position: relative;
  z-index: 1;
}

.btn-outline:hover {
  background: rgba(0, 255, 179, 0.2);
  border-color: var(--secondary);
}

/* Seções */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  text-shadow: var(--neon-text-shadow);
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--gradient);
  bottom: -10px;
  left: 25%;
  box-shadow: var(--glow);
}

.section-header p {
  color: var(--light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(10, 25, 41, 0.8);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 184, 255, 0.2);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 184, 255, 0.3);
  border-color: var(--primary);
}

.card-image {
  height: 200px;
  background: rgba(0, 184, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
}

.card-content {
  padding: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary);
  text-shadow: 0 0 5px rgba(0, 255, 179, 0.5);
}

.card p {
  color: var(--light);
  margin-bottom: 20px;
}

.card .btn {
  margin-top: 10px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

/* Sobre o LTD */
.about-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 184, 255, 0.3);
  border: 1px solid rgba(0, 184, 255, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: var(--neon-text-shadow);
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--light);
}

.feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  font-size: 1.2rem;
  box-shadow: var(--glow);
}

/* Apps Section */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.app-card {
  background: rgba(10, 25, 41, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 184, 255, 0.2);
  backdrop-filter: blur(10px);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 184, 255, 0.3);
  border-color: var(--secondary);
}

.app-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  text-shadow: var(--neon-text-shadow);
}

.app-card h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.app-card p {
  color: var(--light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  min-height: 80px;
}

/* CyberSec */
.cybersec-container {
  background: rgba(10, 25, 41, 0.9);
  color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 184, 255, 0.3);
}

.cybersec-header {
  text-align: center;
  margin-bottom: 40px;
}

.cybersec-header h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--info);
  text-shadow: 0 0 10px rgba(0, 209, 255, 0.7);
}

.cybersec-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.cybersec-item {
  background: rgba(0, 184, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 184, 255, 0.2);
}

.cybersec-item:hover {
  background: rgba(0, 184, 255, 0.2);
  transform: translateY(-5px);
  border-color: var(--info);
}

.cybersec-icon {
  font-size: 2rem;
  color: var(--info);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 209, 255, 0.7);
}

/* Tecnologias */
.tech-container {
  background: rgba(10, 25, 41, 0.8);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 184, 255, 0.2);
  border: 1px solid rgba(0, 184, 255, 0.2);
  backdrop-filter: blur(10px);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-item {
  background: rgba(0, 184, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  flex: 0 0 calc(20% - 20px);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 184, 255, 0.2);
}

.tech-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 184, 255, 0.5);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Contato */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: rgba(10, 25, 41, 0.8);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 184, 255, 0.2);
  border: 1px solid rgba(0, 184, 255, 0.2);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 184, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(10, 25, 41, 0.5);
  color: var(--light);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 184, 255, 0.5);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
  text-shadow: var(--neon-text-shadow);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  box-shadow: var(--glow);
}

.contact-text {
  flex: 1;
}

.contact-text h4 {
  margin-bottom: 5px;
  color: var(--secondary);
}

.contact-text p {
  color: var(--light);
}

/* Footer */
footer {
  background: rgba(7, 20, 33, 0.95);
  color: white;
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

/* Adicionar efeito de linhas de grade para o footer */
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 184, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 184, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--secondary);
  text-shadow: 0 0 5px rgba(0, 255, 179, 0.5);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  box-shadow: var(--glow);
}

.footer-col p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--light);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 10px;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 184, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 184, 255, 0.3);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 184, 255, 0.1);
  position: relative;
  z-index: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(7, 20, 33, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: rgba(10, 25, 41, 0.95);
  margin: 10% auto;
  padding: 30px;
  width: 70%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 184, 255, 0.3);
  position: relative;
  animation: modalFadeIn 0.3s;
  border: 1px solid rgba(0, 184, 255, 0.3);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: var(--secondary);
  text-shadow: var(--neon-text-shadow);
}

.modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 184, 255, 0.2);
  color: var(--primary);
}

.modal-body {
  margin-bottom: 20px;
  color: var(--light);
}

.modal-footer {
  padding-top: 15px;
  border-top: 1px solid rgba(0, 184, 255, 0.2);
  text-align: right;
}

/* Adicionar classes para elementos com glow */
.glow-text {
  color: var(--secondary);
  text-shadow: 0 0 5px rgba(0, 255, 179, 0.7);
}

.glow-border {
  border: 1px solid var(--primary);
  box-shadow: 0 0 10px rgba(0, 184, 255, 0.5);
}

/* Animação de brilho para elementos destacados */
@keyframes highlightPulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.highlight {
  animation: highlightPulse 2s infinite;
}

/* Adicionar ao HTML para ter as camadas de código de fundo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Responsividade */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .tech-item {
    flex: 0 0 calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .tech-item {
    flex: 0 0 calc(50% - 20px);
  }

  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.95);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 184, 255, 0.3);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .tech-item {
    flex: 0 0 calc(100% - 20px);
  }

  .modal-content {
    width: 95%;
    padding: 20px;
  }
}

/* Estilos adicionais para elementos futuristas */

/* Borders com glow animado */
.glow-border-animation {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.glow-border-animation::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 400% 400%;
  z-index: -1;
  animation: glowingBorder 10s ease infinite;
  border-radius: 12px;
}

@keyframes glowingBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Contador digital futurista para stats */
.digital-counter {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(0, 255, 179, 0.5);
  letter-spacing: 2px;
}

/* Scanner effect para imagens */
.scanner-effect {
  position: relative;
  overflow: hidden;
}

.scanner-effect::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(transparent, var(--info), transparent);
  animation: scannerEffect 3s ease-in-out infinite;
}

@keyframes scannerEffect {
  0% {
    top: -10%;
  }
  50% {
    top: 110%;
  }
  100% {
    top: -10%;
  }
}

/* Círculos de loading futuristas */
.loading-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.loading-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: loadingPulse 1.5s infinite;
}

.loading-circle:nth-child(2) {
  animation-delay: 0.3s;
}

.loading-circle:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes loadingPulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px var(--primary);
  }
}

/* Terminais estilizados */
.terminal {
  background: rgba(7, 20, 33, 0.95);
  border-radius: 10px;
  padding: 20px;
  font-family: "Courier New", monospace;
  color: var(--light);
  border: 1px solid var(--primary);
  position: relative;
}

.terminal::before {
  content: "● ● ●";
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--secondary);
  letter-spacing: 5px;
}

.terminal-content {
  padding-top: 25px;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
}

.terminal-prompt {
  color: var(--accent);
  margin-right: 10px;
}

.terminal-command {
  color: var(--secondary);
}

.terminal-output {
  color: var(--light);
  padding-left: 20px;
}

/* Efeito de digitação */
.typing-effect {
  overflow: hidden;
  border-right: 3px solid var(--secondary);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--secondary);
  }
}

/* Botões com efeitos hover avançados */
.btn-cyber {
  position: relative;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-cyber::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-cyber:hover {
  color: white;
}

.btn-cyber:hover::before {
  width: 100%;
}

/* Barras de progresso com efeitos */
.progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  position: relative;
  width: 75%;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: progressGlow 2s linear infinite;
}

@keyframes progressGlow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Ícones com efeito pulse */
.icon-pulse {
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    text-shadow: 0 0 15px currentColor;
  }
  100% {
    transform: scale(1);
  }
}

/* Tags de holograma */
.hologram-tag {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 184, 255, 0.15);
  border: 1px solid var(--primary);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.hologram-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 184, 255, 0.3),
    transparent
  );
  animation: hologramFlash 3s infinite;
}

@keyframes hologramFlash {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

/* Tabelas futuristas */
.futuristic-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 184, 255, 0.2);
}

.futuristic-table thead {
  background: rgba(0, 184, 255, 0.15);
}

.futuristic-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid rgba(0, 184, 255, 0.3);
  position: relative;
}

.futuristic-table th::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.futuristic-table:hover th::after {
  transform: scaleX(1);
}

.futuristic-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0, 184, 255, 0.1);
}

.futuristic-table tbody tr {
  background: rgba(10, 25, 41, 0.5);
  transition: all 0.3s ease;
}

.futuristic-table tbody tr:hover {
  background: rgba(0, 184, 255, 0.1);
  transform: translateX(5px);
}

.futuristic-table tbody tr:last-child td {
  border-bottom: none;
}

/* Formulários futuristas */
.futuristic-input {
  position: relative;
  margin-bottom: 25px;
}

.futuristic-input input,
.futuristic-input textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid rgba(0, 184, 255, 0.3);
  border-radius: 5px;
  color: var(--light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.futuristic-input label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--light);
  pointer-events: none;
  transition: all 0.3s ease;
}

.futuristic-input input:focus,
.futuristic-input textarea:focus,
.futuristic-input input:not(:placeholder-shown),
.futuristic-input textarea:not(:placeholder-shown) {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(0, 255, 179, 0.3);
  padding-top: 20px;
  padding-bottom: 4px;
}

.futuristic-input input:focus + label,
.futuristic-input textarea:focus + label,
.futuristic-input input:not(:placeholder-shown) + label,
.futuristic-input textarea:not(:placeholder-shown) + label {
  transform: translateY(-190%);
  font-size: 0.8rem;
  color: var(--secondary);
}

.futuristic-input textarea {
  min-height: 120px;
  resize: vertical;
}

.futuristic-input textarea + label {
  top: 25px;
}

/* Linhas de grade para o background */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
  background-image: linear-gradient(
      to right,
      var(--primary) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--primary) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Círculos de partículas para o background */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.particle:nth-child(odd) {
  background: var(--secondary);
}

.particle:nth-child(3n) {
  background: var(--accent);
}

/* Sombras de texto animadas */
.text-glow {
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 5px rgba(0, 184, 255, 0.5);
  }
  to {
    text-shadow: 0 0 15px rgba(0, 184, 255, 0.8),
      0 0 30px rgba(0, 184, 255, 0.6);
  }
}

/* Estilos para o modal de seleção de SO */
.os-options {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.os-option {
  flex: 1;
  min-width: 140px;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.os-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.os-option.selected {
  border-color: var(--accent-color);
  background-color: rgba(var(--accent-rgb), 0.1);
}

.os-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.os-option h4 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.os-option p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Adicionar no HTML para criar as camadas de código e efeitos */
.code-layer-1,
.code-layer-2,
.code-layer-3 {
  display: block;
}

.grid-overlay {
  display: block;
}