/* ============================================================
   SOLUTION.CSS — BachatAI
   Dark navy statement section with scramble text effect
   ============================================================ */

/* ── SECTION ──────────────────────────────────────────────── */
#solution {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding: 160px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

/* ── BACKGROUND GLOW ──────────────────────────────────────── */
.solution-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 200, 83, 0.08) 0%,
    rgba(26, 107, 255, 0.04) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(20px);
}

/* ── INNER WRAPPER ────────────────────────────────────────── */
.solution-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── LINES ────────────────────────────────────────────────── */
.solution-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.solution-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28em;

  /* start hidden — GSAP triggers scramble */
  opacity: 0;
}

/* ── WORDS ────────────────────────────────────────────────── */
.solution-word {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  display: inline-block;

  /* monospace-like scramble looks better with tabular nums */
  font-variant-numeric: tabular-nums;
}

/* The green "AI" word */
.solution-word--green {
  color: var(--color-green);
}

/* ── BLINKING CURSOR ──────────────────────────────────────── */
.solution-cursor {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  color: var(--color-green);
  margin-top: 4px;
  opacity: 0; /* GSAP shows and blinks this */
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #solution {
    padding: 120px 24px;
  }

  .solution-word {
    font-size: clamp(28px, 8vw, 48px);
  }

  .solution-cursor {
    font-size: clamp(28px, 8vw, 48px);
  }
}

@media (max-width: 480px) {
  #solution {
    padding: 100px 20px;
    min-height: 50vh;
  }
}