/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan: #00f5ff;
  --purple: #bf00ff;
  --green: #00ff88;
  --dark: #050508;
  --dark2: #0d0d14;
  --dark3: #12121e;
  --card: #0f0f1a;
  --border: rgba(0, 245, 255, 0.15);
  --text: #c8d0e0;
  --text-dim: #6b7280;
  --white: #ffffff;
  --font-title: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark2);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 3rem;
}

.highlight {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* =============================================
   SECTION SPACING
   ============================================= */
.section {
  padding: 100px 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan);
  color: var(--dark);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  max-width: 1300px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.5));
}
.logo-text {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}
.nav-list a:hover {
  color: var(--cyan);
}
.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  background: rgba(5, 5, 8, 0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-nav ul {
  list-style: none;
  padding: 1rem 4vw 1.5rem;
}
.mobile-nav li {
  border-bottom: 1px solid var(--border);
}
.mobile-link {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition);
}
.mobile-link:hover {
  color: var(--cyan);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 8, 0.9) 0%,
    rgba(5, 5, 8, 0.7) 50%,
    rgba(5, 5, 8, 0.85) 100%
  );
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(191, 0, 255, 0.06) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4vw;
  max-width: 700px;
  margin-left: 4vw;
  animation: fadeSlideUp 1s ease forwards;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 80px rgba(0, 245, 255, 0.2);
}

.hero-sub {
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 6px;
  display: block;
  margin-top: 0.25rem;
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 480px;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(0, 245, 255, 0.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.sobre::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 0, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
}
.sobre-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: saturate(1.1) contrast(1.05);
}
.sobre-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.sobre-text {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.sobre-text strong {
  color: var(--cyan);
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* =============================================
   PRODUTOS
   ============================================= */
.produtos {
  background: var(--dark);
  position: relative;
}
.produtos::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(0, 245, 255, 0.4);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 245, 255, 0.1);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--cyan);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.product-info {
  padding: 1.25rem;
}
.product-info h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.product-info p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Showcase */
.produtos-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.showcase-text h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}
.showcase-text p {
  color: var(--text);
  line-height: 1.7;
}

/* =============================================
   CONTATO
   ============================================= */
.contato {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.contato::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.contato-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: var(--transition);
}
.contato-card:hover {
  border-color: rgba(0, 245, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.contato-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: var(--transition);
}
.contato-icon svg {
  width: 22px;
  height: 22px;
}
.contato-card:hover .contato-icon {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.contato-card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}
.contato-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.4));
}
.footer-name {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
}
.footer-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =============================================
   GRID SCAN EFFECT (decorative)
   ============================================= */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sobre-img {
    max-width: 420px;
    margin: 0 auto;
  }
  .contato-grid {
    grid-template-columns: 1fr;
  }
  .produtos-showcase {
    grid-template-columns: 1fr;
  }
  .showcase-img {
    max-height: 280px;
  }
  .stats-row {
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .nav-list {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-content {
    margin-left: 0;
    padding: 0 5vw;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    text-align: center;
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .section {
    padding: 70px 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============================================
   SCAN LINE ANIMATION (subtle)
   ============================================= */
@keyframes scanline {
  from { transform: translateY(-100%); }
  to { transform: translateY(100vh); }
}

/* =============================================
   APPEAR ANIMATION
   ============================================= */
.appear {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.appear.visible {
  opacity: 1;
  transform: translateY(0);
}
.appear:nth-child(2) { transition-delay: 0.1s; }
.appear:nth-child(3) { transition-delay: 0.2s; }
.appear:nth-child(4) { transition-delay: 0.3s; }
.appear:nth-child(5) { transition-delay: 0.4s; }
.appear:nth-child(6) { transition-delay: 0.5s; }
.appear:nth-child(7) { transition-delay: 0.6s; }
.appear:nth-child(8) { transition-delay: 0.7s; }
.appear:nth-child(9) { transition-delay: 0.8s; }
.appear:nth-child(10) { transition-delay: 0.9s; }
.appear:nth-child(11) { transition-delay: 1.0s; }
.appear:nth-child(12) { transition-delay: 1.1s; }
