@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --bg-primary: #07070f;
  --bg-secondary: rgba(13, 12, 28, 0.7);
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  
  /* Brand colors extracted from logo.jpeg */
  --accent-orange: #ff7e36;
  --accent-pink: #ec0076;
  --accent-purple: #8a2be2;
  --accent-blue: #0066ff;
  
  /* Brand gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-pink) 35%, var(--accent-purple) 70%, var(--accent-blue) 100%);
  --gradient-neon: linear-gradient(90deg, var(--accent-orange), var(--accent-pink), var(--accent-purple), var(--accent-blue));
  --gradient-bg-glow: radial-gradient(circle at 50% -20%, rgba(138, 43, 226, 0.15) 0%, rgba(7, 7, 15, 0) 70%);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-neon-blue: 0 0 20px rgba(0, 102, 255, 0.3);
  --shadow-neon-purple: 0 0 25px rgba(138, 43, 226, 0.45);
  --shadow-neon-orange: 0 0 20px rgba(255, 126, 54, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* --- BACKGROUND DECORATIONS --- */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1000px;
  background: var(--gradient-bg-glow);
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* --- SCROLL REVEAL CLASS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- HEADER / NAVBAR --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 7, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-container-bg {
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.logo-container-bg:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-header {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-header:hover {
  background: #fff;
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.2);
  color: #d8b4fe;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.1);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: #d8b4fe;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 4rem;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn-primary {
  padding: 1rem 2.2rem;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-neon-purple);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(138, 43, 226, 0.7);
  filter: brightness(1.1);
}

.btn-secondary {
  padding: 1rem 2.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* --- VIDEO PLAYER CONTAINER --- */
.video-wrapper {
  max-width: 950px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(138, 43, 226, 0.1);
  transition: var(--transition-smooth);
}

.video-wrapper:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 102, 255, 0.15);
  transform: scale(1.01);
}

.video-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

/* Custom Play Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 7, 15, 0.9) 0%, rgba(7, 7, 15, 0.2) 60%, rgba(7, 7, 15, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.play-button svg {
  fill: #fff;
  width: 32px;
  height: 32px;
  margin-left: 6px; /* offset play icon centering */
  transition: var(--transition-smooth);
}

.video-container:hover .play-button {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255,255,255,0.4);
}

.video-container:hover .play-button svg {
  fill: var(--bg-primary);
}

.video-overlay-text {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- HOW IT WORKS SECTION --- */
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  border-radius: 20px 20px 0 0;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(138, 43, 226, 0.05);
}

.step-card:nth-child(1):hover::before {
  background: var(--accent-blue);
}
.step-card:nth-child(2):hover::before {
  background: var(--accent-purple);
}
.step-card:nth-child(3):hover::before {
  background: var(--accent-orange);
}

.step-number {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--bg-primary);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 2rem auto;
  border: 1px solid var(--border-glass);
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.step-card:hover .step-number {
  border-color: currentColor;
  color: #fff;
}

.step-card:nth-child(1):hover .step-number {
  color: var(--accent-blue);
  box-shadow: var(--shadow-neon-blue);
}
.step-card:nth-child(2):hover .step-number {
  color: var(--accent-purple);
  box-shadow: var(--shadow-neon-purple);
}
.step-card:nth-child(3):hover .step-number {
  color: var(--accent-orange);
  box-shadow: var(--shadow-neon-orange);
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* --- FEATURES / SPECS SECTION --- */
.specs {
  background: radial-gradient(circle at 10% 80%, rgba(0, 102, 255, 0.05) 0%, rgba(7, 7, 15, 0) 60%);
  position: relative;
}

.specs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.specs-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.specs-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specs-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--accent-blue);
  filter: blur(120px);
  opacity: 0.15;
  z-index: 1;
}

/* A visual rendering of the TV + Camera system in CSS */
.tv-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  background: #11111d;
  border: 12px solid #22222a;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 102, 255, 0.1);
  z-index: 2;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c0f3c 0%, #07070f 100%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-avatar-game {
  width: 70px;
  height: 120px;
  border: 2px dashed rgba(0, 102, 255, 0.4);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float-slow 4s ease-in-out infinite alternate;
}

.tv-avatar-game::after {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: var(--shadow-neon-blue);
}

.camera-sensor {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background: #33333d;
  border-radius: 4px;
  z-index: 3;
  border-bottom: 2px solid var(--accent-blue);
  box-shadow: 0 -2px 10px rgba(0, 102, 255, 0.4);
}

.camera-lens {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  border: 1px solid var(--accent-blue);
}

.tracking-cone {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 250px;
  background: linear-gradient(to bottom, rgba(0, 102, 255, 0.15) 0%, rgba(0, 102, 255, 0) 100%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 2;
  pointer-events: none;
  animation: tracking-pulse 3s infinite alternate;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spec-item {
  display: flex;
  gap: 1.5rem;
}

.spec-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-blue);
  transition: var(--transition-smooth);
}

.spec-item:hover .spec-icon {
  background: rgba(0, 102, 255, 0.1);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: var(--shadow-neon-blue);
}

.spec-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.spec-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* --- CONTACT / PRE-ORDER FORM SECTION --- */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.contact-glow {
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--accent-purple);
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
}

.contact-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(7, 7, 15, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-neon-purple);
  background: rgba(7, 7, 15, 0.8);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-form {
  width: 100%;
  padding: 1.1rem;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-neon-purple);
  transition: var(--transition-smooth);
  margin-top: 1rem;
}

.btn-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(138, 43, 226, 0.6);
  filter: brightness(1.1);
}

/* Form success message */
.form-success-msg {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease forwards;
}

.form-success-msg svg {
  color: var(--accent-blue);
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(var(--shadow-neon-blue));
}

.form-success-msg h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.form-success-msg p {
  color: var(--color-text-muted);
}

/* --- FOOTER --- */
footer {
  background: #040409;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-info p {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-neon-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: #fff;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 10px var(--accent-purple);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(-5px) rotate(-1deg);
  }
  100% {
    transform: translateY(5px) rotate(1deg);
  }
}

@keyframes tracking-pulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .steps-grid {
    gap: 1.5rem;
  }
  
  .specs-container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile fallback, link navigation via CTAs */
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto 3rem auto;
    gap: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .specs-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .specs-visual {
    order: -1;
  }
  
  .spec-item {
    text-align: left;
  }
  
  .contact-wrapper {
    padding: 3rem 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}
