/*
Theme Name: MASINA.AI Onepager
Theme URI: https://masina.ai/
Author: Pavel
Description: Static one-page landing theme for MASINA.AI
Version: 1.5
*/

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

html, body {
  height: 100%;
}

body {
  background: #000000;
  color: #f5f5f5;
  font-family: "chakra-petch", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-wrapper {
  min-height: 100vh;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 18px 40px;
}

/* Top title */

.site-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600; /* Semibold */
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: #f5f5f5;
}

.site-tagline {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: #b5b5b5;
  margin-bottom: 28px;
  font-weight: 600;
}

/* Intro text */

.intro-text {
  font-size: 0.78rem;
  line-height: 1.75;
  color: #c6c6c6;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.085em;
}

.intro-text p + p {
  margin-top: 14px;
}

/* Social icons row */

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}

.social-row a {
  display: block;
}

.social-icon-img {
  display: block;
  height: 40px;
  width: auto;
}

/* Reika block */

.reika-block {
  margin-bottom: 40px;
}

.reika-block-image {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* Video block */

.video-block {
  margin: 10px 0 40px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  background: #111111;
}

/* Play button overlay */

.video-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.video-play-circle {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

/* Footer */

.site-footer {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a0a0a0;
  font-weight: 400;
}

.site-footer p + p {
  margin-top: 6px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 600;
}

/* Desktop */

@media (min-width: 768px) {

  .container {
    max-width: 620px;
  }

  .site-title {
    font-size: 2.1rem;
  }

  .site-tagline {
    font-size: 1rem;
  }

  .intro-text {
    font-size: 0.86rem;
  }

  .social-row {
    gap: 18px;
    margin: 36px 0 48px;
  }

  .social-icon-img {
    height: 50px;
  }
}
