/* ═══════════════════════════════════════════════════════
   PRICELIO – Shared Design System
═══════════════════════════════════════════════════════ */

:root {
  --bg-primary: #05020a;
  --bg-secondary: #0a0614;
  --bg-tertiary: #0f0a1e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --accent-primary: #ff2d78;
  --accent-primary-soft: #ff5c99;
  --accent-primary-glow: rgba(255, 45, 120, 0.3);
  --accent-secondary: #00ead0;
  --accent-secondary-soft: #70ffee;
  --accent-secondary-glow: rgba(0, 234, 208, 0.2);
  --accent-gradient: linear-gradient(135deg, #ff2d78 0%, #ff6b9d 40%, #00ead0 100%);
  --purple-accent: #c084fc;
  --purple-glow: rgba(192, 132, 252, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Common Reveal Animation ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Mesh Background ────────────────────────────────── */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.mesh-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.15), transparent 70%);
  top: -200px;
  right: -100px;
  animation: meshFloat1 18s ease-in-out infinite;
}

.mesh-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12), transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: meshFloat2 22s ease-in-out infinite;
}

.mesh-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1), transparent 70%);
  top: 40%;
  left: 40%;
  animation: meshFloat3 26s ease-in-out infinite;
}

@keyframes meshFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.1); } }
@keyframes meshFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -60px) scale(1.08); } }
@keyframes meshFloat3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.12); } }

/* ── Navigation ─────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 3, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-primary-glow);
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-spacer { flex: 1; }

.nav-country-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-country-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-country-link:hover {
  border-color: var(--accent-primary);
  color: #fff;
  background: rgba(255, 45, 120, 0.08);
}

.nav-country-link.active {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  background: var(--accent-secondary-glow);
}

#en-toggle {
  padding: 6px 14px;
  background: var(--purple-glow);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  color: var(--purple-accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Manrope', sans-serif;
}

#en-toggle:hover { background: rgba(167, 139, 250, 0.25); }
#en-toggle.active { opacity: 0.5; cursor: default; }

@media (max-width: 768px) {
  nav { padding: 12px 20px; gap: 10px; }
  .nav-country-link { padding: 6px 10px; font-size: 12px; }
}

.btn-gradient { background: var(--accent-gradient); color: #fff; border: none; font-weight: 700; letter-spacing: .01em; }
.btn-gradient:hover { opacity: .88; transform: scale(1.02); }

.nav-hamburger { display: none; background: none; border: 1px solid var(--border-subtle); border-radius: 8px; padding: .5rem .65rem; cursor: pointer; color: var(--text-secondary); font-size: 1.2rem; line-height: 1; }
.nav-mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,2,10,.97); z-index: 9999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; backdrop-filter: blur(20px); }
.nav-mobile-menu.open { display: flex; }
.mobile-nav-link { color: var(--text-secondary); text-decoration: none; font-size: 1.4rem; font-weight: 600; transition: color .2s; }
.mobile-nav-link:hover { color: #fff; }
.mobile-nav-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1rem; }
.nav-mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-hamburger { display: block; }
}
