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

:root {
  --neon-cyan: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-green: #0aff0a;
  --neon-gold: #D4AF37;
  --dark-bg: #050505;
  --dark-card: rgba(10, 10, 15, 0.65);
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--dark-bg);
  color: #e0e0e0;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 0.95rem;
}

a { color: var(--neon-cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--neon-gold); }
img { max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border: 1px solid var(--neon-cyan); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* ===== CANVAS ===== */
#matrix-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo span { font-size: 1.1rem; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: #aaa; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--neon-cyan); }
.nav-cta {
  background: linear-gradient(135deg, #d4af37 0%, #f4c430 100%);
  color: #050a14 !important; font-weight: 700; padding: 0.6rem 1.5rem;
  border-radius: 6px; font-size: 0.8rem !important; text-transform: uppercase;
  letter-spacing: 0.08em; transition: all 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px); box-shadow: 0 4px 20px rgba(212,175,55,0.4); color: #050a14 !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,5,5,0.97); z-index: 99;
  flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem; position: relative;
}
.hero-content { max-width: 800px; }
.hero-badge {
  display: inline-block; background: rgba(0,243,255,0.1); border: 1px solid rgba(0,243,255,0.3);
  color: var(--neon-cyan); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.15em; padding: 0.5rem 1.2rem; border-radius: 50px; margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 1.5rem;
}
.hero h1 .highlight { color: var(--neon-cyan); }
.hero h1 .glitch { position: relative; display: inline-block; }
.hero h1 .glitch::before,
.hero h1 .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; background: var(--dark-bg);
}
.hero h1 .glitch::before {
  left: 2px; text-shadow: -1px 0 var(--neon-purple);
  clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.hero h1 .glitch::after {
  left: -2px; text-shadow: -1px 0 var(--neon-cyan);
  clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
.typing-text {
  font-size: clamp(1.2rem, 3vw, 1.8rem); color: var(--neon-gold);
  margin-bottom: 2rem; min-height: 2.5rem;
}
.typing-caret {
  border-right: 2px solid var(--neon-cyan);
  animation: blink-caret 1s step-end infinite; padding-right: 4px;
}
.hero p { color: #999; font-size: 1rem; max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #f4c430 100%);
  color: #050a14; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1rem 2.5rem; border-radius: 8px; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.9rem; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  display: inline-block; text-align: center;
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212,175,55,0.5); filter: brightness(1.1);
}
.btn-secondary {
  background: transparent; color: var(--neon-cyan); border: 1px solid var(--neon-cyan);
  padding: 1rem 2.5rem; border-radius: 8px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.3s;
  display: inline-block; text-align: center;
}
.btn-secondary:hover {
  background: rgba(0,243,255,0.1); box-shadow: 0 0 20px rgba(0,243,255,0.2); transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; background: rgba(0,243,255,0.1); border: 1px solid rgba(0,243,255,0.2);
  color: var(--neon-cyan); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 1rem;
}
.section-subtitle { color: #888; max-width: 650px; margin: 0 auto 3rem; line-height: 1.8; }

/* ===== GLASS PANEL ===== */
.glass-panel {
  background: rgba(10,10,15,0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-radius: 12px; padding: 2rem; transition: all 0.3s;
}
.glass-panel:hover { border-color: rgba(0,243,255,0.3); box-shadow: 0 4px 30px rgba(0,243,255,0.1); }

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.card-text { color: #999; font-size: 0.88rem; line-height: 1.7; }
.card-example {
  background: rgba(0,243,255,0.05); border-left: 2px solid var(--neon-cyan);
  padding: 0.6rem 1rem; margin-top: 1rem; border-radius: 0 6px 6px 0;
  font-size: 0.82rem; color: #bbb;
}
.card-example strong { color: var(--neon-cyan); }

/* ===== STATS ===== */
.stats-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin: 3rem 0; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--neon-cyan); }
.stat-label { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.testimonial-card { position: relative; padding-left: 2.5rem; }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -0.5rem; left: 0;
  font-size: 4rem; color: rgba(0,243,255,0.15); line-height: 1; font-family: Georgia, serif;
}
.testimonial-text { color: #ccc; font-size: 0.9rem; line-height: 1.8; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { color: var(--neon-cyan); font-size: 0.85rem; font-weight: 600; }
.testimonial-role { color: #666; font-size: 0.78rem; }

/* ===== CONTACT FORM ===== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form-input, .form-textarea {
  width: 100%; background: rgba(0,0,0,0.4); border: 1px solid #333;
  color: #fff; padding: 14px; font-family: var(--font-mono); font-size: 0.9rem;
  border-radius: 6px; transition: all 0.3s; outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: #d4af37; box-shadow: 0 0 15px rgba(212,175,55,0.2); background: rgba(0,0,0,0.6);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; color: #aaa; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.form-success {
 background: rgba(10,255,10,0.1); border: 1px solid var(--neon-green);
  color: var(--neon-green); padding: 1rem; border-radius: 6px; text-align: center; margin-top: 1rem;
}
.form-error {
  background: rgba(255,50,50,0.1); border: 1px solid #ff4444;
  color: #ff6666; padding: 1rem; border-radius: 6px; text-align: center; margin-top: 1rem;
}
.contact-info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon { font-size: 1.5rem; min-width: 40px; text-align: center; }
.contact-info-label { color: #888; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-value { color: #fff; font-size: 0.95rem; margin-top: 0.2rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 2rem; text-align: center;
}
.footer-content { max-width: 1100px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-logo img { height: 32px; }
.footer-logo span { font-weight: 700; color: #fff; }
.footer-text { color: #666; font-size: 0.8rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: #888; font-size: 0.8rem; }
.footer-social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.footer-social a {
  color: #888; font-size: 1.2rem; transition: color 0.3s;
}
.footer-social a:hover { color: var(--neon-cyan); }
.footer-copy { color: #444; font-size: 0.75rem; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  animation: wa-pulse 2s infinite;
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(10,10,15,0.95); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 2rem; display: none; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; color: #ccc;
}
.cookie-banner.show { display: flex; }
.cookie-btn {
  background: var(--neon-cyan); color: #000; border: none; padding: 0.5rem 1.5rem;
  border-radius: 6px; font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== DIVIDER ===== */
.section-divider {
  max-width: 1100px; margin: 0 auto;
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,243,255,0.2), transparent);
}

/* ===== KEYFRAMES ===== */
@keyframes glitch-anim {
  0% { clip: rect(11px, 9999px, 81px, 0); }
  20% { clip: rect(68px, 9999px, 19px, 0); }
  40% { clip: rect(98px, 9999px, 8px, 0); }
  60% { clip: rect(3px, 9999px, 5px, 0); }
  80% { clip: rect(44px, 9999px, 22px, 0); }
  100% { clip: rect(70px, 9999px, 59px, 0); }
}
@keyframes glitch-anim-2 {
  0% { clip: rect(65px, 9999px, 99px, 0); }
  20% { clip: rect(2px, 9999px, 13px, 0); }
  40% { clip: rect(38px, 9999px, 63px, 0); }
  60% { clip: rect(15px, 9999px, 88px, 0); }
  80% { clip: rect(52px, 9999px, 11px, 0); }
  100% { clip: rect(91px, 9999px, 35px, 0); }
}
@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--neon-cyan); }
}
@keyframes wa-pulse {
  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); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .section { padding: 3.5rem 1.2rem; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .glass-panel { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; }
}