/* ==========================================================================
   DESIGN SYSTEM HIGH-TECH / CYBERPUNK BLUETOOTH NEON - ITMAN
   ========================================================================== */

:root {
  --bg-dark: #050811;
  --bg-card: rgba(10, 16, 30, 0.7);
  --bg-card-hover: rgba(16, 26, 48, 0.85);
  --border-color: rgba(0, 119, 255, 0.15);
  
  /* Paleta Azul Bluetooth High-Tech */
  --accent-bluetooth: #0077ff;
  --accent-cyan: #00d5ff;
  --border-glow: rgba(0, 119, 255, 0.4);
  
  --text-main: #f0f4f8;
  --text-muted: #7b8ca3;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

/* CURSOR PISCANTE ESTILO MATRIX TERMINAL */
.cursor {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-left: 2px;
  animation: blink 0.8s infinite;
  text-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* OVERLAYS DE LUZ AZULADA */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 50% 20%, rgba(0, 119, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 213, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* CANVAS 3D CONTAINER */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 8, 17, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
}

.brand .dot {
  color: var(--accent-bluetooth);
  text-shadow: 0 0 10px var(--accent-bluetooth);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px var(--accent-cyan);
}

.btn-terminal {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid var(--accent-bluetooth);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-terminal:hover {
  background: var(--accent-bluetooth);
  color: #fff;
  box-shadow: 0 0 20px var(--border-glow);
}

/* CONTAINER PRINCIPAL */
main {
  position: relative;
  z-index: 10;
}

.section {
  padding: 120px 8%;
  max-width: 1300px;
  margin: 0 auto;
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content {
  max-width: 780px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 119, 255, 0.1);
  border: 1px solid rgba(0, 119, 255, 0.3);
  border-radius: 20px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-bluetooth);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-bluetooth);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 119, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 119, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 119, 255, 0); }
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 24px;
  min-height: 120px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #70aeff 60%, var(--accent-bluetooth) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 400;
  min-height: 60px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* BOTÕES */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0055ff, var(--accent-bluetooth));
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 119, 255, 0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: rgba(0, 119, 255, 0.4);
  background: rgba(0, 119, 255, 0.05);
}

/* HEADERS DE SEÇÃO */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 213, 255, 0.4);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CARDS GLASSMORPHISM */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-bluetooth);
  box-shadow: 0 0 20px rgba(0, 119, 255, 0.15);
  transform: translateY(-4px);
}

.card-icon {
  color: var(--accent-bluetooth);
  margin-bottom: 20px;
  display: inline-block;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* MÉTRICAS */
.metrics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  background: rgba(10, 16, 30, 0.5);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.metric-box {
  text-align: center;
}

.metric-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-bluetooth);
  text-shadow: 0 0 18px rgba(0, 119, 255, 0.6);
  margin-bottom: 8px;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SOLUÇÕES */
.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px 36px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.solution-item:hover {
  border-color: var(--accent-bluetooth);
  box-shadow: 0 0 20px rgba(0, 119, 255, 0.15);
}

.solution-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent-bluetooth);
  font-weight: 700;
}

.solution-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.solution-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FORMULÁRIO */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: 32px;
  text-align: center;
}

.form-header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.input-group input,
.input-group textarea {
  background: rgba(5, 8, 17, 0.8);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-bluetooth);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.3);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* FOOTER ESTILIZADO */
.footer {
  border-top: 1px solid var(--border-color);
  background: rgba(3, 5, 11, 0.98);
  padding-top: 80px;
  position: relative;
  z-index: 20;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 8% 60px 8%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 20px 0;
  line-height: 1.6;
}

.corporate-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.brand-tagline strong {
  color: #fff;
  font-weight: 700;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.contact-col {
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--accent-bluetooth);
  width: 18px;
  height: 18px;
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 8%;
  background: #020306;
}

.bottom-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--accent-cyan);
}

.legal-links .divider {
  color: var(--border-color);
}

/* RESPONSIVIDADE MOBILE E TABLET */
@media (max-width: 992px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .solution-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section { padding: 80px 6%; }
}

@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; gap: 36px; }
  .bottom-container { flex-direction: column; align-items: flex-start; }
}