@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --void-black: #0A0A0A;
  --deep-surface: #121212;
  --vektor-cyan: #00E5FF;
  --electric-blue: #007BFF;
  --pure-white: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-dark: #1F2937;
  
  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Borders & Glows */
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --glow-blue: rgba(0, 123, 255, 0.15);
  --glow-cyan: rgba(0, 229, 255, 0.15);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Light Mode Overrides */
body.light-mode {
  --void-black: #F9FAFB;
  --deep-surface: #FFFFFF;
  --pure-white: #111827; /* Inverse text */
  --text-muted: #6B7280;
  --text-dark: #F3F4F6;
  
  --border: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.2);
}

body.light-mode .text-gradient {
  background: linear-gradient(135deg, #00B4D8, #0056B3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .navbar {
  background: rgba(249, 250, 251, 0.9);
}

body.light-mode .card-icon {
  background: rgba(0, 123, 255, 0.05);
}

body.light-mode .hero-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--void-black);
  color: var(--pure-white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid Background */
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: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-muted);
  font-size: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--vektor-cyan), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 100px 0;
}

/* 03. NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 35px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--pure-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vektor-cyan);
  transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--vektor-cyan);
}

/* Nav Actions (Theme & Lang) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  margin-right: 20px;
}

.action-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--pure-white);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.action-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--vektor-cyan);
  color: var(--vektor-cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--pure-white);
  transition: 0.3s;
}

/* 01. BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vektor-cyan), var(--electric-blue));
  color: var(--void-black);
}

.btn-primary:hover {
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--pure-white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--vektor-cyan);
  color: var(--vektor-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.btn-text {
  background: transparent;
  color: var(--vektor-cyan);
  padding: 0;
}

.btn-text:hover {
  color: var(--pure-white);
}

/* 02. CAMPOS DE ENTRADA */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.input-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.input-field {
  width: 100%;
  background: var(--deep-surface);
  border: 1px solid var(--border);
  color: var(--pure-white);
  padding: 14px 16px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.input-field:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px var(--glow-blue);
  outline: none;
}

/* 04. TARJETAS / CARDS */
.card {
  background: var(--deep-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--pure-white);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* 05. BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.badge-cyan { background: rgba(0, 229, 255, 0.1); color: var(--vektor-cyan); border: 1px solid rgba(0, 229, 255, 0.2); }
.badge-blue { background: rgba(0, 123, 255, 0.1); color: var(--electric-blue); border: 1px solid rgba(0, 123, 255, 0.2); }

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* FOOTER */
.footer {
  background: var(--deep-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 50px;
}

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

.footer-col h4 {
  color: var(--pure-white);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--vektor-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links, .nav-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--void-black);
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
  }
}
