/* styles.css */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #121212;
  color: #ffffff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1f1f1f;
  border-bottom: 1px solid #333;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #00ffc8;
}

.logo a {
  color: #00ffc8;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ffc8;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #1f1f1f 0%, #121212 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00ffc8;
  font-family: 'Orbitron', sans-serif;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #00ffc8;
  color: #121212;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #00ddb0;
}

.intro {
  padding: 2rem;
  text-align: center;
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.feature a {
  display: block;
  text-decoration: none;
  background-color: #1f1f1f;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.3rem;
  color: #00ffc8;
  border: 1px solid #333;
  transition: background-color 0.3s, color 0.3s;
}

.feature a:hover {
  background-color: #2a2a2a;
  color: #00ddb0;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: #1f1f1f;
  border-top: 1px solid #333;
}

.content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  line-height: 1.8;
  font-size: 1.15rem;
  color: #dddddd;
  animation: fadeIn 0.8s ease-in-out;
}

.content h1 {
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  font-family: 'Orbitron', sans-serif;
  color: #00ffc8;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  color: #00ffc8;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  position: relative;
  padding-left: 3rem;
}

.content h2::before {
  content: counter(h2counter, decimal-leading-zero);
  counter-increment: h2counter;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  font-family: 'Orbitron', sans-serif;
  color: #999;
  opacity: 0.2;
  line-height: 1;
}

.content h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #00ffc8;
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.content h2:hover::after {
  width: 100px;
}

.content {
  counter-reset: h2counter;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-cta {
  text-align: center;
  margin: 3rem 0;
}

.page-cta .btn {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

.video-embed {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.responsive-video-wrapper {
  max-width: 720px;
  width: 100%;
}

.responsive-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background-color: #000; /* avoids flicker */
  overflow: hidden;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lazy-video {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 720px;
  position: relative;
}

.video-placeholder {
  position: relative;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  background: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkgMTYuMiA5IDcuOCBMIDE3IDEyIFoiLz48L3N2Zz4=') no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}