* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
:root {
  --primary: #00f2ff;
  --secondary: #7b2cbf;
  --accent: #ff006e;
  --dark: #0a0e27;
  --darker: #050814;
  --light: #ffffff;
  --gray: #8892b0;
  --whatsapp: #25D366;
  
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  
}
/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  
}
nav.scrolled {
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(0, 242, 255, 0.1);
  
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}
.logo {
  font-size: 1.8rem;
  font-weight: 200;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  
}
.nav-links a:hover {
  color: var(--primary);
  
}
.nav-links a:hover::after {
  width: 100%;
  
}
/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  
}
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
  
}
.hero p {
  font-size: 1.5rem;
  color: var(--gray);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s backwards;
  
}
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s backwards;
  
}
.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
  
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.4);
  
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  
}
/* Sections */
section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 4rem;
  
}
/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  
}
.service-card {
  background: linear-gradient(145deg, rgba(10, 14, 39, 0.8), rgba(5, 8, 20, 0.8));
  border: 1px solid rgba(0, 242, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(123, 44, 191, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2);
  
}
.service-card:hover::before {
  opacity: 1;
  
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light);
  position: relative;
  
}
.service-card p {
  color: var(--gray);
  line-height: 1.8;
  position: relative;
  
}
/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  
}
.project-card {
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 242, 255, 0.1);
  
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2);
  
}
.project-image {
  width: 100%;
  height: 250px;
  --background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  
}
.project-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  --background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.05" x="0" y="0" width="50" height="50"/><rect fill="%23ffffff" fill-opacity="0.05" x="50" y="50" width="50" height="50"/></svg>');
  background-size: 20px 20px;
  
}
.project-content {
  padding: 2rem;
  
}
.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light);
  
}
.project-content p {
  color: var(--gray);
  margin-bottom: 1rem;
  
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  
}
.tech-tag {
  padding: 0.3rem 1rem;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  
}
/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  
}
.pricing-card {
  background: var(--dark);
  border: 2px solid rgba(0, 242, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  
}
.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2);
  
}
.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.07);
  
}
.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  
}
.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--light);
  
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
}
.price-note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2rem;
  
}
.features-list {
  list-style: none;
  margin-bottom: 2rem;
  
}
.features-list li {
  padding: 0.8rem 0;
  color: var(--gray);
  border-bottom: 1px solid rgba(0, 242, 255, 0.1);
  
}
.features-list li:last-child {
  border-bottom: none;
  
}
.features-list li strong {
  color: var(--light);
  
}
/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--dark);
  border-radius: 15px;
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: all 0.3s ease;
  
}
.contact-item:hover {
  border-color: var(--primary);
  transform: translateX(10px);
  
}
.contact-icon {
  font-size: 2rem;
  color: var(--primary);
  
}
.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--light);
  
}
.contact-details a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
  
}
.contact-details a:hover {
  color: var(--primary);
  
}
.contact-form {
  background: var(--dark);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 255, 0.1);
  
}
.form-group {
  margin-bottom: 1.5rem;
  
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light);
  font-weight: 500;
  
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 242, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 10px;
  color: var(--light);
  font-family: inherit;
  transition: all 0.3s ease;
  
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
  
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
  
}
/* Form Messages */
#formMessages {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  display: none;
  
}
#formMessages.success {
  display: block;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  
}
#formMessages.error {
  display: block;
  background: rgba(255, 0, 110, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  
}
.whatsapp-float:hover {
  background-color: #128C7E;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  transform: scale(1.1);
  
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  
}
/* WhatsApp Tooltip */
.whatsapp-float::before {
  content: "¿Necesitas ayuda?";
  position: absolute;
  right: 70px;
  background: var(--whatsapp);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}
.whatsapp-float:hover::before {
  opacity: 1;
  visibility: visible;
  right: 75px;
  
}
/* Pulse Animation for WhatsApp */
@keyframes pulse {
  0% {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  
}
50% {
  box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  
}
100% {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  
}

}
/* Footer */
footer {
  background: var(--dark);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(0, 242, 255, 0.1);
  
}
footer p {
  color: var(--gray);
  
}
/* Animations */
@keyframes fadeInUp {
  from {
  opacity: 0;
  transform: translateY(30px);
  
}
to {
  opacity: 1;
  transform: translateY(0);
  
}

}
/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  
}
.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
  
}
/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
  font-size: 2.5rem;
  
}
.hero p {
  font-size: 1.2rem;
  
}
.cta-buttons {
  flex-direction: column;
  
}
.mobile-menu-btn {
  display: flex;
  
}
.nav-links {
  position: fixed;
  top: 80px;
  left: -100%;
  flex-direction: column;
  background: rgba(10, 14, 39, 0.98);
  width: 100%;
  padding: 2rem;
  transition: left 0.3s ease;
  
}
.nav-links.active {
  left: 0;
  
}
.contact-container {
  grid-template-columns: 1fr;
  
}
.projects-grid,
    .services-grid,
    .pricing-grid {
  grid-template-columns: 1fr;
  
}
section {
  padding: 4rem 5%;
  
}
.whatsapp-float {
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  font-size: 26px;
  
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  
}
.whatsapp-float::before {
  display: none;
  
}

}
