/* ============================================================
   HYPNOTÁRIUM — hlavní styly
   Paleta: hluboká vesmírná modř + fialové neonové akcenty
   ============================================================ */

:root {
  --bg: #01010d;
  --bg-soft: #05051a;
  --bg-panel: rgba(124, 108, 255, 0.05);
  --bg-panel-hover: rgba(124, 108, 255, 0.10);
  --border: rgba(139, 124, 246, 0.18);
  --border-strong: rgba(139, 124, 246, 0.40);
  --text: #eef0ff;
  --text-muted: #9aa0c8;
  --accent: #8b7cf6;
  --accent-light: #b9a8ee;
  --accent-deep: #5b4be0;
  --glow: rgba(124, 92, 246, 0.45);
  --radius: 18px;
  --font: 'Poppins', 'Segoe UI', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.75;
  font-size: 1.0rem;
  overflow-x: hidden;
}

::selection { background: var(--accent-deep); color: #fff; }

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

a { color: var(--accent-light); text-decoration: none; transition: color .25s; }
a:hover { color: #fff; }

/* ---------- Pozadí s hvězdami ---------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 75, 224, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(91, 75, 224, 0.10), transparent 60%),
    radial-gradient(ellipse 42% 30% at 6% 88%, rgba(150, 80, 246, 0.10), transparent 70%),
    radial-gradient(ellipse 30% 22% at 95% 45%, rgba(90, 120, 246, 0.08), transparent 70%),
    var(--bg);
}
.starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 12%, rgba(185,168,238,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 57% 45%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 82%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 28%, rgba(185,168,238,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 60%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 8%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 92%, rgba(185,168,238,.35) 50%, transparent 51%);
  background-size: 900px 900px;
}

/* ---------- Hlava s mozkem na pozadí ---------- */
.head-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: min(46vw, 560px);
  aspect-ratio: 374 / 880;
  background: url("../assets/head-fade.png") top right / contain no-repeat;
  pointer-events: none;
  opacity: .9;
}
.head-bg--dim {
  width: min(38vw, 460px);
  opacity: .5;
}
.head-bg--mid {
  top: calc(100vh - 40px);
  opacity: .75;
}

@media (max-width: 880px) {
  .head-bg {
    width: 78vw;
    opacity: .3;
  }
  .head-bg--dim { opacity: .22; }
  .head-bg--mid { opacity: .3; }
}

/* ---------- Kontejner ---------- */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ---------- Navigace ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(1, 1, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 124, 246, 0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-weight: 400;
  letter-spacing: .32em;
  font-size: .95rem;
  text-transform: uppercase;
}
.nav-logo img {
  width: 42px; height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--glow);
}
.nav-logo .o { color: var(--accent-light); }

.nav-links {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.nav-links a.nav-cta {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .5rem 1.2rem;
  color: var(--accent-light);
}
.nav-links a.nav-cta:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(2, 2, 18, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; border-bottom: none; }
  .nav-links a.nav-cta { border: none; border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 0 40px;
  position: relative;
}

.hero-spiral {
  width: min(340px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(91, 75, 224, 0.55));
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  font-weight: 300;
  letter-spacing: .32em;
  margin-right: -.32em; /* kompenzace mezery za posledním znakem */
  text-transform: uppercase;
  margin-top: 1.6rem;
  text-shadow: 0 0 60px rgba(139, 124, 246, 0.22);
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(1.5rem, 7.6vw, 2.1rem);
    letter-spacing: .2em;
    margin-right: -.2em;
  }
}
.hero h1 .o { color: var(--accent-light); }

.hero-divider {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.4rem auto 1.2rem;
  width: min(420px, 70vw);
}
.hero-divider::before, .hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.hero-divider::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hero-divider .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 14px var(--accent);
}

.hero .name {
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .04em;
}

.hero .tagline {
  margin-top: .9rem;
  font-size: clamp(.8rem, 2.4vw, 1rem);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero .tagline strong {
  color: var(--accent-light);
  font-weight: 600;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all .25s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  box-shadow: 0 0 28px rgba(91, 75, 224, 0.45);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(124, 92, 246, 0.65);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--accent-light);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--accent-light);
  background: rgba(124, 108, 255, 0.08);
}

/* ---------- Sekce ---------- */
section { padding: 5.5rem 0; position: relative; }

.section-label {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: .9rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  font-weight: 300;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.section-title strong {
  font-weight: 600;
  background: linear-gradient(100deg, #cdbdfa 0%, #a184f8 55%, #7c5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
}

/* ---------- Citát ---------- */
.quote {
  text-align: center;
  padding: 4.5rem 0;
}
.quote blockquote {
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}
.quote blockquote strong { color: var(--accent-light); font-weight: 600; }
.quote .quote-mark {
  font-size: 3.4rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: .6rem;
  font-family: Georgia, serif;
  text-shadow: 0 0 24px var(--glow);
}
.quote .container::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  margin: 2rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- Pilíře ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.pillar {
  text-align: center;
  padding: 2rem 1.4rem;
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }
.pillar svg {
  width: 64px; height: 64px;
  stroke: var(--accent-light);
  filter: drop-shadow(0 0 10px var(--glow));
  margin-bottom: 1.2rem;
}
.pillar h3 {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.pillar p {
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .2rem;
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
}

/* ---------- Karty / mřížky ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: all .3s;
}
.card:hover {
  background: var(--bg-panel-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(91, 75, 224, 0.12);
}
.card svg {
  width: 46px; height: 46px;
  stroke: var(--accent-light);
  filter: drop-shadow(0 0 8px var(--glow));
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: .55rem;
}
.card p {
  font-size: .92rem;
  color: var(--text-muted);
}

/* ---------- Benefity (neonová dlažba) ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1020px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: repeat(2, 1fr); } }

.benefit {
  text-align: center;
  padding: 1.6rem .8rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 2, 20, 0.5);
  transition: all .3s;
}
.benefit:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 26px rgba(91, 75, 224, 0.18);
  transform: translateY(-3px);
}
.benefit svg {
  width: 42px; height: 42px;
  margin-bottom: .8rem;
  filter: drop-shadow(0 0 9px var(--glow));
}
.benefit h4 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ---------- Hypnocast pásmo ---------- */
.hypnocast-band {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(91, 75, 224, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(5, 5, 26, 0.7), rgba(2, 2, 16, 0.9));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hypnocast-flex {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.hypnocast-flex .art {
  flex: 0 0 320px;
}
.hypnocast-flex .art img {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 50px rgba(91, 75, 224, 0.25);
}
.hypnocast-flex .content h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.hypnocast-flex .content h2 strong { font-weight: 600; color: var(--accent-light); }
.hypnocast-flex .content p { color: var(--text-muted); margin-bottom: 1rem; }

@media (max-width: 860px) {
  .hypnocast-flex { flex-direction: column; text-align: center; }
  .hypnocast-flex .art { flex: none; max-width: 300px; }
}

/* ---------- Seznam s odrážkami ---------- */
.check-list {
  list-style: none;
  margin: 1.2rem 0;
}
.check-list li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: .7rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.check-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Text stránky / článek ---------- */
.page-head {
  padding: 150px 0 3rem;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.page-head h1 strong { font-weight: 600; color: var(--accent-light); }
.page-head .lead {
  max-width: 640px;
  margin: 1.2rem auto 0;
  color: var(--text-muted);
}
.page-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  margin: 1.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--glow);
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 2.6rem 0 1rem;
  color: var(--accent-light);
}
.prose h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 2rem 0 .8rem;
}
.prose p { margin-bottom: 1.15rem; color: #c6c9e6; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: .6rem 0 .6rem 1.4rem;
  margin: 1.8rem 0;
  color: var(--accent-light);
  font-size: 1.1rem;
  font-weight: 300;
}

/* ---------- Blog karty ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
}
.post-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.5), 0 0 30px rgba(91, 75, 224, 0.12);
}
.post-card .post-body { padding: 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-card .post-tag {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: .7rem;
}
.post-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: .7rem;
}
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent-light); }
.post-card p { font-size: .9rem; color: var(--text-muted); flex: 1; }
.post-card .post-more {
  margin-top: 1.2rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- CTA pásmo ---------- */
.cta-band {
  text-align: center;
  padding: 5rem 0;
  background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(91, 75, 224, 0.14), transparent 70%);
}
.cta-band h2 {
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 300;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}
.cta-band h2 strong { font-weight: 600; color: var(--accent-light); }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Vlny ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
  opacity: .9;
}

/* ---------- Patička ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(3, 3, 20, 0.9));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .9rem;
}
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand .o { color: var(--accent-light); }

footer .motto {
  color: var(--text-muted);
  font-size: .9rem;
  max-width: 380px;
}
footer .motto strong { color: var(--accent-light); font-weight: 600; }

footer h4 {
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: .55rem; }
footer ul a { color: var(--text-muted); font-size: .9rem; }
footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(139, 124, 246, 0.10);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .78rem;
  color: #6a6f96;
}

/* ---------- Animace při scrollu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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