/* Hero simplified: no logo, no trust pills, panel-draw animation */

.landing-hero {
  margin-top: 1rem;
}

@media (min-width: 1200px) {
  .site-main {
    width: min(100% - 2rem, 1360px);
  }
}

.hero-single-shell {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 700px);
  padding: 2.4rem 2.5rem;
  border-radius: 34px;
  background: #020617;
  box-shadow: 0 34px 90px rgba(7, 26, 51, 0.20);
  isolation: isolate;
}

.hero-single-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(255,255,255,0.18);
  opacity: 0;
  transform: scale(0.985);
  z-index: 1;
  pointer-events: none;
}

.hero-single-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 20%, rgba(37, 99, 235, 0.22), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.12), transparent 24%),
    linear-gradient(135deg, #020617 0%, #071a33 52%, #0f2b5c 100%);
  opacity: 0;
  clip-path: inset(0 100% 0 0 round 34px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
}

.hero-kicker {
  margin-bottom: 0.85rem;
}

.hero-title-wrap {
  width: 100%;
}

.hero-title-wrap h1,
.hero-title-mobile-plain {
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #ffffff;
  font-weight: 900;
}

.hero-title-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  overflow: visible;
}

.hero-title-svg text {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 92px;
  letter-spacing: -0.045em;
  fill: rgba(255,255,255,0);
  stroke: rgba(255,255,255,0.98);
  stroke-width: 1.6;
  stroke-linejoin: round;
  paint-order: stroke;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.hero-title-mobile-plain {
  display: none;
  margin: 0;
}

.hero-content > p {
  max-width: 860px;
  margin-top: 0.95rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.04rem;
  line-height: 1.6;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary,
.hero-actions .btn-ghost {
  min-height: 3.2rem;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
}

.hero-actions .btn-secondary {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #23be1e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.26);
}

.hero-actions .btn-secondary:hover {
  box-shadow: 0 24px 48px rgba(34, 197, 94, 0.32);
}

.hero-actions .hero-process-cta {
  display: inline-flex !important;
}

body:not(.page-loaded) .hero-kicker,
body:not(.page-loaded) .hero-title-wrap,
body:not(.page-loaded) .hero-content > p,
body:not(.page-loaded) .hero-actions {
  opacity: 0;
  transform: translateY(18px);
}

body.page-loaded .hero-single-shell::before {
  animation: heroOutlineDraw 900ms cubic-bezier(.16,1,.3,1) forwards;
}

body.page-loaded .hero-single-shell::after {
  animation: heroFillReveal 1350ms cubic-bezier(.16,1,.3,1) 140ms forwards;
}

body.page-loaded .hero-kicker {
  animation: fadeSlideUp 620ms cubic-bezier(.16,1,.3,1) 1080ms both;
}

body.page-loaded .hero-title-wrap {
  animation: fadeSlideUp 760ms cubic-bezier(.16,1,.3,1) 1240ms both;
}

body.page-loaded .hero-title-svg text {
  animation:
    drawLetters 1.4s cubic-bezier(.16,1,.3,1) forwards,
    fillLetters 0.85s ease forwards;
}

body.page-loaded .hero-title-svg text:nth-of-type(1) {
  animation-delay: 1.18s, 2.04s;
}

body.page-loaded .hero-title-svg text:nth-of-type(2) {
  animation-delay: 1.42s, 2.28s;
}

body.page-loaded .hero-title-svg text:nth-of-type(3) {
  animation-delay: 1.66s, 2.52s;
}

body.page-loaded .hero-content > p {
  animation: fadeSlideUp 760ms cubic-bezier(.16,1,.3,1) 1500ms both;
}

body.page-loaded .hero-actions {
  animation: fadeSlideUp 760ms cubic-bezier(.16,1,.3,1) 1700ms both;
}

@keyframes heroOutlineDraw {
  0% {
    opacity: 0;
    transform: scale(0.972) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroFillReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 34px);
    filter: blur(10px) saturate(0.92);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 34px);
    filter: blur(0) saturate(1);
  }
}

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

@keyframes drawLetters {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillLetters {
  to {
    fill: rgba(255,255,255,0.98);
  }
}

@media (min-width: 1024px) {
  .hero-single-shell {
    min-height: clamp(500px, 68vh, 680px);
    padding: 2.5rem 3rem;
  }

  .hero-content {
    max-width: 960px;
  }

  .hero-content > p {
    max-width: 860px;
    font-size: 1.08rem;
    line-height: 1.65;
  }
}

@media (max-width: 1023px) {
  .hero-single-shell {
    min-height: clamp(460px, 66vh, 620px);
  }

  .hero-title-svg text {
    font-size: 72px;
  }
}

@media (max-width: 767px) {
  .landing-hero {
    margin-top: 0.5rem;
    min-height: calc(100svh - 5.05rem);
  }

  .hero-single-shell {
    min-height: calc(100svh - 5.05rem);
    padding: calc(env(safe-area-inset-top) + 2.4rem) 1rem 1.25rem;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    min-height: 0;
  }

  .hero-kicker {
    margin-bottom: 0.6rem;
    padding: 0.38rem 0.6rem;
    font-size: 0.58rem;
    letter-spacing: 0.09em;
  }

  .hero-title-svg {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .hero-title-svg text {
    font-size: 68px;
  }

  .hero-title-mobile-plain {
    display: none;
  }

  .hero-content > p {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 34rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-ghost {
    min-height: 2.8rem;
    padding: 0.68rem 0.72rem;
    font-size: 0.81rem;
    border-radius: 16px;
    width: 100%;
  }

  .hero-actions .btn-ghost {
    grid-column: 1 / -1;
  }

  .hero-actions .hero-process-cta {
    display: inline-flex !important;
    grid-column: 1 / -1;
  }

  .hero-actions .btn-secondary {
    background: linear-gradient(135deg, #0b1220, #111827) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.26) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  }

  .hero-actions .btn-secondary i {
    color: #ffffff !important;
  }

  body.hero-intro-ready .site-main {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.hero-intro-ready .landing-hero {
    margin-top: 0;
    min-height: 100svh;
  }

  body.hero-intro-ready .hero-single-shell {
    min-height: 100svh;
  }

  body.hero-intro-ready .hero-content {
    padding-top: 0.1rem;
  }

  body.hero-intro-ready:not(.hero-nav-visible) .site-top-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-120%) scale(0.985);
    filter: blur(4px);
  }

  body.hero-intro-ready.hero-nav-visible .site-top-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 0;
  }

  body.hero-intro-ready .site-main {
    padding-top: 0;
  }

  body.hero-intro-ready .landing-hero {
    min-height: 100vh;
    margin-top: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    align-items: stretch;
  }

  body.hero-intro-ready .hero-single-shell {
    width: 100%;
    min-height: 100vh;
    padding: clamp(3rem, 4vw, 4.25rem);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    animation: heroShellCinematicIn 1100ms cubic-bezier(.16,1,.3,1) both;
  }

  body.hero-intro-ready .hero-single-shell::before {
    border: 0;
    border-radius: 0;
  }

  body.hero-intro-ready .hero-single-shell::after {
    border-radius: 0;
  }

  body.hero-intro-ready .hero-content {
    max-width: 1040px;
  }

  body.hero-intro-ready .hero-kicker {
    margin-bottom: 1rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.76rem;
  }

  body.hero-intro-ready .hero-title-svg {
    max-width: 980px;
  }

  body.hero-intro-ready .hero-title-svg text {
    font-size: 102px;
  }

  body.hero-intro-ready .hero-content > p {
    max-width: 920px;
    margin-top: 1.1rem;
    font-size: 1.15rem;
    line-height: 1.7;
  }

  body.hero-intro-ready .hero-actions {
    gap: 0.95rem;
    margin-top: 1.45rem;
  }

  body.hero-intro-ready .hero-actions .btn-primary,
  body.hero-intro-ready .hero-actions .btn-secondary,
  body.hero-intro-ready .hero-actions .btn-ghost {
    min-height: 3.6rem;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
  }

  body.hero-intro-ready .hero-actions .hero-process-cta {
    padding-inline: 1.1rem;
  }

  body.hero-intro-ready .site-top-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    filter: none;
    transition:
      opacity 260ms ease,
      transform 260ms ease,
      filter 260ms ease;
  }

  body.hero-intro-ready:not(.hero-nav-visible) .site-top-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-120%) scale(0.985);
    filter: blur(4px);
    transition:
      opacity 260ms ease,
      transform 260ms ease,
      filter 260ms ease;
  }

  body.hero-intro-ready.hero-nav-visible .site-top-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: none;
  }

  #offers,
  #process,
  #faq,
  #contact {
    scroll-margin-top: 7.2rem;
  }

  .assistant-chat-fab {
    z-index: 10021;
  }
}

@media (min-width: 1024px) {
  body.hero-intro-ready.page-loaded .hero-single-shell::after {
    animation: heroFillRevealFullscreen 1500ms cubic-bezier(.16,1,.3,1) 220ms forwards;
  }
}

@keyframes heroFillRevealFullscreen {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: blur(10px) saturate(0.92);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0) saturate(1);
  }
}

@keyframes heroShellCinematicIn {
  0% {
    opacity: 0.5;
    transform: scale(0.992) translateY(14px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.page-loaded) .hero-single-shell::before,
  body:not(.page-loaded) .hero-single-shell::after,
  body:not(.page-loaded) .hero-kicker,
  body:not(.page-loaded) .hero-title-wrap,
  body:not(.page-loaded) .hero-content > p,
  body:not(.page-loaded) .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    clip-path: inset(0 0 0 0) !important;
  }

  body.page-loaded .hero-single-shell::before,
  body.page-loaded .hero-single-shell::after,
  body.page-loaded .hero-kicker,
  body.page-loaded .hero-title-wrap,
  body.page-loaded .hero-content > p,
  body.page-loaded .hero-actions,
  body.page-loaded .hero-title-svg text {
    animation: none !important;
  }

  .hero-title-svg text {
    stroke-dashoffset: 0;
    fill: rgba(255,255,255,0.98);
  }
}
