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

:root {
  --blue: #69afff;
  --blue-soft: #9fc7ff;
  --green: #4fd3b6;
  --dark: #0e1c30;
  --slate: #112338;
  --text: #f2f7ff;
  --muted: rgba(242, 247, 255, 0.7);
  --glass: rgba(16, 33, 53, 0.55);
}

html {
  scroll-behavior: smooth;
}

.report-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--blue-soft);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 200ms ease, transform 200ms ease;
}

.report-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  text-decoration: underline;
}


body {
  margin: 0;
  font-family: "Inter", "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% -10%, #518fda 0%, #235084 45%, #162e4f 85%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.section {
  padding: 6rem min(8vw, 6rem);
  position: relative;
  isolation: isolate;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  border: 1px solid rgba(50, 198, 166, 0.4);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  background: rgba(50, 198, 166, 0.1);
  backdrop-filter: blur(6px);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  margin: 0.7rem 0;
}

p {
  margin: 0.5rem 0;
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(229, 242, 255, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
}

.background-waves {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 150%;
  height: 60%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1), transparent 60%);
  filter: blur(60px);
  animation: float 12s infinite alternate ease-in-out;
}

.wave-1 {
  top: -10%;
  left: -25%;
}
.wave-2 {
  bottom: -20%;
  right: -20%;
  animation-duration: 18s;
}
.wave-3 {
  top: 20%;
  right: -30%;
  animation-duration: 15s;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4%, -4%, 0);
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding-top: 7rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
}

.hero-quote {
  font-size: 1.15rem;
  color: var(--blue-soft);
  margin-top: 1rem;
}

.subline {
  color: var(--muted);
  font-size: 1rem;
}

.hero-waveform {
  display: flex;
  gap: 0.3rem;
  margin-top: 2rem;
  height: 2.5rem;
  align-items: center;
}

.hero-waveform span {
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  animation: waveform 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

.hero-waveform span:nth-child(n) {
  --i: 1;
}
.hero-waveform span:nth-child(2n) {
  --i: 2;
}
.hero-waveform span:nth-child(3n) {
  --i: 3;
}

@keyframes waveform {
  0%,
  100% {
    height: 0.8rem;
    opacity: 0.4;
  }
  50% {
    height: 2.4rem;
    opacity: 1;
  }
}

.hero-media {
  position: relative;
  min-height: 500px;
  padding-bottom: 3rem;
}

.glass-card {
  background: var(--glass);
  border: 1px solid rgba(229, 242, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(5, 7, 15, 0.6);
}

.glass-card img {
  width: 100%;
  border-radius: 1.5rem;
}

.floating-chip {
  position: absolute;
  right: 0;
  bottom: -2.25rem;
  background: rgba(7, 15, 29, 0.9);
  border-radius: 1.25rem;
  padding: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 242, 255, 0.1);
  box-shadow: 0 15px 35px rgba(5, 7, 15, 0.8);
}

.floating-chip svg {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-heading {
  max-width: 640px;
}

.problem-grid,
.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.problem-card {
  background: rgba(19, 39, 63, 0.6);
  border: 1px solid rgba(105, 175, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.problem-insights {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: rgba(242, 247, 255, 0.85);
}

.support-line {
  font-size: 0.9rem;
  color: rgba(242, 247, 255, 0.65);
}

.icon-symbol {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  background: rgba(105, 175, 255, 0.12);
  color: var(--blue);
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: rgba(14, 32, 53, 0.9);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(229, 242, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(50, 198, 166, 0.1);
  transition: transform 300ms ease;
}

.step-card span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--green);
}

.step-card:hover {
  transform: translateY(-6px);
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature-card {
  background: rgba(17, 30, 48, 0.85);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(229, 242, 255, 0.06);
  transition: transform 300ms ease, border-color 300ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(50, 198, 166, 0.5);
}

.cta-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, rgba(105, 175, 255, 0.15), rgba(79, 211, 182, 0.2));
  border-radius: 1.8rem;
  padding: 2.5rem;
  border: 1px solid rgba(229, 242, 255, 0.08);
  box-shadow: 0 15px 40px rgba(5, 7, 15, 0.6);
}

.cta-card.cta-pulse {
  animation: pulse 1.2s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 15px 40px rgba(5, 7, 15, 0.6), 0 0 0 0 rgba(105, 175, 255, 0.35);
  }
  100% {
    box-shadow: 0 15px 40px rgba(5, 7, 15, 0.6), 0 0 0 30px rgba(105, 175, 255, 0);
  }
}

.trust-lines {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  background: rgba(16, 41, 58, 0.65);
  border: 1px solid rgba(79, 211, 182, 0.2);
  display: grid;
  gap: 0.6rem;
}

.value {
  padding-top: 2rem;
  margin-top: 4rem;
}

.value-content {
  background: rgba(15, 32, 52, 0.8);
  border-radius: 1.8rem;
  padding: 2.5rem;
  border: 1px solid rgba(105, 175, 255, 0.25);
  box-shadow: 0 20px 45px rgba(4, 9, 16, 0.55);
}

.value-quote {
  font-size: 1.05rem;
  color: var(--blue-soft);
  margin-top: 1.2rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-form input {
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(229, 242, 255, 0.2);
  background: rgba(5, 10, 20, 0.5);
  color: var(--text);
  outline: none;
}

.cta-form input:focus {
  border-color: var(--green);
}

.footer {
  padding-bottom: 3rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(229, 242, 255, 0.08);
  padding-top: 2rem;
}

.footer-motto {
  color: rgba(242, 247, 255, 0.55);
}

.footer-content a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-content a:hover {
  color: var(--green);
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.12);
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(74, 144, 226, 0.3);
}

.socials svg {
  width: 20px;
  fill: currentColor;
}

/* Scroll animations */
.appear {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

.appear.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 1.5rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-media {
    order: -1;
    padding-bottom: 1.5rem;
  }

  .cta-card {
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .floating-chip {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.5rem;
    width: min(280px, 100%);
  }

  .floating-chip svg {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Increase bottom spacing under the step cards group */
.steps-track {
  margin-bottom: 6rem; 
}

.section-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.solution-text {
  flex: 1 1 45%;
}

.solution-media {
  flex: 1 1 45%;
  position: relative;
}

.solution-media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.floating-chip {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .section-inner {
    flex-direction: column;
  }
  .solution-media, .solution-text {
    flex: 1 1 100%;
  }
}

.steps-track {
  margin-bottom: 7rem !important;
}

/* Fix: More breathing room for value section */
.section.value {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Fix: More internal padding for the value card */
.value-content {
  padding: 3rem 2.5rem;
}

/* Foundation cards layout – future-proof */
.value-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr); /* or repeat(3,1fr) if you add more */
  }
}

.value-quote {
  margin-top: 2rem;
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}
