/* ====================================
   EXTEROID - GEOMETRIC HERO STYLES
   ==================================== */

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000000;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background Radial Gradients */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244, 63, 94, 0.15), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1), transparent 60%);
  filter: blur(120px);
  z-index: 1;
}

/* --- NAVIGATION --- */
.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  z-index: 100;
  backdrop-filter: blur(5px);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a5b4fc, #fda4af);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- FLOATING SHAPES --- */
.shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  animation: float 15s ease-in-out infinite;
  will-change: transform;
  opacity: 0.4;
}

/* Shape variations */
.shape-indigo {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
  border: 1px solid rgba(99, 102, 241, 0.2);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.shape-rose {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), transparent);
  border: 1px solid rgba(244, 63, 94, 0.2);
  top: 60%;
  right: -3%;
  animation-delay: -3s;
}

.shape-violet {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent);
  border: 1px solid rgba(139, 92, 246, 0.2);
  bottom: 20%;
  left: 10%;
  animation-delay: -5s;
}

.shape-amber {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), transparent);
  border: 1px solid rgba(245, 158, 11, 0.2);
  top: 15%;
  right: 20%;
  animation-delay: -2s;
}

.shape-cyan {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), transparent);
  border: 1px solid rgba(6, 182, 212, 0.2);
  top: 5%;
  left: 25%;
  animation-delay: -4s;
}

.shape-emerald {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), transparent);
  border: 1px solid rgba(16, 185, 129, 0.2);
  bottom: 30%;
  right: 15%;
  animation-delay: -6s;
}

.shape-purple {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), transparent);
  border: 1px solid rgba(168, 85, 247, 0.2);
  top: 50%;
  left: 5%;
  animation-delay: -1s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -20px) rotate(2deg);
  }

  50% {
    transform: translate(-15px, -30px) rotate(-2deg);
  }

  75% {
    transform: translate(-20px, -15px) rotate(1deg);
  }
}

/* --- HERO CONTENT --- */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  text-align: center;
  padding: 0 2rem;
  padding-top: 100px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.badge-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

/* Hero Title */
.hero-title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.title-main {
  display: block;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.title-gradient {
  display: block;
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 30%, #f472b6 60%, #fb923c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* Fallback for browsers without gradient text support */
@supports not (background-clip: text) {
  .title-gradient {
    color: #c084fc;
  }
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* --- BUTTONS --- */
.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.btn-primary .btn-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(165, 180, 252, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(165, 180, 252, 0.2);
}

/* --- BOTTOM FADE --- */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, #000000 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* --- FOOTER --- */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  background: #000000;
}

/* --- RESPONSIVE DESIGN --- */

/* Tablets */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 800px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
  }

  .shape-indigo {
    width: 350px;
    height: 350px;
  }

  .shape-rose {
    width: 300px;
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-bar {
    padding: 1.5rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .badge {
    margin-bottom: 2rem;
    padding: 8px 16px;
  }

  .badge-text {
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    margin-bottom: 2rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  /* Reduce shape sizes on mobile */
  .shape-indigo {
    width: 300px;
    height: 300px;
  }

  .shape-rose {
    width: 250px;
    height: 250px;
  }

  .shape-violet {
    width: 200px;
    height: 200px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .nav-bar {
    padding: 1rem 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 1rem);
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
  }
}

/* --- ENTRANCE ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.4, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* Staggered animation delays */
.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: translateY(0);
  }
}