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

body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #fff;
  background: radial-gradient(circle at 50% 100%, #1b2735, #090a0f);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===============================
   NAVIGATION
   =============================== */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;              /* allow wrapping on small screens */
  padding: 1em 2em;
  background: rgba(0,0,0,0.7);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.logo-frame {
  padding: 4px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ff, #08f, #f0f);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6),
              0 0 25px rgba(255, 0, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  display: block;
}

.brand-name {
  font-size: 1.6em;
  font-weight: bold;
  background: linear-gradient(90deg, #0ff, #08f, #f0f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: 1.5px;
  animation: gradientFlow 5s ease infinite;
}

.brand-name::after {
  content: "TheUniverseAI";
  position: absolute;
  left: 0;
  top: 0;
  background: none;
  color: transparent;
  text-shadow: 0 0 15px rgba(0,255,255,0.8),
               0 0 25px rgba(0,128,255,0.6),
               0 0 35px rgba(255,0,255,0.6);
  pointer-events: none;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-left: auto;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links .active {
  color: #0ff;
}

/* ===============================
   HERO
   =============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(rgba(9,10,15,0.8), rgba(9,10,15,0.9)),
    url('FeatureGraphic.jpg') center/cover no-repeat;
  padding: 2em;
  padding-top: 120px; /* keeps content below fixed nav */
  min-height: 100vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-video .video-frame {
  background: #000;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
  max-width: 350px;
}

.hero-video video {
  width: 100%;
  border-radius: 12px;
}

.hero-text {
  text-align: left;
}

.hero-text .glow {
  font-size: 2.5em;
  text-shadow: 0 0 20px #0ff, 0 0 40px #08f;
}

.tagline {
  font-size: 1.3em;
  margin: 0.5em 0 1.5em;
}

.hero-copy {
  margin-top: 1.5em;
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 500px;
  color: #eee;
}

.hero-copy p:first-child {
  margin-bottom: 1em;
}

.store-badges img {
  height: 55px;
  margin: 1em;
  max-width: 180px;
  display: inline-block;
  transition: transform 0.3s;
}

.store-badges img:hover {
  transform: scale(1.05);
}

/* ===============================
   ABOUT
   =============================== */
.about {
  padding: 5em 2em;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

/* ===============================
   SCREENSHOTS
   =============================== */
.screenshots {
  padding: 5em 2em;
  background: rgba(255,255,255,0.03);
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.phone-frame {
  background: #000;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.phone-frame img {
  width: 100%;
  border-radius: 16px;
}

/* ===============================
   VIDEO PLAYER
   =============================== */
.video {
  padding: 5em 2em;
  text-align: center;
}

.video-frame {
  display: inline-block;
  background: #000;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
  position: relative;
}

.video video {
  width: 300px;
  max-width: 90vw;
  border-radius: 16px;
}

.unmute-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #0ff;
  border: 2px solid #0ff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.3s;
}

.unmute-btn:hover {
  background: rgba(0,255,255,0.2);
}

/* ===============================
   POLICY / LICENSE
   =============================== */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  line-height: 1.6;
  overflow-y: auto;
}

.policy-container h1 {
  margin-bottom: 1em;
  text-align: center;
}

/* ===============================
   CTA
   =============================== */
.cta {
  text-align: center;
  padding: 5em 2em;
  background: linear-gradient(to right, #090a0f, #1b2735);
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

.cta p {
  font-size: 1.2em;
  margin-bottom: 2em;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
  background: rgba(0,0,0,0.8);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  .brand {
    flex: 1 1 100%;
    justify-content: center;
    margin-bottom: 0.5em;
  }

  .brand-name {
    font-size: 1.2em;
  }

  .nav-links {
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8em;
  }

  .nav-links a {
    font-size: 0.9em;
  }

  .hero {
    padding-top: 100px; /* ensure hero starts below nav */
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-video {
    margin-bottom: 1.5em;
  }

  .hero-text {
    text-align: center;
  }

  .hero-overlay h1 {
    font-size: 2.2em;
  }

  .tagline {
    font-size: 1em;
  }
}
