/* About — Premium marketing journey layout */

.about-hero {
  position: relative;
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.about-hero .container {
  padding-top: calc(8rem + env(safe-area-inset-top, 0px));
  padding-bottom: 2.5rem;
  max-width: 52rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero h1 {
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
}

.about-hero .lede {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: rgba(244, 246, 251, 0.84);
  line-height: 1.7;
}

.about-journey {
  position: relative;
}

.about-journey .container {
  padding-top: 2rem;
  padding-bottom: 4rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.about-journey h2 {
  max-width: 24ch;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff 30%, #9bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.journey-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.journey-step {
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4);
  border-color: rgba(47, 107, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.journey-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.1), rgba(47, 107, 255, 0.6), rgba(47, 107, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journey-step:hover::before {
  opacity: 1;
}

.journey-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--bexo-sky);
  margin-bottom: 0.85rem;
  background: rgba(47, 107, 255, 0.1);
  padding: 0.3em 0.8em;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 255, 0.2);
}

.journey-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.journey-host {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 12px rgba(47, 107, 255, 0.3);
}

.journey-join {
  width: 40px;
  align-self: center;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.1), rgba(47, 107, 255, 0.8), rgba(47, 107, 255, 0.1));
  box-shadow: 0 0 12px rgba(47, 107, 255, 0.4);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.about-body .panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-body .panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.25);
}

.about-body .panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.about-body .panel p {
  font-size: 1.05rem;
  color: rgba(244, 246, 251, 0.85);
}

.panel-cta {
  background:
    radial-gradient(ellipse at top right, rgba(47, 107, 255, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(47, 107, 255, 0.4) !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.panel-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.5), transparent);
}

.panel-cta .btn-primary,
.panel-cta .btn-ghost {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.panel-cta .btn-primary {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .journey-rail {
    grid-template-columns: 1fr;
  }

  .journey-join {
    width: 2px;
    height: 40px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(47, 107, 255, 0.1), rgba(47, 107, 255, 0.8), rgba(47, 107, 255, 0.1));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
