:root {
  --sh-bg-0: #090d18;
  --sh-bg-1: #10172b;
  --sh-bg-2: #1a2036;
  --sh-text: #eef2ff;
  --sh-muted: rgba(219, 228, 255, 0.77);
  --sh-card: rgba(18, 25, 44, 0.8);
  --sh-line: rgba(158, 183, 245, 0.18);
  --sh-line-strong: rgba(255, 89, 108, 0.28);
  --sh-red-1: #ea304d;
  --sh-red-2: #ff5f74;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.sh-home {
  margin: 0;
  color: var(--sh-text);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(135, 158, 255, 0.22), transparent 42%),
    radial-gradient(circle at 82% 3%, rgba(255, 104, 127, 0.13), transparent 38%),
    linear-gradient(168deg, var(--sh-bg-0) 2%, var(--sh-bg-1) 45%, var(--sh-bg-2) 100%);
  overflow-x: hidden;
}

.sh-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(rgba(206, 219, 255, 0.45) 0.7px, transparent 0.8px),
    radial-gradient(rgba(255, 162, 176, 0.28) 0.55px, transparent 0.65px);
  background-size: 110px 110px, 150px 150px;
  background-position: 0 0, 44px 70px;
  animation: sh-particle-drift 32s linear infinite;
}

@keyframes sh-particle-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, -10px, 0);
  }
  100% {
    transform: translate3d(18px, 12px, 0);
  }
}

.sh-main {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin-inline: auto;
  padding-inline: 1rem;
}

.sh-main {
  display: grid;
  gap: 0.95rem;
  padding-top: 28px;
  padding-bottom: 2.25rem;
}

.sh-section {
  border-radius: 24px;
  border: 1px solid var(--sh-line);
  background:
    linear-gradient(180deg, rgba(20, 29, 50, 0.78), rgba(11, 17, 32, 0.84));
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.15rem;
}

.sh-hero {
  padding: 0;
}

.sh-hero-card {
  border-radius: 24px;
  border: 1px solid var(--sh-line);
  background:
    linear-gradient(180deg, rgba(20, 29, 50, 0.78), rgba(11, 17, 32, 0.84));
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.15rem;
  text-align: center;
}

.sh-title {
  margin: 0;
  display: grid;
  gap: 0.1rem;
  line-height: 1.08;
}

.sh-title span:first-child {
  font-size: clamp(1.7rem, 7.6vw, 2.45rem);
  letter-spacing: 0.01em;
}

.sh-title span:last-child {
  font-size: clamp(1.24rem, 5.2vw, 1.72rem);
  color: rgba(247, 251, 255, 0.95);
  font-weight: 500;
}

.sh-subtitle {
  margin: 10px auto 0;
  max-width: 33ch;
  color: var(--sh-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 180ms ease, opacity 160ms ease;
}

.sh-cta:hover {
  transform: translateY(-1px);
}

.sh-cta:focus-visible {
  outline: 2px solid rgba(255, 219, 224, 0.95);
  outline-offset: 3px;
}

.sh-cta.is-disabled {
  pointer-events: none;
  opacity: 0.88;
}

.sh-cta-primary {
  margin-top: 18px;
  width: 100%;
  max-width: 350px;
  padding: 0.88rem 1rem;
  color: #fff9fb;
  background: linear-gradient(135deg, var(--sh-red-1), var(--sh-red-2));
  border-color: rgba(255, 157, 171, 0.45);
  box-shadow: 0 12px 24px rgba(224, 47, 73, 0.26);
}

.sh-section-title {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 225, 255, 0.9);
}

.sh-bullets {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding: 0;
}

.sh-bullets li {
  border-radius: 14px;
  border: 1px solid rgba(173, 191, 241, 0.18);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.62rem 0.72rem;
  color: rgba(233, 239, 255, 0.92);
  font-size: 0.93rem;
  line-height: 1.38;
}

.sh-card {
  margin-top: 0.78rem;
  border-radius: 22px;
  border: 1px solid var(--sh-line-strong);
  background:
    radial-gradient(circle at 60% -22%, rgba(255, 86, 111, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(21, 29, 50, 0.9), rgba(12, 18, 34, 0.9));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 93, 122, 0.08) inset;
  padding: 1rem;
}

.sh-card-topline {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.sh-signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.24rem;
}

.sh-signal-bars span {
  width: 5px;
  border-radius: 3px;
  background: var(--sh-red-1);
  box-shadow: 0 0 8px rgba(255, 77, 103, 0.58);
}

.sh-signal-bars span:nth-child(1) {
  height: 10px;
}

.sh-signal-bars span:nth-child(2) {
  height: 14px;
}

.sh-signal-bars span:nth-child(3) {
  height: 18px;
}

.sh-card-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(204, 218, 255, 0.92);
  font-weight: 700;
}

.sh-card-headline {
  margin: 0.72rem 0 0;
  font-size: 1.2rem;
  line-height: 1.22;
  color: #f4f7ff;
}

.sh-card-copy {
  margin: 0.56rem 0 0;
  font-size: 0.94rem;
  line-height: 1.46;
  color: rgba(220, 230, 255, 0.86);
}

.sh-pill-row {
  margin: 0.7rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: rgba(225, 234, 255, 0.86);
}

.sh-pill-key {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.sh-pill {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(160, 183, 244, 0.28);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.64rem;
  font-size: 0.82rem;
  line-height: 1.32;
}

.sh-advisory {
  margin: 0.75rem 0 0;
  color: rgba(255, 223, 229, 0.92);
  font-size: 0.85rem;
  line-height: 1.42;
}

.sh-cta-secondary {
  margin-top: 0.86rem;
  width: 100%;
  padding: 0.78rem 0.9rem;
  color: #fff8fb;
  background: linear-gradient(135deg, #d82b48, #f15d74);
  border-color: rgba(255, 152, 167, 0.5);
  box-shadow: 0 10px 18px rgba(220, 43, 71, 0.24);
}

.route-pulse-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: transparent;
  transition: opacity 780ms ease-in-out;
}

.route-pulse-overlay::before {
  content: "";
  position: absolute;
  left: var(--pulse-x, 50%);
  top: var(--pulse-y, 50%);
  width: clamp(220px, 18vmax, 540px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at center,
      rgba(255, 90, 110, 0.32) 0%,
      rgba(255, 90, 110, 0.14) 34%,
      rgba(10, 15, 30, 0.88) 70%,
      rgba(10, 15, 30, 1) 100%);
  transform: translate(-50%, -50%) scale(0.15);
  opacity: 0;
}

.route-pulse-overlay::after {
  content: "";
  position: absolute;
  left: var(--pulse-x, 50%);
  top: var(--pulse-y, 50%);
  width: clamp(220px, 18vmax, 540px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 173, 182, 0) 57%,
      rgba(255, 192, 167, 0.8) 61%,
      rgba(255, 160, 138, 0.22) 67%,
      rgba(255, 160, 138, 0) 74%
    );
  transform: translate(-50%, -50%) scale(0.15);
  opacity: 0;
}

.route-pulse-overlay.is-active {
  opacity: 1;
  visibility: visible;
  background: transparent;
}

.route-pulse-overlay.is-active::before {
  animation: sh-pulse-glow 780ms ease-in-out forwards;
}

.route-pulse-overlay.is-active::after {
  animation: sh-pulse-ring 780ms ease-in-out forwards;
}

@keyframes sh-pulse-glow {
  0% {
    transform: translate(-50%, -50%) scale(0.15);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(6.5);
    opacity: 1;
  }
}

@keyframes sh-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.15);
    opacity: 0.9;
  }
  35% {
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(6.5);
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .route-pulse-overlay::after {
    background:
      radial-gradient(
        circle at center,
        rgba(255, 173, 182, 0) 54%,
        rgba(255, 192, 167, 0.9) 59%,
        rgba(255, 160, 138, 0.28) 67%,
        rgba(255, 160, 138, 0) 75%
      );
  }

  .route-pulse-overlay.is-active::after {
    animation: sh-pulse-ring-mobile 780ms ease-in-out forwards;
  }
}

@keyframes sh-pulse-ring-mobile {
  0% {
    transform: translate(-50%, -50%) scale(0.15);
    opacity: 0.96;
  }
  35% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(6.5);
    opacity: 0.26;
  }
}

@media (min-width: 700px) {
  .sh-main {
    gap: 1.1rem;
    padding-bottom: 2.6rem;
  }

  .sh-section {
    padding: 1.3rem;
  }

  .sh-card {
    padding: 1.18rem;
  }
}

@media (min-width: 1024px) {
  .sh-main {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-particles,
  .sh-logo,
  .sh-cta,
  .route-pulse-overlay,
  .route-pulse-overlay::before,
  .route-pulse-overlay::after {
    animation: none;
    transition: none;
  }
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 14px;
  height: auto;
  max-height: none;
  overflow: visible;
}

.hero-logo .sh-logo {
  width: clamp(140px, 32vw, 200px);
  height: auto;
  max-width: none;
  max-height: none;
  display: block;

  filter:
    drop-shadow(0 10px 26px rgba(255,120,120,.28))
    drop-shadow(0 0 36px rgba(255,170,90,.18));

  animation: shBreathe 3.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes shBreathe {
  0%,100% { transform: scale(1); opacity: .98; }
  50%     { transform: scale(1.012); opacity: 1; }
}
