:root{
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --orange: #f97316;
  --glass-bg: rgba(255,255,255,0.03);
}

/* Base font */
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Neon gradient text */
.text-neon-gradient {
  background-image: linear-gradient(90deg, #a855f7, #3b82f6, #fb7185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Parallax layers: blurred city bokeh backgrounds (use subtle overlays) */
.parallax-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: translate3d(0,0,0);
  will-change: transform, opacity;
}

/* You can replace these gradients with images for richer effect */
.layer-back {
  background: radial-gradient(ellipse at center, rgba(32,40,55,0.6), rgba(10,12,18,0.95));
  filter: blur(8px) brightness(0.7);
  opacity: 0.9;
}
.layer-mid {
  background: linear-gradient(180deg, rgba(10,12,20,0.25), rgba(0,0,0,0.6));
  mix-blend-mode: screen;
  opacity: 0.7;
}
.layer-front {
  background-image: radial-gradient(circle at 50% 20%, rgba(59,130,246,0.06), transparent 20%),
                    radial-gradient(circle at 20% 80%, rgba(249,115,22,0.03), transparent 20%);
  opacity: 1;
}

/* Glass card (reusable) */
.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Logo container glass + neon ring */
.logo-orbit {
  border-radius: 18px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
}
.group:hover .logo-orbit { transform: rotate(-6deg) scale(1.02); }

/* neon ring */
.neon-ring {
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(139,92,246,0.08), rgba(59,130,246,0.06), rgba(249,115,22,0.04));
  box-shadow: 0 8px 40px rgba(139,92,246,0.12), 0 0 30px rgba(59,130,246,0.06), inset 0 1px 0 rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.02);
  filter: drop-shadow(0 10px 30px rgba(59,130,246,0.06));
}

/* Floating pills decorative */
.floating-pill {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(59,130,246,0.08));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  filter: blur(0.3px);
}
.pill-blue { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(99,102,241,0.06)); }

/* neon-luma for small elements */
.neon-logo {
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(59,130,246,0.06));
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(139,92,246,0.06);
  border: 1px solid rgba(255,255,255,0.03);
}

/* small responsive tweaks */
@media (max-width: 768px) {
  .logo-orbit { padding: 10px; }
  .neon-ring { border-radius: 14px; }
}

/* subtle entrance animations */
[data-animate="fade-up"] { opacity: 0; transform: translateY(18px); transition: transform .6s ease, opacity .6s ease; }
[data-animate].in-view { opacity: 1; transform: none; }

/* utility for the CTA pulse (slower than old one) */
@keyframes pulse-neon-cta {
  0%,100% { box-shadow: 0 8px 30px rgba(139,92,246,0.12); }
  50% { box-shadow: 0 12px 40px rgba(139,92,246,0.16); transform: translateY(-1px); }
}
a[href="#contact"] { animation: pulse-neon-cta 4s infinite ease-in-out; }

/* small accessibility */
:focus { outline: 2px solid rgba(139,92,246,0.25); outline-offset: 3px; }

/* ====================================
   LIGHT MODE STYLING
==================================== */
html.light body {
  background: #f4f6fa;
  color: #1e293b;
}

html.light .glass-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0,0,0,0.1);
  color: #1e293b;
}

html.light .neon-ring {
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

html.light .bg-slate-900,
html.light .bg-slate-900\/40,
html.light .bg-slate-900\/50 {
  background-color: rgba(255,255,255,0.8) !important;
}

html.light .text-slate-300 { color: #334155 !important; }
html.light .text-slate-400 { color: #475569 !important; }
html.light .text-slate-500 { color: #64748b !important; }
html.light .text-slate-600 { color: #64748b !important; }

html.light #themeIcon {
  stroke: #2563eb;
}

/* ================================
   Floating WhatsApp Button
================================ */
.floating-wa {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  /* glassmorphism shine */
  box-shadow:
    0 4px 20px rgba(34, 197, 94, 0.4),
    0 0 15px rgba(34, 197, 94, 0.6);

  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.2);

  transition: all 0.25s ease;
  animation: wa-bounce 3s infinite ease-in-out;
}

.floating-wa:hover {
  transform: scale(1.12) translateY(-6px);
  box-shadow:
    0 6px 25px rgba(34, 197, 94, 0.5),
    0 0 20px rgba(34, 197, 94, 0.8);
}

/* Bounce animation */
@keyframes wa-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Mode Light Support */
html.light .floating-wa {
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-color: rgba(0,0,0,0.1);
}
