/**
 * Page-specific styles for /  (index.html).
 *
 * Loaded via {% block extra_head %}<link rel="stylesheet" href="...">{% endblock %}
 * so we keep the page-unique design language out of the global Tailwind CSS
 * pipeline and out of <style> blocks.
 *
 * Edit the design tokens (colors) in design-tokens/tokens.json, not here.
 */

/* Minimal, SEO-safe polish (mobile-first) */
.sensei-hero-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  border-radius: 20px;
}
.sensei-soft-border {
  border: 1px solid rgba(17, 24, 39, 0.10);
}
.sensei-carousel-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reserve space to reduce CLS on mobile */
.sensei-aspect-16x10 { aspect-ratio: 16 / 10; }
.sensei-aspect-4x3   { aspect-ratio: 4 / 3; }

/* ===== Sensei Journey (soft anchoring + Apple-ish big cards) ===== */
.sensei-stripes {
  position: relative;
  overflow: hidden;
  background: #0b1020;
}
.sensei-stripes::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Purple "liquid glass" glow + subtle stripes */
  background:
    radial-gradient(900px 520px at 60% 0%, rgba(146, 51, 234, 0.30), transparent 58%),
    radial-gradient(900px 520px at 20% 70%, rgba(146, 51, 234, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  opacity: 1;
}
.sensei-stripes > * {
  position: relative;
  z-index: 1;
}
.sensei-journey-rail {
  position: relative;
  top: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 14, 28, 0.55);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sensei-rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(226, 232, 240, 0.85);
  border: 1px solid transparent;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}
.sensei-rail-link:hover {
  background: rgba(146, 51, 234, 0.14);
}
.sensei-rail-link .sensei-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.sensei-rail-link.active {
  color: rgba(255, 255, 255, 1);
  background: rgba(146, 51, 234, 0.22);
  border-color: rgba(146, 51, 234, 0.34);
}
.sensei-rail-link.active .sensei-dot {
  background: rgba(146, 51, 234, 1);
  box-shadow: 0 0 18px rgba(146, 51, 234, 0.65);
}
.sensei-step-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 14, 28, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}
.sensei-step-card img {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Prevent ultra-narrow cards from causing one-word-per-line wrapping */
.sensei-journey-cards {
  min-width: 0;
}
