:root {
  /* Backgrounds */
  --bg-body: #ffffff;
  --bg-alt: #f1f5f9; /* Slate 100 - slightly darker for better contrast */
  --bg-card: #ffffff;
  
  /* Typography (High Contrast for Trust) */
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8;
  
  /* Logo Colors & Gradients */
  --accent-cyan: #00c4cc;
  --accent-purple: #5d3fd3;
  --gradient-brand: linear-gradient(135deg, #5d3fd3 0%, #00c4cc 100%);
  --gradient-text: linear-gradient(135deg, #5d3fd3 0%, #00c4cc 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(93, 63, 211, 0.05) 0%, rgba(0, 196, 204, 0.05) 100%);
  
  /* Corporate Shadows (Soft & clean) */
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
  
  --border-light: #e2e8f0;

  /* Aliases for compatibility */
  --accent-blue: var(--accent-cyan);
  --accent-purple-mid: var(--accent-purple);
  --gradient-primary: var(--gradient-brand);
  --gradient-accent: var(--gradient-brand);
  --border: var(--border-light);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* 
   GRADIENT ORBS BACKGROUND */

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: #c4b5fd;
  top: -200px;
  left: -200px;
  opacity: 0.3;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #a78bfa;
  bottom: -150px;
  right: -150px;
  opacity: 0.2;
  animation-delay: -10s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: #67e8f9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(20px, 30px) scale(1.02);
  }
}

/*
   LAYOUT
 */

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   HEADER
   ============================================ */

header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
  border-top: 3px solid var(--accent-purple); /* Top accent line */
}

@supports (backdrop-filter: blur(10px)) {
  body.scrolled header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--accent-purple-light); /* Subtle purple border */
    box-shadow: 0 4px 6px -1px rgba(93, 63, 211, 0.05);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  transition: transform 0.3s ease;
}

.logo-img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-purple);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Toggle */
.lang-toggle {
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
  background: rgba(93, 63, 211, 0.05); /* Light purple bg */
  border-color: var(--accent-purple-light);
}

.lang-toggle:hover {
  border-color: var(--accent-purple-mid);
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 196, 204, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(93, 63, 211, 0.25);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--accent-purple-light); /* Adding color to border */
  color: var(--accent-purple); /* Using primary color for text */
  font-weight: 600;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(93, 63, 211, 0.05);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  background: rgba(93, 63, 211, 0.06);
  border-color: rgba(93, 63, 211, 0.2);
}

.btn-outline {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--accent-purple-mid);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-purple); /* Make it purple */
  background: rgba(93, 63, 211, 0.05); /* Light purple background */
  transition: all 0.2s;
  display: inline-block;
}

.btn-text:hover {
  color: white;
  background: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(93, 63, 211, 0.2);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-purple-mid);
  margin-bottom: 1rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.2s forwards;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.3s forwards;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.3s;
}

.product-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  opacity: 0.15;
}

.product-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px; /* Slightly larger */
  height: 8px;
  border-radius: 50%;
}

.status-dot.active {
  background: var(--accent-blue);
  box-shadow: 0 0 12px var(--accent-blue);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 12px var(--accent-blue);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 20px var(--accent-blue), 0 0 30px rgba(0, 196, 204, 0.5);
  }
}

.status-dot.coming {
  background: var(--accent-purple-light); /* More visible dot */
}

.product-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
  padding: 6rem 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.project-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.project-item:nth-child(1) {
  animation-delay: 0.1s;
}

.project-item:nth-child(2) {
  animation-delay: 0.2s;
}

.project-item:nth-child(3) {
  animation-delay: 0.3s;
}

.project-item::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  border-radius: 12px;
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.3s;
}

.project-item:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.project-item:hover::after {
  opacity: 0.15;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(93, 63, 211, 0.06);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}

.project-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.7rem;
  color: var(--accent-blue);
  background: rgba(0, 196, 204, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-weight: 500;
}

.projects-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.cta-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 4rem 0 2rem;
  background: #0f172a;
  color: white;
  margin-top: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
  position: relative;
}

.footer-link:hover {
  color: white;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* ============================================
    ANIMATIONSS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll animations */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 4rem;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .logo-img {
    width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ============================================
   NUEVOS ESTILOS: PRICING & CONTACTO
   ============================================ */

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 1px solid var(--accent-purple-mid);
  background: rgba(139, 92, 246, 0.04);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-header .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.delivery-time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple-mid);
}

/* Ajuste Responsive para Pricing */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEW SECTIONS: NOSOTROS & FAQ
   ============================================ */

/* Sobre Nosotros */
#nosotros {
  padding: 6rem 0;
  position: relative;
}

.nosotros-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.nosotros-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nosotros-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary); /* Keeping text readable */
  max-width: 750px;
  margin: 0 auto;
}

/* FAQ Section */
#faq {
  padding: 6rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.faq-item:hover {
  background: #fdfdfd;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-hover);
}

.faq-item[open] {
  background: var(--bg-alt);
  border-color: var(--accent-purple-mid);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  list-style: none; /* Remove default triangle */
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-purple-mid);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

