/* CYINFO — dark premium UI (landing + dashboard) */

:root {
  --bg: #0b0f14;
  --bg2: #101720;
  --panel: #1a2332;      /* ανοιχτότερο για καλύτερο contrast */
  --line: #2a3a4f;       /* πιο ορατό */
  --txt: #f0f4f8;        /* καλύτερο WCAG */
  --mut: #a8b8cc;        /* από #8fa0b3 — WCAG AA+ σε --bg */
  --acc: #e5b55d;        /* φωτεινότερο χρυσό */
  --acc2: #4fb8ff;       /* πιο ζωντανό μπλε */
  --ok: #5cd9a0;
  --rad: 14px;
}

/* ---- base ---- */
body.cyinfo-body, body { background: var(--bg); color: var(--txt); }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; line-height: 1.55; }
a { color: var(--acc2); text-decoration: none; }
a:hover { text-decoration: underline; }
.cy-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* hide default theme chrome on CYINFO pages */
body.page .site-header, body.page header#masthead, body.page .wp-site-blocks > header,
body.page footer#colophon, body.page .site-footer, body.page .entry-title,
body.page .wp-block-post-title, body.page .wp-site-blocks > footer { display: none !important; }

/* ============ LANDING ============ */
.cy-landing { background: var(--bg); }
.cy-hero { background:
  radial-gradient(1200px 500px at 85% -10%, rgba(63,169,245,.14), transparent 60%),
  radial-gradient(900px 420px at -10% 110%, rgba(212,162,74,.10), transparent 55%),
  linear-gradient(180deg, #0b0f14 0%, #0d1320 100%);
  padding: 110px 0 70px; border-bottom: 1px solid var(--line); }
.cy-badge { display: inline-block; font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--acc);
  border: 1px solid rgba(212,162,74,.35); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.cy-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.06; margin: 0 0 18px; font-weight: 800; color: #fff; }
.cy-lede { font-size: 19px; color: var(--mut); max-width: 640px; margin: 0 0 30px; line-height: 1.65; }
.cy-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.cy-btn { display: inline-block; padding: 15px 28px; border-radius: 11px; font-weight: 700; font-size: 15px; }
.cy-btn-primary { background: linear-gradient(135deg, var(--acc), #c9963f); color: #0b0f14; font-weight: 700; box-shadow: 0 4px 14px rgba(229,181,93,.28); transition: all .2s ease; }
.cy-btn-primary:hover { background: linear-gradient(135deg, #f0c870, #d4a24a); box-shadow: 0 6px 20px rgba(229,181,93,.4); transform: translateY(-1px); text-decoration: none; }
.cy-btn-sec { background: transparent; border: 2px solid var(--line); color: var(--txt); font-weight: 600; transition: all .2s ease; }
.cy-btn-sec:hover { border-color: var(--acc2); background: rgba(79,184,255,.12); transform: translateY(-1px); text-decoration: none; }
.cy-stats { display: flex; gap: 54px; flex-wrap: wrap; margin-top: 16px; }
.cy-stats strong { display: block; font-size: 40px; color: #fff; line-height: 1; }
.cy-stats span { display: block; font-size: 13px; color: var(--mut); margin-top: 6px; }

.cy-principle { padding: 64px 0; border-bottom: 1px solid var(--line); }
.cy-principle h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .14em; color: var(--acc); margin: 0 0 12px; }
.cy-principle p { font-size: 22px; max-width: 800px; margin: 0; color: var(--txt); }

.cy-services, .cy-events { padding: 64px 0; border-bottom: 1px solid var(--line); }
.cy-services h2, .cy-events h2 { font-size: 30px; margin: 0 0 30px; color: #fff; }
.cy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cy-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 28px 24px; transition: all .25s ease; }
.cy-card:hover { border-color: var(--acc2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.cy-card h3 { margin: 10px 0 8px; font-size: 18px; color: #fff; }
.cy-card p { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.6; }
.cy-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(229,181,93,.28); border-radius: 12px; color: var(--acc); background: rgba(229,181,93,.08); font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.cy-when { color: var(--acc); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.cy-loc { color: var(--mut); font-size: 14px; }
.cy-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

.cy-footer-cta { padding: 80px 0 60px; text-align: center; }
.cy-footer-cta h2 { font-size: 30px; color: #fff; margin: 0 0 24px; }
.cy-fine { color: var(--mut); font-size: 13px; margin-top: 26px; }

/* ============ DASHBOARD ============ */
.cy-dash-top { background: var(--bg2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.cy-dash-top-inner { display: flex; align-items: center; gap: 22px; padding: 14px 22px; }
.cy-logo { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .04em; }
.cy-logo span { color: var(--acc); }
.cy-dash-hello { display: flex; align-items: baseline; gap: 10px; margin-left: auto; }
.cy-role { color: var(--mut); font-size: 13px; }
.cy-dash-date { color: var(--mut); font-size: 13.5px; }
.cy-logout { font-size: 13px; color: var(--mut); }
.cy-logout:hover { color: #fff; }

.cy-dash-body { padding: 30px 22px 70px; }
.cy-note { background: rgba(212,162,74,.08); border: 1px solid rgba(212,162,74,.3); color: var(--txt);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 22px; font-size: 14.5px; }
.cy-dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; position: sticky; top: 54px; z-index: 40;
  background: linear-gradient(180deg, var(--bg) 70%, transparent); padding: 10px 0; }
.cy-dash-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--mut); font-size: 14px; font-weight: 600; background: var(--panel); }
.cy-dash-tabs a:hover { color: var(--txt); text-decoration: none; }
.cy-dash-tabs a.cy-active { border-color: var(--acc); color: var(--acc); }
.cy-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 14px 18px; margin-bottom: 22px; }
.cy-picker > label { color: var(--mut); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cy-picker-row { display: flex; align-items: center; gap: 10px; flex: 1 1 340px; flex-wrap: wrap; }
.cy-picker select { flex: 1 1 220px; min-height: 42px; background: var(--bg); color: var(--txt); border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; font-size: 15px; }
.cy-picker select:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.cy-btn-save { min-height: 42px; padding: 0 20px; background: var(--acc); color: #101923; border: 0; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.cy-btn-save:hover { background: #edc875; }
.cy-btn-save:focus-visible { outline: 3px solid #edc875; outline-offset: 3px; }
.cy-saved { background: rgba(92,217,160,.1); border: 1px solid rgba(92,217,160,.42); color: var(--ok); border-radius: var(--rad); padding: 12px 18px; margin-bottom: 20px; font-size: 14px; }
.cy-pill { background: var(--acc); color: #10131a; border-radius: 999px; font-size: 11.5px; padding: 1px 8px; font-weight: 800; }

.cy-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px; margin-bottom: 26px; }
.cy-panel-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.cy-panel-head h2 { margin: 0; font-size: 20px; color: #fff; }
.cy-gen { color: var(--mut); font-size: 12.5px; }
.cy-cat { color: var(--acc2); font-size: 15px; margin: 22px 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.cy-count { color: var(--mut); font-size: 12px; letter-spacing: 0; }
.cy-brief-list, .cy-mention-list, .cy-event-list { list-style: none; margin: 0; padding: 0; }
.cy-brief-list li, .cy-mention-list li { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.cy-brief-list li:last-child, .cy-mention-list li:last-child, .cy-event-list li:last-child { border-bottom: 0; }
.cy-item-head { display: flex; gap: 10px; align-items: baseline; }
.cy-stars { color: var(--acc); font-size: 11px; letter-spacing: 2px; white-space: nowrap; }
.cy-item-title { color: #fff; font-weight: 700; font-size: 15.5px; }
.cy-item-title:hover { color: var(--acc2); }
.cy-item-src { color: var(--mut); font-size: 12.5px; margin: 4px 0 6px; }
.cy-item-sum { margin: 0; color: #c3cfdd; font-size: 14px; }
.cy-empty { color: var(--mut); margin: 0; }
.cy-event-list li { display: flex; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 14px 2px; }
.cy-ev-body { flex: 1; }
.cy-dossier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cy-k { display: block; color: var(--mut); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }

/* event single page */
.cy-event-meta { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; font-size: 14.5px; }
.cy-event-meta p { margin: 4px 0; }

@media (max-width: 640px) {
  .cy-hero { padding: 70px 0 50px; }
  .cy-stats { gap: 26px; }
  .cy-dash-top-inner { gap: 12px; }
  .cy-dash-hello { margin-left: 0; }
  .cy-dash-date { display: none; }
  .cy-panel { padding: 18px; }
}

/* ============ CYINFO BRAND SYSTEM / PREMIUM LANDING ============ */
body.cyinfo-branded #header,
body.cyinfo-branded #footer,
body.cyinfo-branded #page > #header + hr,
body.cyinfo-branded .site-header, body.cyinfo-branded header#masthead,
body.cyinfo-branded .wp-site-blocks > header,
body.cyinfo-branded footer#colophon, body.cyinfo-branded .site-footer,
body.cyinfo-branded .wp-site-blocks > footer { display: none !important; }
body.home.page-id-7 { background: var(--bg) !important; }
body.home.page-id-7 #container,
body.home.page-id-7 #page,
body.home.page-id-7 #content,
body.home.page-id-7 #main { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: var(--bg); }
body.home.page-id-7 .cy-site-header,
body.home.page-id-7 .cy-site-footer { display: block; }
.cy-site-header { position: sticky; top: 0; z-index: 100; background: rgba(11,15,20,.88); border-bottom: 1px solid rgba(168,184,204,.13); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cy-site-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cy-brand { display: inline-flex; align-items: center; gap: 11px; color: #f4f6fa; text-decoration: none !important; flex: 0 0 auto; }
.cy-brand-mark { width: 42px; height: 42px; color: #f2f3ef; flex: 0 0 auto; }
.cy-brand-type { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.cy-brand-type strong { font-size: 20px; letter-spacing: .12em; color: #fff; font-weight: 800; }
.cy-brand-type strong span { color: var(--acc); }
.cy-brand-type small { color: #99a6b8; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.cy-site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.cy-site-nav a { text-decoration: none; }
.cy-nav-method { color: #c0cad7; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.cy-nav-method:hover { color: #fff; }
.cy-btn-nav-secondary, .cy-btn-nav-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .01em; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.cy-btn-nav-secondary { border: 1px solid rgba(193,204,217,.26); color: #e8edf3; background: rgba(255,255,255,.025); }
.cy-btn-nav-secondary:hover { border-color: rgba(229,181,93,.7); background: rgba(229,181,93,.07); color: #fff; }
.cy-btn-nav-primary { gap: 8px; color: #15130e; background: linear-gradient(135deg,#f2d18f,#dbad58); box-shadow: 0 7px 22px rgba(219,173,88,.14); }
.cy-btn-nav-primary:hover { color: #15130e; background: linear-gradient(135deg,#f7dda7,#e5ba69); transform: translateY(-1px); }
.cy-hero { position: relative; overflow: hidden; padding: clamp(82px,10vw,132px) 0 84px; border-bottom: 1px solid rgba(168,184,204,.12); }
.cy-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -165px; top: 6%; border: 1px solid rgba(229,181,93,.13); border-radius: 50%; box-shadow: 0 0 0 52px rgba(229,181,93,.025),0 0 0 105px rgba(229,181,93,.018); pointer-events: none; }
.cy-hero .cy-wrap { position: relative; z-index: 1; }
.cy-badge { font-size: 10px; letter-spacing: .22em; padding: 8px 13px; margin-bottom: 28px; color: #f0cb83; border-color: rgba(229,181,93,.28); background: rgba(229,181,93,.055); }
.cy-hero h1 { max-width: 880px; font-size: clamp(44px,6.2vw,76px); letter-spacing: -.052em; line-height: 1.035; font-weight: 760; }
.cy-lede { max-width: 680px; font-size: clamp(17px,1.7vw,19px); line-height: 1.75; color: #b8c3d1; margin-bottom: 32px; }
.cy-cta-row { gap: 12px; margin-bottom: 56px; }
.cy-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 7px; font-size: 13px; }
.cy-btn-primary { background: linear-gradient(135deg,#f2d18f,#dbad58); color: #17140e; box-shadow: 0 9px 26px rgba(219,173,88,.16); }
.cy-btn-primary:hover { background: linear-gradient(135deg,#f7dda7,#e5ba69); box-shadow: 0 11px 30px rgba(219,173,88,.25); color: #111; }
.cy-btn-ghost { border: 1px solid rgba(193,204,217,.28); color: #e7ebf1; background: rgba(255,255,255,.025); }
.cy-btn-ghost:hover { border-color: rgba(229,181,93,.65); background: rgba(229,181,93,.06); color: #fff; text-decoration: none; }
.cy-stats { display: flex; gap: 0; max-width: 690px; border-top: 1px solid rgba(168,184,204,.16); padding-top: 23px; }
.cy-stats > div { flex: 1; padding: 0 25px; border-right: 1px solid rgba(168,184,204,.14); }
.cy-stats > div:first-child { padding-left: 0; }
.cy-stats > div:last-child { border-right: 0; }
.cy-stats strong { font-size: 35px; letter-spacing: -.04em; font-weight: 700; }
.cy-stats span { color: #aeb9c8; font-size: 12px; line-height: 1.55; }
.cy-principle { padding: 49px 0; background: #0d131c; border-bottom-color: rgba(168,184,204,.12); }
.cy-principle h2, .cy-eyebrow { font-size: 10px; letter-spacing: .19em; color: #e5b55d; text-transform: uppercase; font-weight: 750; }
.cy-principle p { max-width: 900px; font-size: clamp(17px,2vw,21px); line-height: 1.7; color: #e0e5ec; }
.cy-principle p strong { color: #fff; }
.cy-services, .cy-events { padding: 84px 0; border-bottom-color: rgba(168,184,204,.12); }
.cy-services h2, .cy-events h2 { font-size: clamp(28px,3.4vw,38px); letter-spacing: -.035em; margin-bottom: 34px; }
.cy-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 15px; }
.cy-card { background: linear-gradient(145deg,rgba(26,35,50,.92),rgba(16,23,32,.96)); border-color: rgba(168,184,204,.13); border-radius: 11px; padding: 28px 25px; min-height: 164px; }
.cy-card:hover { border-color: rgba(229,181,93,.38); transform: translateY(-3px); box-shadow: 0 15px 36px rgba(0,0,0,.22); }
.cy-icon { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(229,181,93,.09); border: 1px solid rgba(229,181,93,.24); color: var(--acc); border-radius: 12px; font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.cy-services .cy-icon { display: inline-grid; }
.cy-card h3 { font-size: 16px; letter-spacing: -.01em; }
.cy-card p { color: #acb8c7; font-size: 13.5px; line-height: 1.75; }
.cy-card-event { min-height: 0; }
.cy-when { color: #e5b55d; letter-spacing: .025em; font-size: 12px; }
.cy-more { font-size: 12px; font-weight: 700; }
.cy-footer-cta { padding: 44px 0 76px; text-align: left; }
.cy-cta-panel { padding: clamp(30px,5.5vw,62px); border: 1px solid rgba(229,181,93,.25); border-radius: 14px; background: radial-gradient(700px 260px at 100% 0,rgba(229,181,93,.12),transparent 65%),linear-gradient(135deg,#171d26,#111821); }
.cy-cta-panel .cy-eyebrow { margin: 0 0 15px; }
.cy-footer-cta h2 { max-width: 760px; font-size: clamp(28px,4vw,43px); line-height: 1.13; letter-spacing: -.04em; margin: 0 0 13px; }
.cy-cta-copy { color: #abb7c6; font-size: 15px; margin: 0 0 27px; }
.cy-cta-panel .cy-btn { display: inline-flex; gap: 10px; }
.cy-site-footer { background: #080b10; border-top: 1px solid rgba(168,184,204,.15); }
.cy-footer-main { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.cy-brand-footer .cy-brand-mark { width: 36px; height: 36px; }
.cy-brand-footer .cy-brand-type strong { font-size: 17px; }
.cy-brand-footer .cy-brand-type small { font-size: 7px; }
.cy-footer-principle { margin: 0; color: #b1bdcb; font-size: 12px; }
.cy-footer-links { display: flex; gap: 22px; }
.cy-footer-links a { color: #d3dbe4; font-size: 12px; }
.cy-footer-links a:hover { color: #f0cb83; }
.cy-footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(168,184,204,.1); color: #7f8b99; font-size: 10px; letter-spacing: .025em; }
.cy-site-header a:focus-visible, .cy-site-footer a:focus-visible, .cy-landing a:focus-visible { outline: 3px solid #f0cb83; outline-offset: 4px; border-radius: 4px; }
.cy-landing :target { scroll-margin-top: 105px; }
@media (max-width: 760px) {
  .cy-site-header-inner { min-height: 72px; gap: 14px; }
  .cy-nav-method { display: none; }
  .cy-site-nav { gap: 9px; }
  .cy-btn-nav-secondary, .cy-btn-nav-primary { min-height: 39px; padding: 0 11px; font-size: 11px; }
  .cy-brand-mark { width: 37px; height: 37px; }
  .cy-brand-type strong { font-size: 18px; }
  .cy-hero::after { right: -300px; opacity: .65; }
}
@media (max-width: 380px) {
  .cy-site-header-inner { gap: 8px; }
  .cy-site-nav { gap: 6px; }
  .cy-btn-nav-secondary, .cy-btn-nav-primary { padding: 0 7px; font-size: 9px; }
  .cy-brand-type strong { font-size: 14px; }
  .cy-brand-type small { letter-spacing: .11em; }
}
@media (max-width: 520px) {
  .cy-wrap { padding-left: 19px; padding-right: 19px; }
  .cy-site-header-inner { min-height: 68px; }
  .cy-brand { gap: 8px; }
  .cy-brand-mark { width: 34px; height: 34px; }
  .cy-brand-type strong { font-size: 16px; }
  .cy-brand-type small { font-size: 6px; letter-spacing: .15em; }
  .cy-site-nav { gap: 7px; }
  .cy-btn-nav-secondary { padding: 0 9px; font-size: 10px; }
  .cy-btn-nav-primary { padding: 0 10px; font-size: 10px; }
  .cy-hero { padding: 70px 0 52px; }
  .cy-hero h1 { font-size: clamp(39px,11vw,52px); }
  .cy-badge { font-size: 8px; letter-spacing: .13em; }
  .cy-stats > div { padding: 0 12px; }
  .cy-stats strong { font-size: 29px; }
  .cy-stats span { font-size: 10px; }
  .cy-principle { padding: 38px 0; }
  .cy-services, .cy-events { padding: 60px 0; }
  .cy-card { padding: 22px; }
  .cy-footer-main, .cy-footer-bottom { align-items: flex-start; flex-direction: column; }
  .cy-footer-main { padding-top: 28px; padding-bottom: 23px; gap: 17px; }
  .cy-footer-bottom { justify-content: center; padding-top: 13px; padding-bottom: 13px; gap: 6px; }
  .cy-footer-links { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cy-site-header *, .cy-landing *, .cy-site-footer * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
