/* Shared style of the Calix app landing pages (elliniki-efarmogi-thermidon, efarmogi-thermidon-me-fotografia). */
:root {
  --bg: #0a0e1a;
  --accent: #34d399;
  --accent-glow: #6ee7b7;
  --muted: #9aa6c3;
  --card: rgba(255,255,255,0.03);
  --line: rgba(255,255,255,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: #f5f7fb;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-glow); }

.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(14px); background: rgba(10,14,26,0.82); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: #fff; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #06231a; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.dl-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--accent); color: #06231a; }

.crumbs { max-width: 1100px; margin: 0 auto; padding: 18px 28px 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }

.hero { max-width: 1280px; margin: 0 auto; padding: 64px 28px 56px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 28px; }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(34px, 5.5vw, 62px); line-height: 1.08; letter-spacing: -0.025em; max-width: 860px; margin: 0 auto 24px; }
.hero h1 .accent { background: linear-gradient(135deg, #34d399, #6ee7b7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub { color: var(--muted); font-size: 19px; max-width: 660px; margin: 0 auto 36px; line-height: 1.65; }
.hero .sub strong { color: #fff; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-btns a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s; }
.hero-btns .primary { background: var(--accent); color: #06231a; }
.hero-btns .primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(52,211,153,0.4); color: #06231a; }
.hero-btns .secondary { border: 1px solid rgba(255,255,255,0.15); color: #fff; }
.hero-btns .secondary:hover { background: rgba(255,255,255,0.05); }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats .stat-val { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; color: var(--accent); }
.hero-stats .stat-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-top: 4px; }

.section { max-width: 1100px; margin: 0 auto; padding: 72px 28px; }
.section-title { font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 42px); text-align: center; margin-bottom: 16px; font-weight: 600; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 48px; font-size: 17px; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.usp-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; transition: border-color .3s, transform .3s; }
.usp-card:hover { border-color: rgba(52,211,153,0.3); transform: translateY(-4px); }
.usp-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(52,211,153,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.usp-card h3 { font-family: 'Fraunces', serif; font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.usp-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.content { max-width: 760px; margin: 0 auto; padding: 56px 28px; }
.content h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; margin: 48px 0 18px; letter-spacing: -0.015em; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: #fff; }
.content p { color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.content strong { color: #fff; }
.content ul, .content ol { margin: 0 0 24px 24px; color: var(--muted); }
.content li { margin-bottom: 10px; }
.content li::marker { color: var(--accent); }
.note { border: 1px solid rgba(52,211,153,0.25); background: rgba(52,211,153,0.06); border-radius: 12px; padding: 18px 20px; color: #d6dcec; font-size: 15px; margin: 8px 0 28px; }
.note strong { color: #fff; }

.steps { counter-reset: step; list-style: none; margin: 0 0 28px 0 !important; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #06231a; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }

.faq { max-width: 760px; margin: 0 auto; padding: 0 28px 60px; }
.faq h2 { font-family: 'Fraunces', serif; font-size: 28px; margin-bottom: 24px; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; font-weight: 600; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.related { max-width: 1100px; margin: 0 auto; padding: 0 28px 24px; }
.related h2 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.related-grid a { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 16px 18px; color: #fff; font-weight: 600; font-size: 15px; }
.related-grid a span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 4px; }
.related-grid a:hover { border-color: rgba(52,211,153,0.35); }

.cta-block { max-width: 1100px; margin: 40px auto 60px; padding: 64px 40px; background: radial-gradient(circle at 80% 20%, rgba(52,211,153,0.12), transparent 50%), linear-gradient(135deg, #102145, #0a1226); border: 1px solid var(--line); border-radius: 16px; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 2px; background: var(--accent); }
.cta-block h2 { font-family: 'Fraunces', serif; font-size: 36px; margin-bottom: 14px; font-weight: 600; }
.cta-block p { color: var(--muted); max-width: 540px; margin: 0 auto 32px; font-size: 16px; line-height: 1.65; }
.cta-block .badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #06231a; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5); color: #06231a; }

footer { max-width: 1280px; margin: 0 auto; padding: 40px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
footer a:hover { color: #fff; }

/* App screenshots (new 4.1 look) */
.screens { max-width: 1040px; margin: 0 auto; padding: 8px 28px 24px; display: grid; grid-template-columns: 11fr 6fr 6fr; gap: 24px; align-items: end; }
.screens figure { margin: 0; text-align: center; }
.screens img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }
.screens figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.shot { max-width: 300px; margin: 0 auto 8px; text-align: center; }
.shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45)); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* «Η ιστορία στο πιάτο» (video pages) */
.ep-head { max-width: 900px; margin: 0 auto; padding: 40px 28px 20px; }
.ep-kicker { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 14px; }
.ep-head h1 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px; }
.ep-meta { color: var(--muted); font-size: 14px; }
.video { max-width: 900px; margin: 0 auto; padding: 0 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chapters { list-style: none; margin: 0 0 24px 0 !important; padding: 0; }
.chapters li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.chapters a.t { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 44px; }
.sources li { font-size: 14px; }
.ep-nav { max-width: 760px; margin: 0 auto; padding: 0 28px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ep-nav a { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px 16px; color: #fff; font-weight: 600; font-size: 14px; }
.ep-nav a span { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-bottom: 4px; }
.ep-nav a.next { text-align: right; }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ep-card { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 14px; overflow: hidden; color: #fff; transition: border-color .3s, transform .3s; }
.ep-card:hover { border-color: rgba(52,211,153,0.35); transform: translateY(-3px); color: #fff; }
.ep-card .thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ep-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-card .thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,0.75); font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.ep-card .body { padding: 14px 16px 16px; }
.ep-card .num { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.ep-card h3 { font-size: 16px; line-height: 1.35; font-weight: 600; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 768px) {
  .hero { padding: 40px 20px 36px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat-val { font-size: 28px; }
  .section { padding: 48px 20px; }
  .content { padding: 40px 20px; }
  .faq { padding: 0 20px 40px; }
  .related { padding: 0 20px 20px; }
  .crumbs { padding: 14px 20px 0; }
  .cta-block { margin: 24px 16px 40px; padding: 40px 24px; }
  .cta-block h2 { font-size: 26px; }
  .nav-links { display: none; }
  .screens { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 20px 16px; }
  .screens figure:first-child { grid-column: 1 / -1; }
  .shot { max-width: 240px; }
  .ep-head { padding: 28px 20px 16px; }
  .video { padding: 0 12px; }
  .ep-nav { padding: 0 20px 20px; grid-template-columns: 1fr; }
  .ep-nav a.next { text-align: left; }
}
