/* ═══════════════════════════════════════════════════════════════
   Χειραψία — How It Works page styles (Dark Theme)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero strip ──────────────────────────────────────────────── */
.hiw-hero {
  background: linear-gradient(135deg, #08111c 0%, #112236 60%, #0D1B2A 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,67,.1);
}
.hiw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -20%, rgba(99,140,210,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hiw-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: .75rem 2rem;
  align-items: start;
}
.hiw-back {
  grid-column: 1 / -1;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(232,237,248,.45);
  transition: color .2s;
  width: fit-content;
}
.hiw-back:hover { color: var(--gold); }

.hiw-hero-text { grid-column: 1; }
.hiw-hero-text .section-label { color: var(--gold); }
.hiw-hero-text h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: .4rem 0 .75rem;
}
.hiw-hero-text p {
  color: rgba(232,237,248,.6);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.65;
}

.hiw-hero-dots {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
  padding-top: .5rem;
}
.hiw-step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: all .25s;
  display: block;
}
.hiw-step-dot--active {
  background: var(--gold);
  height: 22px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .hiw-hero-inner { grid-template-columns: 1fr; }
  .hiw-hero-dots { display: none; }
}

/* ── Slides section ──────────────────────────────────────────── */
.hiw-slides-section {
  padding: 3rem 0 2.5rem;
  background: var(--bg);
  min-height: 420px;
}

.hiw-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,67,.15);
  background: var(--bg-alt);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
  min-height: 360px;
}

.hiw-slide {
  display: none;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  align-items: flex-start;
  animation: slide-in .3s ease;
}
.hiw-slide.hiw-slide--active { display: grid; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hiw-slide.hiw-slide--from-left { animation: slide-in-left .3s ease; }

@media (max-width: 640px) {
  .hiw-slide { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.5rem; }
}

/* Slide icon */
.hiw-slide-icon {
  width: 80px; height: 80px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hiw-slide-icon svg { width: 38px; height: 38px; }

.hiw-icon--blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.hiw-icon--green  { background: rgba(52,211,153,.12);  color: #34D399; }
.hiw-icon--gold   { background: rgba(201,168,67,.12);  color: #C9A843; }
.hiw-icon--purple { background: rgba(167,139,250,.12); color: #a78bfa; }
.hiw-icon--amber  { background: rgba(245,158,11,.12);  color: #F59E0B; }

/* Slide content */
.hiw-slide-content { display: flex; flex-direction: column; gap: .85rem; }

.hiw-slide-num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.hiw-slide-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  color: #fff;
  margin: 0;
}
.hiw-slide-body {
  font-size: 1rem;
  color: rgba(232,237,248,.6);
  line-height: 1.7;
  margin: 0;
}
.hiw-slide-body strong { color: var(--text); font-weight: 700; }

/* Highlight box */
.hiw-highlight {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(201,168,67,.07);
  border: 1px solid rgba(201,168,67,.2);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .9rem;
  color: rgba(232,237,248,.8);
  font-weight: 500;
  margin-top: .25rem;
}
.hiw-highlight-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }

/* Mini steps */
.hiw-steps-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}
.hiw-step-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  font-size: .8rem;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  flex: 1;
  min-width: 90px;
}
.hiw-step-mini-icon { font-size: 1.3rem; }
.hiw-step-mini-arrow { color: rgba(232,237,248,.35); font-size: 1rem; }

/* Ink bar */
.hiw-ink-bar {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .25rem;
}
.hiw-ink-label {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}
.hiw-ink-count { color: var(--gold); }
.hiw-ink-track {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.hiw-ink-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width .8s ease;
}
.hiw-ink-note { font-size: .78rem; color: rgba(232,237,248,.45); }

/* Rating preview */
.hiw-rating-preview {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .25rem;
}
.hiw-rating-stars { font-size: 1.3rem; color: var(--gold); letter-spacing: 2px; }
.hiw-rating-tags  { display: flex; gap: .4rem; flex-wrap: wrap; }
.hiw-tag {
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 99px;
  border: 1px solid;
}
.hiw-tag--pos { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.4); color: #34D399; }
.hiw-tag--neg { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.4); color: #F87171; }
.hiw-rating-note { font-size: .78rem; color: rgba(232,237,248,.45); }

/* Steps list */
.hiw-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 0;
}
.hiw-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .92rem;
  color: rgba(232,237,248,.6);
  line-height: 1.55;
}
.hiw-steps-list li span {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: .05rem;
}
.hiw-steps-list li strong { color: var(--text); }

/* Level/reliability preview */
.hiw-level-row {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.hiw-level-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,168,67,.08);
  border: 1px solid rgba(201,168,67,.2);
  border-radius: 50px;
  padding: .35rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(232,237,248,.55);
}
.hiw-level-badge.active {
  background: rgba(201,168,67,.18);
  border-color: var(--gold);
  color: var(--gold);
}

.hiw-verify-row {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .25rem;
}
.hiw-verify-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  color: rgba(232,237,248,.6);
}
.hiw-verify-item.done { color: #34D399; }
.hiw-verify-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  flex-shrink: 0;
}
.hiw-verify-item.done .hiw-verify-icon { background: rgba(52,211,153,.12); }

/* ── Navigation ──────────────────────────────────────────────── */
.hiw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.hiw-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  color: rgba(232,237,248,.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.hiw-nav-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.hiw-nav-btn:disabled { opacity: .25; cursor: default; }

.hiw-nav-btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.hiw-nav-btn--primary:hover:not(:disabled) {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
}
.hiw-nav-btn--done {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  width: auto;
  padding: 0 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  gap: .4rem;
}
.hiw-nav-btn--done:hover:not(:disabled) {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.hiw-dots {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.hiw-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.hiw-dot--active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

.hiw-counter {
  text-align: center;
  font-size: .8rem;
  color: rgba(232,237,248,.4);
  font-weight: 600;
  margin-top: .6rem;
}
