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

:root {
  --color-navy: #06165E;
  --color-electric-blue: #0878F9;
  --color-cyan: #00B9DE;
  --color-green: #00D28B;
  --color-orange: #FF8700;
  --color-red: #FF292D;
  --color-bg-light: #F4F9FF;
  --color-white: #FFFFFF;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #FFFFFF;
  color: #1E293B;
  overflow-x: hidden;
}

.bg-navy { background-color: var(--color-navy); }
.text-navy { color: var(--color-navy); }

.bg-electric { background-color: var(--color-electric-blue); }
.text-electric { color: var(--color-electric-blue); }

.bg-light-blue { background-color: var(--color-bg-light); }

/* Logo & Brand Gradient Text */
.brand-gradient-text {
  background: linear-gradient(90deg, #0878F9 0%, #00B9DE 25%, #00D28B 50%, #FF8700 75%, #FF292D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Brand Gradient Button */
.brand-gradient-btn {
  background: linear-gradient(90deg, #0878F9 0%, #00B9DE 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(8, 120, 249, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-gradient-btn:hover {
  background: linear-gradient(90deg, #0060df 0%, #009cb8 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 120, 249, 0.45);
}

/* Evaluation Hero Section Optimized 2026 */
.evaluation-hero,
.evaluation-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 78% 48%,
      rgba(37, 199, 244, 0.32) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 85% 68%,
      rgba(0, 213, 176, 0.22) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 18% 8%,
      rgba(8, 124, 255, 0.38) 0%,
      transparent 48%
    ),
    linear-gradient(
      125deg,
      #081957 0%,
      #123DA0 55%,
      #0B275F 100%
    );
}

.font-handwriting {
  font-family: 'Caveat', 'Comic Sans MS', cursive, sans-serif;
}

@keyframes floatGentleLeft {
  0%, 100% {
    transform: translateY(0px) rotate(-3deg);
  }
  50% {
    transform: translateY(-6px) rotate(-3deg);
  }
}

@keyframes floatGentleRight {
  0%, 100% {
    transform: translateY(0px) rotate(3deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

.animate-float-left {
  animation: floatGentleLeft 5s ease-in-out infinite;
}

.animate-float-right {
  animation: floatGentleRight 5.5s ease-in-out infinite 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .animate-float-left,
  .animate-float-right {
    animation: none !important;
  }
}

/* Hero Primary CTA Button */
.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0075FF 0%, #00C6FF 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 163, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(0, 163, 255, 0.55);
}

/* Hero Secondary CTA Button */
.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #06165E;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =======================================================
   LINKLINGO — REDISEÑO FINAL HERO (BACKGROUND MESH GRADIENT CSS)
   ======================================================= */
.linklingo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 680px;
  display: flex;
  align-items: center;

  background-color: #f8fcff;
  background-image:
    radial-gradient(
      ellipse 55% 75% at 50% 46%,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.75) 48%,
      rgba(255,255,255,0) 100%
    ),
    radial-gradient(
      ellipse 55% 75% at 0% 0%,
      rgba(0,75,255,0.90) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 50% 70% at 0% 100%,
      rgba(0,226,190,0.88) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 50% 75% at 100% 0%,
      rgba(255,203,75,0.88) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 55% 75% at 100% 100%,
      rgba(255,78,111,0.82) 0%,
      transparent 100%
    ),
    linear-gradient(
      110deg,
      #2b9cff 0%,
      #b6edff 28%,
      #ffffff 50%,
      #ffe5a2 75%,
      #ff8e83 100%
    );
}

.linklingo-hero .hero-description {
  color: #475569;
  font-weight: 500;
}

.linklingo-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.linklingo-hero__text {
  width: 44%;
  max-width: 620px;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  width: 56%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-devices {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(6, 22, 94, 0.12));
}

/* Title Typography */
.hero-title-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* Floating Overlay Cards */
.hero-floating-card {
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 20px 40px -10px rgba(6, 22, 94, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.hero-floating-card:hover {
  transform: translateY(-3px);
}

/* Responsive Rules */
@media (max-width: 1199px) {
  .linklingo-hero__content {
    min-height: 640px;
  }
  .linklingo-hero__text {
    width: 48%;
  }
  .hero-visual {
    width: 52%;
  }
}

@media (max-width: 768px) {
  .linklingo-hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3.5rem;

    background-image:
      radial-gradient(
        ellipse 90% 45% at 50% 20%,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.85) 60%,
        rgba(255,255,255,0) 100%
      ),
      radial-gradient(
        ellipse 70% 50% at 0% 0%,
        rgba(0,75,255,0.60) 0%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 70% 50% at 100% 10%,
        rgba(255,203,75,0.60) 0%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 80% 60% at 0% 90%,
        rgba(0,226,190,0.80) 0%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 80% 60% at 100% 95%,
        rgba(255,78,111,0.80) 0%,
        transparent 100%
      ),
      linear-gradient(
        180deg,
        #ffffff 0%,
        #eefaff 35%,
        #ffe5a2 70%,
        #ff8e83 100%
      );
  }

  .linklingo-hero__content {
    flex-direction: column;
    min-height: auto;
    width: min(100% - 32px, 100%);
    gap: 2.5rem;
  }

  .linklingo-hero__text {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-title-main {
    font-size: clamp(2.25rem, 8vw, 2.75rem);
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
}
