/* Πεντάρι — public site. Ίδια παλέτα με το COLORS (src/constants/tags.ts). Χωρίς εξωτερικά fonts. */
:root {
  --bg: #130B2E;
  --card: #1F1546;
  --elevated: #2B1F60;
  --border: #3B2C7A;
  --border-dark: #0C0620;
  --violet: #7C3AED;
  --violet-dark: #5B21B6;
  --emerald: #10B981;
  --emerald-dark: #047857;
  --amber: #F59E0B;
  --amber-dark: #B45309;
  --coral: #F43F5E;
  --coral-dark: #BE123C;
  --text: #FFFFFF;
  --text-2: #C9C2EA;
  --muted: #8F86B8;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, #3A1C8C55, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #0E7C6A33, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; height: auto; }

a { color: #B9A2FF; text-underline-offset: 3px; }
a:hover { color: #FFFFFF; }

main, .site-header, .site-footer {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
}
.brand img { border-radius: 12px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 6px; }
.site-header nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
}
.site-header nav a:hover { background: var(--card); color: var(--text); }
.site-header nav a[aria-current="page"] { background: var(--violet); color: #FFFFFF; }

/* ---------- Bits ---------- */
.card {
  background: var(--card);
  border: 2px solid var(--border);
  border-bottom: 6px solid var(--border-dark);
  border-radius: 24px;
  padding: 22px;
}

.pill {
  display: inline-block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid currentColor;
}
.pill.sm { font-size: 11px; padding: 2px 8px; }
.pill-amber { color: var(--amber); background: #F59E0B1A; }
.pill-violet { color: #B9A2FF; background: #7C3AED22; }
.pill-emerald { color: var(--emerald); background: #10B9811A; }
.pill-coral { color: var(--coral); background: #F43F5E1A; }

.btn {
  display: inline-block;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 18px;
  border: 2px solid transparent;
  border-bottom-width: 6px;
  transition: transform .08s ease, border-bottom-width .08s ease;
}
.btn:active { transform: translateY(4px); border-bottom-width: 2px; }
.btn-emerald { background: var(--emerald); border-color: var(--emerald); border-bottom-color: var(--emerald-dark); color: #04241A; }
.btn-ghost { background: var(--card); border-color: var(--border); border-bottom-color: var(--border-dark); color: var(--text); }
.btn-ghost:hover { color: #FFFFFF; border-color: var(--violet); }
.btn[aria-disabled="true"] { cursor: default; }

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding-block: 36px 56px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  margin: 16px 0 14px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.hl { color: var(--emerald); }
.nowrap { white-space: nowrap; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); margin: 0 0 24px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 10px 14px;
}
.stats strong { font-size: 26px; font-weight: 900; color: var(--amber); }
.stats span { font-size: 12.5px; line-height: 1.3; color: var(--text-2); font-weight: 700; }

/* Phone mockup (καθαρό CSS) */
.phone {
  justify-self: center;
  width: min(320px, 100%);
  aspect-ratio: 9 / 18;
  background: #0B0620;
  border: 3px solid var(--border);
  border-bottom-width: 10px;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 80px #7C3AED40;
  transform: rotate(2deg);
}
.phone-screen {
  position: relative;
  height: 100%;
  background: var(--bg);
  border-radius: 28px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.mini-top { display: flex; justify-content: space-between; gap: 6px; }
.mini-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-bottom-width: 5px;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-card small { color: var(--muted); font-weight: 900; font-size: 10px; letter-spacing: .06em; }
.mini-card b { font-size: 14px; line-height: 1.3; }
.mini-card .pill { align-self: flex-start; }
.mini-card.violet { background: var(--violet); border-color: #9F67FF; border-bottom-color: var(--violet-dark); }
.mini-card.violet small { color: #E4D8FF; }
.countdown { font-weight: 900; font-size: 13px; color: #E4D8FF; }
.countdown span { font-size: 40px; line-height: 1; color: #FFFFFF; margin-right: 6px; }
.meter { height: 14px; background: var(--elevated); border-radius: 999px; overflow: hidden; }
.meter i { display: block; width: 58%; height: 100%; background: var(--emerald); border-radius: 999px; }
.emerald { color: var(--emerald); }
.toast {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--amber);
  color: #1F1300;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  border-bottom: 4px solid var(--amber-dark);
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section { padding-block: 28px; }
.section > h2, .unis h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 18px;
}
.section > h2 { text-align: center; }

.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature h3 { margin: 10px 0 6px; font-size: 19px; line-height: 1.25; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
.f-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 28px;
  background: var(--elevated);
  border-radius: 16px;
  border-bottom: 4px solid var(--border-dark);
}

.unis { background: linear-gradient(135deg, var(--card), #251A5A); }
.unis p { color: var(--text-2); margin: 0 0 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--elevated);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 14px;
}

.give {
  border-color: var(--emerald);
  border-bottom-color: var(--emerald-dark);
  background: #10B98114;
  margin: 18px 0;
}
.give h3 { font-size: 21px; margin: 12px 0 6px; line-height: 1.3; }
.give p { margin: 0; color: var(--text-2); }

.plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; margin-top: 26px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { margin: 6px 0 0; font-size: 20px; }
.plan .tag { margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.plan .price { margin: 14px 0 8px; font-size: 36px; font-weight: 900; line-height: 1; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 700; }
.plan p:last-child { margin: 0; color: var(--text-2); font-size: 15px; }
.plan.featured { border-color: var(--amber); border-bottom-color: var(--amber-dark); background: #F59E0B12; }
.plan.featured .price { color: var(--amber); }
.badge {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--coral);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border-bottom: 3px solid var(--coral-dark);
}
.plan:not(.featured) .badge { background: var(--violet); border-bottom-color: var(--violet-dark); }
.fineprint { color: var(--muted); font-size: 13px; text-align: center; max-width: 52em; margin: 18px auto 0; }

.trust { grid-template-columns: repeat(3, 1fr); }
.trust h3 { margin: 0 0 6px; font-size: 18px; }
.trust p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- Legal docs ---------- */
.doc { max-width: 820px; margin: 24px auto 40px; padding: clamp(20px, 4vw, 40px); }
.doc h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; margin: 14px 0 10px; }
.doc h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; color: #E4D8FF; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin-bottom: 8px; }
.doc code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .88em;
  background: var(--elevated);
  padding: 1px 6px;
  border-radius: 6px;
  color: #E4D8FF;
  overflow-wrap: anywhere;
}
.doc hr { border: 0; border-top: 2px solid var(--border); margin: 32px 0 16px; }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 56px;
  background: var(--elevated);
  border-radius: 16px;
  border-bottom: 4px solid var(--border-dark);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--emerald);
  color: #04241A;
  font-weight: 900;
  border-radius: 50%;
}
.callout {
  margin: 28px 0;
  padding: 16px 18px;
  border: 2px solid var(--amber);
  border-radius: 18px;
  background: #F59E0B14;
  color: var(--text-2);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  border-top: 2px solid var(--card);
  margin-top: 24px;
}
.site-footer p { margin: 6px 0; }
.footer-links a { color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phone { width: min(280px, 100%); transform: none; }
  .features, .plans, .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features, .plans, .trust { grid-template-columns: 1fr; }
  .site-header { justify-content: center; }
  .site-header nav { justify-content: center; }
  .plans { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
