/* ==========================================================================
   FileFlow Pro – ΣΤΥΛ ΣΕΛΙΔΑΣ
   Mobile first: τα βασικά στυλ είναι για κινητό, και με @media
   προσαρμόζονται για μεγαλύτερες οθόνες.
   ========================================================================== */

/* ---------- 1. Χρώματα & μεταβλητές (εδώ αλλάζει το χρώμα του brand) ---------- */
:root {
  --brand: #2f5bea;          /* κύριο χρώμα brand */
  --brand-strong: #2448d8;   /* πιο σκούρο, για hover */
  --brand-text: #2f5bea;     /* χρώμα για κείμενα/links σε brand */
  --brand-soft: #eef2ff;     /* απαλό φόντο brand */
  --text: #141a2e;
  --muted: #5b6475;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --card: #ffffff;
  --border: #e3e7f0;
  --shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 8px 24px rgba(20, 26, 46, .06);
  --shadow-lg: 0 24px 60px -12px rgba(36, 72, 216, .28), 0 8px 20px rgba(20, 26, 46, .08);
  --radius: 14px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
}

/* Σκούρο θέμα: ενεργοποιείται αυτόματα από τις ρυθμίσεις του συστήματος */
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #3358f0;
    --brand-strong: #4a6cf5;
    --brand-text: #8aa4ff;
    --brand-soft: #18213d;
    --text: #e8ecf4;
    --muted: #9aa4b5;
    --bg: #0d1117;
    --bg-alt: #111722;
    --card: #161d2b;
    --border: #263044;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, .6), 0 8px 20px rgba(0, 0, 0, .3);
  }
}

/* ---------- 2. Βασικά (reset) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--brand-text); }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .9em; background: var(--brand-soft); padding: .1em .4em; border-radius: 6px; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* Κείμενο μόνο για αναγνώστες οθόνης (screen readers) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Γενικά εικονίδια γραμμής (stroke) */
.icon, .feature-icon svg, .secure svg, .lb-btn svg, .mock-float svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Κουμπιά ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(47, 91, 234, .6); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--brand-text); color: var(--brand-text); }
.btn-light { background: #fff; color: #1b2a6b; }
.btn-light:hover { background: #eef2ff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; border-radius: 8px; box-shadow: none; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.brand b { color: var(--brand-text); }
.brand img { flex: none; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Κουμπί γλώσσας EL / EN */
.lang-toggle {
  display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); cursor: pointer; min-height: 38px; align-items: center;
}
.lang-toggle span { padding: 4px 8px; border-radius: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s; }
html[lang="el"] .lang-toggle [data-lang="el"],
html[lang="en"] .lang-toggle [data-lang="en"] { background: var(--brand); color: #fff; }

/* Μενού κινητού (hamburger) */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  display: none;
}
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.nav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.nav li:last-child a { border-bottom: 0; }
.nav a:hover { color: var(--brand-text); }

/* Στενές οθόνες κινητού: πιο «σφιχτό» header ώστε να χωράνε όλα */
@media (max-width: 440px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .lang-toggle span { padding: 4px 6px; }
  .btn-sm { padding: 6px 11px; }
}
@media (max-width: 359px) {
  .brand span { display: none; }
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .nav { position: static; display: block; background: none; border: 0; box-shadow: none; margin-left: 24px; }
  .nav ul { display: flex; gap: 4px; padding: 0; }
  .nav a { border: 0; padding: 8px 12px; font-size: .95rem; color: var(--muted); border-radius: 8px; }
  .nav a:hover { color: var(--text); background: var(--bg-alt); }
}

/* ---------- 5. Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
  background:
    radial-gradient(40% 50% at 80% 30%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(35% 45% at 10% 10%, color-mix(in srgb, #8e4ec6 12%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-text); font-size: .85rem; font-weight: 600;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 3px color-mix(in srgb, #22a06b 25%, transparent); }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.grad {
  background: linear-gradient(90deg, var(--brand-text), #8e4ec6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; }
.hero-meta { display: flex; align-items: center; gap: 8px; margin: 20px 0 4px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.win-logo { width: 16px; height: 16px; fill: var(--brand-text); }
.hero-note { font-size: .85rem; color: var(--muted); margin: 0; }

@media (min-width: 560px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cta-center { justify-content: center; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* ---------- 6. Mockup παραθύρου εφαρμογής (μόνο CSS) ---------- */
.hero-visual { position: relative; }
.mock {
  position: relative; max-width: 560px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); font-size: 12px; line-height: 1.4; color: var(--text);
}
.mock-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--bg-alt); border-radius: 12px 12px 0 0; color: var(--muted); }
.mock-bar span { flex: 1; }
.mock-bar i { width: 10px; height: 2px; background: var(--muted); opacity: .6; margin-left: 10px; }
.mock-bar i:nth-of-type(2) { height: 10px; background: none; border: 1.5px solid var(--muted); width: 10px; }
.mock-bar i:nth-of-type(3) { height: 12px; width: 12px; background: linear-gradient(45deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%); }
.mock-body { display: grid; grid-template-columns: 96px 1fr; min-height: 280px; }
.mock-side { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; border-right: 1px solid var(--border); background: var(--bg-alt); border-radius: 0 0 0 12px; color: var(--muted); }
.mock-side span { padding: 6px 8px; border-radius: 6px; }
.mock-side .on { background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.mock-main { padding: 14px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.mock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, #22a06b 15%, transparent); color: #1a7f54; }
.mock-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22a06b; }
@media (prefers-color-scheme: dark) { .mock-pill { color: #4cc38a; } }
.mock-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mock-files li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 7px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--card);
}
.mock-files i { width: 22px; height: 22px; border-radius: 5px; background: color-mix(in srgb, var(--c) 18%, transparent); position: relative; }
.mock-files i::after { content: ""; position: absolute; inset: 5px 7px; border-radius: 2px; background: var(--c); }
.mock-files span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mock-files em { font-style: normal; font-size: 11px; color: var(--muted); background: var(--bg-alt); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mock-files em::before { content: "→ "; }
.mock-progress { height: 6px; border-radius: 3px; background: var(--bg-alt); margin: 14px 0 6px; overflow: hidden; }
.mock-progress span { display: block; height: 100%; width: 72%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #8e4ec6); }
.mock-status { margin: 0; color: var(--muted); font-size: 11px; }
.mock-float {
  position: absolute; right: -6px; bottom: -22px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: 12.5px; color: var(--text);
}
.mock-float svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #22a06b; stroke: #fff; stroke-width: 3; flex: none; }
@media (max-width: 420px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-files em { display: none; }
  .mock-float { right: 8px; }
}

/* ---------- 7. Ενότητες γενικά ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } .section-head { margin-bottom: 56px; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- 8. Δυνατότητες ---------- */
.features-grid { display: grid; gap: 16px; }
.feature { padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.feature-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); margin-bottom: 16px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 9. Στιγμιότυπα (gallery) ---------- */
.gallery { display: grid; gap: 20px; }
.shot { margin: 0; }
.shot-btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.shot-btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot figcaption { text-align: center; margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 10. Βίντεο (lite YouTube) ---------- */
.video-block { max-width: 860px; margin: 64px auto 0; text-align: center; }
.video-title { font-size: 1.35rem; margin-bottom: 20px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1b2a6b; box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-lite { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lite { padding: 0; cursor: pointer; background: none; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .2s;
}
.play-btn svg { width: 30px; height: 30px; fill: var(--brand); margin-left: 4px; }
.video-lite:hover .play-btn, .video-lite:focus-visible .play-btn { transform: scale(1.08); }
.video-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- 11. Τιμή ---------- */
.price-card {
  position: relative; max-width: 460px; margin: 0 auto; padding: 32px 24px; text-align: center;
  background: var(--card); border: 2px solid var(--brand); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.price-plan { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 24px; }
.price-amount .js-price { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-once { color: var(--muted); font-weight: 600; }
.checklist { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, #22a06b 15%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322a06b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.secure { display: flex; align-items: flex-start; justify-content: center; gap: 8px; text-align: left; margin: 16px 0 8px; font-size: .85rem; color: var(--muted); }
.secure svg { width: 16px; height: 16px; flex: none; color: #22a06b; margin-top: 2px; }
.text-link { font-size: .92rem; font-weight: 600; }
@media (min-width: 560px) { .price-card { padding: 40px; } }

/* ---------- 12. Οδηγίες (tabs) ---------- */
.tablist {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 24px; overflow-x: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 9px; background: none;
  font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; }
.tabpanel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.tabpanel:not([hidden]) { animation: fade-in .3s ease; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; min-height: 32px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-text); font-weight: 700; font-size: .95rem;
}
/* Κινητό: τα 3 tabs χωράνε πάντα, σε ίσες στήλες (το κείμενο αναδιπλώνεται) */
@media (max-width: 559px) {
  .tab { flex: 1 1 0; white-space: normal; padding: 8px 6px; font-size: .88rem; line-height: 1.25; }
}
@media (min-width: 560px) { .tabpanel { padding: 32px; } }

/* ---------- 13. FAQ (accordion) ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; border-radius: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-item[open] .faq-answer { animation: fade-in .3s ease; }

/* ---------- 14. Τελικό CTA ---------- */
.final-cta { padding: 24px 0 72px; }
.final-inner {
  text-align: center; color: #fff; padding: 48px 24px; border-radius: 24px;
  background: radial-gradient(60% 80% at 85% 0%, rgba(142, 78, 198, .55), transparent 70%), linear-gradient(135deg, #1b2a6b, #2448d8);
  box-shadow: var(--shadow-lg);
}
.final-inner h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; }
.final-inner p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin-bottom: 28px; }
@media (min-width: 960px) { .final-inner { padding: 72px 40px; } .final-cta { padding-bottom: 104px; } }

/* ---------- 15. Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: .92rem; color: var(--muted); }
.footer-inner { display: grid; gap: 20px; }
.footer-brand p { margin: 8px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.copyright { margin: 0; }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-links { justify-items: end; }
  .copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); }
}

/* ---------- 16. Lightbox & παράθυρο Demo (<dialog>) ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(8, 12, 24, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open] { animation: pop-in .25s ease; }

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox-inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 12px; }
.lightbox figure { margin: 0; width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lightbox figcaption { text-align: center; color: #fff; margin-top: 12px; font-weight: 600; }
.lb-btn {
  position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); color: #fff;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; margin-top: -23px; }
.lb-next { right: 8px; top: 50%; margin-top: -23px; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 12px; margin: 0; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
@media (min-width: 900px) { .lightbox-inner { padding: 48px 80px; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

.modal {
  width: calc(100% - 32px); max-width: 460px; padding: 0; border: 1px solid var(--border); border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow-lg);
}
.modal-inner { padding: 32px 28px 28px; text-align: center; }
.modal h2 { font-size: 1.35rem; margin: 14px 0 10px; }
.modal p { color: var(--muted); margin-bottom: 24px; }
.demo-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; background: #fff4d6; color: #7a4d00; border: 1px solid #f5c95c;
}
@media (prefers-color-scheme: dark) { .demo-badge { background: #3a2c08; color: #ffd772; border-color: #7a5a12; } }
html.modal-open { overflow: hidden; }

/* ---------- 17. Animations (σέβονται το prefers-reduced-motion) ---------- */
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes row-sort {
  0%, 12% { transform: none; opacity: 1; }
  18% { transform: translateX(10px); opacity: .35; }
  24%, 100% { transform: none; opacity: 1; }
}
@keyframes progress { from { width: 18%; } to { width: 96%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: no-preference) {
  /* Εμφάνιση στοιχείων καθώς κάνετε scroll (μόνο όταν τρέχει JavaScript) */
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* Ζωντανό mockup: τα αρχεία «ταξινομούνται» ένα-ένα */
  .mock-files li { animation: row-sort 6s ease-in-out infinite; }
  .mock-files li:nth-child(2) { animation-delay: 1.2s; }
  .mock-files li:nth-child(3) { animation-delay: 2.4s; }
  .mock-files li:nth-child(4) { animation-delay: 3.6s; }
  .mock-files li:nth-child(5) { animation-delay: 4.8s; }
  .mock-progress span { animation: progress 6s ease-in-out infinite alternate; }
  .mock-float { animation: float 5s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
