/* =============================================
   VACO LANDING PAGE — stylesheet
   Palette: Amber (#F59E0B), Gray-900 (#111827)
   ============================================= */

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

:root {
  --amber-50:  #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --orange-100:#FFEDD5;
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-600:  #4B5563;
  --gray-800:  #1F2937;
  --gray-900:  #111827;
  --blue-500:  #3B82F6;
  --blue-100:  #DBEAFE;
  --green-500: #10B981;
  --green-100: #D1FAE5;
  --white:     #FFFFFF;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --transition: 220ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }

/* ---- typography helpers ---- */
.section-tag {
  display: inline-block;
  background: var(--amber-100);
  color: var(--amber-700);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.text-left { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.section-subtitle.text-left { text-align: left; }

.text-gradient {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-lg svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--amber-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,158,11,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-white {
  background: var(--white);
  color: var(--amber-700);
}
.btn-white:hover {
  background: var(--amber-50);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.w-full { width: 100%; justify-content: center; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--white);
}
.brand-icon img { width: 36px; height: 36px; }
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 6px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--amber-700); background: var(--amber-50); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 10px 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav-mobile-link:hover { background: var(--amber-50); color: var(--amber-700); }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--amber-50) 0%, var(--orange-100) 55%, var(--amber-100) 100%);
  z-index: 0;
}

/* animated bubbles */
.hero-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(245,158,11,.12);
  animation: float 8s ease-in-out infinite;
}
.b1 { width: 320px; height: 320px; top: 10%; right: 8%; animation-delay: 0s; }
.b2 { width: 180px; height: 180px; top: 55%; right: 25%; animation-delay: -2s; background: rgba(245,158,11,.08); }
.b3 { width: 250px; height: 250px; bottom: 5%; left: 5%; animation-delay: -4s; }
.b4 { width: 120px; height: 120px; top: 20%; left: 35%; animation-delay: -6s; background: rgba(245,158,11,.06); }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.04); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--amber-200, #FDE68A);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--amber-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-xl);
  padding: 20px 36px;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.4rem; font-weight: 800; color: var(--amber-600); }
.stat-label { display: block; font-size: .75rem; color: var(--gray-500); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--gray-200); }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--amber-400);
  border-radius: 11px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--amber-500);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ==========================================
   FEATURES
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-200, #FDE68A);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.icon-amber { background: var(--amber-100); color: var(--amber-700); }
.icon-blue  { background: var(--blue-100);  color: var(--blue-500);  }
.icon-green { background: var(--green-100); color: var(--green-500); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.feature-desc { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ==========================================
   PRODUCTS
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 2px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-active { border-color: var(--amber-300, #FCD34D); }
.product-coming { border-color: var(--gray-200); opacity: .85; }

.product-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}
.badge-available { background: var(--green-100); color: var(--green-500); }
.badge-soon      { background: var(--amber-100); color: var(--amber-700); }

.product-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1;
}
.product-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.product-desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-features li {
  font-size: .85rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber-500);
  font-weight: 700;
}

/* ==========================================
   TECH / AWS
   ========================================== */
.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tech-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.tech-item { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--gray-600); line-height: 1.6; }
.tech-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--amber-100);
  color: var(--amber-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  margin-top: 1px;
}
.tech-item strong { color: var(--gray-900); }

.tech-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.aws-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 56px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 320px;
}
.aws-logo { width: 100%; max-width: 140px; color: var(--amber-400); }
.aws-logo svg { width: 100%; height: auto; }
.aws-label { font-size: .78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.aws-name { font-size: 1rem; font-weight: 700; color: var(--amber-400); margin-top: 4px; }

.tech-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.tech-mini-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}
.mini-icon { font-size: 1.1rem; }

/* ==========================================
   NOMBRE / ETIMOLOGÍA
   ========================================== */
.nombre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.nombre-body {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-top: 16px;
}

.nombre-visual {
  display: flex;
  justify-content: center;
}

.etimologia-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--amber-200, #FDE68A);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
}

.etimologia-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-600));
}

.etimologia-lang {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-700);
  background: var(--amber-100);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.etimologia-word {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  font-style: italic;
}

.etimologia-divider {
  width: 48px;
  height: 2px;
  background: var(--amber-300, #FCD34D);
  border-radius: 1px;
  margin-bottom: 20px;
}

.etimologia-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.etimologia-meaning {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.meaning-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .95rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius);
}

.meaning-sep {
  color: var(--gray-400);
  font-size: 1rem;
}

.etimologia-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-400);
  font-style: italic;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
  width: 100%;
  justify-content: center;
}

.etimologia-source svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--amber-500);
}

/* ==========================================
   CTA
   ========================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 640px;
}
.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  line-height: 1.7;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer .brand-name { color: var(--white); }
.footer .brand-icon { background: var(--gray-900); }
.footer-tagline { font-size: .85rem; color: var(--gray-500); margin-top: 6px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .88rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--amber-400); }
.footer-copy { font-size: .8rem; color: var(--gray-600); }
.footer-copy a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-copy a:hover { color: var(--amber-400); }

/* ==========================================
   ANIMATIONS
   ========================================== */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn .7s ease forwards;
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .48s; }

.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }
  .stat-divider { width: 40px; height: 1px; }

  .nombre-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-visual { order: -1; }

  .section { padding: 64px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { width: 100%; }
  .aws-badge { padding: 28px 32px; }
}
