/* ─── Aelux kleurpalet ─── */
:root {
  --bg:        #12111E;
  --shadow:    #301934;
  --accent:    #4169E1;
  --glow:      #00FFFF;
  --text:      #D8BFD8;
  --text-muted: #8b7fa8;

  --glass-bg:      rgba(48, 25, 52, 0.35);
  --glass-border:  rgba(65, 105, 225, 0.25);
  --glass-hover:   rgba(65, 105, 225, 0.18);
  --glass-blur:    18px;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Mesh gradient achtergrond ─── */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
}

.mesh-bg::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  left: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 105, 225, 0.18) 0%, transparent 70%);
  animation: float-a 14s ease-in-out infinite;
}

.mesh-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.10) 0%, transparent 70%);
  animation: float-b 18s ease-in-out infinite;
}

.mesh-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 40%;
  left: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 25, 52, 0.6) 0%, transparent 70%);
  animation: float-c 22s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, 40px) scale(1.08); }
  66%       { transform: translate(-30px, 70px) scale(0.95); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-50px, -60px) scale(1.1); }
  66%       { transform: translate(40px, -30px) scale(0.92); }
}

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

/* ─── Glass card ─── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.glass:hover {
  border-color: rgba(65, 105, 225, 0.5);
  background: var(--glass-hover);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.07);
}

.glass-strong {
  background: rgba(48, 25, 52, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(65, 105, 225, 0.3);
  border-radius: 16px;
}

/* ─── Glow effecten ─── */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.25), 0 0 60px rgba(0, 255, 255, 0.08);
}

.glow-accent {
  box-shadow: 0 0 20px rgba(65, 105, 225, 0.35), 0 0 60px rgba(65, 105, 225, 0.12);
}

.text-glow {
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ─── Knoppen ─── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a7ff0);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(65, 105, 225, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(65, 105, 225, 0.08);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── Toggle switch ─── */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: background 0.25s;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.toggle input:checked + .toggle-track {
  background: linear-gradient(135deg, var(--accent), #00CCCC);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s;
  pointer-events: none;
}

.toggle input:checked ~ .toggle-thumb {
  transform: translateX(20px);
}

/* ─── Fade in animatie ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.5s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ─── Particle canvas ─── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ─── Pagina layout ─── */
.page-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  gap: 0;
}

/* ─── Taalschakelaar ─── */
.lang-switcher {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(65, 105, 225, 0.1);
}

/* ─── Logo sectie ─── */
.logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease forwards;
}

.logo-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.15);
  animation: ring-spin 12s linear infinite;
}

.logo-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow), 0 0 20px var(--glow);
}

.logo-ring-2 {
  width: 160px;
  height: 160px;
  border-color: rgba(65, 105, 225, 0.1);
  animation: ring-spin-rev 18s linear infinite;
}

.logo-ring-2::before {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ring-spin-rev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  animation: logo-breathe 4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), 0 0 60px rgba(65, 105, 225, 0.2);
}

@keyframes logo-breathe {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), 0 0 60px rgba(65, 105, 225, 0.2); }
  50%       { box-shadow: 0 0 50px rgba(0, 255, 255, 0.5), 0 0 100px rgba(65, 105, 225, 0.35); }
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--glow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow);
  animation: blink 1.6s ease-in-out infinite;
  box-shadow: 0 0 6px var(--glow);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── Hoofdtitel ─── */
.main-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.7s ease 0.3s forwards;
  opacity: 0;
  background: linear-gradient(135deg, #fff 0%, var(--text) 40%, var(--glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-label {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.4s forwards;
  opacity: 0;
}

.coming-soon-label span {
  color: var(--accent);
}

/* ─── Typewriter ─── */
.typewriter-wrap {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  text-align: center;
  min-height: 2em;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease 0.5s forwards;
  opacity: 0;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--glow);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 0.8s step-end infinite;
  box-shadow: 0 0 6px var(--glow);
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── Feature kaarten ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 760px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease 0.6s forwards;
  opacity: 0;
}

.feature-card {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  cursor: default;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(65, 105, 225, 0.15);
  border: 1px solid rgba(65, 105, 225, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.2);
}

.feature-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ─── Notify form ─── */
.notify-form {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 440px;
  animation: fadeUp 0.7s ease 0.7s forwards;
  opacity: 0;
  margin-bottom: 2.5rem;
}

.notify-input {
  flex: 1;
  background: rgba(48, 25, 52, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-input::placeholder {
  color: var(--text-muted);
}

.notify-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.15);
}

.notify-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--glow);
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeUp 0.4s ease forwards;
}

/* ─── Socials ─── */
.socials {
  display: flex;
  gap: 0.75rem;
  animation: fadeUp 0.7s ease 0.8s forwards;
  opacity: 0;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(65, 105, 225, 0.25);
}

/* ─── Taal fade ─── */
[data-nl], [data-en] {
  transition: opacity 0.25s ease;
}

/* ─── Glitch animatie op titel ─── */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #fff 0%, var(--text) 40%, var(--glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch::before {
  animation: glitch-1 4s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-2px, 0);
  opacity: 0;
}

.glitch::after {
  animation: glitch-2 4s infinite linear;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(2px, 0);
  opacity: 0;
}

@keyframes glitch-1 {
  0%, 85%, 100% { opacity: 0; transform: translate(0, 0); }
  86%           { opacity: 0.8; transform: translate(-3px, 0); }
  88%           { opacity: 0.6; transform: translate(3px, 0); }
  90%           { opacity: 0; }
}

@keyframes glitch-2 {
  0%, 85%, 100% { opacity: 0; transform: translate(0, 0); }
  87%           { opacity: 0.7; transform: translate(3px, 0); }
  89%           { opacity: 0.5; transform: translate(-3px, 0); }
  91%           { opacity: 0; }
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .notify-form {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
