:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #bfbfbf;

  --glow-1: rgba(0, 102, 255, 0.4);
  --glow-2: rgba(0, 45, 138, 0.25);
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ======================================
   PULSUJĄCA MATKA
   ====================================== */
.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1300px;
  height: 1300px;
  background: radial-gradient(circle, var(--glow-1), var(--glow-2), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(130px);
  animation: pulse 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.85;
  }
}

/* ======================================
   LOGO
   ====================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1px 26px;
  z-index: 1000;
}

.logo-img {
  width: 155px;
  height: auto;
}

/* ======================================
   GŁÓWNA SEKCJA
   ====================================== */
.hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.typing-wrapper {
  max-width: 1100px;
  margin-top: 40px;
}

.typing {
  font-size: clamp(28px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: pre;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.caret {
  display: inline-block;
  width: 3px;
  height: 1.3em;
  background: var(--text);
  margin-left: 6px;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ======================================
   STOPKA
   ====================================== */
.site-footer {
  text-align: center;
  padding: 25px 20px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ======================================
   MOBILE
   ====================================== */
@media (max-width: 420px) {
  .logo-img {
    width: 130px;
  }

  .typing {
    font-size: 26px;
  }
}
