/* ─── CORE ─── */
/* CORE — variables, reset, typography, layout base, buttons, cards, badges, browse, modal, mixanografiko */
/* Extracted verbatim από prototype_v2.html (authoritative <style>) */

:root {
  /* ===== v3 MINIMAL + COLOR =====
     Minimal επιτυγχάνεται μέσω typography/whitespace/shapes/shadows,
     όχι αφαιρώντας το χρώμα. Επαναφορά accent (orange) + petrol
     σημειακά, διατήρηση όλων των structural choices του v2. */
  --bg: #fafafa;
  --bg-2: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f5f5f5;
  --border: #e7e7e7;
  --border-2: #d4d4d4;
  --text: #0a0a0a;
  --text-dim: #525252;
  --text-faint: #a3a3a3;
  /* Χρώματα: σχεδόν pastel — orange-500 + teal-500.
     Πιο φιλικό για μαθητές/γονείς, διατήρηση contrast σε CTAs. */
  --accent: #f97316;          /* orange-500 (ήταν 600) */
  --accent-2: #fb923c;        /* orange-400 για lighter contexts */
  --accent-dim: #ea580c;      /* orange-600 — hover/active */
  --accent-soft: #fff7ed;     /* orange-50 — soft tints */
  --petrol: #14b8a6;          /* teal-500 (ήταν deep #0d7c8b) */
  --petrol-2: #2dd4bf;        /* teal-400 */
  --petrol-dim: #0d9488;      /* teal-600 — hover */
  --petrol-soft: #ecfdf5;     /* teal-50 */
  --green: #22c55e;           /* green-500 (λίγο πιο soft) */
  --indigo: #818cf8;          /* indigo-400 (πιο pastel) */
  /* Shadows + radii: minimal scale από v2 — ΟΧΙ επαναφορά heavy shadows */
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  letter-spacing: -0.005em;
}
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px -2px rgba(249,115,22,0.22);
}
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.015em; line-height: 1.15; }
.brand-tagline {
  font-size: 11.5px; color: var(--text-dim); font-weight: 500;
  letter-spacing: 0.01em; margin-top: 1px; line-height: 1.2;
}
/* legacy — αν υπάρχει ακόμα κάπου */
.brand-sub { display: none; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: none; color: var(--text-dim);
  padding: 8px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav-btn:hover { color: var(--text); background: var(--surface-2); }
.nav-btn.active { color: var(--text); font-weight: 600; }
/* legacy classes — neutral text rendering */
.nav-btn.ai,
.nav-btn.nav-primary,
.nav-btn.nav-test {
  background: transparent; color: var(--text-dim); border: none;
  font-weight: 500; padding: 8px 12px;
}
.nav-btn.nav-primary:hover,
.nav-btn.nav-test:hover,
.nav-btn.ai:hover {
  background: var(--surface-2); color: var(--text); box-shadow: none;
}
.nav-btn.nav-test::before { content: none; }
/* RIASEC nav badge — εμφανίζεται μόνο αν υπάρχει profile (via JS) */
#riasec-nav-badge {
  display: none;
  align-items: center;
  background: var(--accent); color: #fff;
  padding: 5px 11px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}
#riasec-nav-badge:hover { background: var(--accent-dim); transform: translateY(-1px); }
@media (max-width: 420px) { #riasec-nav-badge { display: none !important; } }

/* Compare header button — εμφανίζεται μόνο αν compareSet > 0 (via JS, pin.js φορτώνεται παντού) */
#header-cmp-btn {
  display: none;
  align-items: center; gap: 6px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  color: var(--text); padding: 7px 13px; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
}
#header-cmp-btn.show { display: inline-flex; }
#header-cmp-btn:hover { background: var(--surface-3); border-color: var(--accent); color: var(--accent); }
#header-cmp-btn .icon { width: 15px; height: 15px; }
#header-cmp-btn .hcb-count {
  background: var(--accent); color: #fff;
  border-radius: 10px; font-size: 11px; font-weight: 700;
  padding: 1px 6px; min-width: 18px; text-align: center; line-height: 1.6;
}
@media (max-width: 600px) { #header-cmp-btn .hcb-label { display: none; } }

/* Primary CTA — στα δεξιά, ένα και μοναδικό */
.cta-primary {
  background: var(--accent); color: white; border: none;
  padding: 9px 16px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.1s ease;
  cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.cta-primary:hover { background: var(--accent-dim); }
.cta-primary:active { transform: translateY(1px); }
.pin-badge-count {
  display: none;
  align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  background: var(--accent-soft); color: var(--accent-dim);
  border-radius: 9px;
  font-size: 11px; font-weight: 700;
  margin-left: 6px;
  padding: 0 6px;
  vertical-align: 1px;
}
.nav-group {
  display: flex; gap: 2px; align-items: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 4px; margin: 0 2px;
}
@media (max-width: 1171px) {
  .nav-group { flex-direction: column; border: none; padding: 0; gap: 4px; width: 100%; }
  .nav-btn.nav-primary { width: 100%; text-align: left; }
}

/* Card actions group */
.card-actions {
  display: flex; gap: 4px;
  align-items: center;
}
.card-action-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}
.card-action-btn .card-action-icon { line-height: 1; }
.card-action-btn:hover {
  background: var(--petrol-soft);
  border-color: var(--petrol);
}
.card-action-btn.active {
  background: var(--petrol);
  border-color: var(--petrol);
  color: white;
}
.card-action-check {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--green);
  color: white;
  font-size: 9px;
  font-weight: 800;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid white;
}

/* Pin buttons */
.pin-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 17px;
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.15s;
  padding: 0;
}
.pin-btn:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.pin-btn.pinned {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.pin-btn-mini {
  background: transparent; border: none;
  color: var(--text-faint); font-size: 14px;
  width: 22px; height: 22px;
  cursor: pointer; transition: all 0.15s;
  padding: 0; line-height: 1;
  margin-left: auto;
}
.pin-btn-mini:hover, .pin-btn-mini.pinned { color: var(--accent); }
.btn-primary-active { background: var(--accent); color: white; }
.btn-primary-active:hover { background: var(--accent-dim); }

/* Mixanografiko view */
.mix-empty {
  margin: 30px 0;
}
.mix-empty .empty-icon { font-size: 64px; margin-bottom: 18px; }
.mix-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 600px) { .mix-stats { grid-template-columns: repeat(2, 1fr); } }
.mix-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.mix-stat-l { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mix-stat-v { font-size: 20px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }

.mix-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.mix-row {
  display: grid;
  grid-template-columns: 36px 36px 1fr 100px 32px;
  gap: 12px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}
.mix-row:hover { border-color: var(--accent); }
.mix-order {
  width: 32px; height: 32px;
  background: var(--accent);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.mix-move { display: flex; flex-direction: column; gap: 2px; }
.mix-move button {
  width: 28px; height: 18px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: 12px;
  border-radius: 5px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mix-move button:hover:not(:disabled) { background: var(--surface-3); }
.mix-move button:disabled { opacity: 0.4; cursor: not-allowed; }
.mix-info { cursor: pointer; }
.mix-info:hover .mix-name { color: var(--accent); }
.mix-name { font-size: 14px; font-weight: 600; margin: 4px 0 2px; line-height: 1.3; }
.mix-meta { font-size: 11.5px; color: var(--text-dim); }
.mix-vasi { text-align: right; }
.mix-vasi-label { font-size: 9.5px; color: var(--text-faint); text-transform: uppercase; }
.mix-vasi-val { font-size: 18px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.mix-remove {
  width: 28px; height: 28px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 11px; border-radius: 7px;
  cursor: pointer; transition: all 0.15s;
}
.mix-remove:hover { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }
.mix-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .mix-row { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 10px 12px; }
  .mix-row .mix-move { display: none; }
}
@media (max-width: 480px) {
  .mix-row { grid-template-columns: 32px 1fr 32px; gap: 8px; padding: 10px; }
  .mix-row .mix-vasi { display: none; }
  .mix-name { font-size: 13px; }
}
.hamburger {
  display: none;
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1171px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 4px;
    padding: 12px;
    transform: translateY(-10px);
    opacity: 0; pointer-events: none;
    transition: all 0.2s ease;
  }
  .nav.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav .nav-btn { width: 100%; text-align: left; padding: 12px 16px; font-size: 14px; }
  .hamburger { display: flex; }
  .header-inner { padding: 12px 16px; position: relative; }
  .brand-sub { display: none; }
  .brand-tagline { display: none; }
  .cta-primary { font-size: 12.5px; padding: 7px 12px; }
}
@media (max-width: 420px) {
  .cta-primary { display: none; }
}
.view { display: none; padding-top: 86px; padding-bottom: 80px; }
.view.active { display: block; animation: fadeIn 0.35s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.hero { text-align: center; margin-bottom: 120px; padding-top: 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 12px; font-weight: 500;
  margin-bottom: 32px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 9vw, 88px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 28px 0;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.hero h1 .gradient {
  color: var(--text-dim);
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
}
.hero p {
  font-size: 19px; color: var(--text-dim);
  max-width: 620px; margin: 0 auto;
  line-height: 1.55;
  font-weight: 400;
}
.search-wrap {
  margin-top: 48px; max-width: 680px; margin-left: auto; margin-right: auto;
  position: relative;
}
/* Το icon κεντράρεται ως προς αυτό το row (όχι ως προς ολόκληρο το .search-wrap) —
   σε mobile το .search-btn στοιβάζεται από κάτω και μεγαλώνει το ύψος του wrap,
   οπότε ένα top:50% σχετικό με το wrap θα έσπρωχνε το icon πιο κάτω από το κέντρο
   του input. */
.search-input-row { position: relative; }
.search-input {
  width: 100%; padding: 22px 140px 22px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text); font-size: 16px;
  transition: all 0.2s;
  outline: none;
}
.search-input::placeholder { color: var(--text-faint); }
.search-input:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(249,115,22,0.10); }
.search-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--text-faint); font-size: 18px; }
.search-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 12px 22px;
  background: var(--accent);
  border: none; color: #fff; font-size: 14px; font-weight: 600;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.search-btn:hover { transform: translateY(-50%) scale(1.03); box-shadow: 0 6px 16px -4px rgba(249,115,22,0.5); }
@media (max-width: 480px) {
  .search-input { padding: 18px 18px 18px 48px; font-size: 15px; }
  .search-icon { left: 16px; font-size: 16px; }
  .search-btn { position: static; transform: none; width: 100%; margin-top: 10px; padding: 14px 22px; }
  .search-btn:hover { transform: none; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px; color: var(--text-dim);
  transition: all 0.15s;
}
.chip:hover { background: var(--surface-2); border-color: var(--petrol); color: var(--text); }
.chip-browse {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--petrol-soft);
  border-color: var(--petrol);
  color: var(--petrol-dim);
  font-weight: 600;
}
.chip-browse .icon { width: 13px; height: 13px; }
.chip-browse:hover { background: var(--petrol); border-color: var(--petrol-dim); color: #fff; }
.chips-browse { margin-top: 8px; }
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 80px; }
@media (max-width: 760px) { .personas { grid-template-columns: 1fr; } }
.persona {
  text-align: left;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.persona:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.persona-1 { background: linear-gradient(155deg, #fff7ed 0%, var(--surface) 80%); border-color: #fed7aa; }
.persona-1:hover { border-color: var(--accent); }
.persona-2 { background: linear-gradient(155deg, #ecfbfd 0%, var(--surface) 80%); border-color: #a5e8f0; }
.persona-2:hover { border-color: var(--petrol); }
.persona-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.persona-1 .persona-icon { background: var(--accent-soft); }
.persona-2 .persona-icon { background: var(--petrol-soft); }
.persona-3 .persona-icon { background: var(--surface-3); }
.persona h3 { margin: 0 0 8px 0; font-size: 18px; font-weight: 700; }
.persona p { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.persona-cta { margin-top: 18px; font-size: 13px; font-weight: 600; }
.continue-block {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--petrol-soft) 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.continue-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.continue-head h3 { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.continue-pinned { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 780px) { .continue-pinned { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .continue-pinned { grid-template-columns: 1fr; } }
.continue-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px; color: var(--text-dim);
  cursor: pointer; transition: all 0.15s;
  line-height: 1.4;
}
.continue-mini strong { color: var(--text); font-size: 13px; }
.continue-mini:hover { border-color: var(--accent); transform: translateY(-1px); }
.persona-1 .persona-cta { color: var(--accent-2); }
.persona-2 .persona-cta { color: var(--petrol-2); }
.persona-3 .persona-cta { color: var(--text); }
.section-head { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.section-eyebrow.petrol { color: var(--petrol-2); }
.section-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.section-head a, .section-head button {
  background: none; border: none; color: var(--text-dim); font-size: 13.5px;
  transition: color 0.15s;
}
.section-head a:hover, .section-head button:hover { color: var(--text); }
.cards-grid { display: grid; gap: 12px; }
.cards-grid.top { grid-template-columns: repeat(4, 1fr); }
.cards-grid.browse { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .cards-grid.top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid.top, .cards-grid.browse { grid-template-columns: 1fr; } }
/* Safety net: αποτρέπει οριζόντια κύλιση σε mobile αν κάποιο στοιχείο ξεφύγει
   από το πλάτος (ίδιο pattern με #view-calc στο calc.css). */
@media (max-width: 600px) { #view-browse { overflow-x: hidden; } }
.card {
  /* min-width:0 αφήνει το grid track (1fr) να μικρύνει στο πλάτος του container
     αντί να "φουσκώνει" με βάση το intrinsic min-content των παιδιών του —
     αλλιώς σε mobile (1 στήλη) προκαλεί οριζόντιο overflow στη σελίδα. */
  min-width: 0;
  background: var(--surface);
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  padding: 24px;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.05); border-color: var(--border-2); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ep-badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px; font-weight: 700;
  color: #fff; letter-spacing: 0.02em;
}
/* ΕΠ badges — minimal tinted (όχι solid gradients, όχι μονόχρωμα) */
.ep-1 { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.ep-2 { background: #ecfdf5; color: #0f766e; border: 1px solid #99f6e4; }
.ep-3 { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.ep-4 { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.ep-x { background: var(--surface-3); color: var(--text-dim); }
.code-badge { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; color: var(--text-faint); }
.ed-badge { font-size: 10px; color: var(--petrol-2); }
.compare-btn {
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--text-dim); font-size: 14px;
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.compare-btn:hover { background: var(--surface-3); color: var(--text); }
.compare-btn.active { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.card h4 {
  font-size: 14px; font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.card-meta { font-size: 11.5px; color: var(--text-dim); margin-bottom: 14px; }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card-vasi-label { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.card-vasi {
  font-size: 26px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.card-stats { text-align: right; font-size: 11px; color: var(--text-dim); line-height: 1.45; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-icon { font-size: 26px; margin-bottom: 12px; }
.feature h4 { margin: 0 0 6px 0; font-size: 15px; font-weight: 600; }
.feature p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.browse-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
@media (max-width: 900px) { .browse-grid { grid-template-columns: 1fr; } }
.filters { display: flex; flex-direction: column; gap: 14px; }
#browse-filters-body { display: flex; flex-direction: column; gap: 14px; }

/* Mobile: η αριστερή στήλη φίλτρων (/sxoles/, /idryma/, /poli/, /antikeimeno/,
   /ep_pedio/) ξεκινά κλειστή πίσω από κουμπί «Φίλτρα» — ίδιο pattern με
   .calc-filters-toggle στο calc.css. */
.browse-filters-toggle { display: none; }
@media (max-width: 900px) {
  .browse-filters-toggle {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 13px 16px;
    background: var(--accent); border: none; border-radius: var(--radius);
    box-shadow: 0 4px 12px -4px rgba(234,88,12,0.4);
    font-size: 14px; font-weight: 700; color: #fff; cursor: pointer;
  }
  .browse-filters-toggle .browse-filters-arrow { margin-left: auto; transition: transform 0.2s; }
  .browse-filters-toggle.open .browse-filters-arrow { transform: rotate(180deg); }
  #browse-filters-body { display: none; margin-top: 0; }
  #browse-filters-body.open { display: flex; margin-top: 16px; }
}
.filter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.filter-box h4 { margin: 0 0 12px 0; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.filter-box .clear-btn { background: none; border: none; color: var(--text-faint); font-size: 11px; }
.filter-box .clear-btn:hover { color: var(--accent-2); }
.filter-options { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.filter-options label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-options input[type="checkbox"] { accent-color: var(--accent); }
.filter-box select, .filter-box input[type="range"], .filter-box input[type="number"], .filter-box input[type="text"] {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text); padding: 8px 10px;
  border-radius: 8px; font-size: 13px;
  outline: none;
  font-family: inherit;
  -moz-appearance: textfield;
}
.filter-box input[type="number"]::-webkit-outer-spin-button,
.filter-box input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.filter-box select:focus, .filter-box input[type="number"]:focus, .filter-box input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}
.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-top: 8px; }
.range-inputs { display: flex; align-items: flex-end; gap: 8px; }
.range-input-group { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.range-input-group label { font-size: 11px; color: var(--text-faint); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.range-sep { color: var(--text-faint); padding-bottom: 9px; font-weight: 600; user-select: none; }
.range-hint { font-size: 11px; color: var(--text-faint); margin-top: 8px; line-height: 1.4; }
@media (max-width: 380px) {
  .range-inputs { flex-direction: column; align-items: stretch; gap: 10px; }
  .range-sep { display: none; }
}
.filter-box.compare-cta {
  background: linear-gradient(155deg, var(--petrol-soft), var(--surface) 80%);
  border-color: #a5e8f0;
}
.compare-cta-label { font-size: 11px; color: var(--petrol-dim); margin-bottom: 4px; font-weight: 600; }
.compare-cta-count { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.compare-cta-btn {
  width: 100%; padding: 9px;
  background: var(--petrol-dim); color: #fff;
  border: none; border-radius: 9px;
  font-size: 12px; font-weight: 600;
  transition: background 0.15s;
}
.compare-cta-btn:hover { background: var(--petrol); }
.browse-search { position: relative; margin-bottom: 16px; }
.browse-search input {
  width: 100%; padding: 13px 16px 13px 44px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text); font-size: 14px;
  border-radius: var(--radius);
  outline: none;
}
.browse-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,0.1); }

.browse-quick-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: -8px 0 16px;
}
.browse-chip {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  color: var(--text);
  cursor: pointer; transition: all 0.15s;
}
.browse-chip:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dim); }

.browse-onebyone-btn {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 8px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  color: var(--accent-dim);
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.browse-onebyone-btn:hover { background: var(--accent); color: #fff; }
@media (max-width: 480px) { .browse-onebyone-btn span { display: none; } }

.load-more-wrap {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px 0;
}
.load-more-btn {
  padding: 12px 24px !important;
  font-size: 13px;
}
.browse-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(6px);
  display: none;
  overflow-y: auto;
  padding: max(72px, 10vh) 16px 32px;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 480px) {
  .modal-overlay { padding: 72px 10px 24px; }
}
.modal-overlay.open { display: block; animation: fadeIn 0.2s ease-out; }
.modal {
  max-width: 780px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
  box-shadow: var(--shadow-lg);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-hero {
  background: linear-gradient(155deg, var(--surface-3) 0%, var(--surface) 100%);
  padding: 32px 28px 24px;
  position: relative;
}
.modal-nav {
  position: absolute; top: 16px; right: 16px;
  display: flex; gap: 6px;
  z-index: 2;
}
.modal-nav-btn, .modal-close {
  width: 36px; height: 36px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--text); font-size: 18px; font-weight: 500;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  cursor: pointer;
}
.modal-nav-btn:hover, .modal-close:hover { background: var(--surface-3); border-color: var(--petrol); }
.modal-close { font-size: 16px; }
.modal-hero h2 { margin: 12px 0 6px 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.modal-hero .meta { color: var(--text-dim); font-size: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 24px 28px; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat-label { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.stat-val { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.stat-val.gradient {
  color: var(--text);
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
}
.modal-section { padding: 0 28px 24px; }
.section-eyebrow-sm {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2); margin-bottom: 10px;
}
.modal-section p { font-size: 14px; line-height: 1.65; color: var(--text); margin: 0 0 16px; }
details.expand {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
}
details.expand summary {
  cursor: pointer; font-weight: 600; font-size: 14px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--petrol-2);
}
details.expand summary::-webkit-details-marker { display: none; }
details.expand summary::after { content: '+'; font-size: 18px; color: var(--text-faint); }
details.expand[open] summary::after { content: '−'; }
details.expand .content {
  margin-top: 12px;
  font-size: 13px; color: var(--text-dim);
  line-height: 1.65;
  white-space: pre-line;
}
details.careers summary { color: var(--accent-2); }
.modal-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
}
.btn {
  padding: 9px 16px; font-size: 13px; font-weight: 500;
  border-radius: 9px; border: none;
  transition: all 0.15s;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-2); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-ai { background: var(--accent); color: #fff; }
.btn-ai:hover { background: linear-gradient(135deg, var(--accent-dim), var(--accent)); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.compare-table thead tr { border-bottom: 1px solid var(--border-2); }
.compare-table th { text-align: left; padding: 14px 12px; vertical-align: top; font-weight: 600; }
.compare-table th .title { font-size: 14px; line-height: 1.35; }
.compare-table th .sub { font-size: 12px; color: var(--text-dim); font-weight: 400; margin-top: 4px; }
.compare-table th .remove { background: none; border: none; color: var(--text-faint); font-size: 11px; padding: 4px 0; margin-top: 6px; display: block; }
.compare-table th .remove:hover { color: var(--accent); }
.compare-table .row-label { font-size: 11px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table td { padding: 13px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.scroll-wrap { overflow-x: auto; }
.empty {
  text-align: center; padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
}
.empty-icon { font-size: 56px; margin-bottom: 20px; }
.empty p { color: var(--text-dim); margin-bottom: 20px; }
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.calc-input {
  width: 100%; padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text); font-size: 14px;
  outline: none;
}
.calc-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,0.1); }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.calc-field label { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 5px; }
.calc-field .coef { font-size: 10px; color: var(--text-faint); margin-top: 4px; }
.calc-result {
  margin-top: 28px; padding: 24px;
  background: linear-gradient(155deg, var(--accent-soft) 0%, var(--petrol-soft) 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  text-align: center;
}
.calc-result-label { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.calc-result-val {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text);
}
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.quiz-progress-bar {
  height: 4px; background: var(--surface-3);
  border-radius: 999px; overflow: hidden;
  margin: 12px 0 28px;
}
.quiz-progress-fill {
  height: 100%; width: 7%;
  background: linear-gradient(90deg, var(--accent), var(--petrol-2));
  border-radius: 999px;
}
.quiz-q { font-size: 19px; font-weight: 700; margin: 0 0 22px 0; letter-spacing: -0.01em; }
.quiz-option {
  display: block; width: 100%;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text); font-size: 14px; text-align: left;
  border-radius: 12px;
  transition: all 0.15s;
  margin-bottom: 8px;
}
.quiz-option:hover { background: var(--surface-3); border-color: var(--accent); }
.quiz-results .quiz-ep-summary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 16px 0;
}
@media (max-width: 500px) { .quiz-results .quiz-ep-summary { grid-template-columns: 1fr; } }
.quiz-ep-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.quiz-ep-card.primary {
  background: linear-gradient(155deg, var(--accent-soft) 0%, var(--petrol-soft) 100%);
  border-color: var(--accent);
  box-shadow: 0 4px 16px -4px rgba(234,88,12,0.2);
}
.quiz-ep-rank { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-dim); letter-spacing: 0.08em; margin-bottom: 8px; }
.quiz-ep-name { font-size: 12px; color: var(--text-dim); margin-top: 6px; line-height: 1.35; }
.quiz-ep-score { margin-top: 8px; font-weight: 700; color: var(--accent-dim); font-size: 13px; }

/* ─── A11Y helpers (προστέθηκαν στο WP conversion) ─── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.idryma-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 7px;
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
}
.idryma-badge-lg { min-width: 44px; height: 44px; font-size: 14px; border-radius: 10px; }
.idryma-badge-sm { min-width: 24px; height: 24px; font-size: 9.5px; border-radius: 6px; }
