/* ============================================
   Vivas Music - Custom CSS
   ============================================ */

:root {
  --vm-purple: #7C3AED;
  --vm-pink: #EC4899;
  --vm-violet: #A855F7;
  --vm-dark: #0F0F1A;
  --vm-dark-2: #1A1A2E;
  --vm-light: #F9F7FF;
  --vm-text-dark: #1A1A2E;
  --vm-gradient: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --vm-gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--vm-dark);
  color: #fff;
  overflow-x: hidden;
}

/* ============================================
   Gradient Text & Backgrounds
   ============================================ */

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

.vm-gradient-bg {
  background: var(--vm-gradient);
}

.vm-gradient-border {
  position: relative;
  background: var(--vm-dark);
  border-radius: 1rem;
}

.vm-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--vm-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================
   Hero Orbs (Mesh Gradient Background)
   ============================================ */

.vm-hero {
  position: relative;
  overflow: hidden;
  background: var(--vm-dark);
}

.vm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
  animation: vm-float 20s ease-in-out infinite;
}

.vm-orb-purple {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--vm-purple) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.vm-orb-pink {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--vm-pink) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -10s;
}

.vm-orb-violet {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--vm-violet) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  opacity: 0.3;
  animation-delay: -5s;
}

@keyframes vm-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

/* ============================================
   Glassmorphism Cards
   ============================================ */

.vm-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.vm-glass:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(124, 58, 237, 0.4);
}

.vm-glass-light {
  background: rgba(124, 58, 237, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.vm-glass-light:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(124, 58, 237, 0.25);
}

/* ============================================
   Buttons
   ============================================ */

.vm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--vm-gradient);
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.vm-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--vm-pink) 0%, var(--vm-purple) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.vm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(236, 72, 153, 0.5);
}

.vm-btn-primary:hover::before {
  opacity: 1;
}

.vm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.vm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--vm-violet);
  transform: translateY(-2px);
}

.vm-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--vm-dark);
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.vm-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Navigation
   ============================================ */

.vm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-nav.scrolled {
  background: rgba(15, 15, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.vm-nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.vm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vm-gradient);
  transition: width 0.3s ease;
}

.vm-nav-link:hover,
.vm-nav-link.active {
  color: #fff;
}

.vm-nav-link:hover::after,
.vm-nav-link.active::after {
  width: 100%;
}

.vm-lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.vm-lang-btn.active {
  color: #fff;
}

.vm-lang-btn:hover {
  color: var(--vm-violet);
}

/* Mobile menu */
.vm-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vm-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.vm-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.vm-mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.vm-mobile-close:hover,
.vm-mobile-close:active {
  background: var(--vm-gradient);
  border-color: transparent;
  transform: rotate(90deg);
}

.vm-mobile-close svg {
  width: 24px !important;
  height: 24px !important;
  display: block;
  stroke: currentColor;
  color: #fff;
}

/* ============================================
   Section Dividers
   ============================================ */

.vm-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 80%;
}

/* ============================================
   Fade-in Animations
   ============================================ */

.vm-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.vm-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.vm-fade-in-delay-1 { transition-delay: 0.1s; }
.vm-fade-in-delay-2 { transition-delay: 0.2s; }
.vm-fade-in-delay-3 { transition-delay: 0.3s; }
.vm-fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Platform Logo Strip
   ============================================ */

.vm-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  opacity: 0.7;
}

.vm-platform-logo {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.vm-platform-logo:hover {
  color: #fff;
  transform: scale(1.05);
}

.vm-platform-logo svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   Forms
   ============================================ */

.vm-input,
.vm-textarea,
.vm-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.vm-input::placeholder,
.vm-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.vm-input:focus,
.vm-textarea:focus,
.vm-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--vm-violet);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

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

.vm-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a855f7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.75rem;
}

.vm-select option {
  background: var(--vm-dark);
  color: #fff;
}

.vm-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vm-radio-option {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.vm-radio-option input[type="radio"] {
  display: none;
}

.vm-radio-option:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.vm-radio-option.checked {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--vm-violet);
  color: #fff;
}

.vm-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Service Icon Badges
   ============================================ */

.vm-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vm-gradient);
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px -10px rgba(124, 58, 237, 0.5);
}

.vm-service-icon svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   Badges / Chips
   ============================================ */

.vm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.02em;
}

/* ============================================
   Light Section
   ============================================ */

.vm-light-section {
  background: var(--vm-light);
  color: var(--vm-text-dark);
}

.vm-light-section h1,
.vm-light-section h2,
.vm-light-section h3,
.vm-light-section h4 {
  color: var(--vm-text-dark);
}

.vm-light-section .vm-glass {
  background: rgba(124, 58, 237, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.vm-light-section .vm-glass:hover {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.25);
}

/* ============================================
   Footer
   ============================================ */

.vm-footer {
  background: #08080F;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.vm-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--vm-gradient);
  opacity: 0.5;
}

.vm-footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.vm-footer a:hover {
  color: var(--vm-violet);
}

.vm-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vm-social-icon:hover {
  background: var(--vm-gradient);
  transform: translateY(-3px);
}

.vm-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   Utility
   ============================================ */

.vm-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Toast / success notification */
.vm-toast {
  position: fixed;
  top: 100px;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--vm-gradient);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.5);
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
}

.vm-toast.show {
  transform: translateX(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .vm-orb {
    filter: blur(60px);
  }
  .vm-orb-purple {
    width: 400px;
    height: 400px;
  }
  .vm-orb-pink {
    width: 350px;
    height: 350px;
  }
  .vm-toast {
    right: 1rem;
    left: 1rem;
  }
}
