/* Minimal styles for landing (animations + CSS variables). */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-purple-200: oklch(0.9 0.06 304);
  --color-purple-300: oklch(0.827 0.119 306.383);
  --color-purple-400: oklch(0.714 0.203 305.504);
  --color-purple-500: oklch(0.627 0.265 303.9);
  --color-purple-600: oklch(0.558 0.288 302.321);
  --color-purple-800: oklch(0.438 0.218 303.724);
  --color-purple-900: oklch(0.381 0.176 304.987);
  --color-purple-950: oklch(0.291 0.149 302.717);
  --color-pink-300: oklch(0.823 0.12 346.018);
  --color-pink-400: oklch(0.718 0.202 349.761);
  --color-pink-500: oklch(0.656 0.241 354.308);
  --color-pink-600: oklch(0.592 0.249 0.584);
  --color-pink-800: oklch(0.459 0.187 3.815);
  --color-cyan-300: oklch(0.865 0.127 207.078);
  --color-cyan-400: oklch(0.789 0.154 211.53);
  --color-cyan-500: oklch(0.715 0.143 215.221);
  --color-cyan-600: oklch(0.609 0.126 221.723);
  --color-cyan-800: oklch(0.45 0.085 224.283);
  --color-cyan-950: oklch(0.302 0.056 229.695);
  --color-gray-200: oklch(0.928 0.006 264.531);
  --color-gray-300: oklch(0.872 0.01 258.338);
  --color-gray-400: oklch(0.707 0.022 261.325);
  --color-gray-500: oklch(0.551 0.027 264.364);
  --color-green-400: oklch(0.792 0.209 151.711);
  --color-green-500: oklch(0.723 0.219 149.579);
  --color-green-800: oklch(0.47 0.16 148);

  --font-sans:
    'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji';
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.lang-changing {
  animation: langFadeOut 0.15s ease-out forwards;
}

.lang-changed {
  animation: langFadeIn 0.15s ease-in forwards;
}

@keyframes langFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-3px);
  }
}

@keyframes langFadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Buttons (Hero only) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    to right,
    var(--color-purple-600),
    var(--color-cyan-600)
  );
  color: var(--color-white);
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(
    to right,
    var(--color-purple-500),
    var(--color-cyan-500)
  );
  box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: var(--color-gray-200);
  border-radius: 0.5rem;
  background: transparent;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--color-white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgba(88, 28, 135, 0.5),
    var(--color-black)
  );
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.2;
}

.glow-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: var(--color-purple-600);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.glow-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: var(--color-cyan-600);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background: rgba(236, 72, 153, 0.1);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 900;
  background: linear-gradient(
    to right,
    var(--color-purple-300),
    var(--color-pink-300),
    var(--color-cyan-300)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-300);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  position: relative;
  background: linear-gradient(
    to bottom right,
    rgba(59, 7, 100, 0.4),
    rgba(0, 0, 0, 0.4),
    rgba(8, 51, 68, 0.4)
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.1),
    inset 0 0 20px rgba(168, 85, 247, 0.05);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(168, 85, 247, 0),
    rgba(236, 72, 153, 0),
    rgba(34, 211, 238, 0)
  );
  transition: all 0.3s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: scale(1.05);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.3),
    inset 0 0 30px rgba(34, 211, 238, 0.1);
}

.stat-card:hover::after {
  background: linear-gradient(
    to bottom right,
    rgba(168, 85, 247, 0.1),
    rgba(236, 72, 153, 0.05),
    rgba(34, 211, 238, 0.1)
  );
}

.stat-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-white);
}

.gradient-purple {
  background: linear-gradient(
    135deg,
    var(--color-purple-500),
    var(--color-pink-500)
  );
}

.gradient-pink {
  background: linear-gradient(
    135deg,
    var(--color-pink-500),
    var(--color-cyan-500)
  );
}

.gradient-cyan {
  background: linear-gradient(
    135deg,
    var(--color-cyan-500),
    var(--color-purple-500)
  );
}

.gradient-purple-cyan {
  background: linear-gradient(
    135deg,
    var(--color-purple-500),
    var(--color-cyan-500)
  );
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--color-purple-300),
    var(--color-cyan-300)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 10;
}

.stat-label {
  color: var(--color-gray-300);
  font-size: 0.875rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* USP cards title highlight */
.usp-title {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 10;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-card:hover .usp-title {
  color: var(--color-white);
}

/* About steps title highlight */
.step-title {
  font-size: 1.25rem;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
