@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --primary-text: #ffffff;
  --secondary-text: rgba(255, 255, 255, 0.7);
  --accent: #5e5ce6;
}

body {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: var(--primary-text);
  overflow-x: hidden;
}

/* Background Image Container */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('images/BG.webp') no-repeat center center/cover;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.main {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  height: 100vh;
}

.main img {
  width: 500px;
  max-width: 80%;
  opacity: 0;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.heading {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  opacity: 0;
}

/* Background Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #ff3b30;
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 50px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(1); }
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 1001;
  width: 90%;
  max-width: 1200px;
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  opacity: 0;
}

.logo img {
  width: 35px;
  filter: brightness(0) invert(1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

nav a:hover {
  opacity: 0.6;
}

.header-cta .btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--accent);
  color: #fff;
}

/* Hero Elements */
main {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  padding: 80px 20px 40px;
}

.hero-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  z-index: 10;
}

.feature-pills {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.pill {
  position: absolute;
  padding: 12px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: scale(0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pill i {
  color: var(--accent);
}

.pill-1 { top: 0%; right: 5%; }
.pill-2 { bottom: 0%; left: 0%; }
.pill-3 { top: 15%; left: 5%; }

.badge {
  background: var(--glass-border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  display: inline-block;
  transform: translateZ(20px);
}

.hero {
  width: 90%;
  max-width: 1100px;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(40px);
  overflow: visible;
  position: relative;
  z-index: 20;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  gap: 40px;
  text-align: left;
}

.hero-text {
  flex: 1.2;
  transform: translateZ(30px);
}

.heading-2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-2 span {
  display: block;
  font-size: 0.6em;
  opacity: 0.8;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 5px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 450px;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(80px);
}

.visual-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

#hero-image {
  width: 100%;
  max-width: 650px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#hero-image:hover {
  transform: scale(1.05);
}

button {
  background: #fff;
  color: #000;
  padding: 18px 45px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
}

button i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

button:hover i {
  transform: translateX(8px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
  border-radius: 2px;
}

/* Header Active State for Mobile */
header.active #nav-links {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

header.active .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
header.active .menu-toggle span:nth-child(2) { opacity: 0; }
header.active .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero {
    width: 95%;
    max-width: 900px;
  }
  
  .hero-inner {
    padding: 40px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
    opacity: 0;
  }

  #nav-links ul {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  #nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .menu-toggle {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .hero {
    width: 90%;
    max-width: 500px;
    margin: 100px auto 40px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    padding: 40px 20px;
    text-align: center;
    gap: 20px;
  }

  .hero-text {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text p {
    margin: 0 auto 25px;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }

  #hero-image {
    max-width: 320px;
  }

  .heading-2 {
    font-size: 2.5rem;
  }

  .feature-pills {
    display: none;
  }

  .orb-1 { width: 250px; height: 250px; }
  .orb-2 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .heading-2 {
    font-size: 2.22rem;
  }
  
  header {
    width: 95%;
    padding: 10px 20px;
  }
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.5;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* Animations Helper */
.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
