/* Citron - results/squeeze components (landing is Tailwind in index.html) */
:root {
  --bg: #0b0c03;
  --card: #13140b;
  --lemon: #f7d21b;
  --lemon-deep: #f0a528;
  --leaf: #b9e24f;
  --ink: #f5f1df;
  --muted: #c9c9b8;
  --err: #ff6b5e;
  --warn: #f0a528;
  --ok: #b9e24f;
  --radius: 16px;
}
html { scroll-behavior: smooth; }
.hp-fax, #hp-fax2 { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--err); margin-top: 10px; font-size: 0.9rem; min-height: 1.2em; }
.squeeze-btn:disabled { opacity: 0.6; cursor: wait; }

/* squeezing */
.squeezing { padding: 110px 0; position: relative; }
.lemon-stage { position: relative; height: 150px; margin-bottom: 20px; }
.lemon { font-size: 5rem; display: inline-block; animation: squish 1.1s ease-in-out infinite; }
.fist { position: absolute; font-size: 3rem; top: -16px; left: calc(50% + 28px); animation: press 1.1s ease-in-out infinite; }
.drops { position: absolute; top: 95px; left: 50%; transform: translateX(-50%); }
.drops span { position: absolute; font-size: 1.1rem; opacity: 0; animation: drip 1.1s linear infinite; }
.drops span:nth-child(2) { left: -18px; animation-delay: 0.35s; }
.drops span:nth-child(3) { left: 18px; animation-delay: 0.7s; }
@keyframes squish {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.72) scaleX(1.12); }
}
@keyframes press {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(22px) rotate(-8deg); }
}
@keyframes drip {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateY(42px); }
}
.progress-track { height: 10px; max-width: 420px; margin: 20px auto 0; background: var(--card); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--lemon), var(--leaf)); border-radius: 999px; transition: width 0.6s ease; }
.squeeze-hint { color: var(--muted); margin-top: 16px; font-size: 0.92rem; min-height: 1.4em; }

/* results */
.results { padding: 56px 0 30px; position: relative; }
.score-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.gauge-card {
  background: rgba(19, 20, 11, 0.9); border: 1px solid rgba(247, 210, 27, 0.2);
  border-radius: var(--radius); padding: 28px 20px 22px; text-align: center; position: relative;
}
.gauge { width: 200px; margin: 0 auto; display: block; }
#gauge-arc { transition: stroke-dashoffset 1.4s ease, stroke 0.6s; }
.gauge-num { margin-top: -54px; font-size: 2.6rem; font-weight: 800; font-family: 'JetBrains Mono', monospace; }
.gauge-num small { font-size: 1rem; color: var(--muted); }
.gauge-grade {
  display: inline-block; margin-top: 14px; padding: 6px 20px; border-radius: 999px;
  font-weight: 800; font-size: 1.05rem; background: rgba(247, 210, 27, 0.12);
  border: 1px solid rgba(247, 210, 27, 0.35); color: var(--lemon);
}
.verdict-card {
  background: rgba(19, 20, 11, 0.9); border: 1px solid rgba(247, 210, 27, 0.2);
  border-radius: var(--radius); padding: 26px 28px;
}
.verdict-head { color: var(--lemon); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.verdict-domain { font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.verdict-card p { line-height: 1.65; margin-bottom: 16px; }
.actions { padding-left: 22px; display: grid; gap: 9px; }
.actions li { line-height: 1.5; }
.actions li::marker { color: var(--lemon); font-weight: 700; }

.mini-scores { display: flex; gap: 14px; margin: 22px 0 36px; flex-wrap: wrap; }
.mini { background: var(--card); border: 1px solid rgba(247, 210, 27, 0.14); border-radius: 12px; padding: 12px 18px; font-size: 0.9rem; color: var(--muted); }
.mini b { color: #fff; font-family: 'JetBrains Mono', monospace; margin-left: 6px; }

/* speed analysis */
.speed-card {
  background: rgba(19, 20, 11, 0.9); border: 1px solid rgba(185, 226, 79, 0.25);
  border-radius: var(--radius); padding: 26px 28px; margin-bottom: 36px;
}
.speed-card > .verdict-head { color: var(--leaf); }
.speed-card > p { line-height: 1.65; margin-bottom: 16px; }
.speed-issue-why { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* floating bubbles */
.bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  max-width: 330px; padding: 14px 38px 14px 16px;
  background: linear-gradient(160deg, #1a1b0c, #13140b);
  border: 1px solid rgba(247, 210, 27, 0.4); border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  font-size: 0.86rem; line-height: 1.45; color: var(--ink);
  opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.bubble.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bubble .bubble-x {
  position: absolute; top: 6px; right: 10px; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 0.95rem; line-height: 1;
}
.bubble .bubble-x:hover { color: #fff; }
@media (max-width: 640px) {
  .bubble { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

.findings-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.findings { display: grid; gap: 12px; }
.find-card {
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--muted); border-radius: 12px; padding: 16px 18px;
}
.find-card.error { border-left-color: var(--err); background: rgba(255, 107, 94, 0.13); }
.find-card.warning { border-left-color: var(--warn); background: rgba(255, 107, 94, 0.07); }
.find-card.ok { border-left-color: var(--ok); }
.find-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; }
.find-head .tag { font-size: 0.7rem; padding: 2px 10px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; }
.tag.error { background: rgba(255, 107, 94, 0.15); color: var(--err); }
.tag.warning { background: rgba(240, 165, 40, 0.15); color: var(--warn); }
.tag.ok { background: rgba(185, 226, 79, 0.15); color: var(--ok); }
.find-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.find-fix { margin-top: 8px; font-size: 0.88rem; color: var(--lemon); }

/* "Πώς το διορθώνω" accordion */
.fix-toggle {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(247, 210, 27, 0.1); border: 1px solid rgba(247, 210, 27, 0.35);
  color: var(--lemon); font-weight: 700; font-size: 0.84rem;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background 0.2s;
}
.fix-toggle:hover { background: rgba(247, 210, 27, 0.18); }
.fix-toggle .caret { display: inline-block; transition: transform 0.25s ease; font-size: 0.72rem; }
.fix-toggle.open .caret { transform: rotate(90deg); }
.fix-panel {
  display: none; margin-top: 12px; padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(247, 210, 27, 0.18);
  border-radius: 10px; font-size: 0.9rem; line-height: 1.6;
}
.fix-panel.open { display: block; }
.fix-panel .fix-text { color: var(--ink); }
.fix-cta {
  display: block; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed rgba(247, 210, 27, 0.25);
  color: var(--lemon); font-weight: 700; font-size: 0.86rem; text-decoration: none;
}
.fix-cta:hover { text-decoration: underline; }

/* callback mini-form inside fix panels */
.cb-form { display: block; margin-top: 10px; }
.cb-label { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 7px; }
.cb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-phone {
  flex: 1; min-width: 140px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px;
  color: #fff; font-size: 0.86rem; padding: 9px 12px; outline: none;
}
.cb-phone:focus { border-color: var(--lemon); }
.cb-phone::placeholder { color: rgba(255, 255, 255, 0.35); }
.cb-btn {
  background: var(--lemon); color: #111; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 0.82rem; padding: 9px 14px; cursor: pointer;
  white-space: nowrap;
}
.cb-btn:hover { filter: brightness(1.08); }
.cb-btn:disabled { opacity: 0.6; cursor: wait; }
.cb-msg { display: block; font-size: 0.8rem; margin-top: 6px; }
.cb-msg.err { color: var(--err); }
.cb-msg.ok { color: var(--lime); font-weight: 600; }
.cb-form-final {
  max-width: 420px; margin: 26px auto 0; padding-top: 20px;
  border-top: 1px dashed rgba(247, 210, 27, 0.25);
}
.cb-form-final .cb-label { color: var(--ink); font-size: 0.9rem; margin-bottom: 10px; }

/* report toolbar */
.report-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.report-date { color: var(--muted); font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink); font-size: 0.84rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.tool-btn:hover { color: #fff; border-color: var(--lemon); }

/* hero reveal: lines rise in, then a juice highlight sweeps the lime line */
.reveal-line {
  display: inline-block; opacity: 0; transform: translateY(22px);
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal-line:nth-of-type(1) { animation-delay: 0.15s; }
.reveal-line:nth-of-type(2) { animation-delay: 0.45s; }
.reveal-line:nth-of-type(3) { animation-delay: 0.75s; }
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}
.juice-sweep {
  background-image: linear-gradient(100deg, rgba(247, 210, 27, 0.28), rgba(185, 226, 79, 0.22));
  background-repeat: no-repeat; background-size: 0% 42%; background-position: 0 78%;
  border-radius: 4px; padding: 0 4px; margin: 0 -4px;
  animation: sweep 0.9s ease-out 1.35s forwards;
}
@keyframes sweep { to { background-size: 100% 42%; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-line { animation: none; opacity: 1; transform: none; }
  .juice-sweep { animation: none; background-size: 100% 42%; }
}

/* FAQ caret */
.faq-item summary { list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '▸'; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); color: var(--lemon); transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); }

/* gate */
.gate { position: relative; margin-top: 12px; }
.gate-blur { filter: blur(7px); pointer-events: none; user-select: none; display: grid; gap: 12px; }
.gate-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 26px;
  background: linear-gradient(180deg, rgba(11, 12, 3, 0.4), rgba(11, 12, 3, 0.94));
  border-radius: var(--radius);
}
.gate-lock { color: var(--lemon); }
.gate-card h3 { font-size: 1.3rem; font-weight: 700; }
.gate-card p { color: var(--muted); max-width: 460px; }
.gate-card form { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.gate-card input[type=email] {
  padding: 13px 18px; min-width: 260px; font-size: 1rem;
  background: #000; border: 2px solid rgba(247, 210, 27, 0.35); border-radius: 12px; color: #fff; outline: none;
}
.gate-card input[type=email]:focus { border-color: var(--lemon); }
.gate-card button {
  background: linear-gradient(135deg, var(--lemon), var(--lemon-deep)); color: #0b0c03;
  font-weight: 800; border: none; border-radius: 12px; padding: 13px 24px; cursor: pointer; font-size: 1rem;
}
.gate-card small { color: var(--muted); font-size: 0.78rem; }

/* cta */
.final-cta {
  margin: 44px 0 10px; text-align: center; padding: 38px 24px;
  background: linear-gradient(160deg, #1a1b0c, #13140b);
  border: 1px solid rgba(247, 210, 27, 0.3); border-radius: var(--radius);
}
.final-cta h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.final-cta p { color: var(--muted); margin-bottom: 22px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--lemon), var(--lemon-deep)); color: #0b0c03;
  font-weight: 800; font-size: 1.1rem; text-decoration: none;
  padding: 16px 34px; border-radius: 999px; transition: transform 0.15s, box-shadow 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(247, 210, 27, 0.4); }
.again-btn {
  display: block; margin: 26px auto 0; background: none; border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-size: 0.9rem;
}
.again-btn:hover { color: #fff; border-color: var(--lemon); }

@media (max-width: 760px) {
  .score-row { grid-template-columns: 1fr; }
}

/* ---- print (Αποθήκευση / Εκτύπωση) ---- */
@media print {
  body { background: #fff !important; color: #000 !important; }
  #landing, .bubble, .again-btn, .final-cta, .report-tools .tool-btn, footer,
  header ul, header .squeeze-focus { display: none !important; }
  header, .results * { color: #000 !important; }
  .results { padding-top: 10px; }
  .gauge-card, .verdict-card, .speed-card, .find-card, .mini, .fix-panel {
    background: #fff !important; border-color: #ccc !important; box-shadow: none !important;
  }
  .find-card { border-left-width: 4px; }
  .find-card.error { border-left-color: #c0392b !important; }
  .find-card.warning { border-left-color: #d68910 !important; }
  .find-card.ok { border-left-color: #7a9f2c !important; }
  .gauge-grade { background: #fff !important; border-color: #999 !important; }
  .fix-toggle { display: none !important; }
  .fix-panel { display: block !important; }
  .fix-cta, .cb-form { display: none !important; }
  .progress-fill, #gauge-arc { print-color-adjust: exact; }
  .gate-card { display: none !important; }
  .gate-blur { filter: none !important; }
  body:not(.unlocked) #findings-locked { display: none !important; }
}
