/* Παλέτα και εφέ φωτός από την εφαρμογή NOETIC (X6Theme.kt, ClassicFxButton.kt). */
:root {
  --bg: #020617; --surface: #0f172a; --surface-2: #1e293b; --line: rgba(127, 231, 255, .16);
  --text: #e2e8f0; --dim: #94a3b8; --off: #475569;
  --cyan: #00e5ff; --fx-cyan: #7fe7ff; --fx-active: #4dd0e1; --orange: #ff6b35;
  --r: 16px;
  --stencil: "Saira Stencil One", "Commissioner", sans-serif;
  --body: "Commissioner", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 var(--body); }
h1, h2, p, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--fx-cyan); outline-offset: 3px; }

.proto { background: var(--orange); color: #1a0a03; font-size: 14px; font-weight: 600; padding: 7px 20px; text-align: center; position: sticky; top: 0; z-index: 5; }

/* ---------- Εφέ φωτός κουμπιών ---------- */
.fx { position: relative; isolation: isolate; transition: transform .45s cubic-bezier(.3, 1.9, .5, 1); -webkit-tap-highlight-color: transparent; }
.fx.pressed { transform: scale(.9); transition: transform 70ms ease-out; }
/* Φωτοστέφανο ηρεμίας με αργή αναπνοή */
.fx::before { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .32), transparent); animation: fx-breathe 3.2s ease-in-out infinite alternate; }
@keyframes fx-breathe { from { opacity: .45; } to { opacity: 1; } }
/* Στρώση μέσα στο σχήμα του κουμπιού για άνθιση, λάμψη και φλας */
.fx-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.fx-clip::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: 0; width: 45%; mix-blend-mode: plus-lighter;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-160%) skewX(-20deg); animation: fx-shimmer 7s linear infinite; animation-delay: var(--stagger, 0s); }
@keyframes fx-shimmer { 0% { transform: translateX(-160%) skewX(-20deg); } 12.86%, 100% { transform: translateX(360%) skewX(-20deg); } }
/* Άνθιση από το σημείο αφής */
.fx-bloom { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 240%; aspect-ratio: 1; border-radius: 50%; opacity: 0; mix-blend-mode: plus-lighter;
  transform: translate(-50%, -50%) scale(.3); background: radial-gradient(closest-side, #fff, rgba(127, 231, 255, .6), transparent); }
.fx-bloom.go { animation: fx-bloom 480ms linear; }
@keyframes fx-bloom { from { opacity: .55; transform: translate(-50%, -50%) scale(.3); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.2); } }
/* Κύρια ενέργεια: δυνατότερο φως και δακτύλιος που απλώνει */
.fx-primary::before { inset: -45%; background: radial-gradient(closest-side, rgba(127, 231, 255, .55), transparent); animation-duration: 1.6s; }
.fx-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 2px solid var(--fx-cyan); pointer-events: none; animation: fx-pulse 1.6s linear infinite; }
@keyframes fx-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.12, 1.35); opacity: 0; } }
/* Επιτυχία: στιγμιαίο φλας και δακτύλιος */
.fx-flash { position: absolute; inset: 0; background: #fff; opacity: 0; mix-blend-mode: plus-lighter; }
.confirm .fx-flash { animation: fx-flash 650ms linear; }
@keyframes fx-flash { from { opacity: .5; } to { opacity: 0; } }

/* Φωτεινή ακμή στις μπάρες, με φως που την ταξιδεύει */
.bar-light { position: relative; }
.bar-light::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .12); }
.bar-light::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 35%; background: linear-gradient(90deg, transparent, rgba(127, 231, 255, .85), transparent); animation: bar-sweep 5.2s linear infinite; }
@keyframes bar-sweep { from { transform: translateX(-100%); } to { transform: translateX(286%); } }

/* ---------- Κουμπιά ---------- */
.cta { display: inline-block; font: 600 17px var(--body); color: var(--bg); background: linear-gradient(180deg, #5ff0ff, var(--cyan) 55%, #26c6da); border: 0; border-radius: 14px; padding: 14px 24px; text-decoration: none; cursor: pointer; box-shadow: 0 0 22px rgba(0, 229, 255, .35); }
.cta:disabled { background: var(--surface-2); color: var(--dim); cursor: not-allowed; box-shadow: none; }
.cta:disabled::before, .cta:disabled::after, .cta:disabled .fx-clip { display: none; }
.ghost { font: 600 16px var(--body); background: rgba(15, 23, 42, .6); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 13px 20px; cursor: pointer; }

/* ---------- Πρώτη οθόνη ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: calc(100vh - 38px); }
.hero-copy { padding: clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; background: radial-gradient(circle at 15% 25%, rgba(0, 229, 255, .08), transparent 55%); }
.brand { font: 400 clamp(26px, 3vw, 40px)/1 var(--stencil); color: var(--fx-cyan); }
h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -.015em; max-width: 17ch; }
.lede { max-width: 50ch; color: var(--dim); font-weight: 300; font-size: clamp(18px, 1.5vw, 21px); }
.count { color: var(--dim); font-size: 16px; }
.count b { font: 400 22px var(--stencil); color: var(--orange); }
.hero-film { position: relative; overflow: hidden; background: #000; min-height: 60vh; }
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* ---------- Το βίντεο που κυλά με το scroll ---------- */
.scrub { height: 340vh; position: relative; background: #000; }
.scrub-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#film { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 9 / 16; transform: translate(-50%, -50%); }
.scrub-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0, transparent 34%, transparent 66%, #000 100%); pointer-events: none; }
.beat { position: absolute; z-index: 1; left: clamp(20px, 7vw, 110px); top: 50%; transform: translateY(-50%); width: min(30vw, 380px); opacity: 0; transition: opacity .3s; }
.beat:nth-of-type(2) { left: auto; right: clamp(20px, 7vw, 110px); }
.beat.on { opacity: 1; }
.beat h2 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.12; font-weight: 800; margin-bottom: 10px; }
.beat p { color: var(--dim); font-weight: 300; }

/* ---------- Τιμή και αντίστροφη μέτρηση ---------- */
.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(50px, 7vw, 110px) clamp(20px, 6vw, 96px); background: radial-gradient(circle at 12% 40%, rgba(0, 229, 255, .1), transparent 50%), var(--bg); }
.offer-price h2 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; color: var(--dim); }
.versions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 22px; }
.version { display: grid; gap: 2px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(15, 23, 42, .6); color: var(--text); font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--stencil); cursor: pointer; }
.version small { color: var(--dim); font: 400 13px var(--body); }
.version:hover { border-color: var(--fx-cyan); }
.version[aria-pressed="true"] { border-color: var(--fx-active); background: rgba(77, 208, 225, .18); box-shadow: 0 0 14px rgba(0, 229, 255, .25); }
.price-label { color: var(--dim); }
.price-note { margin-top: 10px; color: var(--dim); font-size: 14px; max-width: 44ch; }
.price-now { font: 400 clamp(62px, 8.6vw, 136px)/1.05 var(--stencil); color: #fff; text-shadow: 0 0 18px rgba(0, 229, 255, .65), 0 0 60px rgba(0, 229, 255, .35); }
.price-vat { font-size: clamp(18px, 1.5vw, 22px); }
.price-was { margin-top: 14px; color: var(--dim); max-width: 44ch; }
.price-was s { color: var(--text); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.split-bar { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.split-bar > div { display: grid; gap: 2px; padding: 16px 18px; }
.split-bar b { font-size: 18px; }
.split-bar span { font-size: 15px; }
.split-a { color: var(--bg); background: linear-gradient(180deg, #5ff0ff, var(--cyan) 55%, #26c6da); }
.split-b { background: rgba(30, 41, 59, .7); }
.split-b span { color: var(--dim); }
.clock { margin-top: 26px; }
.clock-label { color: var(--dim); font-size: 16px; margin-bottom: 10px; }
.clock-digits { display: flex; gap: clamp(8px, 1.2vw, 16px); }
.clock-digits span { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15, 23, 42, .7); color: var(--dim); font-size: 13px; }
.clock-digits b { font: 400 clamp(28px, 3.4vw, 50px)/1 var(--stencil); color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- Χώρες ---------- */
.markets { padding: 0 clamp(20px, 6vw, 96px) clamp(50px, 6vw, 90px); }
.markets h2 { font-size: clamp(26px, 2.8vw, 42px); font-weight: 800; margin-bottom: 18px; }
.markets ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.markets li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; background: rgba(15, 23, 42, .7); }
.markets p { color: var(--dim); font-size: 15px; }

/* ---------- Οι αριθμοί ---------- */
.wall { background: linear-gradient(180deg, var(--bg), var(--surface) 30%); padding: clamp(44px, 6vw, 90px) clamp(20px, 6vw, 96px) 0; scroll-margin-top: 38px; }
.wall-head { display: grid; grid-template-columns: auto minmax(0, 46ch); gap: 12px 48px; align-items: end; justify-content: space-between; margin-bottom: clamp(26px, 4vw, 52px); }
.wall-head h2 { font-size: clamp(38px, 5vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.015em; }
.wall-head p { color: var(--dim); }
.meter { margin-bottom: 22px; }
.meter p { margin-top: 8px; color: var(--dim); font-size: 16px; }
.meter b { font: 400 22px var(--stencil); color: var(--orange); }
.meter-bar { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.meter-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #26c6da, var(--cyan)); box-shadow: 0 0 14px var(--cyan); transition: width .6s; }
.ranges { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.range { display: grid; gap: 1px; padding: 8px 2px; border: 1px solid var(--line); border-radius: 10px; background: rgba(15, 23, 42, .6); color: var(--text); font: 600 13px var(--body); cursor: pointer; }
.range small { color: var(--dim); font-weight: 400; font-size: 11px; }
.range:hover { border-color: var(--fx-cyan); }
.range[aria-pressed="true"] { border-color: var(--fx-active); background: rgba(77, 208, 225, .18); box-shadow: 0 0 14px rgba(0, 229, 255, .25); }
.slab { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(4px, .6vw, 9px); }
.plate { appearance: none; border: 1px solid var(--line); border-radius: 10px; padding: 0; aspect-ratio: 1; cursor: pointer; color: var(--text);
  background: linear-gradient(160deg, rgba(30, 41, 59, .78), rgba(15, 23, 42, .78)); backdrop-filter: blur(8px); font: 400 clamp(18px, 2.5vw, 42px)/1 var(--stencil); }
.plate::before { display: none; }
.plate:hover:not(:disabled) { border-color: var(--fx-cyan); color: #fff; }
.plate[aria-pressed="true"] { border-color: var(--fx-active); color: #fff; text-shadow: 0 0 12px var(--cyan), 0 0 40px var(--cyan); box-shadow: inset 0 0 28px rgba(77, 208, 225, .22); }
.plate[aria-pressed="true"]::before { display: block; inset: -40%; background: radial-gradient(closest-side, rgba(77, 208, 225, .75), transparent); animation: none; opacity: 1; }
/* Φωτεινή τελεία κάτω από τον ενεργό αριθμό, όπως στους διακόπτες της εφαρμογής */
.plate[aria-pressed="true"]::after { content: ""; position: absolute; left: 35%; right: 35%; bottom: 8%; height: 3px; border-radius: 3px; background: var(--fx-active); box-shadow: 0 0 10px var(--cyan); }
.plate:disabled { cursor: not-allowed; color: var(--off); background: rgba(2, 6, 23, .5); border-color: rgba(148, 163, 184, .1); backdrop-filter: none; }
.plate:disabled::before, .plate:disabled .fx-clip { display: none; }

.dock { position: sticky; bottom: 0; z-index: 3; margin: clamp(20px, 3vw, 40px) calc(-1 * clamp(20px, 6vw, 96px)) 0; padding: 16px clamp(20px, 6vw, 96px); background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent), rgba(2, 6, 23, .82); backdrop-filter: blur(14px); display: flex; justify-content: space-between; align-items: center; gap: 20px; overflow: hidden; }
.dock-text { display: grid; }
.dock-text b { font-size: 20px; }
.dock-text span { color: var(--dim); font-size: 15px; }
.dock .cta { margin: 4px 10px 4px 0; }

/* ---------- Πορεία ---------- */
.path { padding: clamp(50px, 7vw, 110px) clamp(20px, 6vw, 96px); }
.path h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 36px; }
.path ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: s; }
.path li { counter-increment: s; border-top: 2px solid var(--fx-active); padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.path li::before { content: counter(s); font: 400 34px/1 var(--stencil); color: var(--fx-cyan); }
.path li b { font-size: 20px; }
.path li span { color: var(--dim); font-weight: 300; font-size: 16px; }
.legal { margin-top: 36px; color: var(--dim); font-size: 15px; }
.foot a { color: var(--fx-cyan); }
.foot { padding: 20px clamp(20px, 6vw, 96px) 40px; color: var(--dim); font-size: 15px; }

/* ---------- Διάλογοι ---------- */
dialog { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 38px); width: min(560px, calc(100vw - 28px)); background: linear-gradient(160deg, rgba(30, 41, 59, .94), rgba(15, 23, 42, .96)); color: var(--text); box-shadow: 0 0 60px rgba(0, 229, 255, .14); }
dialog::backdrop { background: rgba(2, 6, 23, .78); backdrop-filter: blur(4px); }
dialog[open] { display: grid; gap: 16px; overflow-x: clip; }
dialog h2 { font-size: 26px; line-height: 1.2; font-weight: 800; }
dialog p { color: var(--dim); font-size: 16px; }
.row { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
#hold .timer { font: 400 62px/1 var(--stencil); color: var(--cyan); text-shadow: 0 0 22px rgba(0, 229, 255, .55); }

.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { color: var(--dim); font-size: 14px; padding: 0; }
select { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.radio { display: flex; align-items: center; gap: 9px; color: var(--text) !important; font-size: 16px !important; padding: 4px 0 !important; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--cyan); }
.due b { color: var(--cyan); font-size: 20px; }
.warn { color: #ff9c78 !important; font-size: 15px; }
.warn[hidden] { display: none; }
.proto[hidden] { display: none; }
.pass { position: relative; overflow: hidden; aspect-ratio: 1.586; padding: 22px 26px; border: 1px solid var(--fx-active); border-radius: 18px; background: radial-gradient(circle at 80% 15%, rgba(0, 229, 255, .22), transparent 55%), linear-gradient(150deg, var(--surface-2), var(--bg)); display: flex; flex-direction: column; justify-content: space-between; transition: transform .12s ease-out; box-shadow: 0 0 34px rgba(0, 229, 255, .28); animation: strike .7s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes strike { from { transform: scale(1.14) rotate(-2deg); opacity: 0; } }
.pass-model { font: 400 20px var(--stencil); color: var(--fx-cyan); }
.pass-no { font: 400 clamp(84px, 20vw, 126px)/1 var(--stencil); color: #fff; text-shadow: 0 0 14px var(--cyan), 0 0 44px var(--cyan); }
.pass-line { font-size: 14px; font-weight: 600; color: var(--dim); }
.pass-shine { position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: plus-lighter; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .34) 50%, transparent 58%); transform: translateX(var(--shine, -30%)); }

/* Κάτω από αυτό το πλάτος το κείμενο δεν χωρά δίπλα στο προϊόν */
@media (max-width: 1240px) {
  .beat, .beat:nth-of-type(2) { left: 50%; right: auto; width: min(560px, calc(100vw - 40px)); top: auto; bottom: 34px; transform: translateX(-50%); padding: 14px 18px; border-radius: var(--r); background: rgba(2, 6, 23, .78); border: 1px solid var(--line); }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-film { order: -1; min-height: 58vh; }
  .scrub-stage::after { display: none; }
  .offer { grid-template-columns: 1fr; }
  .versions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #film { height: auto; width: 100%; max-height: 100%; }
  .wall-head { grid-template-columns: 1fr; }
  .slab { gap: 5px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plate { font-size: clamp(18px, 5.6vw, 40px); }
  .ranges { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .range { font-size: 11.5px; white-space: nowrap; }
  .range small { display: none; }
  .markets li { font-size: 15px; }
  .path ol { grid-template-columns: 1fr; }
  .proto { font-size: 12.5px; padding: 5px 14px; }
  .dock { flex-wrap: wrap; }
  .dock .cta { width: calc(100% - 10px); margin: 4px 5px; text-align: center; }
}

/* Όπως στην εφαρμογή: χωρίς κίνηση μένει μόνο το σταθερό φωτοστέφανο */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx::before { animation: none; opacity: .75; }
  .fx::after, .fx-clip::after, .bar-light::after { animation: none; display: none; }
  .fx-bloom, .fx-flash { display: none; }
  .fx, .fx.pressed { transform: none; transition: none; }
  .pass { animation: none; }
}
