/* COLORS */
:root {
  --nm-blue: #00A8FF;
  --nm-violet: #9B59B6;
  --nm-black: #05050a;
  --nm-graphite: #1C1C1C;
  --nm-white: #EAEAEA;
  --nm-cyan: #00FFFF;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #20243a 0%, #05050a 45%, #000000 100%);
  color: var(--nm-white);
  font-family: 'Montserrat', sans-serif;
  direction: rtl;
  overflow-x: hidden;
}

/* ORBS (ULTRA PREMIUM GLOW) */
.nm-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
}

.orb-blue {
  background: radial-gradient(circle, rgba(0, 168, 255, 0.9), transparent 60%);
  top: -80px;
  left: -40px;
}

.orb-violet {
  background: radial-gradient(circle, rgba(155, 89, 182, 0.9), transparent 60%);
  bottom: -120px;
  right: -40px;
}

/* HEADER */
.nm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 8vw;
  border-bottom: 1px solid rgba(234, 234, 234, 0.08);
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(5,5,10,0.85), rgba(5,5,10,0.4));
}

.nm-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gate-symbol {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--nm-white);
  border-bottom: none;
}

.gate-symbol.big {
  width: 70px;
  height: 70px;
  border-width: 3px;
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.45);
}

.nm-wordmark {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

/* NAV */
.nm-nav {
  display: flex;
  gap: 1.5rem;
}

.nm-nav a {
  font-size: 0.9rem;
  color: var(--nm-white);
  text-decoration: none;
  position: relative;
}

.nm-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nm-blue), var(--nm-violet));
  transition: width 0.25s ease;
}

.nm-nav a:hover::after {
  width: 100%;
}

/* HERO */
.nm-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 8vw 3.5rem;
  overflow: hidden;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  margin: 1.4rem 0 1rem;
}

.hero-content p {
  font-size: 0.98rem;
  color: rgba(234, 234, 234, 0.88);
  margin-bottom: 1.9rem;
}

/* GLASS EFFECT */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 40px rgba(0, 168, 255, 0.25),
    0 0 60px rgba(155, 89, 182, 0.18);
  backdrop-filter: blur(22px);
}

/* HERO BUTTONS */
.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--nm-blue), var(--nm-violet));
  color: #fff;
  box-shadow: 0 0 22px rgba(0, 168, 255, 0.6);
}

.btn.primary:hover {
  box-shadow: 0 0 32px rgba(0, 168, 255, 0.9);
  transform: translateY(-1px) scale(1.01);
}

.btn.ghost {
  border: 1px solid rgba(234, 234, 234, 0.5);
  color: var(--nm-white);
  background: rgba(5,5,10,0.4);
}

.btn.ghost:hover {
  border-color: var(--nm-cyan);
  color: var(--nm-cyan);
}

/* HERO BG LINES */
.hero-bg-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 168, 255, 0.25), transparent 40%, rgba(155, 89, 182, 0.25)),
    repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.12) 0, rgba(0, 255, 255, 0.12) 1px, transparent 1px, transparent 4px);
  opacity: 0.4;
  mix-blend-mode: screen;
}

/* SECTIONS */
.nm-section {
  padding: 3.5rem 8vw;
}

.nm-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}

/* ESSENCE */
.essence-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}

.essence-item {
  padding: 1.3rem;
}

/* PALETTE */
.palette-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.3rem;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 14px;
}

.swatch-color {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.swatch-blue .swatch-color { background: var(--nm-blue); }
.swatch-violet .swatch-color { background: var(--nm-violet); }
.swatch-black .swatch-color { background: var(--nm-graphite); }
.swatch-white .swatch-color { background: var(--nm-white); }
.swatch-cyan .swatch-color { background: var(--nm-cyan); }

/* APPS */
.apps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.app-card {
  padding: 1.4rem;
}

/* FOOTER */
.nm-footer {
  padding: 1.6rem 8vw 2rem;
  font-size: 0.8rem;
  color: rgba(234, 234, 234, 0.65);
  border-top: 1px solid rgba(234, 234, 234, 0.08);
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(0, 168, 255, 0.12), transparent 60%);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nm-header {
    flex-direction: column;
    gap: 1rem;
  }

  .nm-hero {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }
}
