:root {
  --primary-color: #00f0ff;
  --primary-dark: #00b3cc;
  --bg-color: #02040a;
  --bg-surface: #0a1128;
  --bg-surface-light: #121c3b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-color: #3b82f6;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glass-bg: rgba(10, 17, 40, 0.65);
  --glass-border: rgba(0, 240, 255, 0.15);
  --glow-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  --glow-shadow-intense: 0 0 30px rgba(0, 240, 255, 0.6);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Grids & Ambient Glows */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.ambient-glow.right-top { top: -100px; right: -200px; }
.ambient-glow.left-center { top: 30%; left: -300px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.border-y { border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.border-t { border-top: 1px solid var(--glass-border); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Utilities & Glows */
.highlight {
  color: var(--primary-color);
}

.glow-text {
  text-shadow: var(--glow-shadow);
  color: var(--primary-color);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.glow-box {
  position: relative;
}
.glow-box::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
  z-index: -1;
  filter: blur(15px);
  opacity: 0.5;
  border-radius: inherit;
  transition: var(--transition);
}
.glow-box:hover::after {
  opacity: 0.8;
  filter: blur(20px);
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 240, 255, 0.05);
  color: var(--primary-color);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-badge.center {
  margin-left: auto;
  margin-right: auto;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.15);
  animation: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.logo-img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 240, 255, 0.3));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  box-shadow: var(--glow-shadow);
}

.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.bar {
  width: 28px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(2, 4, 10, 0.6) 0%, rgba(2, 4, 10, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.tech-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary.glow-btn {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.2), 0 0 15px rgba(0, 240, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary.glow-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-primary.glow-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.4), 0 0 25px rgba(0, 240, 255, 0.4);
  color: #fff;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.btn-primary.glow-btn:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  color: #fff;
}

.w-100 { width: 100%; }

/* Sections */
.section { padding: 8rem 0; }
.section-dark { background-color: var(--bg-surface); }
.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

/* Trust Bar */
.trust-bar {
  padding: 3rem 0;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(10px);
}

.trust-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.tech-list {
  list-style: none;
  margin-top: 2rem;
}

.tech-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-main);
  font-weight: 500;
}

.value-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.image-wrapper img {
  width: 100%;
  filter: grayscale(20%) contrast(1.1);
  transition: var(--transition);
}
.image-wrapper:hover img {
  filter: grayscale(0) contrast(1.1) scale(1.05);
}

.tech-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}

/* Technologies Section */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tech-card {
  padding: 2.5rem 2rem;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 0%;
  background: var(--primary-color);
  transition: height 0.4s ease;
  box-shadow: var(--glow-shadow);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.tech-card:hover::before { height: 100%; }

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.tech-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

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

/* Real Products & Special Devs */
.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.product-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.product-row.reverse .product-info {
  order: 2;
}
.product-row.reverse .product-image-container {
  order: 1;
}

.product-info {
  padding: 3rem;
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.product-image-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-image-container:hover .zoom-img {
  transform: scale(1.08);
}

/* Services (Maintenance) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
}

.card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-surface) 0%, transparent 100%);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  text-align: left;
  position: relative;
  z-index: 2;
  margin-top: -2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.link-btn {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.link-btn:hover { gap: 0.8rem; }

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border-radius: 16px;
  overflow: hidden;
}

.dark-gradient {
  background: linear-gradient(135deg, rgba(2,4,10,0.8), rgba(10,17,40,0.9));
  padding: 4rem 3rem;
  border-right: 1px solid var(--glass-border);
}

.dark-gradient h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #fff;}
.dark-gradient > p { color: var(--text-muted); margin-bottom: 2.5rem; }

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-shadow: var(--glow-shadow);
}
.info-item h4 { font-size: 1.1rem; margin-bottom: 0.2rem; color: #fff;}
.info-item p { color: var(--text-muted); }

.contact-form-container {
  padding: 4rem 3rem;
  background: rgba(2, 4, 10, 0.4);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1);
}

.tech-select option { background: var(--bg-surface); }

/* Footer */
.footer {
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover {
  background: rgba(0,240,255,0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--glow-shadow);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--primary-color);
  box-shadow: var(--glow-shadow);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact { list-style: none; color: var(--text-muted); }
.footer-contact li { margin-bottom: 1rem; font-size: 0.95rem;}
.footer-contact strong { color: #fff; display: block; margin-bottom: 0.2rem;}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-left.visible, .slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
  .about-container, .product-row, .product-row.reverse, .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .product-row.reverse .product-info { order: 1; }
  .product-row.reverse .product-image-container { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 280px;
    background: rgba(2, 4, 10, 0.98); backdrop-filter: blur(15px);
    flex-direction: column; padding: 6rem 2rem;
    transition: 0.4s ease-in-out; border-left: 1px solid var(--glass-border);
  }
  .nav-links.active { right: 0; }
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .trust-item { width: 45%; margin-bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem;}
  .dark-gradient, .contact-form-container { padding: 2rem; }
}
