/* ==========================================================================
   NekoTrip — Public Site CSS
   Theme: Dark Violet — Cohérent avec l'app NekoTrip
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens / Variables
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --nt-bg: #0d0d17;
  --nt-bg-elevated: #12121f;
  --nt-bg-card: rgba(18, 18, 31, 0.7);
  --nt-bg-hover: rgba(255, 255, 255, 0.04);
  --nt-bg-active: rgba(139, 92, 246, 0.12);
  
  /* Borders */
  --nt-border: rgba(255, 255, 255, 0.06);
  --nt-border-light: rgba(255, 255, 255, 0.08);
  --nt-border-focus: rgba(139, 92, 246, 0.5);
  
  /* Primary - Violet */
  --nt-primary: #8b5cf6;
  --nt-primary-light: #a78bfa;
  --nt-primary-dark: #7c3aed;
  --nt-primary-glow: rgba(139, 92, 246, 0.25);
  
  /* Text */
  --nt-text: rgba(255, 255, 255, 0.95);
  --nt-text-secondary: rgba(255, 255, 255, 0.65);
  --nt-text-muted: rgba(255, 255, 255, 0.4);
  
  /* Status */
  --nt-success: #10b981;
  --nt-warning: #f59e0b;
  --nt-danger: #ef4444;
  
  /* Spacing */
  --nt-space-xs: 6px;
  --nt-space-sm: 10px;
  --nt-space-md: 16px;
  --nt-space-lg: 24px;
  --nt-space-xl: 40px;
  --nt-space-2xl: 64px;
  
  /* Radius */
  --nt-radius-sm: 8px;
  --nt-radius-md: 12px;
  --nt-radius-lg: 16px;
  --nt-radius-xl: 20px;
  
  /* Transitions */
  --nt-transition-fast: 0.15s ease;
  --nt-transition-base: 0.25s ease;
  --nt-transition-slow: 0.4s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

body.nt-public {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nt-text);
  background: var(--nt-bg);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fond avec gradients subtils */
body.nt-public::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    var(--nt-bg);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--nt-transition-fast);
}

a:hover {
  color: var(--nt-primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

.nt-preview-carousel{
  width: 100%;
  margin: 0 auto;
}

/* Track */
.nt-carousel-track{
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

/* Chaque slide fait la largeur du container */
.nt-carousel-slide{
  min-width: 100%;
  display: flex;
  justify-content: center; /* centre la card */
}

/* La card s'adapte au contenu (image) */
.nt-carousel-card{
  display: inline-flex;
  flex-direction: column;
  align-items: center;   /* centre texte + image */
  text-align: center;
  gap: 10px;
  padding: 0 16px 12px 16px;
}

/* zone image */
.nt-carousel-media{
  display: flex;
  justify-content: center;
  width: auto;          /* important: pas full width */
}

/* images */
.nt-real-preview-img{
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.nt-real-preview-img-mobile{
  width: 100%;
  max-width: 450px;
  max-height: 670px;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* dots */
.nt-carousel-dots{
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 14px 0 0 0;
}
.nt-dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
}
.nt-dot.is-active{
  background: rgba(255,255,255,0.75);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.nt-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding-left: var(--nt-space-md);
  padding-right: var(--nt-space-md);
}

.nt-container--narrow {
  max-width: 520px;
}

.nt-container--medium {
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.nt-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nt-border);
}

.nt-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nt-space-md);
  padding: var(--nt-space-sm) 0;
  min-height: 64px;
}

/* Brand */
.nt-brand {
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  text-decoration: none;
  color: var(--nt-text);
}

.nt-brand:hover {
  color: var(--nt-text);
}

.nt-brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-bg-active);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 1.25rem;
  transition: all var(--nt-transition-fast);
}

.nt-brand:hover .nt-brand-icon {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px var(--nt-primary-glow);
}

.nt-brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Navigation */
.nt-site-nav {
  display: flex;
  align-items: center;
  gap: var(--nt-space-xs);
}

.nt-site-nav a:not(.nt-btn) {
  padding: var(--nt-space-sm) var(--nt-space-md);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--nt-text-secondary);
  border-radius: var(--nt-radius-sm);
  transition: all var(--nt-transition-fast);
}

.nt-site-nav a:not(.nt-btn):hover,
.nt-site-nav a:not(.nt-btn)[aria-current="page"] {
  color: var(--nt-text);
  background: var(--nt-bg-hover);
}

.nt-site-nav .nt-nav-sep {
  width: 1px;
  height: 20px;
  background: var(--nt-border);
  margin: 0 var(--nt-space-sm);
}

/* Mobile burger */
.nt-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nt-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nt-text);
  border-radius: 2px;
  transition: all var(--nt-transition-fast);
}

/* User dropdown */
.nt-user-dropdown {
  position: relative;
}

.nt-user-trigger {
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  padding: 6px 12px;
  background: var(--nt-bg-hover);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
  cursor: pointer;
  transition: all var(--nt-transition-fast);
}

.nt-user-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--nt-border-light);
}

.nt-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--nt-bg-active);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--nt-primary-light);
}

.nt-user-name {
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--nt-text);
}

.nt-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: rgba(18, 18, 31, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
  padding: var(--nt-space-xs);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--nt-transition-fast);
}

.nt-user-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nt-user-menu a,
.nt-user-menu button {
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  width: 100%;
  padding: var(--nt-space-sm) var(--nt-space-md);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nt-text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--nt-radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--nt-transition-fast);
}

.nt-user-menu a:hover,
.nt-user-menu button:hover {
  color: var(--nt-text);
  background: var(--nt-bg-hover);
}

.nt-user-menu-sep {
  height: 1px;
  margin: var(--nt-space-xs) 0;
  background: var(--nt-border);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nt-space-sm);
  padding: 11px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nt-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--nt-transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.nt-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--nt-border-light);
  color: var(--nt-text);
  transform: translateY(-1px);
}

.nt-btn:active {
  transform: translateY(0);
}

.nt-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--nt-primary) 0%, var(--nt-primary-dark) 100%);
  border-color: transparent;
  box-shadow: 
    0 4px 20px var(--nt-primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nt-btn-primary:hover {
  background: linear-gradient(135deg, var(--nt-primary-light) 0%, var(--nt-primary) 100%);
  box-shadow: 
    0 8px 30px var(--nt-primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nt-btn-ghost {
  background: transparent;
  border-color: transparent;
}

.nt-btn-ghost:hover {
  background: var(--nt-bg-hover);
}

.nt-btn-danger {
  border-color: rgba(239, 68, 68, 0.35);
  color: var(--nt-danger);
}

.nt-btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

.nt-btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.nt-btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Cards — Glassmorphism Style
   -------------------------------------------------------------------------- */
.nt-card {
  background: var(--nt-bg-card);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--nt-transition-base);
}

.nt-card:hover {
  border-color: var(--nt-border-light);
}

.nt-card-pad {
  padding: var(--nt-space-lg);
}

.nt-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nt-space-md);
}

.nt-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nt-text);
}

.nt-card-subtitle {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--nt-text-secondary);
}

.nt-card-highlight {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 
    0 0 0 1px rgba(139, 92, 246, 0.08),
    0 8px 32px rgba(139, 92, 246, 0.08);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.nt-hero {
  padding: 80px 0 60px;
}

.nt-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nt-space-xl);
  align-items: center;
}

.nt-hero-content h1 {
  margin: var(--nt-space-md) 0;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--nt-text);
}

.nt-hero-sub {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--nt-text-secondary);
  max-width: 520px;
}

.nt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nt-space-sm);
  margin-top: var(--nt-space-lg);
}

.nt-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nt-space-sm);
  margin-top: var(--nt-space-lg);
}

/* Hero small (pour sous-pages) */
.nt-hero--small {
  padding: 48px 0 40px;
  text-align: center;
}

.nt-hero--small h1 {
  font-size: 2rem;
  margin-bottom: var(--nt-space-sm);
}

.nt-subtitle {
  color: var(--nt-text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* App Preview Mock — Réplique statique de la page Résumé */
.nt-app-preview {
  display: flex;
  border-radius: var(--nt-radius-xl);
  overflow: hidden;
  background: var(--nt-bg-card);
  border: 1px solid var(--nt-border);
  backdrop-filter: blur(16px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  max-height: 440px;
  animation: fadeInUp 0.6s 0.15s ease both;
}

/* Mini sidebar */
.nt-ap-sidebar {
  width: 44px;
  flex-shrink: 0;
  background: rgba(15, 15, 26, 0.95);
  border-right: 1px solid var(--nt-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 4px;
}

.nt-ap-sidebar-brand {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--nt-border);
  width: 100%;
  text-align: center;
}

.nt-ap-sidebar-item {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: default;
  transition: background 0.15s;
}

.nt-ap-sidebar-item.is-active {
  background: var(--nt-bg-active);
}

/* Main content */
.nt-ap-main {
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.nt-ap-trip-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nt-border);
}

.nt-ap-trip-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nt-text);
}

.nt-ap-trip-meta {
  font-size: 0.7rem;
  color: var(--nt-text-muted);
  margin-top: 2px;
}

/* Stats */
.nt-ap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nt-ap-stat {
  text-align: center;
  padding: 10px 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--nt-border);
  background: rgba(255, 255, 255, 0.02);
}

.nt-ap-stat--active {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.06);
}

.nt-ap-stat-icon {
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.nt-ap-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--nt-text);
  line-height: 1.1;
}

.nt-ap-stat-label {
  font-size: 0.65rem;
  color: var(--nt-text-secondary);
}

.nt-ap-stat-sub {
  font-size: 0.55rem;
  color: var(--nt-text-muted);
}

/* Section title */
.nt-ap-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nt-text);
  padding-left: 8px;
  border-left: 3px solid var(--nt-primary);
}

/* Day pills */
.nt-ap-days {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.nt-ap-day {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--nt-border);
  min-width: 52px;
  cursor: default;
}

.nt-ap-day.is-active {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.08);
}

.nt-ap-day--fade {
  opacity: 0.4;
}

.nt-ap-day-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--nt-text);
}

.nt-ap-day-date {
  font-size: 0.55rem;
  color: var(--nt-text-muted);
}

.nt-ap-day-count {
  font-size: 0.55rem;
  color: var(--nt-primary-light);
}

/* Guide card */
.nt-ap-guide-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--nt-border);
  background: rgba(255, 255, 255, 0.02);
}

.nt-ap-guide-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nt-ap-guide-info {
  flex: 1;
  min-width: 0;
}

.nt-ap-guide-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nt-text);
}

.nt-ap-guide-meta {
  font-size: 0.6rem;
  color: var(--nt-text-muted);
}

.nt-ap-guide-btn {
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--nt-primary);
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Pills & Badges
   -------------------------------------------------------------------------- */
.nt-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nt-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nt-border);
  border-radius: 100px;
  transition: all var(--nt-transition-fast);
}

.nt-pill-primary {
  color: var(--nt-primary-light);
  background: var(--nt-bg-active);
  border-color: rgba(139, 92, 246, 0.25);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.nt-section {
  padding: 48px 0;
}

.nt-section h2 {
  margin: 0 0 var(--nt-space-lg);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nt-text);
}

/* Grid layouts */
.nt-grid {
  display: grid;
  gap: var(--nt-space-md);
}

.nt-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.nt-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards grid */
.nt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--nt-space-md);
}

.nt-cards .nt-card {
  padding: var(--nt-space-lg);
}

.nt-cards .nt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.nt-cards .nt-card h3 {
  margin: 0 0 var(--nt-space-sm);
  font-size: 1.1rem;
  font-weight: 600;
}

.nt-cards .nt-card p {
  margin: 0;
  color: var(--nt-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Callout / CTA Banner
   -------------------------------------------------------------------------- */
.nt-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nt-space-lg);
  padding: var(--nt-space-lg) var(--nt-space-xl);
  margin-top: var(--nt-space-xl);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--nt-radius-lg);
}

.nt-callout strong,
.nt-callout-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Steps — Style Timeline NekoTrip
   -------------------------------------------------------------------------- */
.nt-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Ligne verticale de la timeline */
.nt-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--nt-primary) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-radius: 2px;
}

.nt-steps li,
.nt-step {
  display: flex;
  align-items: flex-start;
  gap: var(--nt-space-md);
  padding: var(--nt-space-md);
  position: relative;
  z-index: 1;
}

.nt-step-num,
.nt-step-n {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--nt-primary-light);
  background: var(--nt-bg);
  border: 2px solid var(--nt-primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--nt-primary-glow);
}

.nt-step-content strong,
.nt-step-title {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--nt-text);
}

.nt-step-sub {
  color: var(--nt-text-secondary);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.nt-form {
  display: flex;
  flex-direction: column;
  gap: var(--nt-space-md);
}

.nt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nt-space-md);
}

.nt-form-field,
.nt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nt-form-field span,
.nt-form-field label,
.nt-field span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nt-text-secondary);
}

.nt-input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--nt-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
  transition: all var(--nt-transition-fast);
}

.nt-input:hover {
  border-color: var(--nt-border-light);
}

.nt-input:focus {
  outline: none;
  border-color: var(--nt-border-focus);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px var(--nt-primary-glow);
}

.nt-input::placeholder {
  color: var(--nt-text-muted);
}

.nt-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nt-space-sm);
  margin-top: var(--nt-space-sm);
}

/* --------------------------------------------------------------------------
   Alerts & Messages
   -------------------------------------------------------------------------- */
.nt-alert {
  padding: var(--nt-space-sm) var(--nt-space-md);
  font-size: 0.9rem;
  border-radius: var(--nt-radius-md);
  border: 1px solid var(--nt-border);
  background: rgba(255, 255, 255, 0.03);
}

.nt-alert-success,
.nt-alert.ok {
  color: var(--nt-success);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
}

.nt-alert-error,
.nt-alert.bad {
  color: var(--nt-danger);
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.08);
}

.nt-msg {
  margin-top: var(--nt-space-md);
  padding: var(--nt-space-sm) var(--nt-space-md);
  font-size: 0.9rem;
  border-radius: var(--nt-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.nt-list {
  list-style: none;
  padding: 0;
  margin: var(--nt-space-md) 0;
}

.nt-list li {
  position: relative;
  padding: var(--nt-space-sm) 0 var(--nt-space-sm) var(--nt-space-lg);
  color: var(--nt-text-secondary);
}

.nt-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--nt-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nt-primary-glow);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.nt-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--nt-text);
  margin: var(--nt-space-md) 0;
  letter-spacing: -0.02em;
}

.nt-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nt-text-muted);
}

.nt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nt-space-sm);
  margin-top: var(--nt-space-md);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.nt-faq {
  display: flex;
  flex-direction: column;
  gap: var(--nt-space-sm);
}

.nt-faq details {
  background: var(--nt-bg-card);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
  transition: all var(--nt-transition-fast);
}

.nt-faq details:hover {
  border-color: var(--nt-border-light);
}

.nt-faq details[open] {
  border-color: rgba(139, 92, 246, 0.2);
}

.nt-faq summary {
  padding: var(--nt-space-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
}

.nt-faq summary::-webkit-details-marker {
  display: none;
}

.nt-faq summary::before {
  content: '+';
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--nt-primary-light);
  background: var(--nt-bg-active);
  border-radius: var(--nt-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--nt-transition-fast);
}

.nt-faq details[open] summary::before {
  content: '−';
  background: var(--nt-primary);
  color: #fff;
}

.nt-faq p {
  margin: 0;
  padding: 0 var(--nt-space-md) var(--nt-space-md);
  padding-left: calc(var(--nt-space-md) + 24px + var(--nt-space-sm));
  color: var(--nt-text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.nt-footer {
  margin-top: auto;
  padding: var(--nt-space-lg) 0;
  background: rgba(13, 13, 23, 0.6);
  border-top: 1px solid var(--nt-border);
}

.nt-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nt-space-md);
  flex-wrap: wrap;
}

.nt-footer-brand {
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  font-weight: 600;
  color: var(--nt-text-secondary);
}

.nt-footer-links {
  display: flex;
  align-items: center;
  gap: var(--nt-space-lg);
}

.nt-footer-links a {
  font-size: 0.9rem;
  color: var(--nt-text-muted);
}

.nt-footer-links a:hover {
  color: var(--nt-text);
}

/* --------------------------------------------------------------------------
   Auth Pages
   -------------------------------------------------------------------------- */
.nt-auth {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nt-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nt-space-xl) var(--nt-space-md);
}

.nt-auth-box {
  width: 100%;
  max-width: 420px;
}

.nt-auth-header {
  text-align: center;
  margin-bottom: var(--nt-space-xl);
}

.nt-auth-header h1 {
  margin: 0 0 var(--nt-space-sm);
  font-size: 1.75rem;
  font-weight: 700;
}

.nt-auth-header p {
  margin: 0;
  color: var(--nt-text-secondary);
}

.nt-auth-form {
  padding: var(--nt-space-lg);
}

.nt-auth-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--nt-space-md);
  margin-top: var(--nt-space-lg);
  padding-top: var(--nt-space-lg);
  border-top: 1px solid var(--nt-border);
}

.nt-auth-footer a {
  font-size: 0.9rem;
  color: var(--nt-text-secondary);
}

.nt-auth-footer a:hover {
  color: var(--nt-primary-light);
}

/* --------------------------------------------------------------------------
   Account Pages
   -------------------------------------------------------------------------- */
.nt-account-main {
  padding: var(--nt-space-xl) 0 60px;
}

.nt-account-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--nt-space-md);
  flex-wrap: wrap;
  margin-bottom: var(--nt-space-lg);
}

.nt-account-header h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
}

.nt-account-header p {
  margin: 0;
  color: var(--nt-text-secondary);
}

.nt-account-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--nt-space-md);
}

.nt-account-card {
  grid-column: span 12;
}

.nt-account-card-half {
  grid-column: span 12;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.nt-muted {
  color: var(--nt-text-muted);
}

.nt-text-secondary {
  color: var(--nt-text-secondary);
}

.nt-text-center {
  text-align: center;
}

.nt-mt-sm { margin-top: var(--nt-space-sm); }
.nt-mt-md { margin-top: var(--nt-space-md); }
.nt-mt-lg { margin-top: var(--nt-space-lg); }
.nt-mt-xl { margin-top: var(--nt-space-xl); }

.nt-mb-sm { margin-bottom: var(--nt-space-sm); }
.nt-mb-md { margin-bottom: var(--nt-space-md); }
.nt-mb-lg { margin-bottom: var(--nt-space-lg); }

.nt-divider {
  height: 1px;
  margin: var(--nt-space-md) 0;
  background: var(--nt-border);
}

.nt-help {
  font-size: 0.85rem;
  color: var(--nt-text-muted);
}

/* --------------------------------------------------------------------------
   Desktop / Mobile visibility
   -------------------------------------------------------------------------- */
.nt-desktop-only {
  display: block;
}

.nt-mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .nt-desktop-only { display: none !important; }
  .nt-mobile-only { display: flex !important; }
}

/* --------------------------------------------------------------------------
   Mobile navigation — User section in burger
   -------------------------------------------------------------------------- */
.nt-nav-user-section {
  flex-direction: column;
}

.nt-nav-user-divider {
  height: 1px;
  background: var(--nt-border);
  margin: var(--nt-space-sm) 0;
}

.nt-nav-user-identity {
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  padding: var(--nt-space-sm) var(--nt-space-md);
  margin-bottom: 2px;
}

.nt-nav-user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nt-text);
}

.nt-nav-user-section a {
  padding: var(--nt-space-sm) var(--nt-space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nt-text-secondary);
  border-radius: var(--nt-radius-sm);
  transition: all var(--nt-transition-fast);
}

.nt-nav-user-section a:hover {
  color: var(--nt-text);
  background: var(--nt-bg-hover);
}

.nt-nav-logout-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--nt-space-sm) var(--nt-space-md);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nt-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--nt-radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--nt-transition-fast);
}

.nt-nav-logout-btn:hover {
  color: var(--nt-danger);
  background: rgba(239, 68, 68, 0.06);
}

/* Desktop separator (hidden on mobile) */
.nt-nav-sep-desktop {
  width: 1px;
  height: 20px;
  background: var(--nt-border);
  margin: 0 var(--nt-space-sm);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nt-burger {
    display: flex;
  }

  .nt-site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--nt-space-md);
    background: rgba(13, 13, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nt-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--nt-transition-fast);
    overflow-y: auto;
  }

  .nt-site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nt-site-nav a:not(.nt-btn) {
    padding: var(--nt-space-md);
  }

  .nt-nav-sep-desktop {
    display: none;
  }

  .nt-site-nav .nt-btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--nt-space-sm);
  }

  /* Burger animation */
  .nt-burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nt-burger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .nt-burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nt-hero {
    padding: 48px 0 32px;
  }

  /* Hide app preview on small screens */
  .nt-app-preview {
    display: none;
  }

  .nt-callout {
    flex-direction: column;
    text-align: center;
  }

  .nt-form-grid {
    grid-template-columns: 1fr;
  }

  .nt-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .nt-steps::before {
    left: 18px;
  }
}

/* Tablet: show preview but simplified */
@media (min-width: 769px) and (max-width: 899px) {
  .nt-app-preview {
    display: none;
  }
}

@media (min-width: 769px) {
  .nt-account-card-half {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .nt-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 1024px) {
  .nt-hero {
    padding: 100px 0 80px;
  }
}

/* --------------------------------------------------------------------------
   Extra UI Components (sitebar, menus, etc.)
   -------------------------------------------------------------------------- */
.nt-sitebar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13, 13, 23, 0.8);
  border-bottom: 1px solid var(--nt-border);
}

.nt-sitebar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nt-sitebar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nt-topnav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nt-topnav a {
  text-decoration: none;
  color: var(--nt-text-secondary);
  padding: 8px 12px;
  border-radius: var(--nt-radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--nt-transition-fast);
}

.nt-topnav a:hover {
  background: var(--nt-bg-hover);
  color: var(--nt-text);
}

.nt-topnav a.is-active {
  background: var(--nt-bg-active);
  color: var(--nt-primary-light);
}

.nt-userbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--nt-radius-md);
  border: 1px solid var(--nt-border);
  background: var(--nt-bg-hover);
  color: var(--nt-text);
  cursor: pointer;
  font: inherit;
  transition: all var(--nt-transition-fast);
}

.nt-userbtn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--nt-border-light);
}

.nt-userbtn-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.nt-menu {
  position: absolute;
  right: 18px;
  top: 60px;
  width: 220px;
  border-radius: var(--nt-radius-md);
  border: 1px solid var(--nt-border);
  background: rgba(18, 18, 31, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: var(--nt-space-xs);
  display: none;
}

.nt-menu.is-open {
  display: block;
}

.nt-menu a,
.nt-menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--nt-text-secondary);
  padding: var(--nt-space-sm) var(--nt-space-md);
  border-radius: var(--nt-radius-sm);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--nt-space-sm);
  transition: all var(--nt-transition-fast);
}

.nt-menu a:hover,
.nt-menu button:hover {
  background: var(--nt-bg-hover);
  color: var(--nt-text);
}

.nt-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nt-space-md);
}

@media (min-width: 860px) {
  .nt-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.nt-form-row {
  display: grid;
  gap: 8px;
}

.nt-form-row label {
  font-size: 0.85rem;
  color: var(--nt-text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */
.nt-legal {
  line-height: 1.75;
  color: var(--nt-text-secondary);
}

.nt-legal h2 {
  margin: var(--nt-space-xl) 0 var(--nt-space-md);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nt-text);
}

.nt-legal h2:first-child {
  margin-top: 0;
}

.nt-legal h3 {
  margin: var(--nt-space-lg) 0 var(--nt-space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nt-text);
}

.nt-legal p {
  margin: 0 0 var(--nt-space-sm);
}

.nt-legal a {
  color: var(--nt-primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--nt-transition-fast);
}

.nt-legal a:hover {
  text-decoration-color: var(--nt-primary-light);
}

.nt-legal-block {
  padding: var(--nt-space-md) var(--nt-space-lg);
  margin: var(--nt-space-md) 0;
  background: var(--nt-bg-card);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-md);
}

.nt-legal-block p {
  margin: 0 0 4px;
}

.nt-legal-block p:last-child {
  margin: 0;
}

.nt-legal-list {
  margin: var(--nt-space-sm) 0 var(--nt-space-md);
  padding-left: var(--nt-space-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nt-legal-list li {
  line-height: 1.65;
}

.nt-legal-list li::marker {
  color: var(--nt-primary);
}

.nt-legal-update {
  margin-top: var(--nt-space-xl);
  padding-top: var(--nt-space-lg);
  border-top: 1px solid var(--nt-border);
  font-size: 0.85rem;
  color: var(--nt-text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Legal Consent Checkboxes (register + pricing)
   -------------------------------------------------------------------------- */
.nt-legal-consent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--nt-space-md) 0;
}

.nt-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--nt-text-secondary);
}

.nt-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  border: 2px solid var(--nt-border);
  border-radius: 4px;
  background: var(--nt-bg-card);
  cursor: pointer;
  transition: all var(--nt-transition-fast);
  position: relative;
}

.nt-checkbox input[type="checkbox"]:checked {
  background: var(--nt-primary);
  border-color: var(--nt-primary);
}

.nt-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.nt-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--nt-primary);
  outline-offset: 2px;
}

.nt-checkbox a {
  color: var(--nt-primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.3);
  text-underline-offset: 2px;
}

.nt-checkbox a:hover {
  text-decoration-color: var(--nt-primary-light);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nt-hero-content {
  animation: fadeInUp 0.6s ease both;
}

.nt-cards .nt-card {
  animation: fadeInUp 0.5s ease both;
}

.nt-cards .nt-card:nth-child(1) { animation-delay: 0.1s; }
.nt-cards .nt-card:nth-child(2) { animation-delay: 0.2s; }
.nt-cards .nt-card:nth-child(3) { animation-delay: 0.3s; }

.nt-step {
  animation: fadeInUp 0.5s ease both;
}

.nt-step:nth-child(1) { animation-delay: 0.1s; }
.nt-step:nth-child(2) { animation-delay: 0.2s; }
.nt-step:nth-child(3) { animation-delay: 0.3s; }

/* -------------------------------------------------------------------------- */
/* Problem block (Tu connais ce moment…)                                       */
/* -------------------------------------------------------------------------- */
.nt-problem-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

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

.nt-problem-lead{
  margin-top: 8px;
  max-width: 60ch;
}

.nt-problem-card{
  margin-top: 16px;
  padding: 18px;
}

.nt-problem-question{
  font-weight: 700;
  margin: 0 0 10px;
}

.nt-problem-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.nt-problem-list li{
  display: flex;
  gap: 10px;
  color: var(--nt-text-muted);
  line-height: 1.5;
}

.nt-problem-list li::before{
  content: "•";
  color: rgba(139, 92, 246, 0.85);
}

.nt-problem-list .nt-problem-sep{
  height: 10px;
}

.nt-problem-list .nt-problem-sep::before{
  content: "";
}

.nt-problem-ending{
  margin-top: 12px;
  color: var(--nt-text);
}

.nt-problem-punch{
  margin-top: 10px;
  font-size: 1.05rem;
}

.nt-problem-origin{
  margin-top: 14px;
  max-width: 75ch;
}

.nt-problem-aside{
  padding: 18px;
}

.nt-problem-benefits{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--nt-text-muted);
  display: grid;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Hero — Background Japon (SVG inline)
   -------------------------------------------------------------------------- */
.nt-hero{
  position: relative;
  overflow: hidden;
}

/* place le SVG en watermark derrière */
.nt-hero-japan{
  position: absolute;
  right: -2%;
  top: -6%;
  width: min(720px, 65vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  transform: scale(0.75);
  opacity: 1; /* on gère l'opacité via fill/stroke */
}

/* le contenu doit rester au-dessus */
.nt-hero .nt-container{
  position: relative;
  z-index: 1;
}

.nt-hero-japan-shape{
  fill: rgba(139, 92, 246, 0.05);   /* 5% */
  stroke: rgba(139, 92, 246, 0.12); /* 12% */
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* option premium: fade vers la gauche */
.nt-hero-japan{
  mask-image: linear-gradient(to left, black 40%, transparent 95%);
}

@media (max-width: 768px){
  .nt-hero-japan{
    display: none;
  }
}

/* ========================================================================== */
/* Problem block — Narrative guide (organic path + filled nodes)               */
/* ========================================================================== */

.nt-problem-wrap{
  position: relative;
}

/* The decorative path */
.nt-problem-path{ display:none; }

/* Flow content sits to the right of the path */
.nt-problem-flow{
  position: relative;
  padding-left: 0;
  max-width: 860px;
}

/* Steps */
.nt-problem-step{
  position: relative;
  margin-top: 14px;
}

.nt-problem-step:first-child{
  margin-top: 0;
}

/* Filled node */
.nt-problem-step::before{ display:none; }

/* Major moments */
.nt-problem-step--major::before{
  width: 12px;
  height: 12px;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.38);
}

/* Impact + answer moments */
.nt-problem-step--impact::before,
.nt-problem-step--answer::before{
  width: 12px;
  height: 12px;
  background: rgba(167, 139, 250, 0.98);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.46);
}

.nt-problem-lead{
  margin-top: 6px;
  max-width: 64ch;
}

.nt-problem-question{
  font-weight: 800;
  margin: 8px 0 0;
}

/* The chaos list becomes scannable, not a wall */
.nt-problem-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  max-width: 68ch;
}

.nt-problem-list li{
  position: relative;
  color: var(--nt-text-secondary);
  line-height: 1.55;
  padding-left: 22px;
}

/* small filled bullets */
.nt-problem-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.22);
}

/* spacer inside list */
.nt-problem-list .nt-problem-sep{
  height: 10px;
  padding-left: 0;
}
.nt-problem-list .nt-problem-sep::before{
  content: "";
  position: static;
  display: block;
  width: 100%;
  height: 1px;
  margin: 10px 0 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* Punchline styling */
.nt-problem-ending{
  margin: 14px 0 0;
  color: var(--nt-text);
}

.nt-problem-ending strong{
  background: rgba(139, 92, 246, 0.10);
  padding: 2px 6px;
  border-radius: 6px;
}

.nt-problem-punch{
  margin: 10px 0 0;
  font-size: 1.05rem;
}

/* Solution block (still inside the story flow) */
.nt-problem-solution{
  margin-top: 16px;
  padding: 18px;
  border-color: rgba(139, 92, 246, 0.18);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10) 0%, rgba(18, 18, 31, 0.55) 65%, rgba(18, 18, 31, 0.45) 100%);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(139, 92, 246, 0.06);
}

.nt-problem-solution h3{
  margin: 0 0 10px;
}

.nt-problem-benefits{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--nt-text-secondary);
}

.nt-problem-benefits li{
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

/* check bullets */
.nt-problem-benefits li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.28);
  font-weight: 800;
  font-size: 0.85rem;
}

.nt-problem-origin{
  margin-top: 12px;
  max-width: 78ch;
  color: var(--nt-text-muted);
}

/* Responsive: remove path and left rail on small screens */
@media (max-width: 768px){
  .nt-problem-path{ display: none; }
  .nt-problem-flow{ padding-left: 0; }
  .nt-problem-step::before{ display: none; }
}