/* ═══════════════════════════════════════════════
   PAJI Guide Page – guide.css
   Full-screen product manual / tutorial slider
   ═══════════════════════════════════════════════ */

/* ── Body: lock scroll, full-height ── */
.guide-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* Active nav link */
.nav-link-active {
  color: var(--accent) !important;
}

/* ══════════════════════════════════════
   GUIDE MAIN LAYOUT
══════════════════════════════════════ */
.guide-main {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

/* ══════════════════════════════════════
   TUTORIAL TABS
══════════════════════════════════════ */
.guide-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  flex-shrink: 0;
  z-index: 10;
}

.guide-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
  font-family: inherit;
  letter-spacing: .01em;
  user-select: none;
}

.guide-tab:hover {
  border-color: rgba(212,175,122,.4);
  color: var(--text);
}

.guide-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.guide-tab-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SLIDE VIEWPORT
══════════════════════════════════════ */
.guide-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

/* Tutorial wrapper */
.guide-tutorial {
  position: absolute;
  inset: 0;
  display: none;
}

.guide-tutorial.is-active {
  display: block;
}

/* Horizontal slides track */
.guide-slides-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Single slide */
.guide-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 60px;
  overflow: hidden;
}

.guide-slide--overview {
  padding: 20px 48px;
}

/* ══════════════════════════════════════
   SLIDE INNER: TWO COLUMN
══════════════════════════════════════ */
.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

/* Centered / overview layout */
.slide-inner--centered {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 860px;
}

/* ── Slide Text Column ── */
.slide-text {
  display: flex;
  flex-direction: column;
}

.slide-text--centered {
  align-items: center;
  text-align: center;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.slide-step-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(212,175,122,.28);
}

.slide-tutorial-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.slide-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}

.slide-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
}

/* ── Tip card ── */
.slide-tip-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.stc-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.stc-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Flow rows (step 2) ── */
.slide-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.flow-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
}

.flow-sep {
  height: 1px;
  background: var(--border);
  margin: 0 18px;
}

.flow-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  margin-top: 2px;
}

.flow-badge--new {
  background: rgba(129,140,248,.15);
  color: #818cf8;
  border: 1px solid rgba(129,140,248,.28);
}

.flow-badge--login {
  background: rgba(52,211,153,.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,.28);
}

.flow-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Highlight card (step 3) ── */
.slide-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(212,175,122,.07), rgba(212,175,122,.02));
  border: 1px solid rgba(212,175,122,.22);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.shc-paw {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.shc-body { flex: 1; }

.shc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.shc-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Slide Visual Column ── */
.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════
   NFC ILLUSTRATION (STEP 1)
══════════════════════════════════════ */
.nfc-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Phone */
.nfc-il-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nfc-il-phone-body {
  width: 120px;
  height: 214px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  padding: 7px;
  box-shadow: 0 16px 48px rgba(0,0,0,.45),
              0 0 0 1px rgba(255,255,255,.04);
}

.nfc-il-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px 10px;
  gap: 6px;
}

.nfc-il-status {
  font-size: 7px;
  color: var(--text-muted);
  align-self: flex-start;
  margin-left: 4px;
}

.nfc-il-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.25);
  border-radius: 5px;
  padding: 2px 6px;
  letter-spacing: .06em;
}

.nfc-il-nfc-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  margin-top: auto;
  margin-bottom: 8px;
}

.nfc-il-antenna-zone {
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dim);
  border: 1px dashed rgba(212,175,122,.55);
  border-radius: 8px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Waves + arrow */
.nfc-il-waves-wrap {
  position: relative;
  height: 56px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-il-arrow-anim {
  position: absolute;
  z-index: 2;
  animation: bncDown 1.4s ease-in-out infinite;
}

@keyframes bncDown {
  0%, 100% { transform: translateY(-3px); opacity: .7; }
  50%       { transform: translateY(3px);  opacity: 1; }
}

.nfc-il-wave {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: nfcWave 2.4s ease-out infinite;
}

.nfc-il-wave.w1 { width: 56px;  height: 24px; animation-delay: 0s; }
.nfc-il-wave.w2 { width: 104px; height: 44px; animation-delay: .5s; }
.nfc-il-wave.w3 { width: 160px; height: 64px; animation-delay: 1s; }

@keyframes nfcWave {
  0%   { opacity: .8; transform: scale(.3); }
  100% { opacity: 0;  transform: scale(1);  }
}

/* Cloth */
.nfc-il-cloth {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nfc-il-cloth-img {
  width: 125px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(212,175,122,.18));
}

.nfc-il-chip-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(212,175,122,.35);
  border-radius: 7px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
}

/* ══════════════════════════════════════
   PHONE MOCKUP (STEPS 2 & 3)
══════════════════════════════════════ */
.guide-phone-mockup {
  position: relative;
}

.gpm-body {
  width: 210px;
  height: 420px;
  border-radius: 34px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  padding: 10px;
  box-shadow: 0 28px 72px rgba(0,0,0,.55),
              0 0 0 1px rgba(255,255,255,.04);
}

.gpm-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 10px;
  gap: 0;
  overflow: hidden;
}

.gpm-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.gpm-app-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 12px;
  flex-shrink: 0;
}

.gpm-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
}

/* Dialog (step 2) */
.gpm-dialog {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}

.gpm-chip-icon {
  color: var(--accent);
  margin-bottom: 2px;
  animation: chipGlowPulse 2.4s ease-in-out infinite;
}

@keyframes chipGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(212,175,122,.3)); }
  50%       { filter: drop-shadow(0 0 14px rgba(212,175,122,.6)); }
}

.gpm-d-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.gpm-d-sub {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.gpm-d-warn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #f59e0b;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 7px;
  padding: 5px 10px;
  margin: 2px 0;
  width: 100%;
  justify-content: center;
}

.gpm-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .03em;
  transition: opacity .2s;
  border: none;
}

.gpm-btn--primary {
  background: var(--accent);
  color: #000;
}

.gpm-btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Success area (step 3) */
.gpm-success-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.gpm-success-badge {
  animation: popIn .6s cubic-bezier(.34,1.56,.64,1) both;
  color: var(--green);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.gpm-success-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .04em;
}

.gpm-success-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  padding: 0 8px;
}

.gpm-phil-card {
  position: relative;
  width: 100%;
  background: linear-gradient(145deg, #1f1a12 0%, #0f0d0a 100%);
  border: 1px solid rgba(212,175,122,.28);
  border-radius: 13px;
  padding: 12px 12px 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.gpm-phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.gpm-phil-num {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 6px;
}

.gpm-phil-paw {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 22px;
  opacity: .07;
  pointer-events: none;
}

.gpm-phil-text {
  font-size: 9.5px;
  line-height: 1.75;
  color: #e0d8cc;
  font-weight: 300;
}

.gpm-phil-hint {
  font-size: 8px;
  color: rgba(212,175,122,.5);
  margin-top: 6px;
  letter-spacing: .06em;
}

/* ══════════════════════════════════════
   APP FEATURES GRID (TUTORIAL 1)
══════════════════════════════════════ */
.app-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.afg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.afg-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212,175,122,.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.afg-item:hover {
  background: var(--bg-card-2);
  border-color: rgba(212,175,122,.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212,175,122,.1);
}

.afg-item:hover::before { opacity: 1; }

.afg-icon-wrap {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 14px;
  border: 1px solid rgba(212,175,122,.15);
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.afg-item:hover .afg-icon-wrap {
  background: rgba(212,175,122,.2);
  box-shadow: 0 0 16px rgba(212,175,122,.2);
}

.afg-item > span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  transition: color var(--transition);
}

.afg-item:hover > span { color: var(--text); }

/* Arrow hint on each grid item */
.afg-arrow {
  position: absolute;
  bottom: 7px;
  right: 8px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}
.afg-item:hover .afg-arrow {
  opacity: .75;
  transform: translateX(0);
}

/* ── Back link on detail slides ── */
.slide-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 14px;
  transition: color var(--transition);
  user-select: none;
  width: fit-content;
}
.slide-back-link:hover { color: var(--accent); }
.slide-back-link svg { flex-shrink: 0; }

/* ── Feature bullet list ── */
.slide-feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.slide-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}
.slide-feature-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}

body.theme-light .slide-back-link { color: rgba(0,0,0,.4); }
body.theme-light .slide-feature-list li { color: rgba(0,0,0,.55); }
body.theme-candy .slide-back-link { color: rgba(255,255,255,.45); }
body.theme-candy .slide-feature-list li { color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════
   BOTTOM CONTROLS
══════════════════════════════════════ */
.guide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-soft);
}

.guide-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
  flex-shrink: 0;
}

.guide-ctrl-btn:hover:not(:disabled) {
  background: var(--bg-card-2);
  border-color: var(--accent);
  transform: scale(1.08);
}

.guide-ctrl-btn:disabled {
  opacity: .28;
  cursor: not-allowed;
  transform: none !important;
}

/* Progress dots */
.guide-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.guide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
  padding: 0;
}

.guide-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.4);
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET ≤ 900px
══════════════════════════════════════ */
@media (max-width: 900px) {
  .guide-slide {
    padding: 20px 32px;
  }

  .slide-inner {
    gap: 40px;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  .guide-slide {
    padding: 16px 20px;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .guide-slide--overview {
    padding: 14px 16px;
    align-items: center;
  }

  .slide-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding-bottom: 12px;
  }

  /* On mobile, visual on top, text below */
  .slide-text  { order: 2; }
  .slide-visual { order: 1; }

  /* Phone mockup on mobile — no shrink, natural size */
  .nfc-illustration {
    gap: 14px;
    transform: none;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .guide-phone-mockup {
    transform: scale(0.88);
    transform-origin: center top;
    margin-top: 10px;
    margin-bottom: -28px;
  }

  /* Feature grid: 4 cols on mobile */
  .app-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .afg-item {
    padding: 12px 6px 10px;
    gap: 7px;
  }

  .afg-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .afg-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .afg-item > span {
    font-size: 10px;
  }

  .guide-tabs {
    gap: 8px;
    padding: 8px 16px;
  }

  .guide-tab {
    padding: 7px 14px;
    font-size: 12px;
  }

  .slide-title {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem);
    margin-bottom: 12px;
  }

  .slide-desc {
    font-size: 0.875rem;
  }

  .guide-ctrl-btn {
    width: 40px;
    height: 40px;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE ≤ 430px
══════════════════════════════════════ */
@media (max-width: 430px) {
  .app-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .nfc-illustration {
    transform: scale(0.88);
    transform-origin: center top;
    margin-bottom: -16px;
  }

  .guide-phone-mockup {
    transform: scale(0.78);
    transform-origin: center top;
    margin-bottom: -52px;
  }
}

/* ══════════════════════════════════════
   SWIPE DRAG FEEL (visual)
══════════════════════════════════════ */
.guide-slides-track.is-dragging {
  transition: none;
}

/* ══════════════════════════════════════
   LIGHT THEME OVERRIDES
══════════════════════════════════════ */
body.theme-light .guide-main,
body.theme-light .guide-tabs,
body.theme-light .guide-controls {
  background: var(--bg-soft);
  border-color: var(--border);
}

body.theme-light .guide-tab {
  border-color: var(--border);
  color: var(--text-muted);
}
body.theme-light .guide-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
body.theme-light .guide-ctrl-btn {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

/* NFC phone illustration */
body.theme-light .nfc-il-phone-body {
  background: var(--bg-card-2);
  border-color: var(--border);
}

/* Features grid */
body.theme-light .afg-item {
  background: var(--bg-card);
  border-color: var(--border);
}
body.theme-light .afg-item:hover {
  background: var(--bg-card-2);
}
body.theme-light .afg-item > span { color: var(--text-muted); }

/* Slide components */
body.theme-light .slide-tip-card,
body.theme-light .slide-flow {
  background: var(--bg-card);
  border-color: var(--border);
}
body.theme-light .slide-tip-card {
  border-left-color: var(--accent);
}
body.theme-light .slide-highlight-card {
  background: linear-gradient(135deg, rgba(160,120,64,.07), rgba(160,120,64,.02));
  border-color: rgba(160,120,64,.22);
}
body.theme-light .flow-sep { background: var(--border); }


/* ══════════════════════════════════════
   CANDY THEME OVERRIDES
══════════════════════════════════════ */
body.theme-candy .guide-main,
body.theme-candy .guide-tabs,
body.theme-candy .guide-controls {
  background: var(--bg-soft);
  border-color: var(--border);
}

body.theme-candy .guide-tab {
  border-color: var(--border);
  color: var(--text-muted);
}
body.theme-candy .guide-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
body.theme-candy .guide-ctrl-btn {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

/* NFC phone illustration */
body.theme-candy .nfc-il-phone-body {
  background: var(--bg-card);
  border-color: var(--border);
}
/* Features grid */
body.theme-candy .afg-item {
  background: var(--bg-card);
  border-color: var(--border);
}
body.theme-candy .afg-item:hover {
  background: var(--bg-card-2);
  border-color: rgba(93,164,188,.35);
}
body.theme-candy .afg-item > span { color: var(--text-muted); }
body.theme-candy .afg-icon-wrap {
  background: var(--accent-dim);
  border-color: rgba(93,164,188,.15);
}

/* Slide components */
body.theme-candy .slide-tip-card,
body.theme-candy .slide-flow {
  background: var(--bg-card);
  border-color: var(--border);
}
body.theme-candy .slide-tip-card {
  border-left-color: var(--accent);
}
body.theme-candy .slide-highlight-card {
  background: linear-gradient(135deg, rgba(93,164,188,.08), rgba(93,164,188,.02));
  border-color: rgba(93,164,188,.22);
}
body.theme-candy .shc-title { color: var(--accent); }
body.theme-candy .flow-sep { background: var(--border); }
body.theme-candy .flow-badge--new {
  background: rgba(93,164,188,.12);
  color: var(--accent);
  border-color: rgba(93,164,188,.28);
}
body.theme-candy .flow-badge--login {
  background: rgba(77,128,96,.12);
  color: var(--green);
  border-color: rgba(77,128,96,.28);
}
