* {
  box-sizing: border-box;
  margin: 0;
}

body {
  height: 100vh;
  background: #121212;
  color: #f2f2f2;
  overflow: hidden;
  font-family: Consolas, 'Courier New', monospace;
}

/* BOOK */
.book {
  position: relative;
  width: 100%;
  height: 100%;
}

/* MARGINESY */
.book::before,
.book::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  background: #0f0f0f;
  z-index: 1;
}
.book::before { left: 0; }
.book::after  { right: 0; }

/* PAGES */
.pages {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.page {
  position: absolute;
  inset: 0;
  padding: 80px 25%;
  transform: translateX(100%);
  transition: transform 0.9s cubic-bezier(0.4,0,0.2,1);
}

.page.active {
  transform: translateX(0);
  box-shadow: -20px 0 40px rgba(0,0,0,0.4);
}

.page.prev {
  transform: translateX(-100%);
}

/* =========================
   TYTUŁ STRONY
   ========================= */

.page-title {
  position: absolute;
  top: 80px;
  left: 25%;

  transform: translateX(100px);
  opacity: 0;

  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1),
              opacity 0.8s ease;
}

.page.active .page-title {
  transform: translateX(0);
  opacity: 1;
}

/* =========================
   LINIE KARTEK
   ========================= */

.pages::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 1px;
  height: 100%;
  background: rgba(242,242,242,0.20);
}

.pages::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20%;
  width: 1px;
  height: 100%;
  background: rgba(242,242,242,0.16);
  box-shadow:
   16px 0 rgba(242,242,242,0.14),
32px 0 rgba(242,242,242,0.12),
48px 0 rgba(242,242,242,0.10),
64px 0 rgba(242,242,242,0.08),
80px 0 rgba(242,242,242,0.06); 
}

/* =========================
   SKOROWIDZ
   ========================= */

.tabs {
  position: absolute;
  top: 80px;
  right: calc(17% + 4px);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  z-index: 5;
}

.tabs button {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 2px;
  padding: 0 3px;
  font-size: 11px;
  transition: color 0.3s ease;
}

.tabs button.active {
  color: #f2f2f2;
}

.tabs button:nth-child(1) { margin-top: 200px; }
.tabs button:nth-child(2) { margin-top: 320px; }
.tabs button:nth-child(3) { margin-top: 520px; }
.tabs button:nth-child(4) { margin-top: 670px; }
.tabs button:nth-child(5) { margin-top: 850px; }

/* =========================
   POLA TEKSTOWE
   ========================= */

.content-box {
  position: absolute;
  padding: 24px;
  border: 1px dashed rgba(242,242,242,0.35);
  line-height: 1.6;

  transform: translateY(100px);
  opacity: 0;

  transition: transform 0.9s cubic-bezier(0.4,0,0.2,1),
              opacity 0.9s ease;
  transform: translate(40px, 80px);
  transition-delay: 0.65s;
			  
}

.page.active .content-box {
  transform: translateY(0);
  opacity: 1;
}

/* POZYCJE PER SEKCJA */

.intro-box {
  top: 28%;
  left: 32%;
  width: 36%;
}

.cloud-box {
  top: 47%;
  left: 47%;
  width: 26%;
}

.revit-box {
  top: 30%;
  left: 34%;
  width: 32%;
}

.ai-box {
  top: 30%;
  left: 36%;
  width: 30%;
}

.contact-box {
  top: 35%;
  left: 35%;
  width: 30%;
}
/* =========================
   LINKI KONTAKT
   ========================= */

.contact-link {
  color: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px solid rgba(242,242,242,0.3);
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  border-bottom: 1px solid #f2f2f2;
  letter-spacing: 1px;
}
#cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 6px
    );
  pointer-events: none;
}
.content-box::before {
  content: "";
  position: absolute;

  left: -28px;
  top: -40px;
  bottom: -40px;

  width: 3px;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(242,242,242,0.6),
    rgba(242,242,242,0.6),
    transparent
  );

  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s ease, opacity 0.6s ease;
}
.content-box::after {
  content: "";
  position: absolute;

  left: -28px;
  top: 40px;

  width: 60px;
  height: 2px;

  background: linear-gradient(
    to right,
    rgba(242,242,242,0.6),
    transparent
  );

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.2s, opacity 0.6s ease 0.2s;
}
.page.active .content-box::before {
  opacity: 1;
  transform: scaleY(1);
}

.page.active .content-box::after {
  opacity: 1;
  transform: scaleX(1);
}
/* =========================
   PRIVATE CLOUD – TYPOGRAFIA
   ========================= */

.cloud-lead {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.cloud-questions p {
  margin-bottom: 12px;
}

/* prawa kolumna wizualna */
.cloud-benefits {
  margin-top: 30px;
  margin-left: 40%;
  line-height: 1.8;
  /* color: #00ffff; */ 
  color: #2dd4bf; 
}
/* DOS AI */
.dos-message {
  background: #000;
  color: #00ff00;

  font-family: "Perfect DOS VGA 437 Win", monospace;
  font-size: 18px;

  padding: 20px;
  margin-top: 40px;

  border: 2px solid #00ff00;

  white-space: pre-line;
}
/* INTRO box*/
.intro-center {
position:absolute;
top:35%;
left:25%;
width:50%;
text-align:center;
}

.intro-logo {
width:40%; /* TU zmieniasz skalę logo */
display:block;
margin:0 auto 30px auto;
}

.intro-text {
margin-top:20px;
}
/* IT SEC LOGO */
.it-box {
top:20%;
left:28%;
width:35%;
}

.sec-box {
top:65%;
left:50%;
width:25%;
}

.it-logo {
width:120px; /* TU zmieniasz wielkość logo */
margin-bottom:20px;
}

.security-logos img {
width:80px; /* TU zmieniasz wielkość logotypów */
margin-right:15px;
margin-bottom:15px;
opacity:0.7;
}
#intro .page-title {
  left: 20%;
  width: 60%;
  text-align: center;
}
/*..........................................................*/ 
/* MOTTO............................................*/
/* === Sygnatura (LEWY DÓŁ) === */

.motto-signature {
    position: absolute;
    bottom: 60px;
    left: 60px; /* margines */
    width: 20%; /* szerokość marginesu */
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.25;
    cursor: pointer;
    transition: opacity 0.4s ease;
    text-align: left;
}

.motto-signature:hover {
    opacity: 0.5;
}

.motto-source {
    display: block;
    font-size: 0.65rem;
    opacity: 0.7;
}


/* === PANEL – SZKŁO === */

.motto-expansion {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 20%;               /* szerokość marginesu */
    height: 100%;
    padding: 120px 40px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f2f2f2;
    transition: bottom 0.9s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 30;
}

.motto-expansion.active {
    bottom: 0;
}

.motto-text {
    line-height: 1.8;
}

.original {
    font-size: 1rem;
    margin-bottom: 50px;
}

.faithful {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 50px;
}

.literary {
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.operational {
    font-size: 0.95rem;
}

