/* ===================================================================
   CYBERSEC CYPRUS — Cyber-Safety for Kids & Parents (academy page)
   Light, friendly theme. Shares PALANIT typography + accent palette.
   =================================================================== */
:root {
  --ink: #0a0a0a; --paper: #ffffff; --warm: #fbfaf4;
  --lime: #cdf546; --pop: #ff4326; --sea: #12a4c4; --muted: #6b6b6b;
  --line: rgba(10,10,10,.12);
  --maxw: 980px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.academy {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--warm); color: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; width: 100%; }
.display { font-family: "Anton", sans-serif; text-transform: uppercase; }

/* ---------- TOP BAR ---------- */
.ac-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,250,244,.9); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.ac-top__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
  height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ac-back { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; transition: color .2s; }
.ac-back:hover { color: var(--pop); }
.ac-brand { font-family: "Anton", sans-serif; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.ac-brand b { color: var(--sea); }
.ac-lang { display: flex; gap: 4px; }
.ac-lang button {
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 12px "Space Grotesk", sans-serif; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.ac-lang button.is-active { background: var(--ink); color: var(--paper); }
.ac-lang button:not(.is-active):hover { background: rgba(10,10,10,.08); }

/* ---------- HERO ---------- */
.ac-hero { padding: clamp(44px,7vh,84px) 0 clamp(28px,5vh,52px); text-align: center; }
.ac-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pop); margin-bottom: 16px; }
.ac-shield { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--sea); }
.ac-title { font-family: "Anton", sans-serif; text-transform: uppercase; line-height: .92; font-size: clamp(38px,8vw,86px); }
.ac-title .hl { color: var(--pop); }
.ac-tagline { margin: 16px auto 0; max-width: 30ch; font-size: clamp(17px,2.4vw,21px); font-weight: 500; color: #2a2a2a; }
.ac-intro { max-width: 62ch; margin: 26px auto 0; }
.ac-intro p { margin: 0 auto 12px; font-size: 16px; color: #333; }
.ac-cta-row { margin-top: 30px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--paper);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink);
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn-primary:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }

/* ---------- SECTIONS ---------- */
.ac-sec { padding: clamp(34px,6vh,64px) 0; border-top: 2px solid var(--ink); }
.ac-sec--kids { background: #fff; }
.ac-sec--parents { background: var(--warm); }
.ac-sec--materials { background: #fff; }
.ac-sec--resources { background: var(--warm); }
.ac-sec--cta { background: var(--lime); text-align: center; }
.ac-sec--cta .ac-lead { margin-left: auto; margin-right: auto; color: #1a1a1a; }
.ac-sec--cta .btn-primary:hover { background: var(--paper); }
.ac-sec--join { background: var(--ink); color: var(--paper); }
.ac-tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: 10px; }
.ac-sec--join .ac-tag { color: var(--lime); }
.ac-h2 { font-family: "Anton", sans-serif; text-transform: uppercase; line-height: .95; font-size: clamp(28px,5.2vw,52px); }
.ac-lead { max-width: 60ch; margin-top: 12px; font-size: 16px; color: #333; }
.ac-sec--join .ac-lead { color: #cfcfcf; }

/* ---------- MODULE ACCORDION ---------- */
.ac-modules { list-style: none; margin-top: 26px; border-top: 1.5px solid var(--line); }
.ac-mod { border-bottom: 1.5px solid var(--line); }
.ac-mod__head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 18px 4px; color: var(--ink); transition: color .2s;
}
.ac-mod__head:hover { color: var(--pop); }
.ac-mod__num { font-family: "Anton", sans-serif; font-size: 15px; color: var(--sea); min-width: 28px; }
.ac-mod__name { flex: 1; font-size: clamp(15px,2.4vw,18px); font-weight: 700; line-height: 1.3; }
.ac-mod__chev { flex-shrink: 0; color: var(--muted); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.ac-mod.open .ac-mod__chev { transform: rotate(90deg); }
.ac-mod.open .ac-mod__name { color: var(--pop); }
.ac-mod__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1); }
.ac-mod.open .ac-mod__detail { grid-template-rows: 1fr; }
.ac-mod__detailInner { overflow: hidden; }
.ac-mod__desc { padding: 0 4px 20px 42px; font-size: 15px; color: #3a3a3a; max-width: 70ch; }

/* ---------- MATERIAL CARDS ---------- */
.ac-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.ac-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--warm); border: 2px solid var(--ink); border-radius: 16px;
  padding: 20px; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.ac-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.ac-card__ico { width: 30px; height: 30px; color: var(--sea); }
.ac-card__title { font-weight: 700; font-size: 17px; }
.ac-card__desc { font-size: 14px; color: #444; flex: 1; }
.ac-card__cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pop); }
.ac-card__cta .ac-arrow { width: 14px; height: 14px; transition: transform .2s ease; }
.ac-card:hover .ac-card__cta .ac-arrow { transform: translateX(3px); }

/* ---------- RESOURCES ---------- */
.ac-res { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.ac-res li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding: 16px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
}
.ac-res__name { font-weight: 700; font-size: 16px; width: 100%; }
.ac-res__meta { width: 100%; font-size: 14px; color: #333; line-height: 1.65; word-break: break-word; }
.ac-res__contact { font-weight: 700; color: var(--sea); }
.ac-res__contact:hover { color: var(--pop); }
.ac-res__note { width: 100%; font-size: 14px; color: var(--muted); }

/* ---------- FORM ---------- */
.ac-form { margin-top: 26px; max-width: 560px; display: grid; gap: 14px; }
.ac-field { display: grid; gap: 6px; }
.ac-field label { font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.ac-field input, .ac-field select, .ac-field textarea {
  font: 400 15px "Space Grotesk", sans-serif;
  background: #161616; color: #fff; border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 10px; padding: 11px 13px; width: 100%;
}
.ac-field textarea { resize: vertical; min-height: 90px; }
.ac-field input:focus, .ac-field select:focus, .ac-field textarea:focus {
  outline: none; border-color: var(--lime);
}
.ac-field input.invalid, .ac-field select.invalid { border-color: var(--pop); }
.ac-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #cfcfcf; }
.ac-consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--lime); flex-shrink: 0; }
.ac-consent a { color: var(--lime); font-weight: 700; }
.ac-submit {
  justify-self: start; margin-top: 4px;
  background: var(--lime); color: var(--ink); border: 2px solid var(--lime);
  font: 700 14px "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .05em;
  padding: 13px 28px; border-radius: 999px; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.ac-submit:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(255,255,255,.18); }
.ac-success {
  margin-top: 24px; max-width: 560px; padding: 24px;
  background: #161616; border: 2px solid var(--lime); border-radius: 16px;
}
.ac-success h3 { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 24px; color: var(--lime); }
.ac-success p { margin-top: 8px; color: #e8e8e8; font-size: 15px; }
[hidden] { display: none !important; }

/* ---------- FOOTER ---------- */
.ac-foot { border-top: 2px solid var(--ink); padding: 22px 0; }
.ac-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ac-foot a.studio { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ac-foot a.studio strong { color: var(--ink); }
.ac-foot a.studio:hover, .ac-foot a.studio:hover strong { color: var(--pop); }
.ac-foot__links { display: flex; gap: 16px; }
.ac-foot__links a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ac-foot__links a:hover { color: var(--pop); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { transition: none !important; }
}
