* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(15, 23, 42, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.logo span {
  color: #38bdf8;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #f1f5f9;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* Sticky Header Override */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/* Animated Hamburger Menu */
/* ============================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger Animation to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.btn-outline {
  padding: 8px 16px;
  border: 1px solid #38bdf8;
  border-radius: 25px;
}

.hero {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 80px 8%;
  min-height: 90vh;
  background-image: url('img/metaverse-7199393_1280.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 38, 0.6);
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 30px;
  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

button {
  cursor: pointer;
  border: none;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 24px;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: #0000007a;
  border: 1px solid #6366f1;
  color: white;
}

a {
  color: #3db5f8;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.floating-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: 1s;
}

.floating-card:nth-child(3) {
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.features, .platforms, .demo, .cta {
  padding: 80px 8%;
  text-align: center;
}

.feature-grid, .platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card, .platform-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover, .platform-card:hover {
  transform: translateY(-10px);
}

.demo-box {
  margin-top: 30px;
  padding: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-form {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cta-form input {
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  width: 250px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  font-size: 0.9rem;
  color: #94a3b8;
}

@media (max-width: 900px) {
  /* Mobile Navigation */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: linear-gradient(180deg, #061226, #0a1c35);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.4);
  }

  nav ul.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }


  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}

