@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

body {
  margin: 0;
  background: #f6fafd;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* === Solution Section === */
.solution-section.clean {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  overflow: hidden;
  padding-top: 4.5vw;
  padding-bottom: 5vw;
  transition: min-height 0.2s;
}

.solution-bg-premium {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 33% at 2% 98%, #96d7ff36 0%, #f6fafd 100%),
    radial-gradient(ellipse 40% 25% at 98% 0%, #80aaff23 0%, #f6fafd 100%),
    radial-gradient(ellipse 73% 46% at 50% 67%, #eaf4fc 0%, #f6fafd 95%);
  opacity: 1;
}
.solution-bg-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.08;
  pointer-events: none;
}

.solution-hero-center {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding-left: 2vw;
  padding-right: 2vw;
}

.solution-hero-headline {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0.2em 0.4em;
  display: flex;
  flex-direction: column;
  gap: 0.67em;
  box-sizing: border-box;
}

/* --- Small Title --- */
.solution-hero-small {
  text-transform: uppercase;
  font-size: 0.8rem;                 /* slightly smaller */
  letter-spacing: 0.22em;
  font-weight: 500;
  color: #6a7ca6; /* muted gray-blue */
  margin-bottom: 0.6em;
  line-height: 1.3;
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}

/* --- Main Headline --- */
.solution-hero-main {
  display: block;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);  /* smaller than before */
  font-weight: 700;
  text-transform: uppercase;                /* all caps */
  letter-spacing: 0.05em;                   /* extra spacing = elegance */
  line-height: 1.28;
  color: #1d232c;
  white-space: normal;
  word-break: break-word;
  word-wrap: break-word;
}

/* Animate words individually */
.headline-word {
  display: inline-block;
  margin-right: 0.4em;
  opacity: 0;
  transform: translateY(48px) scale(1.05);
  transition: opacity 0.24s, transform 0.3s;
}
.headline-word:last-child { margin-right: 0; }

/* --- Highlighted Text --- */
.solution-highlight {
  background: linear-gradient(92deg, #0057ff, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase; /* ensure caps */
  font-style: italic;
  font-weight: 700;
  padding: 0 0.13em;
  letter-spacing: 0.06em;
  position: relative;
}

/* Shimmer effect */
@keyframes shimmer-sweep {
  0% { left: -65%; }
  100% { left: 120%; }
}
.solution-highlight.shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -65%;
  width: 68%;
  height: 99%;
  background: linear-gradient(110deg,rgba(255,255,255,0.25) 16%,rgba(255,255,255,0.01) 85%);
  transform: skewX(-14deg);
  pointer-events: none;
  animation: shimmer-sweep 1.1s cubic-bezier(.67,.2,.37,.91);
  z-index: 10;
}

/* --- Soft SVG shadow divider --- */
.solution-soft-shadow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  z-index: 6;
  pointer-events: none;
}
.solution-soft-shadow svg {
  width: 100%;
  height: 120px;
  display: block;
  user-select: none;
}

/* === Tablet (<= 900px) === */
@media (max-width: 900px) {
  .solution-section.clean {
    min-height: auto;
    padding-top: 6vw;
    padding-bottom: 6vw;
  }
  .solution-hero-center {
    min-height: auto;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .solution-hero-headline {
    max-width: 92vw;
    gap: 0.45em;
  }
  .solution-hero-small {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.35em;
  }
  .solution-hero-main {
    font-size: clamp(1.5rem, 3.6vw, 2.2rem);
    line-height: 1.32;
  }
  .solution-highlight {
    letter-spacing: 0.08em;
  }
  .solution-soft-shadow,
  .solution-soft-shadow svg {
    height: 48px;
  }
}

/* === Mobile (<= 600px) === */
@media (max-width: 600px) {
  .solution-section.clean {
    min-height: auto;
    padding-top: 8vw;
    padding-bottom: 10vw;
  }
  .solution-hero-center {
    min-height: auto;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .solution-hero-headline {
    max-width: 95vw;
    gap: 0.25em;
  }
  .solution-hero-small {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.25em;
  }
  .solution-hero-main {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    line-height: 1.38;              /* airy for readability */
    word-spacing: 0.04em;
  }
  .solution-highlight {
    filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.2)); /* softer glow */
  }
  .solution-soft-shadow,
  .solution-soft-shadow svg {
    height: 22px;
  }
}
