* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input,
select,
textarea,
.popup-overlay * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

:root {
  --primary: #ff4655;
  --secondary: #1e90ff;
  --accent: #00ff88;
  --dark: #0a0a14;
  --darker: #05050c;
  --light: #ffffff;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur: blur(25px);
  --animate-duration: 300ms!important;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--darker);
  overflow-x: hidden;
  zoom: 1;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Avoid vw bugs on fixed elements */
header {
  left: 0;
  right: 0;
  width: auto;
}

/* Prevent animated backgrounds from expanding layout */
.gradient-bg,
.gradient-overlay {
  max-width: 100%;
  overflow: hidden;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--dark);
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 4px;
}
.gradient-bg {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 70, 85, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
    linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  animation: bgFloat 45s linear infinite;
  opacity: 0.5;
}

.gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 70, 85, 0.02),
    rgba(30, 144, 255, 0.02),
    rgba(0, 255, 136, 0.02),
    transparent);
  animation: gradientFlow 35s linear infinite;
}
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.page {
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 2rem 5%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.6;
  font-weight: 300;
}
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff6b7a);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 70, 85, 0.3);
}
.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 70, 85, 0.4);
}
@media (max-width: 1200px) {
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    min-width: 120px;
  }
}
@media (max-width: 968px) {
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 576px) {
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-width: 100px;
  }
}
@media (max-width: 480px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    gap: 5px;
    min-width: 90px;
  }
}
@media (max-width: 380px) {
  .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    min-width: 80px;
  }
}


@keyframes bgFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-0.5%, 0.5%) rotate(0.05deg);
  }

  66% {
    transform: translate(0.5%, -0.5%) rotate(-0.05deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes gradientFlow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}