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

html, body {
  height: 100%;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif);
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* === LAYOUT === */
.landing-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;       /* full-height centering */
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.hero-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* === LOGO === */
.logo-block.logo-square {
  width: min(50vw, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-main);
  line-height: 1;
  color: var(--text);
}

.logo-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25em;
  width: 100%;
  height: 85%;
}

.logo-line {
  white-space: nowrap;
  transform-origin: center;
  font-size: 2.3rem;
  letter-spacing: -0.015em;
  margin: 0;
  padding: 0;
}

/* === TAGLINE === */
.tagline {
  font-size: 1rem;
  max-width: 340px;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 1rem 0 1.5rem;
}

/* === BUTTON === */
.button-primary {
  display: inline-block;
  background: var(--accent, #000);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 2.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Light hover */
:root[data-theme="light"] .button-primary:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Dark + red hover */
:root[data-theme="dark"] .button-primary:hover,
:root[data-theme="red"] .button-primary:hover {
  background: #000;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

/* === FOOTER === */
footer {
  position: absolute;
  bottom: 1rem;
  font-size: 0.8rem;
  color: var(--muted-text);
  line-height: 1.4;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .logo-block.logo-square { width: 60vw; }
  .logo-line { font-size: 2rem; }
  .tagline { font-size: 0.95rem; }
}

/* === PULSE === */
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
