/**
 * NoGames Design System — CSS Custom Properties + Component Styles
 * Source: Fess prototype nogames-hp-final.html
 *
 * Tento soubor se nahrává na VAS Hosting do bricks-child theme.
 * Bricks elementy používají custom CSS třídy definované zde.
 */

/* ===== GOOGLE FONTS (loaded in functions.php) ===== */
/* Plus Jakarta Sans: 300-900 */
/* Cormorant Garamond: 400-700, italic */

/* ===== RESET (Bricks má vlastní, ale doplníme) ===== */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.nogames {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== THEME TOKENS ===== */
:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark theme (default for NoGames) */
[data-theme="dark"],
body.nogames {
  --bg:       #1a1832;
  --bg2:      #211f3a;
  --bg3:      #2a2745;
  --surface:  #2a2745;
  --s2:       #332f52;
  --border:   rgba(255,255,255,0.08);
  --border2:  rgba(255,255,255,0.14);
  --text:     #f5f0e8;
  --text2:    #d4cec4;
  --muted:    #9a9aaa;
  --muted2:   #6a6a7a;
  --navy:     #26214e;
  --teal:     #5fbeb5;
  --teal2:    #7dd4cc;
  --teal-bg:  rgba(95,190,181,0.08);
  --teal-bd:  rgba(95,190,181,0.2);
  --red:      #e05a5a;
  --shadow:   rgba(0,0,0,0.4);
  --glow:     rgba(95,190,181,0.15);
  --hero-r-bg: rgba(38,33,78,0.5);
}

/* Light theme variant */
[data-theme="light"] {
  --bg:       #ffffff;
  --bg2:      #fff9e6;
  --bg3:      #fdf4d4;
  --surface:  #f8f6f1;
  --s2:       #f0ece3;
  --border:   rgba(38,33,78,0.08);
  --border2:  rgba(38,33,78,0.14);
  --text:     #1a1832;
  --text2:    #3a3a4a;
  --muted:    #6a6a7a;
  --muted2:   #a0a0aa;
  --navy:     #26214e;
  --teal:     #4aada4;
  --teal2:    #3a9d94;
  --teal-bg:  rgba(74,173,164,0.06);
  --teal-bd:  rgba(74,173,164,0.2);
  --red:      #d04a4a;
  --shadow:   rgba(38,33,78,0.08);
  --glow:     rgba(95,190,181,0.08);
  --hero-r-bg: rgba(255,249,230,0.7);
}

body.nogames { background: var(--bg); color: var(--text); }

/* ===== TYPOGRAPHY ===== */
.serif { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; }

.ng-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
}
.ng-h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal), var(--teal2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ng-h2, .sec-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
}

.sec-eye {
  color: var(--teal); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.sec-sub { color: var(--muted); font-size: 0.97rem; line-height: 1.75; max-width: 520px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 10px; font-weight: 600; font-size: 0.85rem;
  transition: all .25s var(--ease); white-space: nowrap;
  text-decoration: none; cursor: pointer; border: none;
}
.btn-sm { padding: 8px 18px; }
.btn-md { padding: 11px 24px; font-size: 0.9rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-xl { padding: 17px 40px; font-size: 1.05rem; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(95,190,181,.25); }

.btn-ghost { color: var(--text2); border: 1.5px solid var(--border2); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-teal-ghost { color: var(--teal); border: 1.5px solid var(--teal-bd); background: var(--teal-bg); }
.btn-teal-ghost:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.btn-full { width: 100%; justify-content: center; }

/* ===== EYEBROW BADGE ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 16px; border-radius: 999px;
  background: var(--teal-bg); border: 1px solid var(--teal-bd);
  color: var(--teal); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== HERO ===== */
.ng-hero {
  min-height: 100vh; padding-top: 68px;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.ng-hero-left {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.ng-hero-right {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  background: var(--hero-r-bg);
  border-left: 1px solid var(--border);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--muted); line-height: 1.8; max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust strip */
.trust-strip { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.t-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--s2); border: 2.5px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: var(--muted);
  margin-right: -8px;
}
.trust-text { font-size: 0.82rem; color: var(--muted); padding-left: 12px; }
.trust-text strong { color: var(--text2); }
.stars { color: #f5a623; letter-spacing: 1px; }

/* Before/After cards */
.ba-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 28px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ba-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }
.ba-card.after { border-color: var(--teal-bd); background: var(--teal-bg); }
.ba-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba-label-before { color: var(--muted); }
.ba-label-after { color: var(--teal); }
.ba-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; line-height: 1.5; }
.ba-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.ba-dot-no { background: var(--red); }
.ba-dot-ok { background: var(--teal); }
.ba-text-no { color: var(--muted); }
.ba-text-ok { color: var(--text2); }

/* ===== STATS ===== */
.ng-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.ng-stat {
  text-align: center; padding: 32px 20px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.ng-stat:last-child { border-right: none; }
.ng-stat:hover { background: var(--teal-bg); }
.stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--teal);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-d { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ===== SECTION WRAPPER ===== */
.ng-section {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 80px);
  max-width: 1280px; margin: 0 auto;
}

/* ===== PAIN POINTS ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .3s var(--ease);
}
.pain-card:hover { border-color: var(--teal-bd); background: var(--teal-bg); transform: translateY(-3px); box-shadow: 0 12px 32px var(--shadow); }
.pain-emoji { font-size: 1.6rem; }
.pain-text { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.how-step {
  position: relative; padding: 32px 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.how-step:hover { border-color: var(--teal-bd); transform: translateY(-3px); box-shadow: 0 12px 32px var(--shadow); }
.how-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700; color: var(--teal); opacity: 0.3;
  line-height: 1;
}
.how-title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.how-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* ===== METHODOLOGY ===== */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 20px; text-align: center;
  transition: all .3s var(--ease);
}
.method-card:hover { border-color: var(--teal-bd); transform: translateY(-2px); }
.method-icon { font-size: 1.8rem; }
.method-name { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.method-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ===== COURSE BLOCKS ===== */
.blocks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.block-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all .3s var(--ease);
}
.block-card:hover { border-color: var(--teal-bd); background: var(--teal-bg); }
.block-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--teal); opacity: 0.5;
  line-height: 1; flex-shrink: 0; width: 32px;
}
.block-title { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.block-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-bg {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: all .3s var(--ease);
}
.testi-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }
.testi-stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 2px; }
.testi-text { font-size: 0.9rem; color: var(--text2); line-height: 1.7; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal-bg); border: 1px solid var(--teal-bd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--teal);
}
.testi-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.testi-role { font-size: 0.74rem; color: var(--muted); }

/* ===== LEAD MAGNET ===== */
.lead-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1a42 100%);
  border: 1px solid var(--teal-bd); border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.lead-box::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,190,181,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.lead-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: #f5f0e8; line-height: 1.2;
}
.lead-sub { color: #9a9aaa; font-size: 0.93rem; line-height: 1.7; }
.lead-li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #d4cec4; }
.lead-li::before { content: '\2192'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

.inp {
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12);
  color: #f5f0e8; border-radius: 10px; padding: 14px 18px;
  font-size: 0.93rem; font-family: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.inp:focus { border-color: var(--teal); background: rgba(255,255,255,0.09); }
.inp::placeholder { color: #6a6a7a; }
.inp-hint { font-size: 0.74rem; color: #6a6a7a; text-align: center; }

/* ===== DATES ===== */
.dates-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}
.dates-head {
  padding: 24px 32px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--s2);
}
.dates-title { font-weight: 700; font-size: 1rem; }
.dates-sub { font-size: 0.82rem; color: var(--muted); }
.dates-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.date-cell {
  padding: 28px; border-right: 1px solid var(--border);
  transition: background .2s; cursor: pointer;
}
.date-cell:hover { background: var(--teal-bg); }
.date-cell:last-child { border-right: none; }
.date-cell.next { background: var(--teal-bg); border-top: 3px solid var(--teal); }
.date-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.date-badge-next { color: var(--teal); }
.date-v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--text);
}
.date-l { font-size: 0.8rem; color: var(--muted); }
.date-spots { font-size: 0.74rem; font-weight: 600; }
.date-spots.urgent { color: var(--red); }
.date-spots.ok { color: var(--teal); }
.pulse-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); margin-right: 4px; vertical-align: middle;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ===== ABOUT ===== */
.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.about-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted2); overflow: hidden;
}
.about-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
}
.about-role { color: var(--teal); font-size: 0.88rem; font-weight: 600; }
.about-quote {
  border-left: 3px solid var(--teal); padding-left: 20px;
}
.about-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--text2); font-style: italic; line-height: 1.7;
}
.about-quote-author { font-size: 0.8rem; color: var(--teal); font-weight: 600; }
.about-bio { color: var(--muted); font-size: 0.93rem; line-height: 1.8; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-tag {
  background: var(--s2); border: 1px solid var(--border2);
  color: var(--text2); border-radius: 8px;
  padding: 6px 14px; font-size: 0.75rem; font-weight: 500;
  transition: all .2s;
}
.cred-tag:hover { border-color: var(--teal-bd); background: var(--teal-bg); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 0.95rem; font-weight: 600; color: var(--text);
  text-align: left; transition: color .2s; gap: 16px;
  cursor: pointer; background: none; border: none; font-family: inherit;
}
.faq-q:hover { color: var(--teal); }
.faq-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  transition: transform .3s var(--ease); color: var(--muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--teal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 0 20px; font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ===== FINAL CTA ===== */
.final-cta-bg {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1a42 100%);
  border-top: 1px solid var(--border);
}
.final-cta {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 80px);
  max-width: 720px; margin: 0 auto; text-align: center;
}
.final-cta .sec-h2 { color: #f5f0e8; }
.final-cta p { color: #9a9aaa; font-size: 1rem; line-height: 1.7; }

/* ===== FOOTER ===== */
.ng-footer {
  border-top: 1px solid var(--border); background: var(--bg2);
  padding: 36px clamp(24px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 0.8rem; transition: color .2s; text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 0.78rem; color: var(--muted2); }

/* ===== NAV ===== */
.ng-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px; padding: 0 clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(26,24,50,0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.ng-nav .nav-logo svg { height: 34px; width: auto; display: block; }
.nav-center { display: flex; gap: 28px; }
.nav-center a {
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  transition: color .2s; position: relative; text-decoration: none;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 1px;
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-center a:hover { color: var(--text); }
.nav-center a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; gap: 10px; align-items: center; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ng-hero { grid-template-columns: 1fr; }
  .ng-hero-right { border-left: none; border-top: 1px solid var(--border); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .lead-box { grid-template-columns: 1fr; }
  .dates-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .blocks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-center { display: none; }
  .ng-hero-left { padding: 36px 20px 28px; }
  .ng-hero-right { padding: 28px 20px 36px; }
  .ng-stats { grid-template-columns: repeat(2, 1fr); }
  .ng-stat { border-bottom: 1px solid var(--border); }
  .pain-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .ng-section { padding: 48px 20px; }
  .dates-grid { grid-template-columns: 1fr; }
  .date-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .ng-footer { flex-direction: column; gap: 12px; text-align: center; padding: 28px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* Hamburger (mobile) */
.hamburger { display: none; padding: 8px; color: var(--text); cursor: pointer; background: none; border: none; }
@media (max-width: 640px) { .hamburger { display: block; } }
.hamburger svg { width: 22px; height: 22px; }

/* ===== LOGO SVG CLASSES ===== */
.cls-1, .f1 { fill: #5fbeb5; }
.cls-2, .f2 { fill: #fff; }
.cls-2, .cls-3, .f2, .f3 { fill-rule: evenodd; }
.cls-3, .f3 { fill: #27214f; }
.cls-4, .f4 { fill: #26214e; }
