/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --dark: #070a14;
  --dark-light: #0f1628;
  --dark-border: #1d2a45;
  --blue-night: #0b1e45;
  --cyan: #37d5ff;
  --cyan-dark: #2f7cff;
  --text: #e9f4ff;
  --text-muted: #98a8c4;
  --radius-card: 20px;
  --shadow-neon-sm: 0 0 14px rgba(55, 213, 255, 0.18);
  --shadow-neon-md: 0 0 28px rgba(55, 213, 255, 0.30);
}

html,
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 0%, #10234e 0%, #070a14 38%, #05070d 100%);
  color: var(--text);
  background-attachment: fixed;
  background-size: cover;
  scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(55, 213, 255, 0.35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(55, 213, 255, 0.6); }

/* Dot grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(55, 213, 255, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(55, 213, 255, 0); }
  50% { box-shadow: 0 0 24px rgba(55, 213, 255, 0.22); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Reveal on scroll (JS adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

.gradient-text {
  background: linear-gradient(115deg, #37d5ff 0%, #7fb3ff 38%, #2f7cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-shimmer {
  background: linear-gradient(115deg, #37d5ff 0%, #fff 40%, #2f7cff 60%, #37d5ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.neon-card {
  background: linear-gradient(145deg, rgba(19, 32, 60, 0.75), rgba(10, 17, 33, 0.88));
  border: 1px solid rgba(79, 140, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 45px rgba(4, 10, 22, 0.7);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.neon-card:hover {
  border-color: rgba(55, 213, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 28px rgba(55, 213, 255, 0.18),
    0 20px 45px rgba(4, 10, 22, 0.7);
  transform: translateY(-2px);
}

/* Icon box utility */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.15), rgba(47, 124, 255, 0.08));
  border: 1px solid rgba(55, 213, 255, 0.2);
  color: var(--cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Section label */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(55, 213, 255, 0.08);
  border: 1px solid rgba(55, 213, 255, 0.25);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 1rem;
}

/* Image cover */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Stat number highlight */
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.neon-btn {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
  color: #020617;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(55, 213, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.neon-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.neon-btn:hover::after { transform: translateX(100%); }

.neon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(55, 213, 255, 0.48), inset 0 1px 0 rgba(255,255,255,0.3);
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

#imengia-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

.imengia-toast {
    background: rgba(16, 28, 50, 0.9);
    border: 1px solid rgba(55, 213, 255, 0.35);
    color: var(--text);
    min-width: 260px;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(55, 213, 255, 0.2);
    font-family: system-ui, sans-serif;
    animation: imengia-fadeIn 0.4s ease;
    overflow: hidden;
  }

.imengia-toast.success {
    border-color: #0f0;
  }

.imengia-toast.error {
    border-color: #f33;
  }

.imengia-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
  }

.imengia-toast-close {
    cursor: pointer;
    font-size: 18px;
    color: var(--cyan);
  }

.imengia-toast-progress {
    height: 3px;
    background: var(--cyan);
    animation: imengia-progress linear forwards;
  }

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

@keyframes imengia-fadeOut {
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }

@keyframes imengia-progress {
    from {
      width: 100%;
    }
    to {
      width: 0%;
    }
  }

#imengia-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
  }

#imengia-popup-box {
    background: rgba(11, 20, 38, 0.94);
    border: 1px solid rgba(55, 213, 255, 0.3);
    color: var(--text);
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(55, 213, 255, 0.28);
    padding: 24px;
    width: 320px;
    text-align: center;
    animation: imengia-popupIn 0.3s ease;
  }

#imengia-popup-message {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }

#imengia-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

.imengia-btn {
    background: var(--cyan);
    color: var(--dark);
    font-weight: 600;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

.imengia-btn:hover {
    background: var(--cyan-dark);
  }

.imengia-btn.cancel {
    background: var(--dark-border);
    color: #ccc;
  }

.imengia-btn.cancel:hover {
    background: #222;
  }

@keyframes imengia-popupIn {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
} */