@layer sections {
  .section.hero {
    color: var(--text-primary);
  }

  .hero-layout {
    display: grid;
    gap: var(--space-32, 2rem);
    align-items: center;
  }

  .hero-copy {
    max-width: 40rem;
    gap: var(--space-20, 1.25rem);
  }

  .hero-title-emphasis {
    color: var(--color-error-500);
    font-style: italic;
  }

  .section.hero .lead {
    font-size: var(--font-size-base, 1rem);
    line-height: var(--line-height-loose, 1.7);
  }

  .hero-actions {
    max-width: 28rem;
    gap: var(--space-12, 0.75rem);
  }

  .hero-cta {
    min-height: 2.5rem;
    min-width: clamp(9rem, 22vw, 12rem);
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.875rem, 1.6vw, 1.25rem);
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
    justify-content: center;
    box-shadow: var(--shadow-xs, 0 4px 12px rgba(15, 23, 42, 0.08));
  }

  .hero-cta:hover,
  .hero-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(77, 91, 255, 0.28);
  }

  .hero-cta-note {
    color: var(--text-secondary, rgba(241, 245, 249, 0.72));
  }

  .hero-visual {
    position: relative;
    justify-self: center;
    width: min(32rem, 100%);
    border-radius: var(--radius-lg, 1.25rem);
  }

  /* SVG Styling */
  .hero-svg {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  /* Masked Image within SVG */
  .masked-group-image {
    filter: drop-shadow(0px 0px 30px rgba(1, 196, 255, 0.342));
  }

  /* Guiding Paths */
  .guiding-path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 6 7;
    stroke-dashoffset: 0;
    opacity: 0.3;
  }

  /* Value Bubbles within SVG */
  .value-bubble rect {
    filter: drop-shadow(0px 0px 5px rgba(95, 114, 236, 0.2));
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .value-bubble text {
    font-weight: 500;
    line-height: 1.1;
    text-align: left;
  }

  /* --- Responsive Adjustments --- */
  @media (max-width: 992px) {
    .hero-layout {
      display: flex;
      flex-direction: column;
      gap: clamp(var(--space-24, 1.5rem), 5vw, var(--space-48, 3rem));
      align-items: center;
    }

    .hero-copy {
      text-align: center;
      align-items: center;
    }

    .hero-actions {
      align-items: center;
    }

    .hero-svg {
      width: min(38rem, 95vw);
      margin: 0 auto;
    }
  }

  @media (max-width: 600px) {
    .section.hero {
      padding: 30px 20px;
    }

    .hero-copy h2 {
      font-size: 2em;
    }

    .hero-copy .lead {
      font-size: 0.95em;
    }

    .hero-actions {
      align-items: stretch;
    }

    .hero-svg {
      width: min(34rem, 100vw);
      margin-inline: auto;
    }
  }

  @media (max-width: 768px) {
    .hero-svg .value-bubble {
      display: none;
    }

    .hero-svg .guiding-path {
      display: none;
    }

    .hero-visual {
      width: min(34rem, 100vw);
    }
  }

  @media (min-width: 48rem) {
    .hero-layout {
      grid-template-columns: 0.4fr 0.6fr;
      gap: clamp(var(--space-32, 2rem), 6vw, var(--space-80, 5rem));
    }

    .hero-copy {
      align-self: center;
    }

    .hero-visual {
      max-width: none;
      width: 100%;
    }
  }

  @media (min-width: 64rem) {
    .hero-layout {
      grid-template-columns: 0.4fr 0.6fr;
      gap: clamp(var(--space-56, 3.5rem), 8vw, 6.5rem);
    }

    .hero-proof {
      display: grid;
      gap: var(--space-12, 0.75rem);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-cta {
      transform: none !important;
      transition: none !important;
      box-shadow: var(--shadow-xs, 0 4px 12px rgba(15, 23, 42, 0.08));
    }
  }

  @keyframes hero-pulse {
    0% {
      opacity: 0.55;
      transform: scale(1);
    }

    50% {
      opacity: 0.85;
      transform: scale(1.05);
    }

    100% {
      opacity: 0.55;
      transform: scale(1);
    }
  }
}
