/* ═══════════════ NEON TEXT GLOW ═══════════════ */

.neon-super {
  color: #F0A030;
  text-shadow:
    0 0 10px rgba(240, 160, 48, 0.5),
    0 0 40px rgba(240, 160, 48, 0.25),
    0 0 80px rgba(240, 160, 48, 0.1);
}

.neon-rocola {
  color: #70C8E0;
  text-shadow:
    0 0 10px rgba(112, 200, 224, 0.5),
    0 0 40px rgba(112, 200, 224, 0.25),
    0 0 80px rgba(112, 200, 224, 0.1);
}

/* Subtle pulse on hero */
#hero .neon-super {
  animation: neon-pulse-warm 4s ease-in-out infinite;
}

#hero .neon-rocola {
  animation: neon-pulse-cool 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes neon-pulse-warm {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(240, 160, 48, 0.5),
      0 0 40px rgba(240, 160, 48, 0.25),
      0 0 80px rgba(240, 160, 48, 0.1);
  }
  50% {
    text-shadow:
      0 0 15px rgba(240, 160, 48, 0.6),
      0 0 50px rgba(240, 160, 48, 0.35),
      0 0 100px rgba(240, 160, 48, 0.15);
  }
}

@keyframes neon-pulse-cool {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(112, 200, 224, 0.5),
      0 0 40px rgba(112, 200, 224, 0.25),
      0 0 80px rgba(112, 200, 224, 0.1);
  }
  50% {
    text-shadow:
      0 0 15px rgba(112, 200, 224, 0.6),
      0 0 50px rgba(112, 200, 224, 0.35),
      0 0 100px rgba(112, 200, 224, 0.15);
  }
}


/* ═══════════════ AMBIENT GLOW ORBS ═══════════════ */

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Blue — top left */
.ambient-orb-1 {
  width: 900px;
  height: 900px;
  top: -200px;
  left: -250px;
  background: radial-gradient(circle, rgba(74, 111, 165, 0.3) 0%, rgba(74, 111, 165, 0.1) 40%, transparent 70%);
  animation: float-1 14s ease-in-out infinite;
}

/* Coral/red — middle right */
.ambient-orb-2 {
  width: 1000px;
  height: 1000px;
  top: 600px;
  right: -300px;
  background: radial-gradient(circle, rgba(224, 85, 85, 0.22) 0%, rgba(224, 85, 85, 0.08) 40%, transparent 70%);
  animation: float-2 18s ease-in-out infinite;
}

/* Warm amber — further down right */
.ambient-orb-3 {
  width: 800px;
  height: 800px;
  top: 2000px;
  right: -150px;
  background: radial-gradient(circle, rgba(240, 160, 48, 0.2) 0%, rgba(240, 160, 48, 0.07) 40%, transparent 70%);
  animation: float-3 12s ease-in-out infinite;
}

/* Purple — left side */
.ambient-orb-4 {
  width: 850px;
  height: 850px;
  top: 3200px;
  left: -250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.07) 40%, transparent 70%);
  animation: float-4 16s ease-in-out infinite;
}

/* Teal — top right */
.ambient-orb-5 {
  width: 700px;
  height: 700px;
  top: 300px;
  right: -100px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0.06) 40%, transparent 70%);
  animation: float-5 20s ease-in-out infinite;
}

/* Pink — bottom area */
.ambient-orb-6 {
  width: 900px;
  height: 900px;
  top: 4500px;
  left: -200px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(236, 72, 153, 0.06) 40%, transparent 70%);
  animation: float-6 15s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-35px, 25px); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -40px); }
}

@keyframes float-4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

@keyframes float-5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 35px); }
}

@keyframes float-6 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(35px, -15px); }
}


/* ═══════════════ GLASS CARDS ═══════════════ */

.glass-card {
  background: rgba(26, 40, 48, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 109, 122, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 109, 122, 0.3);
}


/* ═══════════════ SCROLL REVEAL ═══════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for feature cards */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 560ms; }


/* ═══════════════ SCREENSHOT GALLERY ═══════════════ */

.screenshot-img {
  display: none;
  animation: fadeIn 0.4s ease;
}

.screenshot-img.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.screenshot-tab.active {
  color: #4A6FA5;
  border-color: #4A6FA5;
}


/* ═══════════════ PALETTE CARDS ═══════════════ */

.palette-card {
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(79, 109, 122, 0.15);
  background: rgba(26, 40, 48, 0.4);
  transition: border-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.palette-card:hover {
  border-color: rgba(74, 111, 165, 0.4);
  transform: translateY(-2px);
}

.palette-card.active {
  border-color: #4A6FA5;
  background: rgba(74, 111, 165, 0.1);
}


/* ═══════════════ PHONE MOCKUP FRAMES ═══════════════ */

.phone-mockup {
  position: relative;
  flex-shrink: 0;
}

.phone-frame-overlay {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  z-index: 1;
  top: 5.5%;
  left: 5.5%;
  width: 89%;
  height: 91%;
  object-fit: cover;
  object-position: center;
  border-radius: 6%;
}

.phone-mockup.phone-lg {
  width: 220px;
}

.phone-mockup.phone-sm {
  width: 180px;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .phone-mockup.phone-lg {
    width: 260px;
  }
  .phone-mockup.phone-sm {
    width: 210px;
  }
}


/* ═══════════════ THEME PREVIEW CSS VARIABLES ═══════════════ */

#theme-preview {
  --preview-outer: #121E24;
  --preview-panel: #1A2830;
  --preview-base: #4F6D7A;
  --preview-base-dim: rgba(79, 109, 122, 0.2);
  --preview-accent: #4A6FA5;
  --preview-accent-dim: rgba(74, 111, 165, 0.2);
  --preview-coral: #E05555;
  --preview-text-hi: #E8E8E8;
  --preview-text-mid: #AAAAAA;
  --preview-text-dim: #707070;
  transition: all 0.4s ease;
}


/* ═══════════════ NAV STATES ═══════════════ */

#navbar.scrolled {
  background: rgba(18, 30, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(79, 109, 122, 0.15);
}

.lang-btn.active {
  opacity: 1;
  filter: grayscale(0) drop-shadow(0 0 4px rgba(74, 111, 165, 0.6));
  transform: scale(1.2);
}

.lang-btn {
  font-size: 18px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s, filter 0.2s;
}

.lang-btn:hover {
  filter: grayscale(0.3);
  opacity: 0.9;
}


/* ═══════════════ SMOOTH SCROLL ═══════════════ */

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}


/* ═══════════════ SELECTION ═══════════════ */

::selection {
  background: rgba(74, 111, 165, 0.3);
  color: #E8E8E8;
}


/* ═══════════════ SCROLLBAR ═══════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #121E24;
}

::-webkit-scrollbar-thumb {
  background: #4F6D7A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A6FA5;
}
