/* ---- NAV ---- */
.nuri-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nuri-nav.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

/* ---- SCROLL PROGRESS LINE ---- */
.scroll-progress {
  position: fixed;
  left: 0; top: 0;
  width: 2px;
  height: 0%;
  background: var(--accent);
  z-index: 999;
  pointer-events: none;
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 88vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 96px 0 48px;
}

#waveCanvas { display: none; }

/* HERO BLOBS -- morphing, visible, warm */
.hero-blob {
  position: absolute;
  filter: blur(72px);
  pointer-events: none;
  display: block;
  will-change: transform;
}
.hero-blob-a {
  width: 680px; height: 680px;
  background: linear-gradient(135deg, rgba(255,107,53,.22), rgba(255,184,77,.14));
  top: -200px; right: -160px;
  animation: drift-a 20s ease-in-out infinite, blob-morph 11s ease-in-out infinite;
}
.hero-blob-b {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(255,184,77,.16), transparent 68%);
  bottom: 40px; left: -100px;
  animation: drift-b 26s ease-in-out infinite, blob-morph 15s ease-in-out infinite reverse;
}
.hero-blob-c {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,.10), transparent 68%);
  top: 32%; left: 40%;
  animation: drift-c 32s ease-in-out infinite;
}

/* TICKER */
.ticker-section {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,107,53,.15);
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,107,53,.7);
  padding: 0 20px;
  transition: color .2s;
}
.ticker-item:hover { color: var(--accent); }
.ticker-sep {
  color: rgba(255,107,53,.25);
  font-size: 16px;
  line-height: 1;
}

.hero-content { position: relative; z-index: 2; }
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--neutral-600);
  max-width: 500px;
  margin-top: 24px;
  margin-bottom: 40px;
}

/* ---- STATS ---- */
.stats-section {
  padding: 28px 0;
  background: var(--white);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}
.stat-item { text-align: center; padding: 0 16px; }
.stat-item + .stat-item { border-left: 1px solid var(--neutral-200); }
.stat-big {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -1px;
}
.stat-big em { font-style: normal; color: var(--accent); }
.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--neutral-600);
  margin-top: 6px;
}

/* ---- GAP (editorial) ---- */
.gap-section {
  padding: 72px 0;
  background: var(--neutral-100);
}
.gap-contrast { border-left: 2px solid transparent; padding-left: 24px; margin-bottom: 32px; }
.gap-contrast.before { border-color: var(--neutral-300, #ddd); }
.gap-contrast.after  { border-color: var(--accent); }
.gap-contrast-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.gap-contrast.before .gap-contrast-tag { color: var(--neutral-600); }
.gap-contrast.after  .gap-contrast-tag { color: var(--accent); }
.gap-contrast-text {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.5px;
}
.gap-contrast.before .gap-contrast-text { color: var(--neutral-600); }
.gap-contrast.after  .gap-contrast-text { color: var(--primary); }

/* ---- HOW IT WORKS ---- */
.how-section { padding: 72px 0 120px; background: var(--white); overflow: visible; }

/* Phone mockup stack — mobile first */
/* Mobile: side-by-side flex */
.phones-mobile-clip {
  overflow: hidden;
  width: 100%;
}
.phones-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 8px 0;
}
.phone {
  flex: 0 0 42%;
  max-width: 155px;
  will-change: transform;
}
.phone-frame {
  border-radius: 28px;
  border: 7px solid #111;
  box-shadow: 0 20px 50px rgba(0,0,0,.22), 0 6px 14px rgba(0,0,0,.12);
  overflow: hidden;
  background: #111;
}
.phone-frame img {
  width: 100%;
  display: block;
}
.phone-back  { transform: rotate(-5deg); }
.phone-front { transform: rotate(4deg) translateY(28px); z-index: 2; }

/* Desktop: absolute parallax layout */
@media (min-width: 992px) {
  .phones-mobile-clip { overflow: visible; }
  .phones-wrap {
    display: block;
    position: relative;
    height: 800px;
    padding: 0;
    overflow: visible;
  }
  .phone {
    position: absolute;
    flex: none;
    max-width: none;
    width: 250px;
  }
  .phone-frame {
    border-radius: 42px;
    border-width: 10px;
  }
  .phone-back {
    top: 0;
    right: 0;
    transform: rotate(-6deg) translateY(0px);
    z-index: 1;
  }
  .phone-front {
    top: 160px;
    right: 190px;
    transform: rotate(4deg) translateY(0px);
    z-index: 2;
  }
}

/* ---- MOCK SCREEN CONTENT ---- */
.mock-progress-bar {
  height: 3px;
  background: #eee;
  border-radius: 2px;
  margin-bottom: 10px;
}
.mock-progress-fill {
  height: 100%;
  width: 33%;
  background: var(--accent);
  border-radius: 2px;
}
.mock-step-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}
.mock-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
  line-height: 1.2;
}
.mock-sub {
  font-size: 10px;
  color: #666;
  line-height: 1.45;
  margin-bottom: 10px;
}
.mock-upload-box {
  border: 1.5px dashed #ddd;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  margin-bottom: 10px;
}
.mock-upload-icon { font-size: 18px; color: var(--accent); display: block; margin-bottom: 4px; }
.mock-upload-text { font-size: 10px; font-weight: 600; color: #000; }
.mock-upload-hint { font-size: 9px; color: #999; margin-top: 2px; }
.mock-or { font-size: 9px; color: #999; margin-bottom: 6px; }
.mock-btn-row { display: flex; gap: 6px; margin-bottom: 10px; }
.mock-btn {
  flex: 1;
  border: 1.5px solid #eee;
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 9px;
  font-weight: 600;
  color: #000;
  text-align: center;
}
.mock-lab-label { font-size: 8px; font-weight: 700; letter-spacing: 1px; color: #999; margin-bottom: 5px; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.mock-chip { background: #f5f5f5; border-radius: 4px; padding: 2px 7px; font-size: 9px; font-weight: 600; color: #444; }
.mock-privacy { font-size: 9px; color: #999; display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.mock-cta-disabled {
  background: #f0f0f0;
  color: #bbb;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* detail screen */
.mock-back { font-size: 14px; color: #000; margin-bottom: 8px; }
.mock-nuri-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 4px; }
.mock-big-title { font-size: 17px; font-weight: 700; color: #000; margin-bottom: 6px; line-height: 1.2; }
.mock-marker-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mock-marker-name { font-size: 9px; color: #666; }
.mock-marker-value { font-size: 18px; font-weight: 700; color: #000; text-align: right; }
.mock-marker-value span { font-size: 10px; font-weight: 400; }
.mock-marker-status { font-size: 9px; color: var(--accent); font-weight: 600; text-align: right; }
.mock-why-title { font-size: 12px; font-weight: 700; color: #000; margin-bottom: 4px; }
.mock-why-body { font-size: 10px; color: #666; line-height: 1.45; margin-bottom: 10px; }
.mock-supp-card {
  background: #111;
  border-radius: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
}
.mock-supp-label { font-size: 8px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 4px; }
.mock-supp-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.mock-supp-sub { font-size: 9px; color: rgba(255,255,255,.5); }
.mock-habit-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-habit-icon { font-size: 16px; flex-shrink: 0; }
.mock-habit-title { font-size: 10px; font-weight: 600; color: #000; }
.mock-habit-sub { font-size: 9px; color: #999; margin-top: 1px; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
  padding: 24px 0;
  border-top: 1px solid var(--neutral-200);
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.process-step:last-child { border-bottom: 1px solid var(--neutral-200); }
.process-step.visible { opacity: 1; transform: none; }
.process-num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -1px;
}
.process-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.process-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--neutral-600);
  font-weight: 400;
  max-width: 520px;
}

/* ---- FEATURES (minimal) ---- */
.features-section {
  background: var(--primary);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
/* aurora -- static glow layer */
.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(255,107,53,.16) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 20%, rgba(255,184,77,.10) 0%, transparent 42%);
  animation: feat-aurora 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
/* cursor spotlight -- follows mouse via JS CSS vars */
.features-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 380px at var(--mx, -200px) var(--my, -200px), rgba(255,107,53,.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.features-section > .container-xl { position: relative; z-index: 2; }


/* Swipe deck (all sizes) */
.feat-swipe-all { margin-top: 48px; }
.swipe-deck-wrap {
  position: relative;
  height: 420px;
  margin: 0 auto;
  max-width: 520px;
  perspective: 1200px;
}
.swipe-card {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid rgba(255,107,53,.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  user-select: none;
  cursor: grab;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), opacity .4s ease;
  will-change: transform;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88) translateY(24px) rotateY(15deg);
}
.swipe-card:nth-child(1) {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0) rotateY(0deg);
  z-index: 10;
}
.swipe-card:nth-child(2) {
  opacity: 0.35;
  transform: scale(0.94) translateY(16px) rotateY(8deg);
  z-index: 9;
}
.swipe-card:nth-child(3) {
  opacity: 0.15;
  transform: scale(0.90) translateY(28px) rotateY(12deg);
  z-index: 8;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card:active { cursor: grabbing; }
.swipe-card-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.swipe-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.swipe-card-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  font-weight: 400;
  margin-bottom: 20px;
}
.swipe-card-tag {
  display: inline-block;
  background: rgba(255,107,53,.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 4px;
}
.swipe-hint {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.3);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swipe-counter {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 12px;
}

/* ---- REGISTER ---- */
.register-section { padding: 72px 0; background: var(--white); }

/* ---- FOOTER ---- */
.nuri-footer { background: var(--primary); padding: 52px 0 28px; }
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-top: 8px;
  max-width: 260px;
}
.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s ease;
  display: block;
}
.footer-links a:hover { color: var(--accent); }
.footer-divider { border-color: rgba(255,255,255,.1) !important; margin: 36px 0 24px; }
.footer-copy { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.3); }

/* ---- WAVE DIVIDER ---- */
.wave-div { display: none; }

/* ---- REVEAL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-in { opacity: 0; transition: opacity .6s ease; }
.fade-in.visible { opacity: 1; }
