/* =========================================================
   ΆΚΡΗ — Design System
   Palette: sage green, soft beige, warm neutrals
   ========================================================= */

:root {
  --bg:          #f6f3ec;     /* warm off-white */
  --bg-soft:     #efece4;
  --surface:     #ffffff;
  --ink:         #1f2a24;     /* deep green-black */
  --ink-soft:    #4b5750;
  --muted:       #7a8479;

  --green:       #2f5d4a;     /* primary deep sage */
  --green-2:     #3f7a62;
  --green-soft:  #cfd9c9;
  --green-bg:    #e8eee2;
  --beige:       #ddd5c4;
  --line:        #e6e3da;

  --shadow-sm: 0 1px 2px rgba(31, 42, 36, 0.05);
  --shadow-md: 0 6px 20px rgba(31, 42, 36, 0.06);
  --shadow-lg: 0 18px 50px rgba(31, 42, 36, 0.10);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1180px;
}

/* ============== DARK THEME ============== */
[data-theme="dark"] {
  --bg:          #1a2520;
  --bg-soft:     #232e29;
  --surface:     #2a3530;
  --ink:         #e8e6dd;
  --ink-soft:    #b8b8b0;
  --muted:       #888880;

  --green:       #6ba88d;     /* lighter sage for dark mode */
  --green-2:     #84c0a4;
  --green-soft:  #3a4d44;
  --green-bg:    #2e3d36;
  --beige:       #4d4a40;
  --line:        #3a4540;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .nav {
  background: rgba(26, 37, 32, 0.85);
}
[data-theme="dark"] body {
  background: var(--bg);
  color: var(--ink);
}
[data-theme="dark"] .hero,
[data-theme="dark"] .legal-hero,
[data-theme="dark"] .profile-hero,
[data-theme="dark"] .cat-hero,
[data-theme="dark"] .dash-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
[data-theme="dark"] .ad-placeholder {
  background: linear-gradient(135deg, var(--green-bg), var(--bg-soft));
  color: var(--ink-soft);
}
[data-theme="dark"] .modal-overlay { background: rgba(0, 0, 0, 0.65); }
[data-theme="dark"] .testi-cards blockquote { background: var(--surface); }
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--bg-soft);
  color: var(--ink);
}
[data-theme="dark"] .footer-bottom { color: var(--muted); }

/* ============== Theme toggle button ============== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background .2s, color .2s, transform .2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  color: var(--green);
  transform: rotate(20deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-icon-light { display: block; }
.theme-icon-dark  { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark  { display: block; }

/* Profile quick link */
.profile-quick-link {
  background: var(--green-bg);
  border: 1px solid var(--green-soft);
  border-radius: var(--r-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.profile-quick-link p {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

/* Profile display info list */
.info-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.info-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}
.info-row dd.info-empty {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}
@media (max-width: 600px) {
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Settings collapsible cards */
.settings-heading {
  font-size: 22px;
  margin: 12px 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.settings-card[open] {
  box-shadow: var(--shadow-md);
}
.settings-card summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}
.settings-card summary::-webkit-details-marker { display: none; }
.settings-card summary:hover { background: var(--bg-soft); }
.setting-summary-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.setting-summary-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.setting-summary-arrow {
  font-size: 22px;
  color: var(--muted);
  transition: transform .2s;
  font-weight: 300;
}
.settings-card[open] .setting-summary-arrow {
  transform: rotate(90deg);
  color: var(--green);
}
.setting-body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 24px;
}
.setting-body .muted {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.settings-card-danger {
  border-color: #f5c6c2;
}
.settings-card-danger summary:hover {
  background: #fefafa;
}
.settings-card-danger .setting-summary-icon { color: #b3261e; }
.settings-card-danger[open] .setting-summary-arrow { color: #b3261e; }
.settings-card-danger .setting-body {
  background: #fefafa;
  border-top-color: #f5c6c2;
}

@media (max-width: 600px) {
  .settings-card summary { padding: 18px 20px; }
  .setting-body { padding: 20px; padding-top: 20px; }
}

/* Dashboard hero */
.dash-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.dash-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.dash-subtitle {
  color: var(--ink-soft);
  margin: 0;
  font-size: 15px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  background: rgba(246, 243, 236, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: nowrap;
  min-height: 56px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo svg {
  height: 32px;
  width: auto;
  display: block;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-img.logo-dark { display: none; }
[data-theme="dark"] .logo-img.logo-light { display: none; }
[data-theme="dark"] .logo-img.logo-dark { display: block; }
.footer .logo svg {
  height: 30px;
  margin-bottom: 4px;
}
.footer .logo-img {
  height: 36px;
  margin-bottom: 4px;
}
.footer .logo-img.logo-dark { display: none; }
[data-theme="dark"] .footer .logo-img.logo-light { display: none; }
[data-theme="dark"] .footer .logo-img.logo-dark { display: block; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

/* Pill-style nav links (legacy - profile.html links) */
.nav-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--green-bg);
  border-radius: 999px;
  font-size: 13px !important;
  color: var(--green) !important;
  font-weight: 600 !important;
  transition: background .2s;
}
.nav-pill-link:hover {
  background: var(--green-soft);
  color: var(--green) !important;
}

/* Compact icon buttons in navbar (📝 🔔) */
.nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.nav-icon-btn:hover {
  background: var(--green-bg);
  transform: translateY(-1px);
}
.nav-icon-btn .nav-badge {
  position: absolute;
  top: -3px;
  right: -3px;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #b3261e;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid var(--surface);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ================= BUTTONS ================= */
.btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--green); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--green-soft); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ================= HERO ================= */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 72px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--ink);
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.trust-row { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-size: 13px;
}
.avatar:first-child { margin-left: 0; }
.trust-text { color: var(--ink-soft); font-size: 14px; }

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, var(--green-soft), transparent 70%);
  opacity: 0.55;
  filter: blur(20px);
}
.hero-illustration { position: relative; z-index: 1; width: 100%; max-width: 420px; }

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* Floating chat bubbles overlay on hero photo */
.hero-bubble {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  border: 1px solid var(--line);
}
.bubble-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  flex-shrink: 0;
}
.bubble-dot-light {
  background: rgba(255,255,255,0.3);
}
.bubble-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-left: auto;
  flex-shrink: 0;
}
.hero-bubble-1 {
  top: 8%;
  left: -8%;
  color: var(--ink);
}
.hero-bubble-2 {
  bottom: 12%;
  right: -6%;
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
@media (max-width: 960px) {
  .hero-bubble { max-width: 220px; font-size: 12px; }
  .hero-bubble-1 { left: 4%; top: 4%; }
  .hero-bubble-2 { right: 4%; bottom: 4%; }
}

/* ================= SECTIONS ================= */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-title {
  text-align: center;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}

/* ================= STEPS ================= */
/* ================= HOW IT WORKS — 2-column flow ================= */
.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
  margin: -8px 0 36px;
  font-weight: 400;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
}
.how-column {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.how-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
[data-theme="dark"] .how-column:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.how-column-head {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.how-column-icon {
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 6px;
}
.how-column-head h3 {
  margin: 6px 0 4px;
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
}
.how-column-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 14px;
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.how-steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.how-steps li:last-child { margin-bottom: 0; }
.how-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(47, 93, 74, 0.12);
  color: var(--green, #2f5d4a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
[data-theme="dark"] .how-step-num {
  background: rgba(201, 160, 66, 0.15);
  color: var(--gold, #c9a042);
}
.how-column-offer .how-step-num {
  background: rgba(244, 185, 66, 0.18);
  color: #b8860b;
}
[data-theme="dark"] .how-column-offer .how-step-num {
  background: rgba(244, 185, 66, 0.2);
  color: #f4b942;
}
.how-steps h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.how-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}
.how-cta-note {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.how-cta-note strong {
  color: var(--green, #2f5d4a);
  font-weight: 600;
}
[data-theme="dark"] .how-cta-note strong {
  color: var(--gold, #c9a042);
}

/* Παλιό 3-step grid layout — δεν χρησιμοποιείται πια αλλά κρατιέται για backward compat */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.step-icon svg { width: 28px; height: 28px; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step-arrow { align-self: center; color: var(--muted); font-size: 22px; }

/* ================= CATEGORIES — TABS + HORIZONTAL SCROLL ================= */

/* Tabs */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 32px;
  padding: 0 8px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--green-soft);
  color: var(--green);
}
.cat-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(47, 93, 74, 0.25);
}
.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--bg-soft);
  color: var(--muted);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: all .2s;
}
.cat-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Scroller */
.cat-scroller {
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
}
.cat-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 4px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-soft) transparent;
  scroll-behavior: smooth;
}
.cat-scroll::-webkit-scrollbar { height: 6px; }
.cat-scroll::-webkit-scrollbar-track { background: transparent; }
.cat-scroll::-webkit-scrollbar-thumb {
  background: var(--green-soft);
  border-radius: 3px;
}
.cat-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

/* Horizontal cards */
.cat-card-h {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s, border-color .2s;
}
.cat-card-h:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 42, 36, 0.12);
  border-color: var(--green-soft);
}
.cat-card-h:hover .cat-img-h img {
  transform: scale(1.06);
}
.cat-img-h {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.cat-img-h img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cat-card-h span {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

/* Hidden cards (filtered out by tab) */
.hidden-card {
  display: none !important;
}

/* Scroll arrows */
.cat-scroll-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: var(--shadow-md);
  transition: all .15s;
}
.cat-scroll-arrow:hover:not(:disabled) {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.cat-scroll-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.cat-scroll-arrow svg {
  width: 22px;
  height: 22px;
}
.cat-scroll-prev {
  left: -10px;
}
.cat-scroll-next {
  right: -10px;
}

/* Hide arrows on touch devices (use swipe instead) */
@media (hover: none), (max-width: 768px) {
  .cat-scroll-arrow { display: none; }
}

/* Old grid styles - keep for backwards compat (not used anymore) */
.cat-group { display: none; }
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
}
.cat-card:hover .cat-img img {
  transform: scale(1.06);
}
.cat-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cat-card span {
  font-weight: 500;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  padding: 14px 10px;
}
.cat-cta { text-align: center; margin-top: 36px; }

/* ================= ABOUT ================= */
.about-wrap {
  max-width: 920px;
}
.about-eyebrow {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 16px;
}
.about-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 36px;
  color: var(--ink);
}

.about-story {
  max-width: 720px;
  margin: 0 auto 56px;
}
.about-story p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 18px;
  text-align: center;
}
.about-story p:first-child {
  font-style: italic;
  font-size: 18px;
  color: var(--green);
  font-weight: 500;
  padding: 16px 24px;
  background: var(--green-bg);
  border-radius: var(--r-md);
  border-left: 4px solid var(--green);
  text-align: left;
}
.about-story strong { color: var(--ink); font-weight: 600; }

/* Pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 56px;
}
.pillar {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* Founder */
.about-founder {
  margin: 0 auto 64px;
  max-width: 720px;
}
.founder-quote {
  background: var(--green);
  color: #fff;
  padding: 36px 40px;
  border-radius: var(--r-lg);
  position: relative;
  box-shadow: 0 12px 32px rgba(47, 93, 74, 0.18);
}
.founder-quote::before {
  content: """;
  position: absolute;
  top: -8px;
  left: 28px;
  font-size: 90px;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(255,255,255,0.2);
}
.founder-quote p {
  margin: 0 0 18px;
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.founder-quote footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  opacity: 0.9;
}
.founder-quote footer strong {
  font-weight: 700;
  font-size: 15px;
}
.founder-loc { color: rgba(255,255,255,0.7); }

/* Testimonials */
.about-subtitle {
  text-align: center;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ink);
}
.testimonials-section {
  margin-top: 0;
}
.testi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
blockquote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
blockquote p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink);
}
blockquote footer {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}
blockquote .ava {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
blockquote small { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* ================= CTA BANNER ================= */
.cta-banner {
  background: var(--green);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cta-icon svg { width: 26px; height: 26px; color: #fff; }
.cta-text h3 { margin: 0 0 4px; font-size: 20px; }
.cta-text p  { margin: 0; opacity: .85; }

/* ================= FOOTER ================= */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-top: 56px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}
.footer a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 4px 0;
}
.footer a:hover { color: var(--green); }
.footer-tag { color: var(--muted); margin-top: 8px; font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green);
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-credit strong { color: var(--ink); font-weight: 600; }
.dg-logo {
  height: 38px;
  width: auto;
  opacity: 0.95;
}
.footer-credit-right {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-credit { flex-direction: column; gap: 6px; }
}

/* ================= AUTH MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 36, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 100;
  padding: 32px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 440px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn .25s ease;
  margin: auto;
}
.modal-card-lg {
  max-width: 580px;
}
.modal-card-lg h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.modal-card-lg .muted {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}
.modal-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.modal-select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.modal-card-lg textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
  resize: vertical;
  min-height: 120px;
}
.modal-card-lg textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
@keyframes modalIn {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }

.modal-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tab.active {
  background: var(--surface);
  color: var(--green);
  box-shadow: var(--shadow-sm);
}

.auth-form h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.auth-form .muted { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.auth-form label {
  display: block;
  margin-bottom: 14px;
}
.auth-form label > span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.auth-form label > span > span {
  display: inline;
}
.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.form-msg {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
}
.form-msg.error { color: #b3261e; }
.form-msg.success { color: var(--green); }
.alt-link {
  text-align: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.alt-link a { color: var(--green); font-weight: 600; }

.forgot-link {
  text-align: right;
  margin: -8px 0 14px;
  font-size: 13px;
}
.forgot-link a {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
}

/* Password visibility toggle (eye icon) */
.pwd-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.pwd-wrap input[type="password"],
.pwd-wrap input[type="text"] {
  width: 100%;
  padding-right: 44px; /* χώρος για το κουμπί */
  box-sizing: border-box;
}
.pwd-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--muted, #6b6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.pwd-toggle:hover {
  color: var(--green, #2f5d4a);
  background: rgba(0, 0, 0, .04);
}
.pwd-toggle:focus-visible {
  outline: 2px solid var(--green, #2f5d4a);
  outline-offset: 1px;
}
.pwd-toggle svg {
  width: 20px;
  height: 20px;
}
.pwd-toggle .hidden {
  display: none;
}

/* Forgot-username checkbox row */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  font-size: 14px;
  color: var(--muted, #666);
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green, #2f5d4a);
  margin: 0;
}
.forgot-link a:hover { text-decoration: underline; }

/* Google sign-in button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #3c4043;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, border-color .15s;
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60,64,67,.12);
  border-color: #c6c8cb;
}
.btn-google:active { transform: translateY(1px); }
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }

/* "or" divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 4px 0 18px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ================= USER PILL & STATUS ================= */
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-bg);
  padding: 4px 4px 4px 4px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}
.user-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--green);
  transition: background 0.15s;
}
.user-pill-link:hover {
  background: rgba(255, 255, 255, 0.5);
}
.user-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.user-pill-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--surface);
  box-shadow: 0 2px 6px rgba(31, 42, 36, 0.18);
}
.user-pill-avatar-icon {
  width: 100%;
  height: 100%;
  display: block;
}
.user-pill-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.status-banner {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  font-size: 14px;
  animation: slideUp .35s ease;
}
.status-banner-fade {
  animation: slideUp .35s ease, fadeOut .8s ease 9.2s forwards;
}
@keyframes slideUp {
  from { transform: translate(-50%, 12px); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, 0); }
  to   { opacity: 0; transform: translate(-50%, 20px); }
}

/* ================= AD SLOTS ================= */
/* Hidden during launch phase. Set body[data-ads-enabled="true"] to enable. */
.ad-section,
.ad-slot,
[data-ad-slot] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
body[data-ads-enabled="true"] .ad-section {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  padding: 32px 0 !important;
  background: var(--bg);
}
body[data-ads-enabled="true"] .ad-slot,
body[data-ads-enabled="true"] [data-ad-slot] {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  padding: 28px 24px 20px !important;
  margin: 0 !important;
}
.ad-slot {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px 20px;
  background: var(--bg-soft);
}
.ad-label {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.ad-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: linear-gradient(135deg, var(--green-bg), var(--bg-soft));
  border: 1px solid var(--green-soft);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: 14px;
}
.ad-placeholder strong { color: var(--green); font-size: 15px; }
.ad-placeholder span { font-size: 11px; color: var(--muted); }

.ad-placeholder-sm {
  height: 130px;
  font-size: 13px;
  max-width: none;
}

.ad-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  min-height: 130px;
}

/* AD SLOT 3 - Featured Partner (native style) */
.ad-slot-featured {
  background: var(--surface);
  border: 1px solid var(--green-soft);
  border-style: solid;
  padding: 32px;
}
.ad-slot-featured .ad-label {
  background: var(--green-bg);
  border-color: var(--green-soft);
  color: var(--green);
}
.ad-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  min-height: auto;
}
.ad-featured-img {
  width: 100%;
}
.ad-featured-text { padding: 12px 0; }
.ad-featured-text .ad-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ad-featured-text h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.ad-featured-text p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* AD SLOT 5 - Footer banner */
.ad-slot-footer {
  background: var(--surface);
}

@media (max-width: 700px) {
  .ad-partners-grid { grid-template-columns: 1fr; }
  .ad-placeholder { height: auto; padding: 24px 16px; }
  .ad-featured { grid-template-columns: 1fr; gap: 16px; }
  .ad-slot-featured { padding: 24px; }
}

/* ================= AGE BADGE (16+) ================= */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-soft);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
  cursor: help;
  user-select: none;
}
.age-badge-sm {
  font-size: 10px;
  padding: 2px 7px;
}
.age-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 12px 0 0;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

/* ================= CATEGORIES ORBIT (deprecated, kept for reference) ================= */
.categories-orbit { display: none !important; }
.categories-orbit-old {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 1 / 1;
  margin: 40px auto 24px;
}
.orbit-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-bg::before,
.orbit-bg::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed var(--green-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.45;
}
.orbit-bg::before {
  /* inner orbit guideline */
  width: 42%; height: 42%;
}
.orbit-bg::after {
  /* outer orbit guideline */
  width: 80%; height: 80%;
}

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(47, 93, 74, 0.4);
}
.orbit-center svg {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-card {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin: -50px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: 0 4px 12px rgba(31, 42, 36, 0.12);
  transition: transform .3s ease, box-shadow .3s, border-color .3s;
  --angle: calc(var(--i) * (360deg / var(--total)));
  --offset-r: calc(-1 * var(--r));
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translate(0, var(--offset-r))
    rotate(calc(-1 * var(--angle)));
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.orbit-inner .orbit-card {
  --total: 7;
  --r: 175px;
}
.orbit-outer .orbit-card {
  --total: 14;
  --r: 350px;
  width: 92px;
  height: 92px;
  margin: -46px;
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

/* Always-visible label INSIDE the circle (gradient overlay) */
.orbit-card .orbit-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 6px 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.15;
  background: linear-gradient(to top,
    rgba(31, 42, 36, 0.92) 0%,
    rgba(31, 42, 36, 0.7) 60%,
    rgba(31, 42, 36, 0) 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  pointer-events: none;
  /* truncate to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.orbit-outer .orbit-card .orbit-label {
  font-size: 9.5px;
  padding: 14px 4px 6px;
}

.orbit-card:hover {
  z-index: 10;
  border-color: var(--green);
  box-shadow: 0 14px 32px rgba(31, 42, 36, 0.22);
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translate(0, var(--offset-r))
    rotate(calc(-1 * var(--angle)))
    scale(1.15);
}
.orbit-card:hover img {
  transform: scale(1.08);
}


/* ================= LANGUAGE TOGGLE ================= */
.lang-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-right: 6px;
}
.lang-btn {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn.active {
  background: var(--surface);
  color: var(--green);
  box-shadow: var(--shadow-sm);
}
.lang-btn:hover { color: var(--green); }

/* ================= CONTACT ================= */
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 600px;
  margin: -32px auto 48px;
  font-size: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info h3 {
  margin: 0 0 22px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--green-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}
a.contact-value:hover { color: var(--green); }
.contact-map {
  margin-top: 20px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.req {
    color: #e53935 !important;
    font-weight: bold !important;
    margin-left: 2px !important;
    display: inline-block !important; 
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-form label > span > span {
  display: inline;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ================= PROFILE PAGE ================= */
.profile-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--muted);
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--green-soft);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.profile-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.profile-hero-row {
  display: flex;
  align-items: center;
  gap: 28px;
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47, 93, 74, 0.3);
  overflow: hidden;
  border: 4px solid var(--surface);
}
.profile-avatar-default {
  width: 100%;
  height: 100%;
  display: block;
}
.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.avatar-upload-btn {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--green);
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(31, 42, 36, 0.18);
  transition: transform .15s, background .15s, color .15s;
  z-index: 5;
}
.avatar-upload-btn:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
}
.avatar-upload-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none; /* όλο το button ολόκληρο clickable, χωρίς dead spots από SVG paths */
}
.avatar-upload-btn * { pointer-events: none; }

.avatar-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid #b3261e;
  color: #b3261e;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(31, 42, 36, 0.15);
  transition: transform .15s, background .15s, color .15s;
  padding: 0;
}
.avatar-remove-btn:hover {
  background: #b3261e;
  color: #fff;
  transform: scale(1.08);
}

.profile-hero-info { min-width: 0; }
.profile-hero h1 {
  font-size: 32px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.profile-email {
  color: var(--ink-soft);
  margin: 0 0 8px;
  font-size: 15px;
  word-break: break-word;
}
.profile-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 600px) {
  .profile-hero-row { flex-direction: column; text-align: center; gap: 18px; }
  .profile-avatar { width: 96px; height: 96px; font-size: 38px; }
}

.profile-section {
  padding: 48px 0 80px;
}
.profile-grid {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.profile-card-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.profile-card-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.profile-card-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.profile-form label {
  display: block;
  margin-bottom: 16px;
}
.profile-form label > span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.profile-form label > span > span {
  display: inline;
}
.profile-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.profile-form input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.profile-form input:disabled {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
}
.profile-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.profile-form select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.field-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* 2-column form row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row-2 > label { margin-bottom: 16px; }

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
}

/* Required asterisk */
.req {
  display: inline;
  color: #b3261e;
  font-weight: 700;
  margin-left: 2px;
  font-size: 1em;
}
.required-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 8px 0 18px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Danger zone */
.profile-card-danger {
  border-color: #f5c6c2;
  background: #fefafa;
}
.profile-card-danger .profile-card-head h2 {
  color: #b3261e;
}
.danger-action {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.danger-action h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.danger-action p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 460px;
}
.btn-danger {
  background: #b3261e;
  color: #fff;
  border-color: #b3261e;
}
.btn-danger:hover {
  background: #8e1d18;
  border-color: #8e1d18;
}
.btn-danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Confirm delete modal extras */
.confirm-type {
  margin: 18px 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.confirm-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #f5c6c2;
  background: #fefafa;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  color: #b3261e;
  margin-bottom: 18px;
}
.confirm-input:focus {
  outline: none;
  border-color: #b3261e;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .danger-action { flex-direction: column; align-items: flex-start; }
  .profile-card { padding: 22px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}

/* ================= FEED (community + category + profile) ================= */
.feed-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 0 32px;
  flex-wrap: wrap;
}
.feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.feed-tab:hover {
  border-color: var(--green-soft);
  color: var(--green);
}
.feed-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.feed-tab .tab-count {
  background: var(--bg-soft);
  color: var(--muted);
}
.feed-tab.active .tab-count {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.feed-grid-compact { grid-template-columns: 1fr; }

.feed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.feed-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
}
.feed-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.feed-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feed-tag-req { background: #fff4d6; color: #8a5a00; }
.feed-tag-offer { background: var(--green-bg); color: var(--green); }
.feed-cat {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
}
.feed-time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.feed-message {
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
}
.feed-pro-name {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feed-pro-phone {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.feed-pro-phone a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}
.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  align-items: center;
}
.feed-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feed-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.feed-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.feed-replies { color: var(--muted); }
.feed-replies-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.feed-replies-btn:hover {
  background: rgba(47, 93, 74, 0.08);
  color: var(--brand);
}
[data-theme="dark"] .feed-replies-btn:hover {
  background: rgba(201, 160, 66, 0.12);
  color: var(--gold);
}

.feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}
.feed-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.feed-login-hint {
  text-align: center;
  margin: 20px 0;
  color: var(--muted);
}
.feed-login-hint a { color: var(--green); font-weight: 600; }

/* Reply modal */
.reply-original {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.reply-original-message {
  margin: 10px 0 6px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.reply-original-author {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.reply-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 6px;
}
.reply-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.reply-item:last-child { border-bottom: 0; }
.reply-body { flex: 1; min-width: 0; }
.reply-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
  font-size: 13px;
}
.reply-time { color: var(--muted); font-size: 11px; }
.reply-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-word;
}
.reply-contact {
  margin-top: 4px !important;
  font-size: 13px !important;
  color: var(--green) !important;
  font-weight: 500;
}

/* Thank-you button */
.btn-thanks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  cursor: pointer;
  transition: all .15s ease;
}
.btn-thanks:hover:not(:disabled) {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-1px);
}
.btn-thanks:active { transform: translateY(0); }
.btn-thanks-done {
  background: var(--green-bg) !important;
  color: var(--green) !important;
  border-color: var(--green-soft) !important;
  cursor: default !important;
  transform: none !important;
}
.reply-thanks-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  padding: 2px 8px;
  background: #fde8ec;
  color: #c2185b;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.reply-form h4 {
  margin: 16px 0 12px;
  font-size: 15px;
  color: var(--ink);
}
.reply-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.reply-form textarea:focus,
.reply-form input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
}
.reply-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
}

/* Category page hero */
.cat-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.cat-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0;
  letter-spacing: -0.02em;
}
.cat-hero-stats {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.cat-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Notifications in profile */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notif-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  border-left: 3px solid transparent;
  align-items: flex-start;
}
.notif-unread {
  background: var(--green-bg);
  border-left-color: var(--green);
}
.notif-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.notif-body { flex: 1; min-width: 0; }
.notif-body p { margin: 0 0 4px; font-size: 14px; }
.notif-preview {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 13px !important;
}
.notif-time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.notif-del-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.notif-del-btn:hover {
  background: #fde8e6;
  color: #b3261e;
}
.notif-item { position: relative; }

/* ================= NOTIFICATIONS POPOVER (dropdown από καμπανάκι) ================= */
.notif-popover {
  position: fixed;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: 480px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, rgba(0,0,0,0.1));
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
}
[data-theme="dark"] .notif-popover {
  background: #1f2a25;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.notif-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line, rgba(0,0,0,0.08));
}
[data-theme="dark"] .notif-popover-head {
  border-color: rgba(255, 255, 255, 0.08);
}
.notif-popover-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.notif-popover-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background 0.15s;
}
.notif-popover-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}
[data-theme="dark"] .notif-popover-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
.notif-popover-list {
  flex: 1;
  overflow-y: auto;
  max-height: 360px;
}
.notif-popover-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--ink-soft);
  margin: 0;
  font-size: 14px;
}
.notif-popover-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line, rgba(0,0,0,0.05));
  position: relative;
  transition: background 0.12s;
}
.notif-popover-item:last-child { border-bottom: none; }
[data-theme="dark"] .notif-popover-item {
  border-color: rgba(255, 255, 255, 0.05);
}
.notif-popover-item:hover {
  background: rgba(47, 93, 74, 0.05);
}
[data-theme="dark"] .notif-popover-item:hover {
  background: rgba(201, 160, 66, 0.06);
}
.notif-popover-item.unread {
  background: rgba(47, 93, 74, 0.06);
}
.notif-popover-item.unread::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green, #2f5d4a);
}
[data-theme="dark"] .notif-popover-item.unread {
  background: rgba(201, 160, 66, 0.08);
}
[data-theme="dark"] .notif-popover-item.unread::before {
  background: var(--gold, #c9a042);
}
.notif-popover-icon {
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.notif-popover-body {
  flex: 1;
  min-width: 0;
}
.notif-popover-author {
  font-size: 14px;
  margin: 0;
  color: var(--ink);
}
.notif-popover-preview {
  font-size: 13px;
  margin: 2px 0;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-popover-time {
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.7;
}
.notif-popover-del {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
  opacity: 0.5;
  transition: opacity 0.15s, background 0.15s;
}
.notif-popover-del:hover {
  opacity: 1;
  background: rgba(179, 38, 30, 0.1);
  color: #b3261e;
}
.notif-popover-foot {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line, rgba(0,0,0,0.08));
  background: var(--bg-soft, #fafafa);
}
[data-theme="dark"] .notif-popover-foot {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.notif-popover-link {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--green, #2f5d4a);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.notif-popover-link:hover {
  background: rgba(47, 93, 74, 0.1);
}
[data-theme="dark"] .notif-popover-link {
  color: var(--gold, #c9a042);
}
[data-theme="dark"] .notif-popover-link:hover {
  background: rgba(201, 160, 66, 0.12);
}

/* ================= REACTIONS BAR ================= */
.reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px dashed var(--line, rgba(0,0,0,0.08));
  margin-top: 4px;
}
.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft, #f3f3f3);
  border: 1px solid var(--line, rgba(0,0,0,0.08));
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
}
.reaction-btn:hover:not(:disabled) {
  background: rgba(47, 93, 74, 0.08);
  border-color: var(--green-soft, rgba(47, 93, 74, 0.3));
  transform: scale(1.05);
}
.reaction-btn.reaction-active {
  background: rgba(47, 93, 74, 0.15);
  border-color: var(--green, #2f5d4a);
}
.reaction-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.reaction-btn:disabled:hover {
  transform: none;
  background: var(--bg-soft, #f3f3f3);
}
.reaction-bar-disabled {
  opacity: 0.85;
}

/* ================= THANK YOU MESSAGE (γραπτό ευχαριστήριο) ================= */
.reply-thanks-msg {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(47, 93, 74, 0.08);
  border-left: 3px solid var(--green, #2f5d4a);
  border-radius: 8px;
}
.reply-thanks-msg-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--green, #2f5d4a);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.reply-thanks-msg p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-style: italic;
}
[data-theme="dark"] .reply-thanks-msg {
  background: rgba(201, 160, 66, 0.1);
  border-left-color: var(--gold, #c9a042);
}
[data-theme="dark"] .reply-thanks-msg-label {
  color: var(--gold, #c9a042);
}

.reply-thanks-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.reply-thanks-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line, rgba(0,0,0,0.15));
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--surface, #fff);
  color: var(--ink);
}
.reply-thanks-input:focus {
  outline: none;
  border-color: var(--green, #2f5d4a);
}
[data-theme="dark"] .reply-thanks-input {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .reply-thanks-input:focus {
  border-color: var(--gold, #c9a042);
}
.reply-thanks-form .btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
[data-theme="dark"] .reaction-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .reaction-btn:hover:not(:disabled) {
  background: rgba(201, 160, 66, 0.15);
  border-color: rgba(201, 160, 66, 0.4);
}
[data-theme="dark"] .reaction-btn.reaction-active {
  background: rgba(201, 160, 66, 0.22);
  border-color: var(--gold, #c9a042);
}
.reaction-emoji {
  font-size: 16px;
  line-height: 1;
}
.reaction-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft, #555);
  margin-left: 2px;
}
[data-theme="dark"] .reaction-count {
  color: var(--ink-soft, #b8b8b0);
}
/* Read-only για τον συντάκτη — δεν μπορεί να αντιδράσει στον εαυτό του */
.reaction-readonly {
  border-top: none;
  padding: 6px 12px;
}
.reaction-readonly-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-soft, #f3f3f3);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 14px;
}
[data-theme="dark"] .reaction-readonly-item {
  background: rgba(255, 255, 255, 0.06);
}

/* ================= EMOJI PICKER ================= */
.emoji-wrap {
  position: relative;
}
.emoji-wrap textarea {
  padding-right: 44px; /* αφήνει χώρο για το emoji button */
}
.emoji-trigger {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  padding: 0;
  z-index: 2;
}
.emoji-trigger:hover {
  background: rgba(47, 93, 74, 0.1);
  transform: scale(1.1);
}
[data-theme="dark"] .emoji-trigger:hover {
  background: rgba(201, 160, 66, 0.15);
}
.emoji-panel {
  position: absolute;
  bottom: 48px;
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e3e3e3);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .emoji-panel {
  background: #1f2a25;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.emoji-tabs {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-bottom: 1px solid var(--line, #e3e3e3);
  background: var(--bg-soft, #f8f8f8);
}
[data-theme="dark"] .emoji-tabs {
  background: #18211d;
  border-color: rgba(255, 255, 255, 0.06);
}
.emoji-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 4px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
  line-height: 1;
}
.emoji-tab:hover {
  background: rgba(47, 93, 74, 0.08);
}
.emoji-tab.active {
  background: rgba(47, 93, 74, 0.15);
}
[data-theme="dark"] .emoji-tab:hover {
  background: rgba(201, 160, 66, 0.1);
}
[data-theme="dark"] .emoji-tab.active {
  background: rgba(201, 160, 66, 0.18);
}
.emoji-grids {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}
.emoji-grid {
  display: none;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}
.emoji-grid.active {
  display: grid;
}
.emoji-item {
  background: transparent;
  border: none;
  padding: 4px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.1s, transform 0.1s;
  line-height: 1;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.emoji-item:hover {
  background: rgba(47, 93, 74, 0.12);
  transform: scale(1.15);
}
[data-theme="dark"] .emoji-item:hover {
  background: rgba(201, 160, 66, 0.15);
}
@media (max-width: 480px) {
  .emoji-panel {
    width: 280px;
  }
  .emoji-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ================= LEGAL PAGES (Privacy / Terms) ================= */
.legal-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.legal-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 600;
  margin: 0 0 12px;
}
.legal-hero h1 {
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.legal {
  padding: 48px 0 80px;
  background: var(--bg);
}
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h4 {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
}
.legal-toc a {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.15s;
}
.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--muted);
  margin-right: 4px;
}
.legal-toc a:hover { color: var(--green); }

.legal-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-body h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--ink-soft);
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul {
  padding-left: 24px;
  margin: 0 0 18px;
}
.legal-body ul li { margin-bottom: 6px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--green-2); }

.legal-callout {
  background: var(--green-bg);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  border-radius: var(--r-sm);
  margin: 18px 0;
  font-size: 14.5px;
}
.legal-callout-danger {
  background: #fdeeee;
  border-left-color: #b3261e;
  color: #5a1a16;
}

.legal-footer-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.legal-footer-note p { margin: 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }  /* hide main nav on smaller screens to keep header in one line */
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 280px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .testi-cards { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-icon { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .testi-cards { grid-template-columns: 1fr; }
  .founder-quote { padding: 28px; }
  .section-sub { margin: -24px auto 36px; }
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-body { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 64px; }
  .section { padding: 56px 0; }
  .nav-cta .btn-ghost { display: none; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 24px; }
}

/* ===== BACK-TO-HOME LINK (πάνω από το footer στις εσωτερικές σελίδες) ===== */
.back-to-home-wrap {
  text-align: center;
  padding: 28px 16px 16px;
  margin-top: 24px;
  border-top: 1px dashed rgba(0, 0, 0, .08);
}
.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: #2f5d4a;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  background: transparent;
  transition: background .15s, color .15s, transform .15s;
}
.back-to-home:hover,
.back-to-home:focus-visible {
  background: rgba(47, 93, 74, .08);
  outline: none;
}
.back-to-home:hover .back-to-home-icon {
  transform: translateX(-3px);
}
.back-to-home-icon {
  width: 14px;
  height: 14px;
  transition: transform .15s;
}
[data-theme="dark"] .back-to-home-wrap {
  border-top-color: rgba(255, 255, 255, .08);
}
[data-theme="dark"] .back-to-home {
  color: #6fbf94;
}
[data-theme="dark"] .back-to-home:hover,
[data-theme="dark"] .back-to-home:focus-visible {
  background: rgba(111, 191, 148, .12);
}

/* ===== HAMBURGER BUTTON & MOBILE MENU ===== */
.nav-burger {
  display: none;            /* hidden on desktop */
  background: rgba(47, 93, 74, .08);
  border: 1.5px solid rgba(47, 93, 74, .35);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f5d4a;
  flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.nav-burger:hover,
.nav-burger:active {
  background: rgba(47, 93, 74, .15);
  border-color: #2f5d4a;
}
.nav-burger svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}
[data-theme="dark"] .nav-burger {
  background: rgba(111, 191, 148, .14);
  border-color: rgba(111, 191, 148, .45);
  color: #6fbf94;
}
[data-theme="dark"] .nav-burger:hover,
[data-theme="dark"] .nav-burger:active {
  background: rgba(111, 191, 148, .22);
  border-color: #6fbf94;
}
.nav-burger.is-open .nav-burger-open { display: none; }
.nav-burger.is-open .nav-burger-close { display: block !important; }

.mobile-menu {
  position: fixed;
  top: 64px;            /* κάτω από τη navbar */
  left: 0;
  right: 0;
  background: rgba(246, 243, 236, 0.97);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line, rgba(0,0,0,.08));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  padding: 8px 18px 18px;
  gap: 4px;
  z-index: 49;             /* κάτω από τη navbar (50) αλλά πάνω από όλα */
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
[data-theme="dark"] .mobile-menu {
  background: rgba(20, 32, 28, 0.97);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 500;
  color: #2a2a2a;
  text-decoration: none;
  border-radius: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a:active {
  background: rgba(47, 93, 74, .08);
  color: #2f5d4a;
}
[data-theme="dark"] .mobile-menu a {
  color: #f4f0e7;
  border-bottom-color: rgba(255,255,255,.10);
}
[data-theme="dark"] .mobile-menu a:hover,
[data-theme="dark"] .mobile-menu a:active {
  background: rgba(255,255,255,.06);
  color: #6fbf94;
}

/* Mobile menu badges (notifications counter inline) */
.mobile-menu .nav-badge {
  background: var(--green, #2f5d4a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: auto;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

/* Mobile menu logout button — special-style, διαχωρισμένο από links */
.mobile-menu-logout {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #b3261e;
  background: rgba(179, 38, 30, .08);
  border: 1px solid rgba(179, 38, 30, .25);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background .15s, border-color .15s;
}
.mobile-menu-logout:hover {
  background: rgba(179, 38, 30, .14);
  border-color: rgba(179, 38, 30, .4);
}
[data-theme="dark"] .mobile-menu-logout {
  color: #f4a4a0;
  background: rgba(255, 100, 90, .08);
  border-color: rgba(255, 100, 90, .25);
}
[data-theme="dark"] .mobile-menu-logout:hover {
  background: rgba(255, 100, 90, .14);
  border-color: rgba(255, 100, 90, .4);
}

/* ===== MOBILE NAV FIX — εξασφαλίζει εμφανές logo ===== */
@media (max-width: 1100px) {
  /* hamburger εμφανίζεται όπου τα nav-links κρύβονται */
  .nav-burger { display: inline-flex; }
}

@media (max-width: 700px) {
  .nav-inner {
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
  }
  .container.nav-inner,
  .nav .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .logo {
    flex-shrink: 0;     /* δεν συμπιέζεται από τα υπόλοιπα flex items */
    min-width: 0;
  }
  .logo-img {
    height: 30px;        /* λίγο μικρότερο logo σε κινητά */
    max-width: 130px;
  }
  .nav .age-badge {
    display: none;        /* ελευθερώνουμε χώρο για το logo */
  }
  .nav-cta {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }
  .lang-toggle {
    flex-shrink: 0;
  }

  /* Auth-only navbar icons (📝 κρυφό στο mobile, 🔔 ορατό δίπλα στο burger) */
  .nav-cta .nav-icon-btn:not(.nav-notif-btn) { display: none !important; }
  .nav-cta .nav-notif-btn { display: inline-flex !important; }

  /* User pill: μόνο avatar + logout κουμπί κρυφό (logout στο mobile menu) */
  .user-pill #userEmail { display: none; }
  .user-pill #logoutBtn { display: none; }
  .user-pill { padding: 0; }
  .user-pill-link { padding: 4px; }

  /* Auth button πιο compact + nowrap */
  #navAuthBtn {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.2;
  }
}

/* Στα πολύ μικρά κινητά (≤380px) μικρότερο logo + απλούστερη nav */
@media (max-width: 380px) {
  .logo-img {
    height: 26px;
    max-width: 110px;
  }
  .nav-cta .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
  }
}
